Skip to content

Commit

Permalink
chore(PowerSeries/Basic): drop a DecidableEq assumption (#10434)
Browse files Browse the repository at this point in the history
  • Loading branch information
urkud committed Feb 13, 2024
1 parent f236307 commit 6a78c17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mathlib/RingTheory/PowerSeries/Basic.lean
Expand Up @@ -677,7 +677,7 @@ def truncFun (φ : MvPowerSeries σ R) : MvPolynomial σ R :=
∑ m in Finset.Iio n, MvPolynomial.monomial m (coeff R m φ)
#align mv_power_series.trunc_fun MvPowerSeries.truncFun

theorem coeff_truncFun [DecidableEq σ] (m : σ →₀ ℕ) (φ : MvPowerSeries σ R) :
theorem coeff_truncFun (m : σ →₀ ℕ) (φ : MvPowerSeries σ R) :
(truncFun n φ).coeff m = if m < n then coeff R m φ else 0 := by
classical
simp [truncFun, MvPolynomial.coeff_sum]
Expand Down

0 comments on commit 6a78c17

Please sign in to comment.