This PR changes the automation in `deriving_LawfulEq_tactic_step` to use `with_reducible` when asserting the shape of the goal using `change`, so that we do not accidentally unfold `x == x'` calls here. Fixes #10416.
12 lines
193 B
Text
12 lines
193 B
Text
|
|
structure Power where
|
|
x : String
|
|
k : Nat
|
|
deriving BEq, ReflBEq, LawfulBEq
|
|
|
|
inductive Mon where
|
|
| unit
|
|
| mult (p : Power)
|
|
deriving BEq, ReflBEq
|
|
|
|
deriving instance LawfulBEq for Mon
|