A shell script that successfully proves a goal, also produces an Isabelle tactic script able to reproduce the proof without using the shell. Many of these commands and tactics have subtle differences ...
GOAL "sqrt 2 ∉ ℚ" CRUSH LET ?x = "sqrt 2" OBTAIN m n :: nat where "¦?x¦ = m / n" and "coprime m n"; END HAVE "m^2 = ?x^2 * n^2"; END HAVE "m^2 = 2 * n^2"; END HAVE "2 dvd m^2"; END HAVE "2 dvd m"; END ...