Skip to content

Commit

Permalink
chore(data/mv_polynomial): mark mv_polynomial.ext as @[ext] (#5289)
Browse files Browse the repository at this point in the history
  • Loading branch information
urkud committed Dec 9, 2020
1 parent 1f309c5 commit d12a731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/mv_polynomial/basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ local attribute [reducible] mv_polynomial
def coeff (m : σ →₀ ℕ) (p : mv_polynomial σ R) : R := p m
end

lemma ext (p q : mv_polynomial σ R) :
@[ext] lemma ext (p q : mv_polynomial σ R) :
(∀ m, coeff m p = coeff m q) → p = q := ext

lemma ext_iff (p q : mv_polynomial σ R) :
Expand Down

0 comments on commit d12a731

Please sign in to comment.