by is closing goals. Sledgehammer works on open goals
So either:
apply (induction x)
sledgehammer
or:
proof (induction x)
(*click on the skeleton produced by Isabelle/jEdit*)
case 0
then show ?case
sledgehammer
sorry
next
case (Suc n)
then show ?case
sledgehammer
sorry
qed
Great, thanks!
Adam Dingle has marked this topic as resolved.
Last updated: Mar 25 2026 at 02:29 UTC