lean4-htt/tests/lean/run/new_inductive2.lean
2020-10-25 09:16:38 -07:00

26 lines
344 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.

universes u v
inductive arrow (α : Type u) (β : Type v)
| mk : (α → β) → arrow α β
inductive foo
| mk : arrow Nat foo → foo
#print foo
#print foo.rec
set_option pp.all true
#print foo.below
mutual
inductive foo2 : Type
| mk : arrow2 → foo2
inductive arrow2 : Type
| mk : (Nat → foo2) → arrow2
end
#print foo2.brecOn