Q: In Lean 4, how do I write a tactic that adds a fixed list of lemmas to a simp
call?
A: Here is one way to write a tactic in Lean 4 that adds a fixed list of lemmas to a simp
call:
import tactic
-- List of lemmas we want to add
def my_simp_lemmas : list name := [`foo, `bar, `baz]