blob: 85b42442969d02c40356f70b973a2355e8dc2a93 [file]
/-!
# Interactive tests of the induction tactic
-/
/-!
On an incomplete proof, the goal is visible at least for the first alternative.
-/
example (as bs : List Nat) : (as.append bs).length = as.length + bs.length := by
induction as with
| nil =>
--^ $/lean/plainGoal
| cons b bs ih =>
example (as bs : List Nat) : (as.append bs).length = as.length + bs.length := by
induction as with
| nil => sorry
| cons b bs ih => sorry
--
--^ $/lean/plainGoal