Skip to content

Commit

Permalink
chore: mark Mul.mul and HMul.hMul as match_pattern
Browse files Browse the repository at this point in the history
allows fixing regressions in mathlib introduced in nightly-2024-02-25
  • Loading branch information
jcommelin committed Jan 30, 2025
1 parent e922edf commit 49e3bf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Init/Prelude.lean
Original file line number Diff line number Diff line change
Expand Up @@ -1551,7 +1551,7 @@ instance instAddNat : Add Nat where

/- We mark the following definitions as pattern to make sure they can be used in recursive equations,
and reduced by the equation Compiler. -/
attribute [match_pattern] Nat.add Add.add HAdd.hAdd Neg.neg
attribute [match_pattern] Nat.add Add.add HAdd.hAdd Neg.neg Mul.mul HMul.hMul

set_option bootstrap.genMatcherCode false in
/--
Expand Down

0 comments on commit 49e3bf5

Please sign in to comment.