Skip to content

Commit

Permalink
feat(ring_theory/power_series/basic): coeff_zero_X_mul (#6445)
Browse files Browse the repository at this point in the history


Co-authored-by: Moritz Firsching <firsching@google.com>
  • Loading branch information
mo271 and mo271 committed Feb 27, 2021
1 parent a19af60 commit d1b7a67
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/ring_theory/power_series/basic.lean
Expand Up @@ -341,6 +341,13 @@ begin
simp only [X, coeff_mul_monomial, if_neg this]
end

lemma coeff_zero_X_mul (φ : mv_power_series σ R) (s : σ) :
coeff R (0 : σ →₀ ℕ) (X s * φ) = 0 :=
begin
have : ¬single s 10, from λ h, by simpa using h s,
simp only [X, coeff_monomial_mul, if_neg this]
end

variables (σ) (R)

/-- The constant coefficient of a formal power series.-/
Expand Down Expand Up @@ -975,6 +982,8 @@ end

lemma coeff_zero_mul_X (φ : power_series R) : coeff R 0 (φ * X) = 0 := by simp

lemma coeff_zero_X_mul (φ : power_series R) : coeff R 0 (X * φ) = 0 := by simp

/-- If a formal power series is invertible, then so is its constant coefficient.-/
lemma is_unit_constant_coeff (φ : power_series R) (h : is_unit φ) :
is_unit (constant_coeff R φ) :=
Expand Down

0 comments on commit d1b7a67

Please sign in to comment.