lean4-htt/tests/lean/run/induction_on.lean
Daniel Selsam a9b01991c2 feat(frontends/lean/inductive_cmd): new frontend for the inductive cmd
Conflicts:
	src/frontends/lean/CMakeLists.txt
	src/frontends/lean/structure_cmd.h
2016-08-17 07:34:03 -07:00

11 lines
130 B
Text

set_option pp.all true
structure p1 :=
(x : nat)
check @p1.induction_on
inductive p2
| mk : nat → p2
check @p2.induction_on