Skip to content

Commit

Permalink
chore(ring_theory/mv_polynomial/basic): golf (#13765)
Browse files Browse the repository at this point in the history
  • Loading branch information
negiizhao committed Apr 29, 2022
1 parent 5c1ee35 commit b4cad37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ring_theory/mv_polynomial/basic.lean
Expand Up @@ -125,7 +125,7 @@ namespace polynomial

/-- The monomials form a basis on `polynomial R`. -/
noncomputable def basis_monomials : basis ℕ R R[X] :=
finsupp.basis_single_one.map (to_finsupp_iso_alg R).to_linear_equiv.symm
basis.of_repr (to_finsupp_iso_alg R).to_linear_equiv

@[simp] lemma coe_basis_monomials :
(basis_monomials R : ℕ → R[X]) = λ s, monomial s 1 :=
Expand Down

0 comments on commit b4cad37

Please sign in to comment.