Skip to content

Commit bd00c9c

Browse files
committed
chore(Algebra/FieldTheory/IsAlgClosed/Basic): ungeneralize exists_aeval_eq_zero from CommSemiring + FaithfulSMul to CommRing + IsSimpleRing
For `FaithfulSMul` to be a generalization we need to import `Mathlib.Algebra.Algebra.IsSimpleRing` which contains an instance of `FaithfulSMul` given `IsSimpleRing`
1 parent 6a83ce2 commit bd00c9c

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

Mathlib/FieldTheory/IsAlgClosed/Basic.lean

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,11 @@ variable (k)
175175
theorem exists_aeval_eq_zero_of_injective {R : Type*} [CommSemiring R] [IsAlgClosed k] [Algebra R k]
176176
(hinj : Function.Injective (algebraMap R k)) (p : R[X]) (hp : p.degree ≠ 0) :
177177
∃ x : k, aeval x p = 0 :=
178-
exists_eval₂_eq_zero_of_injective _ hinj _ hp
178+
exists_eval₂_eq_zero_of_injective (algebraMap R k) hinj p hp
179179

180-
theorem exists_aeval_eq_zero {R : Type*} [CommSemiring R] [IsAlgClosed k] [Algebra R k]
181-
[FaithfulSMul R k] (p : R[X]) (hp : p.degree ≠ 0) : ∃ x : k, aeval x p = 0 :=
182-
exists_aeval_eq_zero_of_injective _ (FaithfulSMul.algebraMap_injective _ _) _ hp
180+
theorem exists_aeval_eq_zero {R : Type*} [CommRing R] [IsSimpleRing R] [IsAlgClosed k] [Algebra R k]
181+
(p : R[X]) (hp : p.degree ≠ 0) : ∃ x : k, p.aeval x = 0 :=
182+
exists_eval₂_eq_zero _ _ hp
183183

184184

185185
/--

Mathlib/FieldTheory/IsSepClosed.lean

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

168168
variable (K)
169169

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
170+
theorem exists_aeval_eq_zero {k : Type*} [CommRing k] [IsSimpleRing k] [IsSepClosed K] [Algebra k K]
171+
(p : k[X]) (hp : p.degree ≠ 0) (hsep : p.Separable) : ∃ x : K, p.aeval x = 0 :=
172+
exists_eval₂_eq_zero _ _ hp hsep
174173

175174
variable (k) {K}
176175

0 commit comments

Comments
 (0)