Commit 2026-03-01 06:36 99520ad2

View on Github →

feat(Tactic): add #defeq_abuse tactic combinator (#35750) This PR adds #defeq_abuse in, a tactic/command combinator for diagnosing backward.isDefEq.respectTransparency failures. It runs the given tactic or command with the option both true and false, and when the strict setting fails, walks the trace tree to identify the specific isDefEq checks that are root causes. Reusable trace-tree analysis utilities are extracted into Mathlib.Lean.MessageData.Trace:

Estimated changes

added structure A
added structure B
added def MyPred
added structure MySub₂
added def b
added def myOp
added def myTestFun
added theorem test_zo_cmd_abuse
added theorem zo_eq_iff