lean2/tests/lean/run/ind7.lean
Leonardo de Moura 364bba2129 feat(frontends/lean/inductive_cmd): prefix introduction rules with the name of the inductive datatype
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-09-04 17:26:36 -07:00

11 lines
196 B
Text

namespace list
inductive list (A : Type) : Type :=
nil : list A,
cons : A → list A → list A
check list.{1}
check list.cons.{1}
check list.rec.{1 1}
end list
check list.list.{1}