lean4-htt/tests/lean/run/ind1.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

7 lines
163 B
Text

inductive List (A : Sort*) : Sort*
| nil : List
| cons : A → List → List
namespace List end List open List
check List.{1}
check cons.{1}
check List.rec.{1 1}