lean2/tests/lean/run/ind0.lean
Leonardo de Moura 8743394627 refactor(kernel/inductive): replace recursor name, use '.rec' instead of '_rec'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-09-04 15:04:57 -07:00

6 lines
84 B
Text

inductive nat : Type :=
zero : nat,
succ : nat → nat
check nat
check nat.rec.{1}