Skip to content

Commit

Permalink
Update Order.lean
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineChambert-Loir authored Jan 10, 2025
1 parent 246f251 commit aa8bdd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mathlib/RingTheory/MvPowerSeries/Order.lean
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ theorem order_eq_nat {n : ℕ} :

/-- The order of the monomial `a*X^d` is infinite if `a = 0` and `degree d` otherwise.-/
theorem order_monomial {d : σ →₀ ℕ} {a : R} [Decidable (a = 0)] :
order (monomial R d a) = if a = 0 then (⊤ : ℕ∞) else d.degree := by
order (monomial R d a) = if a = 0 then (⊤ : ℕ∞) else degree d := by
rw [degree_eq_weight_one]
exact weightedOrder_monomial _

Expand Down

0 comments on commit aa8bdd3

Please sign in to comment.