Skip to content

Commit

Permalink
chore: add simp to Polynomial.X_ne_zero (#11101)
Browse files Browse the repository at this point in the history
As requested [here](#11071 (comment)) by @riccardobrasca
  • Loading branch information
BoltonBailey committed Mar 2, 2024
1 parent 5112b8d commit 0eb97a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Mathlib/Data/Polynomial/Basic.lean
Expand Up @@ -1254,6 +1254,7 @@ instance nontrivial : Nontrivial R[X] := by
simp [hxy]
#align polynomial.nontrivial Polynomial.nontrivial

@[simp]
theorem X_ne_zero : (X : R[X]) ≠ 0 :=
mt (congr_arg fun p => coeff p 1) (by simp)
#align polynomial.X_ne_zero Polynomial.X_ne_zero
Expand Down

0 comments on commit 0eb97a5

Please sign in to comment.