lean4-htt/tests/lean/run/1018.lean

15 lines
330 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.

inductive Fam : Type → Type 1 where
| any : Fam α
| nat : Nat → Fam Nat
example (a : α) : Fam αα
| Fam.any => a
| Fam.nat n => n
inductive Fam2 : Type → Type → Type 1 where
| any : Fam2 α α
| nat : Nat → Fam2 Nat Nat
example (a : α) : Fam2 α β → β
| Fam2.any => a
| Fam2.nat n => n