lean4-htt/old_tests/tests/lean/induction_naming2.lean
2018-04-10 12:56:55 -07:00

12 lines
208 B
Text

inductive tree
| leaf : tree
| node (left : tree) (val : nat) (right : tree) : tree
constant foo : tree → tree
example (a : tree) : foo a = a :=
begin
induction a,
trace_state,
repeat { admit }
end