theory Simproc_Match_Not_Working imports Main begin ML\ fun sum_prod_simproc _ _ _ = let val _ = Pretty.writeln (Pretty.str "simproc triggered") in NONE end \ simproc_setup sum_prod ("prod f A" | "sum f B") = \sum_prod_simproc\ lemma "(\i=1..3. i) = (\i=0..2. i + 1)" apply simp sorry lemma "(\i=1..3. i) = (\i=0..2. i + 1)" apply simp sorry end