Skip to content

Commit b4b597f

Browse files
committed
feat(FieldTheory/IsSepClosed): generalize exists_aeval_eq_zero from Field to CommSemiring + FaithfulSMul
1 parent 36bc9f6 commit b4b597f

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Mathlib/FieldTheory/IsSepClosed.lean

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,10 @@ theorem exists_eval₂_eq_zero {k : Type*} [CommRing k] [IsSimpleRing k] [IsSepC
167167

168168
variable (K)
169169

170-
theorem exists_aeval_eq_zero [IsSepClosed K] [Algebra k K] (p : k[X])
171-
(hp : p.degree ≠ 0) (hsep : p.Separable) : ∃ x : K, aeval x p = 0 :=
172-
exists_eval₂_eq_zero (algebraMap k K) p hp hsep
170+
theorem exists_aeval_eq_zero {k : Type*} [CommSemiring k] [IsSepClosed K] [Algebra k K]
171+
[FaithfulSMul k K] (p : k[X]) (hp : p.degree ≠ 0) (hsep : p.Separable) :
172+
∃ x : K, p.aeval x = 0 :=
173+
exists_eval₂_eq_zero_of_injective _ (FaithfulSMul.algebraMap_injective _ _) p hp hsep
173174

174175
variable (k) {K}
175176

0 commit comments

Comments
 (0)