Skip to content

Commit

Permalink
doc(data/mv_polynomial/basic): Fix documentation of mv_polynomial.mon…
Browse files Browse the repository at this point in the history
…omial (#5160)

The documenting comment for this function was obviously lifted from the single variable polynomial version, and did not make sense.

I'm not sure if this is the right comment, but it is at least better to what it was before.
  • Loading branch information
BoltonBailey committed Dec 1, 2020
1 parent b846aa5 commit a883152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/mv_polynomial/basic.lean
Expand Up @@ -110,7 +110,7 @@ finsupp.has_coe_to_fun

local attribute [instance] coeff_coe_to_fun

/-- `monomial s a` is the monomial `a * X^s` -/
/-- `monomial s a` is the monomial with coefficient `a` and exponents given by `s` -/
def monomial (s : σ →₀ ℕ) (a : R) : mv_polynomial σ R := single s a

lemma single_eq_monomial (s : σ →₀ ℕ) (a : R) : single s a = monomial s a := rfl
Expand Down

0 comments on commit a883152

Please sign in to comment.