lean4-htt/tests/lean/run/erasureConfusion.lean
Leonardo de Moura f721e44718 fix: simplify compatibleTypes
Add note about "erasure confusion" in LCNF.
2022-09-22 15:15:32 -07:00

10 lines
186 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import Lean
structure S (α : Type u) (β : Type v) (f : α → β) where
a : α
b : β := f a
def f : S Nat Type (fun _ => Nat) :=
S.mk 0 Nat
#eval Lean.Compiler.compile #[``f]