How can I easily write simple tactics at the ML level of Isabelle?
问题 In an Isabelle theory file, I can write simple one-line tactics such as the following: apply (clarsimp simp: split_def split: prod.splits) I find, however, when I start writing ML code to automate proofs, to produce an ML tactic object, these one-liners become rather verbose: clarsimp_tac (Context.proof_map ( Simplifier.map_ss (fold Splitter.add_split @{thms prod.splits}) #> Simplifier.map_ss (fn ss => ss addsimps [@{thm split_def}])) @{context}) 1 Is there an easier way to write the simple