lean4-htt/tests/lean/run/induction_tac2.lean
2016-06-10 18:29:41 -07:00

12 lines
217 B
Text

exit
import data.nat
open nat
example (a : nat) : a + 0 = a :=
begin
induction a using nat.strong_induction_on with a IH,
cases a,
reflexivity,
have aux : a + 0 = a, from IH a (lt.base a),
rewrite -aux
end