lean4-htt/tests/lean/run/confuse_ind.lean
Leonardo de Moura 3b38f71f11 fix(library,tests/lean): fix run/interactive tests, and problems in the standard library due to the new interpretation for Type
We had to change subtype to use Sort since the axiom
strong_indefinite_description uses it.

see #1341
2017-01-30 11:54:00 -08:00

9 lines
221 B
Text

attribute [reducible] definition mk_arrow (A : Sort*) (B : Sort*) :=
A → A → B
inductive confuse (A : Type)
| leaf1 : confuse
| leaf2 : num → confuse
| node : mk_arrow A confuse → confuse
check confuse.cases_on