lean4-htt/tests/server_interactive/tacticInduction.lean
Garmelon a3cb39eac9
chore: migrate more tests to new test suite (#12809)
This PR migrates most remaining tests to the new test suite. It also
completes the migration of directories like `tests/lean/run`, meaning
that PRs trying to add tests to those old directories will now fail.
2026-03-06 16:52:01 +00:00

19 lines
471 B
Text

/-!
# 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