fact
stringlengths
6
3.84k
type
stringclasses
11 values
library
stringclasses
32 values
imports
listlengths
1
14
filename
stringlengths
20
95
symbolic_name
stringlengths
1
90
docstring
stringlengths
7
20k
embEquivOfEquiv (i : E ≃ₐ[F] K) : Emb F E ≃ Emb F K := AlgEquiv.arrowCongr i <| AlgEquiv.symm <| by let _ : Algebra E K := i.toAlgHom.toRingHom.toAlgebra have : Algebra.IsAlgebraic E K := by constructor intro x have h := isAlgebraic_algebraMap (R := E) (A := K) (i.symm.toAlgHom x) rw [show ∀ y :...
def
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
embEquivOfEquiv
A random bijection between `Field.Emb F E` and `Field.Emb F K` when `E` and `K` are isomorphic as `F`-algebras.
finSepDegree_eq_of_equiv (i : E ≃ₐ[F] K) : finSepDegree F E = finSepDegree F K := Nat.card_congr (embEquivOfEquiv F E K i) @[simp]
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
finSepDegree_eq_of_equiv
If `E` and `K` are isomorphic as `F`-algebras, then they have the same `Field.finSepDegree` over `F`.
finSepDegree_self : finSepDegree F F = 1 := by have : Cardinal.mk (Emb F F) = 1 := le_antisymm (Cardinal.le_one_iff_subsingleton.2 AlgHom.subsingleton) (Cardinal.one_le_iff_ne_zero.2 <| Cardinal.mk_ne_zero _) rw [finSepDegree, Nat.card, this, Cardinal.one_toNat]
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
finSepDegree_self
null
@[simp] finSepDegree_bot : finSepDegree F (⊥ : IntermediateField F E) = 1 := by rw [finSepDegree_eq_of_equiv _ _ _ (botEquiv F E), finSepDegree_self]
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
finSepDegree_bot
null
@[simp] finSepDegree_bot' : finSepDegree F (⊥ : IntermediateField E K) = finSepDegree F E := finSepDegree_eq_of_equiv _ _ _ ((botEquiv E K).restrictScalars F) @[simp]
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
finSepDegree_bot'
null
finSepDegree_top : finSepDegree F (⊤ : IntermediateField E K) = finSepDegree F K := finSepDegree_eq_of_equiv _ _ _ ((topEquiv (F := E) (E := K)).restrictScalars F)
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
finSepDegree_top
null
embEquivOfAdjoinSplits {S : Set E} (hS : adjoin F S = ⊤) (hK : ∀ s ∈ S, IsIntegral F s ∧ Splits (algebraMap F K) (minpoly F s)) : Emb F E ≃ (E →ₐ[F] K) := have : Algebra.IsAlgebraic F (⊤ : IntermediateField F E) := (hS ▸ isAlgebraic_adjoin (S := S) fun x hx ↦ (hK x hx).1) have halg := (topEquiv (F := F)...
def
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
embEquivOfAdjoinSplits
A random bijection between `Field.Emb F E` and `E →ₐ[F] K` if `E = F(S)` such that every element `s` of `S` is integral (= algebraic) over `F` and whose minimal polynomial splits in `K`. Combined with `Field.instInhabitedEmb`, it can be viewed as a stronger version of `IntermediateField.nonempty_algHom_of_adjoin_splits...
finSepDegree_eq_of_adjoin_splits {S : Set E} (hS : adjoin F S = ⊤) (hK : ∀ s ∈ S, IsIntegral F s ∧ Splits (algebraMap F K) (minpoly F s)) : finSepDegree F E = Nat.card (E →ₐ[F] K) := Nat.card_congr (embEquivOfAdjoinSplits F E K hS hK)
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
finSepDegree_eq_of_adjoin_splits
The `Field.finSepDegree F E` is equal to the cardinality of `E →ₐ[F] K` if `E = F(S)` such that every element `s` of `S` is integral (= algebraic) over `F` and whose minimal polynomial splits in `K`.
embEquivOfIsAlgClosed [Algebra.IsAlgebraic F E] [IsAlgClosed K] : Emb F E ≃ (E →ₐ[F] K) := embEquivOfAdjoinSplits F E K (adjoin_univ F E) fun s _ ↦ ⟨Algebra.IsIntegral.isIntegral s, IsAlgClosed.splits_codomain _⟩
def
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
embEquivOfIsAlgClosed
A random bijection between `Field.Emb F E` and `E →ₐ[F] K` when `E / F` is algebraic and `K / F` is algebraically closed.
@[stacks 09HJ "We use `finSepDegree` to state a more general result."] finSepDegree_eq_of_isAlgClosed [Algebra.IsAlgebraic F E] [IsAlgClosed K] : finSepDegree F E = Nat.card (E →ₐ[F] K) := Nat.card_congr (embEquivOfIsAlgClosed F E K)
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
finSepDegree_eq_of_isAlgClosed
The `Field.finSepDegree F E` is equal to the cardinality of `E →ₐ[F] K` as a natural number, when `E / F` is algebraic and `K / F` is algebraically closed.
embProdEmbOfIsAlgebraic [Algebra E K] [IsScalarTower F E K] [Algebra.IsAlgebraic E K] : Emb F E × Emb E K ≃ Emb F K := let e : ∀ f : E →ₐ[F] AlgebraicClosure K, @AlgHom E K _ _ _ _ _ f.toRingHom.toAlgebra ≃ Emb E K := fun f ↦ (@embEquivOfIsAlgClosed E K _ _ _ _ _ f.toRingHom.toAlgebra).symm (algHomEqu...
def
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
embProdEmbOfIsAlgebraic
If `K / E / F` is a field extension tower, such that `K / E` is algebraic, then there is a non-canonical bijection `Field.Emb F E × Field.Emb E K ≃ Field.Emb F K`. A corollary of `algHomEquivSigma`.
infinite_emb_of_transcendental [H : Algebra.Transcendental F E] : Infinite (Emb F E) := by obtain ⟨ι, x, hx⟩ := exists_isTranscendenceBasis' F E have := hx.isAlgebraic_field rw [← (embProdEmbOfIsAlgebraic F (adjoin F (Set.range x)) E).infinite_iff] refine @Prod.infinite_of_left _ _ ?_ _ rw [← (embEquivOfEquiv...
instance
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
infinite_emb_of_transcendental
If the field extension `E / F` is transcendental, then `Field.Emb F E` is infinite.
finSepDegree_eq_zero_of_transcendental [Algebra.Transcendental F E] : finSepDegree F E = 0 := Nat.card_eq_zero_of_infinite
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
finSepDegree_eq_zero_of_transcendental
If the field extension `E / F` is transcendental, then `Field.finSepDegree F E = 0`, which actually means that `Field.Emb F E` is infinite (see `Field.infinite_emb_of_transcendental`).
@[stacks 09HK "Part 1, `finSepDegree` variant"] finSepDegree_mul_finSepDegree_of_isAlgebraic [Algebra E K] [IsScalarTower F E K] [Algebra.IsAlgebraic E K] : finSepDegree F E * finSepDegree E K = finSepDegree F K := by simpa only [Nat.card_prod] using Nat.card_congr (embProdEmbOfIsAlgebraic F E K)
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
finSepDegree_mul_finSepDegree_of_isAlgebraic
If `K / E / F` is a field extension tower, such that `K / E` is algebraic, then their separable degrees satisfy the tower law $[E:F]_s [K:E]_s = [K:F]_s$. See also `Module.finrank_mul_finrank`.
natSepDegree : ℕ := (f.aroots f.SplittingField).toFinset.card
def
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree
The separable degree `Polynomial.natSepDegree` of a polynomial is a natural number, defined to be the number of distinct roots of it over its splitting field. This is similar to `Polynomial.natDegree` but not to `Polynomial.degree`, namely, the separable degree of `0` is `0`, not negative infinity.
natSepDegree_le_natDegree : f.natSepDegree ≤ f.natDegree := by have := f.map (algebraMap F f.SplittingField) |>.card_roots' rw [← aroots_def, natDegree_map] at this classical exact (f.aroots f.SplittingField).toFinset_card_le.trans this @[simp]
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_le_natDegree
The separable degree of a polynomial is smaller than its degree.
natSepDegree_X_sub_C (x : F) : (X - C x).natSepDegree = 1 := by simp only [natSepDegree, aroots_X_sub_C, Multiset.toFinset_singleton, Finset.card_singleton] @[simp]
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_X_sub_C
null
natSepDegree_X : (X : F[X]).natSepDegree = 1 := by simp only [natSepDegree, aroots_X, Multiset.toFinset_singleton, Finset.card_singleton]
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_X
null
natSepDegree_eq_zero (h : f.natDegree = 0) : f.natSepDegree = 0 := by linarith only [natSepDegree_le_natDegree f, h] @[simp]
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_eq_zero
A constant polynomial has zero separable degree.
natSepDegree_C (x : F) : (C x).natSepDegree = 0 := natSepDegree_eq_zero _ (natDegree_C _) @[simp]
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_C
null
natSepDegree_zero : (0 : F[X]).natSepDegree = 0 := by rw [← C_0, natSepDegree_C] @[simp]
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_zero
null
natSepDegree_one : (1 : F[X]).natSepDegree = 0 := by rw [← C_1, natSepDegree_C]
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_one
null
natSepDegree_ne_zero (h : f.natDegree ≠ 0) : f.natSepDegree ≠ 0 := by rw [natSepDegree, ne_eq, Finset.card_eq_zero, ← ne_eq, ← Finset.nonempty_iff_ne_empty] use rootOfSplits _ (SplittingField.splits f) (ne_of_apply_ne _ h) classical rw [Multiset.mem_toFinset, mem_aroots] exact ⟨ne_of_apply_ne _ h, map_rootOfS...
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_ne_zero
A non-constant polynomial has non-zero separable degree.
natSepDegree_eq_zero_iff : f.natSepDegree = 0 ↔ f.natDegree = 0 := ⟨(natSepDegree_ne_zero f).mtr, natSepDegree_eq_zero f⟩
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_eq_zero_iff
A polynomial has zero separable degree if and only if it is constant.
natSepDegree_ne_zero_iff : f.natSepDegree ≠ 0 ↔ f.natDegree ≠ 0 := Iff.not <| natSepDegree_eq_zero_iff f
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_ne_zero_iff
A polynomial has non-zero separable degree if and only if it is non-constant.
natSepDegree_eq_natDegree_iff (hf : f ≠ 0) : f.natSepDegree = f.natDegree ↔ f.Separable := by classical simp_rw [← card_rootSet_eq_natDegree_iff_of_splits hf (SplittingField.splits f), rootSet_def, Finset.coe_sort_coe, Fintype.card_coe] rfl
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_eq_natDegree_iff
The separable degree of a non-zero polynomial is equal to its degree if and only if it is separable.
natSepDegree_eq_natDegree_of_separable (h : f.Separable) : f.natSepDegree = f.natDegree := (natSepDegree_eq_natDegree_iff f h.ne_zero).2 h variable {f} in
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_eq_natDegree_of_separable
If a polynomial is separable, then its separable degree is equal to its degree.
Separable.natSepDegree_eq_natDegree (h : f.Separable) : f.natSepDegree = f.natDegree := natSepDegree_eq_natDegree_of_separable f h
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
Separable.natSepDegree_eq_natDegree
Same as `Polynomial.natSepDegree_eq_natDegree_of_separable`, but enables the use of dot notation.
natSepDegree_eq_of_splits [DecidableEq E] (h : f.Splits (algebraMap F E)) : f.natSepDegree = (f.aroots E).toFinset.card := by classical rw [aroots, ← (SplittingField.lift f h).comp_algebraMap, ← map_map, roots_map _ ((splits_id_iff_splits _).mpr <| SplittingField.splits f), Multiset.toFinset_map, Finset...
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_eq_of_splits
If a polynomial splits over `E`, then its separable degree is equal to the number of distinct roots of it over `E`.
natSepDegree_eq_of_isAlgClosed [DecidableEq E] [IsAlgClosed E] : f.natSepDegree = (f.aroots E).toFinset.card := natSepDegree_eq_of_splits f (IsAlgClosed.splits_codomain f)
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_eq_of_isAlgClosed
The separable degree of a polynomial is equal to the number of distinct roots of it over any algebraically closed field.
natSepDegree_map (f : E[X]) (i : E →+* K) : (f.map i).natSepDegree = f.natSepDegree := by classical let _ := i.toAlgebra simp_rw [show i = algebraMap E K by rfl, natSepDegree_eq_of_isAlgClosed (AlgebraicClosure K), aroots_def, map_map, ← IsScalarTower.algebraMap_eq] @[simp]
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_map
null
natSepDegree_C_mul {x : F} (hx : x ≠ 0) : (C x * f).natSepDegree = f.natSepDegree := by classical simp only [natSepDegree_eq_of_isAlgClosed (AlgebraicClosure F), aroots_C_mul _ hx] @[simp]
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_C_mul
null
natSepDegree_smul_nonzero {x : F} (hx : x ≠ 0) : (x • f).natSepDegree = f.natSepDegree := by classical simp only [natSepDegree_eq_of_isAlgClosed (AlgebraicClosure F), aroots_smul_nonzero _ hx] @[simp]
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_smul_nonzero
null
natSepDegree_pow {n : ℕ} : (f ^ n).natSepDegree = if n = 0 then 0 else f.natSepDegree := by classical simp only [natSepDegree_eq_of_isAlgClosed (AlgebraicClosure F), aroots_pow] by_cases h : n = 0 · simp only [h, zero_smul, Multiset.toFinset_zero, Finset.card_empty, ite_true] simp only [h, Multiset.toFinset_n...
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_pow
null
natSepDegree_pow_of_ne_zero {n : ℕ} (hn : n ≠ 0) : (f ^ n).natSepDegree = f.natSepDegree := by simp_rw [natSepDegree_pow, hn, ite_false]
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_pow_of_ne_zero
null
natSepDegree_X_pow {n : ℕ} : (X ^ n : F[X]).natSepDegree = if n = 0 then 0 else 1 := by simp only [natSepDegree_pow, natSepDegree_X]
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_X_pow
null
natSepDegree_X_sub_C_pow {x : F} {n : ℕ} : ((X - C x) ^ n).natSepDegree = if n = 0 then 0 else 1 := by simp only [natSepDegree_pow, natSepDegree_X_sub_C]
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_X_sub_C_pow
null
natSepDegree_C_mul_X_sub_C_pow {x y : F} {n : ℕ} (hx : x ≠ 0) : (C x * (X - C y) ^ n).natSepDegree = if n = 0 then 0 else 1 := by simp only [natSepDegree_C_mul _ hx, natSepDegree_X_sub_C_pow]
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_C_mul_X_sub_C_pow
null
natSepDegree_mul (g : F[X]) : (f * g).natSepDegree ≤ f.natSepDegree + g.natSepDegree := by by_cases h : f * g = 0 · simp only [h, natSepDegree_zero, zero_le] classical simp_rw [natSepDegree_eq_of_isAlgClosed (AlgebraicClosure F), aroots_mul h, Multiset.toFinset_add] exact Finset.card_union_le _ _
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_mul
null
natSepDegree_mul_eq_iff (g : F[X]) : (f * g).natSepDegree = f.natSepDegree + g.natSepDegree ↔ (f = 0 ∧ g = 0) ∨ IsCoprime f g := by by_cases h : f * g = 0 · rw [mul_eq_zero] at h wlog hf : f = 0 generalizing f g · simpa only [mul_comm, add_comm, and_comm, isCoprime_comm] using this g f h.symm (h...
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_mul_eq_iff
null
natSepDegree_mul_of_isCoprime (g : F[X]) (hc : IsCoprime f g) : (f * g).natSepDegree = f.natSepDegree + g.natSepDegree := (natSepDegree_mul_eq_iff f g).2 (.inr hc)
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_mul_of_isCoprime
null
natSepDegree_le_of_dvd (g : F[X]) (h1 : f ∣ g) (h2 : g ≠ 0) : f.natSepDegree ≤ g.natSepDegree := by classical simp_rw [natSepDegree_eq_of_isAlgClosed (AlgebraicClosure F)] exact Finset.card_le_card <| Multiset.toFinset_subset.mpr <| Multiset.Le.subset <| roots.le_of_dvd (map_ne_zero h2) <| map_dvd _ h1
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_le_of_dvd
null
natSepDegree_expand (q : ℕ) [hF : ExpChar F q] {n : ℕ} : (expand F (q ^ n) f).natSepDegree = f.natSepDegree := by obtain - | hprime := hF · simp only [one_pow, expand_one] haveI := Fact.mk hprime classical simpa only [natSepDegree_eq_of_isAlgClosed (AlgebraicClosure F), aroots_def, map_expand, Fintype...
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_expand
If a field `F` is of exponential characteristic `q`, then `Polynomial.expand F (q ^ n) f` and `f` have the same separable degree.
natSepDegree_X_pow_char_pow_sub_C (q : ℕ) [ExpChar F q] (n : ℕ) (y : F) : (X ^ q ^ n - C y).natSepDegree = 1 := by rw [← expand_X, ← expand_C (q ^ n), ← map_sub, natSepDegree_expand, natSepDegree_X_sub_C] variable {f} in
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_X_pow_char_pow_sub_C
null
IsSeparableContraction.natSepDegree_eq {g : Polynomial F} {q : ℕ} [ExpChar F q] (h : IsSeparableContraction q f g) : f.natSepDegree = g.natDegree := by obtain ⟨h1, m, h2⟩ := h rw [← h2, natSepDegree_expand, h1.natSepDegree_eq_natDegree] variable {f} in
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
IsSeparableContraction.natSepDegree_eq
If `g` is a separable contraction of `f`, then the separable degree of `f` is equal to the degree of `g`.
HasSeparableContraction.natSepDegree_eq {q : ℕ} [ExpChar F q] (hf : f.HasSeparableContraction q) : f.natSepDegree = hf.degree := hf.isSeparableContraction.natSepDegree_eq
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
HasSeparableContraction.natSepDegree_eq
If a polynomial has separable contraction, then its separable degree is equal to the degree of the given separable contraction.
natSepDegree_dvd_natDegree (h : Irreducible f) : f.natSepDegree ∣ f.natDegree := by obtain ⟨q, _⟩ := ExpChar.exists F have hf := h.hasSeparableContraction q rw [hf.natSepDegree_eq] exact hf.dvd_degree
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_dvd_natDegree
The separable degree of an irreducible polynomial divides its degree.
natSepDegree_eq_one_iff_of_monic' (q : ℕ) [ExpChar F q] (hm : f.Monic) (hi : Irreducible f) : f.natSepDegree = 1 ↔ ∃ (n : ℕ) (y : F), f = expand F (q ^ n) (X - C y) := by refine ⟨fun h ↦ ?_, fun ⟨n, y, h⟩ ↦ ?_⟩ · obtain ⟨g, h1, n, rfl⟩ := hi.hasSeparableContraction q have h2 : g.natDegree = 1 := by ...
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_eq_one_iff_of_monic'
A monic irreducible polynomial over a field `F` of exponential characteristic `q` has separable degree one if and only if it is of the form `Polynomial.expand F (q ^ n) (X - C y)` for some `n : ℕ` and `y : F`.
natSepDegree_eq_one_iff_of_monic (q : ℕ) [ExpChar F q] (hm : f.Monic) (hi : Irreducible f) : f.natSepDegree = 1 ↔ ∃ (n : ℕ) (y : F), f = X ^ q ^ n - C y := by simp_rw [hi.natSepDegree_eq_one_iff_of_monic' q hm, map_sub, expand_X, expand_C]
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_eq_one_iff_of_monic
A monic irreducible polynomial over a field `F` of exponential characteristic `q` has separable degree one if and only if it is of the form `X ^ (q ^ n) - C y` for some `n : ℕ` and `y : F`.
eq_X_sub_C_pow_of_natSepDegree_eq_one_of_splits (hm : f.Monic) (hs : f.Splits (RingHom.id F)) (h : f.natSepDegree = 1) : ∃ (m : ℕ) (y : F), m ≠ 0 ∧ f = (X - C y) ^ m := by classical have h1 := eq_prod_roots_of_monic_of_splits_id hm hs have h2 := (natSepDegree_eq_of_splits f hs).symm rw [h, aroots_def, A...
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
eq_X_sub_C_pow_of_natSepDegree_eq_one_of_splits
If a monic polynomial of separable degree one splits, then it is of form `(X - C y) ^ m` for some non-zero natural number `m` and some element `y` of `F`.
eq_X_pow_char_pow_sub_C_of_natSepDegree_eq_one_of_irreducible (q : ℕ) [ExpChar F q] (hm : f.Monic) (hi : Irreducible f) (h : f.natSepDegree = 1) : ∃ (n : ℕ) (y : F), (n = 0 ∨ y ∉ (frobenius F q).range) ∧ f = X ^ q ^ n - C y := by obtain ⟨n, y, hf⟩ := (hm.natSepDegree_eq_one_iff_of_irreducible q hi).1 h ca...
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
eq_X_pow_char_pow_sub_C_of_natSepDegree_eq_one_of_irreducible
If a monic irreducible polynomial over a field `F` of exponential characteristic `q` has separable degree one, then it is of the form `X ^ (q ^ n) - C y` for some natural number `n`, and some element `y` of `F`, such that either `n = 0` or `y` has no `q`-th root in `F`.
eq_X_pow_char_pow_sub_C_pow_of_natSepDegree_eq_one (q : ℕ) [ExpChar F q] (hm : f.Monic) (h : f.natSepDegree = 1) : ∃ (m n : ℕ) (y : F), m ≠ 0 ∧ (n = 0 ∨ y ∉ (frobenius F q).range) ∧ f = (X ^ q ^ n - C y) ^ m := by obtain ⟨p, hM, hI, hf⟩ := exists_monic_irreducible_factor _ <| not_isUnit_of_natDegree_pos _ ...
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
eq_X_pow_char_pow_sub_C_pow_of_natSepDegree_eq_one
If a monic polynomial over a field `F` of exponential characteristic `q` has separable degree one, then it is of the form `(X ^ (q ^ n) - C y) ^ m` for some non-zero natural number `m`, some natural number `n`, and some element `y` of `F`, such that either `n = 0` or `y` has no `q`-th root in `F`.
natSepDegree_eq_one_iff (q : ℕ) [ExpChar F q] (hm : f.Monic) : f.natSepDegree = 1 ↔ ∃ (m n : ℕ) (y : F), m ≠ 0 ∧ f = (X ^ q ^ n - C y) ^ m := by refine ⟨fun h ↦ ?_, fun ⟨m, n, y, hm, h⟩ ↦ ?_⟩ · obtain ⟨m, n, y, hm, -, h⟩ := hm.eq_X_pow_char_pow_sub_C_pow_of_natSepDegree_eq_one q h exact ⟨m, n, y, hm, h⟩ s...
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_eq_one_iff
A monic polynomial over a field `F` of exponential characteristic `q` has separable degree one if and only if it is of the form `(X ^ (q ^ n) - C y) ^ m` for some non-zero natural number `m`, some natural number `n`, and some element `y` of `F`.
natSepDegree_eq_one_iff_eq_expand_X_sub_C : (minpoly F x).natSepDegree = 1 ↔ ∃ (n : ℕ) (y : F), minpoly F x = expand F (q ^ n) (X - C y) := by refine ⟨fun h ↦ ?_, fun ⟨n, y, h⟩ ↦ ?_⟩ · have halg : IsIntegral F x := by_contra fun h' ↦ by simp only [eq_zero h', natSepDegree_zero, zero_ne_one] at h exact...
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_eq_one_iff_eq_expand_X_sub_C
The minimal polynomial of an element of `E / F` of exponential characteristic `q` has separable degree one if and only if the minimal polynomial is of the form `Polynomial.expand F (q ^ n) (X - C y)` for some `n : ℕ` and `y : F`.
natSepDegree_eq_one_iff_eq_X_pow_sub_C : (minpoly F x).natSepDegree = 1 ↔ ∃ (n : ℕ) (y : F), minpoly F x = X ^ q ^ n - C y := by simp only [minpoly.natSepDegree_eq_one_iff_eq_expand_X_sub_C q, map_sub, expand_X, expand_C]
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_eq_one_iff_eq_X_pow_sub_C
The minimal polynomial of an element of `E / F` of exponential characteristic `q` has separable degree one if and only if the minimal polynomial is of the form `X ^ (q ^ n) - C y` for some `n : ℕ` and `y : F`.
natSepDegree_eq_one_iff_pow_mem : (minpoly F x).natSepDegree = 1 ↔ ∃ n : ℕ, x ^ q ^ n ∈ (algebraMap F E).range := by convert_to _ ↔ ∃ (n : ℕ) (y : F), Polynomial.aeval x (X ^ q ^ n - C y) = 0 · simp_rw [RingHom.mem_range, map_sub, map_pow, aeval_C, aeval_X, sub_eq_zero, eq_comm] refine ⟨fun h ↦ ?_, fun ⟨n, y,...
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_eq_one_iff_pow_mem
The minimal polynomial of an element `x` of `E / F` of exponential characteristic `q` has separable degree one if and only if `x ^ (q ^ n) ∈ F` for some `n : ℕ`.
natSepDegree_eq_one_iff_eq_X_sub_C_pow : (minpoly F x).natSepDegree = 1 ↔ ∃ n : ℕ, (minpoly F x).map (algebraMap F E) = (X - C x) ^ q ^ n := by haveI := expChar_of_injective_algebraMap (algebraMap F E).injective q haveI := expChar_of_injective_ringHom (C_injective (R := E)) q refine ⟨fun h ↦ ?_, fun ⟨n, h⟩ ↦ ...
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
natSepDegree_eq_one_iff_eq_X_sub_C_pow
The minimal polynomial of an element `x` of `E / F` of exponential characteristic `q` has separable degree one if and only if the minimal polynomial is of the form `(X - x) ^ (q ^ n)` for some `n : ℕ`.
finSepDegree_adjoin_simple_eq_natSepDegree {α : E} (halg : IsAlgebraic F α) : finSepDegree F F⟮α⟯ = (minpoly F α).natSepDegree := by have : finSepDegree F F⟮α⟯ = _ := Nat.card_congr (algHomAdjoinIntegralEquiv F (K := AlgebraicClosure F⟮α⟯) halg.isIntegral) classical rw [this, Nat.card_eq_fintype_card, nat...
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
finSepDegree_adjoin_simple_eq_natSepDegree
The separable degree of `F⟮α⟯ / F` is equal to the separable degree of the minimal polynomial of `α` over `F`.
private finSepDegree_adjoin_simple_dvd_finrank (α : E) : finSepDegree F F⟮α⟯ ∣ finrank F F⟮α⟯ := by by_cases halg : IsAlgebraic F α · rw [finSepDegree_adjoin_simple_eq_natSepDegree F E halg, adjoin.finrank halg.isIntegral] exact (minpoly.irreducible halg.isIntegral).natSepDegree_dvd_natDegree have : finra...
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
finSepDegree_adjoin_simple_dvd_finrank
null
finSepDegree_adjoin_simple_le_finrank (α : E) (halg : IsAlgebraic F α) : finSepDegree F F⟮α⟯ ≤ finrank F F⟮α⟯ := by haveI := adjoin.finiteDimensional halg.isIntegral exact Nat.le_of_dvd finrank_pos <| finSepDegree_adjoin_simple_dvd_finrank F E α
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
finSepDegree_adjoin_simple_le_finrank
The separable degree of `F⟮α⟯ / F` is smaller than the degree of `F⟮α⟯ / F` if `α` is algebraic over `F`.
finSepDegree_adjoin_simple_eq_finrank_iff (α : E) (halg : IsAlgebraic F α) : finSepDegree F F⟮α⟯ = finrank F F⟮α⟯ ↔ IsSeparable F α := by rw [finSepDegree_adjoin_simple_eq_natSepDegree F E halg, adjoin.finrank halg.isIntegral, natSepDegree_eq_natDegree_iff _ (minpoly.ne_zero halg.isIntegral), IsSeparable]
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
finSepDegree_adjoin_simple_eq_finrank_iff
If `α` is algebraic over `F`, then the separable degree of `F⟮α⟯ / F` is equal to the degree of `F⟮α⟯ / F` if and only if `α` is a separable element.
finSepDegree_dvd_finrank : finSepDegree F E ∣ finrank F E := by by_cases hfd : FiniteDimensional F E · rw [← finSepDegree_top F, ← finrank_top F E] refine induction_on_adjoin (fun K : IntermediateField F E ↦ finSepDegree F K ∣ finrank F K) (by simp_rw [finSepDegree_bot, IntermediateField.finrank_bot, one_...
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
finSepDegree_dvd_finrank
The separable degree of any field extension `E / F` divides the degree of `E / F`.
@[stacks 09HA "The inequality"] finSepDegree_le_finrank [FiniteDimensional F E] : finSepDegree F E ≤ finrank F E := Nat.le_of_dvd finrank_pos <| finSepDegree_dvd_finrank F E
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
finSepDegree_le_finrank
The separable degree of a finite extension `E / F` is smaller than the degree of `E / F`.
finSepDegree_eq_finrank_of_isSeparable [Algebra.IsSeparable F E] : finSepDegree F E = finrank F E := by wlog hfd : FiniteDimensional F E generalizing E with H · rw [finrank_of_infinite_dimensional hfd] obtain ⟨L, h, h'⟩ := exists_lt_finrank_of_infinite_dimensional hfd (finSepDegree F E) have hd := finSe...
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
finSepDegree_eq_finrank_of_isSeparable
If `E / F` is a separable extension, then its separable degree is equal to its degree. When `E / F` is infinite, it means that `Field.Emb F E` has infinitely many elements. (But the cardinality of `Field.Emb F E` is not equal to `Module.rank F E` in general!)
@[stacks 09HA "The equality condition"] finSepDegree_eq_finrank_iff [FiniteDimensional F E] : finSepDegree F E = finrank F E ↔ Algebra.IsSeparable F E := ⟨fun heq ↦ ⟨fun x ↦ by have halg := IsAlgebraic.of_finite F x refine (finSepDegree_adjoin_simple_eq_finrank_iff F E x halg).1 <| le_antisymm (finS...
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
finSepDegree_eq_finrank_iff
If `E / F` is a finite extension, then its separable degree is equal to its degree if and only if it is a separable extension.
IntermediateField.isSeparable_of_mem_isSeparable {L : IntermediateField F E} [Algebra.IsSeparable F L] {x : E} (h : x ∈ L) : IsSeparable F x := by simpa only [IsSeparable, minpoly_eq] using Algebra.IsSeparable.isSeparable F (K := L) ⟨x, h⟩
lemma
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
IntermediateField.isSeparable_of_mem_isSeparable
null
IntermediateField.isSeparable_adjoin_simple_iff_isSeparable {x : E} : Algebra.IsSeparable F F⟮x⟯ ↔ IsSeparable F x := by refine ⟨fun _ ↦ ?_, fun hsep ↦ ?_⟩ · exact isSeparable_of_mem_isSeparable F E <| mem_adjoin_simple_self F x · have h := IsSeparable.isIntegral hsep haveI := adjoin.finiteDimensional h ...
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
IntermediateField.isSeparable_adjoin_simple_iff_isSeparable
`F⟮x⟯ / F` is a separable extension if and only if `x` is a separable element. As a consequence, any rational function of `x` is also a separable element.
IsSeparable.of_algebra_isSeparable_of_isSeparable [Algebra E K] [IsScalarTower F E K] [Algebra.IsSeparable F E] {x : K} (hsep : IsSeparable E x) : IsSeparable F x := by set f := minpoly E x with hf let E' : IntermediateField F E := adjoin F f.coeffs haveI : FiniteDimensional F E' := finiteDimensional_adjo...
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
IsSeparable.of_algebra_isSeparable_of_isSeparable
If `K / E / F` is an extension tower such that `E / F` is separable, `x : K` is separable over `E`, then it's also separable over `F`.
@[stacks 09HB] Algebra.IsSeparable.trans [Algebra E K] [IsScalarTower F E K] [Algebra.IsSeparable F E] [Algebra.IsSeparable E K] : Algebra.IsSeparable F K := ⟨fun x ↦ IsSeparable.of_algebra_isSeparable_of_isSeparable F (Algebra.IsSeparable.isSeparable E x)⟩
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
Algebra.IsSeparable.trans
If `E / F` and `K / E` are both separable extensions, then `K / F` is also separable.
IntermediateField.isSeparable_adjoin_pair_of_isSeparable {x y : E} (hx : IsSeparable F x) (hy : IsSeparable F y) : Algebra.IsSeparable F F⟮x, y⟯ := by rw [← adjoin_simple_adjoin_simple] replace hy := IsSeparable.tower_top F⟮x⟯ hy rw [← isSeparable_adjoin_simple_iff_isSeparable] at hx hy exact Algebra.Is...
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
IntermediateField.isSeparable_adjoin_pair_of_isSeparable
If `x` and `y` are both separable elements, then `F⟮x, y⟯ / F` is a separable extension. As a consequence, any rational function of `x` and `y` is also a separable element.
isSeparable_algebraMap (x : F) : IsSeparable F ((algebraMap F E) x) := by rw [IsSeparable, minpoly.algebraMap_eq (algebraMap F E).injective] exact Algebra.IsSeparable.isSeparable F x variable {E}
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
isSeparable_algebraMap
Any element `x` of `F` is a separable element of `E / F` when embedded into `E`.
isSeparable_mul {x y : E} (hx : IsSeparable F x) (hy : IsSeparable F y) : IsSeparable F (x * y) := haveI := isSeparable_adjoin_pair_of_isSeparable F E hx hy isSeparable_of_mem_isSeparable F E <| F⟮x, y⟯.mul_mem (subset_adjoin F _ (.inl rfl)) (subset_adjoin F _ (.inr rfl))
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
isSeparable_mul
If `x` and `y` are both separable elements, then `x * y` is also a separable element.
isSeparable_add {x y : E} (hx : IsSeparable F x) (hy : IsSeparable F y) : IsSeparable F (x + y) := haveI := isSeparable_adjoin_pair_of_isSeparable F E hx hy isSeparable_of_mem_isSeparable F E <| F⟮x, y⟯.add_mem (subset_adjoin F _ (.inl rfl)) (subset_adjoin F _ (.inr rfl))
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
isSeparable_add
If `x` and `y` are both separable elements, then `x + y` is also a separable element.
isSeparable_neg {x : E} (hx : IsSeparable F x) : IsSeparable F (-x) := haveI := (isSeparable_adjoin_simple_iff_isSeparable F E).2 hx isSeparable_of_mem_isSeparable F E <| F⟮x⟯.neg_mem <| mem_adjoin_simple_self F x
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
isSeparable_neg
If `x` is a separable elements, then `-x` is also a separable element.
isSeparable_sub {x y : E} (hx : IsSeparable F x) (hy : IsSeparable F y) : IsSeparable F (x - y) := haveI := isSeparable_adjoin_pair_of_isSeparable F E hx hy isSeparable_of_mem_isSeparable F E <| F⟮x, y⟯.sub_mem (subset_adjoin F _ (.inl rfl)) (subset_adjoin F _ (.inr rfl))
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
isSeparable_sub
If `x` and `y` are both separable elements, then `x - y` is also a separable element.
isSeparable_inv {x : E} (hx : IsSeparable F x) : IsSeparable F x⁻¹ := haveI := (isSeparable_adjoin_simple_iff_isSeparable F E).2 hx isSeparable_of_mem_isSeparable F E <| F⟮x⟯.inv_mem <| mem_adjoin_simple_self F x
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
isSeparable_inv
If `x` is a separable element, then `x⁻¹` is also a separable element.
perfectField_iff_splits_of_natSepDegree_eq_one (F : Type*) [Field F] : PerfectField F ↔ ∀ f : F[X], f.natSepDegree = 1 → f.Splits (RingHom.id F) := by refine ⟨fun ⟨h⟩ f hf ↦ or_iff_not_imp_left.2 fun hn g hg hd ↦ ?_, fun h ↦ ?_⟩ · rw [Polynomial.map_id] at hn hd have := natSepDegree_le_of_dvd g f hd hn ...
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
perfectField_iff_splits_of_natSepDegree_eq_one
A field is a perfect field (which means that any irreducible polynomial is separable) if and only if every separable degree one polynomial splits.
PerfectField.splits_of_natSepDegree_eq_one [PerfectField K] {f : E[X]} (i : E →+* K) (hf : f.natSepDegree = 1) : f.Splits i := (splits_id_iff_splits _).mp <| (perfectField_iff_splits_of_natSepDegree_eq_one K).mp ‹_› _ (natSepDegree_map K f i ▸ hf)
theorem
FieldTheory
[ "Mathlib.FieldTheory.SplittingField.Construction", "Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure", "Mathlib.FieldTheory.Separable", "Mathlib.FieldTheory.Normal.Closure", "Mathlib.RingTheory.AlgebraicIndependent.Adjoin", "Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis", "Mathlib.RingTheor...
Mathlib/FieldTheory/SeparableDegree.lean
PerfectField.splits_of_natSepDegree_eq_one
null
left [Nontrivial A] : Module.Finite F K := let ⟨x, hx⟩ := exists_ne (0 : A) Module.Finite.of_injective (LinearMap.ringLmapEquivSelf K ℕ A |>.symm x |>.restrictScalars F) (smul_left_injective K hx) variable [Semiring F] [Semiring K] [Module F K] [AddCommMonoid A] [Module K A] [Module F A] [IsScalarTower F K A]...
theorem
FieldTheory
[ "Mathlib.RingTheory.Noetherian.Basic" ]
Mathlib/FieldTheory/Tower.lean
left
In a tower of field extensions `A / K / F`, if `A / F` is finite, so is `K / F`. (In fact, it suffices that `A` is a nontrivial ring.) Note this cannot be an instance as Lean cannot infer `A`.
right [hf : Module.Finite F A] : Module.Finite K A := let ⟨⟨b, hb⟩⟩ := hf ⟨⟨b, Submodule.restrictScalars_injective F _ _ <| by rw [Submodule.restrictScalars_top, eq_top_iff, ← hb, Submodule.span_le] exact Submodule.subset_span⟩⟩
theorem
FieldTheory
[ "Mathlib.RingTheory.Noetherian.Basic" ]
Mathlib/FieldTheory/Tower.lean
right
null
@[to_additive AddSubgroup.cyclic_of_min /-- Given a subgroup `H` of a decidable linearly ordered archimedean abelian group `G`, if there exists a minimal element `a` of `H ∩ G_{>0}` then `H` is generated by `a`. -/] Subgroup.cyclic_of_min {H : Subgroup G} {a : G} (ha : IsLeast { g : G | g ∈ H ∧ 1 < g } a) : H = clo...
theorem
GroupTheory
[ "Mathlib.Algebra.Group.Subgroup.Order", "Mathlib.Algebra.Order.Archimedean.Basic" ]
Mathlib/GroupTheory/Archimedean.lean
Subgroup.cyclic_of_min
Given a subgroup `H` of a decidable linearly ordered mul-archimedean abelian group `G`, if there exists a minimal element `a` of `H ∩ G_{>1}` then `H` is generated by `a`.
@[to_additive /-- If a nontrivial additive subgroup of a linear ordered additive commutative group is disjoint with the interval `Set.Ioo 0 a` for some positive `a`, then the set of positive elements of this group admits the least element. -/] Subgroup.exists_isLeast_one_lt {H : Subgroup G} (hbot : H ≠ ⊥) {a : G} (h₀ :...
theorem
GroupTheory
[ "Mathlib.Algebra.Group.Subgroup.Order", "Mathlib.Algebra.Order.Archimedean.Basic" ]
Mathlib/GroupTheory/Archimedean.lean
Subgroup.exists_isLeast_one_lt
If a nontrivial subgroup of a linear ordered commutative group is disjoint with the interval `Set.Ioo 1 a` for some `1 < a`, then the set of elements greater than 1 of this group admits the least element.
@[to_additive AddSubgroup.cyclic_of_isolated_zero /-- If an additive subgroup of a linear ordered additive commutative group is disjoint with the interval `Set.Ioo 0 a` for some positive `a`, then this is a cyclic subgroup. -/] Subgroup.cyclic_of_isolated_one {H : Subgroup G} {a : G} (h₀ : 1 < a) (hd : Disjoint (H ...
theorem
GroupTheory
[ "Mathlib.Algebra.Group.Subgroup.Order", "Mathlib.Algebra.Order.Archimedean.Basic" ]
Mathlib/GroupTheory/Archimedean.lean
Subgroup.cyclic_of_isolated_one
If a subgroup of a linear ordered commutative group is disjoint with the interval `Set.Ioo 1 a` for some `1 < a`, then this is a cyclic subgroup.
Int.subgroup_cyclic (H : AddSubgroup ℤ) : ∃ a, H = AddSubgroup.closure {a} := have : Ioo (0 : ℤ) 1 = ∅ := eq_empty_of_forall_notMem fun _ hm => hm.1.not_ge (lt_add_one_iff.1 hm.2) AddSubgroup.cyclic_of_isolated_zero one_pos <| by simp [this]
theorem
GroupTheory
[ "Mathlib.Algebra.Group.Subgroup.Order", "Mathlib.Algebra.Order.Archimedean.Basic" ]
Mathlib/GroupTheory/Archimedean.lean
Int.subgroup_cyclic
Every subgroup of `ℤ` is cyclic.
exists_pow_lt₀ {G : Type*} [LinearOrderedCommGroupWithZero G] [MulArchimedean G] {a : G} (ha : a < 1) (b : Gˣ) : ∃ n : ℕ, a ^ n < b := by rcases eq_or_ne a 0 with rfl | ha' · use 1 simp · lift a to Gˣ using IsUnit.mk0 _ ha' simpa using exists_pow_lt ha b
theorem
GroupTheory
[ "Mathlib.Algebra.Order.Group.Units", "Mathlib.Algebra.Order.Monoid.LocallyFiniteOrder", "Mathlib.Data.Int.Interval", "Mathlib.GroupTheory.Archimedean", "Mathlib.GroupTheory.OrderOfElement", "Mathlib.Order.Interval.Finset.DenselyOrdered" ]
Mathlib/GroupTheory/ArchimedeanDensely.lean
exists_pow_lt₀
null
@[to_additive /-- The additive subgroup generated by an element of an additive group equals the set of integer multiples of the element, such that each multiple is a unique element. This is the stronger version of `AddSubgroup.mem_closure_singleton`. -/] Subgroup.mem_closure_singleton_iff_existsUnique_zpow {G : Type*} ...
lemma
GroupTheory
[ "Mathlib.Algebra.Order.Group.Units", "Mathlib.Algebra.Order.Monoid.LocallyFiniteOrder", "Mathlib.Data.Int.Interval", "Mathlib.GroupTheory.Archimedean", "Mathlib.GroupTheory.OrderOfElement", "Mathlib.Order.Interval.Finset.DenselyOrdered" ]
Mathlib/GroupTheory/ArchimedeanDensely.lean
Subgroup.mem_closure_singleton_iff_existsUnique_zpow
The subgroup generated by an element of a group equals the set of integer powers of the element, such that each power is a unique element. This is the stronger version of `Subgroup.mem_closure_singleton`.
Int.addEquiv_eq_refl_or_neg (e : ℤ ≃+ ℤ) : e = .refl _ ∨ e = .neg _ := by suffices e 1 = 1 ∨ - e 1 = 1 by simpa [AddEquiv.ext_int_iff, neg_eq_iff_eq_neg] have he : ¬IsOfFinAddOrder (e 1) := not_isOfFinAddOrder_of_isAddTorsionFree ((AddEquiv.map_ne_zero_iff e).mpr Int.one_ne_zero) rw [← AddSubgroup.zmultiples_...
lemma
GroupTheory
[ "Mathlib.Algebra.Order.Group.Units", "Mathlib.Algebra.Order.Monoid.LocallyFiniteOrder", "Mathlib.Data.Int.Interval", "Mathlib.GroupTheory.Archimedean", "Mathlib.GroupTheory.OrderOfElement", "Mathlib.Order.Interval.Finset.DenselyOrdered" ]
Mathlib/GroupTheory/ArchimedeanDensely.lean
Int.addEquiv_eq_refl_or_neg
null
@[simp] Int.univ_addEquiv : (Finset.univ : Finset (ℤ ≃+ ℤ)) = .cons (.neg ℤ) {.refl ℤ} (by simp [AddEquiv.ext_int_iff]) := rfl @[simp] lemma Int.card_fintype_addEquiv : Fintype.card (ℤ ≃+ ℤ) = 2 := rfl
lemma
GroupTheory
[ "Mathlib.Algebra.Order.Group.Units", "Mathlib.Algebra.Order.Monoid.LocallyFiniteOrder", "Mathlib.Data.Int.Interval", "Mathlib.GroupTheory.Archimedean", "Mathlib.GroupTheory.OrderOfElement", "Mathlib.Order.Interval.Finset.DenselyOrdered" ]
Mathlib/GroupTheory/ArchimedeanDensely.lean
Int.univ_addEquiv
null
@[to_additive /-- In two linearly ordered additive groups, the closure of an element of one group is isomorphic (and order-isomorphic) to the closure of an element in the other group. -/] noncomputable LinearOrderedCommGroup.closure_equiv_closure {G G' : Type*} [CommGroup G] [LinearOrder G] [IsOrderedMonoid G] ...
def
GroupTheory
[ "Mathlib.Algebra.Order.Group.Units", "Mathlib.Algebra.Order.Monoid.LocallyFiniteOrder", "Mathlib.Data.Int.Interval", "Mathlib.GroupTheory.Archimedean", "Mathlib.GroupTheory.OrderOfElement", "Mathlib.Order.Interval.Finset.DenselyOrdered" ]
Mathlib/GroupTheory/ArchimedeanDensely.lean
LinearOrderedCommGroup.closure_equiv_closure
In two linearly ordered groups, the closure of an element of one group is isomorphic (and order-isomorphic) to the closure of an element in the other group.
Subgroup.isLeast_of_closure_iff_eq_mabs {a b : G} : IsLeast {y : G | y ∈ closure ({a} : Set G) ∧ 1 < y} b ↔ b = |a|ₘ ∧ 1 < b := by constructor <;> intro h · have := Subgroup.cyclic_of_min h have ha : a ∈ closure ({b} : Set G) := by simp [← this] rw [mem_closure_singleton] at ha obtain ⟨n, rfl⟩...
lemma
GroupTheory
[ "Mathlib.Algebra.Order.Group.Units", "Mathlib.Algebra.Order.Monoid.LocallyFiniteOrder", "Mathlib.Data.Int.Interval", "Mathlib.GroupTheory.Archimedean", "Mathlib.GroupTheory.OrderOfElement", "Mathlib.Order.Interval.Finset.DenselyOrdered" ]
Mathlib/GroupTheory/ArchimedeanDensely.lean
Subgroup.isLeast_of_closure_iff_eq_mabs
null
noncomputable LinearOrderedAddCommGroup.int_orderAddMonoidIso_of_isLeast_pos {G : Type*} [AddCommGroup G] [LinearOrder G] [IsOrderedAddMonoid G] [Archimedean G] {x : G} (h : IsLeast {y : G | 0 < y} x) : G ≃+o ℤ := by have : IsLeast {y : G | y ∈ (⊤ : AddSubgroup G) ∧ 0 < y} x := by simpa using h replace this...
def
GroupTheory
[ "Mathlib.Algebra.Order.Group.Units", "Mathlib.Algebra.Order.Monoid.LocallyFiniteOrder", "Mathlib.Data.Int.Interval", "Mathlib.GroupTheory.Archimedean", "Mathlib.GroupTheory.OrderOfElement", "Mathlib.Order.Interval.Finset.DenselyOrdered" ]
Mathlib/GroupTheory/ArchimedeanDensely.lean
LinearOrderedAddCommGroup.int_orderAddMonoidIso_of_isLeast_pos
If an element of a linearly ordered archimedean additive group is the least positive element, then the whole group is isomorphic (and order-isomorphic) to the integers.
noncomputable LinearOrderedCommGroup.multiplicative_int_orderMonoidIso_of_isLeast_one_lt {x : G} (h : IsLeast {y : G | 1 < y} x) : G ≃*o Multiplicative ℤ := by have : IsLeast {y : Additive G | 0 < y} (.ofMul x) := h let f' := LinearOrderedAddCommGroup.int_orderAddMonoidIso_of_isLeast_pos (G := Additive G) this ...
def
GroupTheory
[ "Mathlib.Algebra.Order.Group.Units", "Mathlib.Algebra.Order.Monoid.LocallyFiniteOrder", "Mathlib.Data.Int.Interval", "Mathlib.GroupTheory.Archimedean", "Mathlib.GroupTheory.OrderOfElement", "Mathlib.Order.Interval.Finset.DenselyOrdered" ]
Mathlib/GroupTheory/ArchimedeanDensely.lean
LinearOrderedCommGroup.multiplicative_int_orderMonoidIso_of_isLeast_one_lt
If an element of a linearly ordered mul-archimedean group is the least element greater than 1, then the whole group is isomorphic (and order-isomorphic) to the multiplicative integers.
Archimedean.of_locallyFiniteOrder {G : Type*} [AddCommGroup G] [LinearOrder G] [IsOrderedAddMonoid G] [LocallyFiniteOrder G] : Archimedean G := .comap (LocallyFiniteOrder.addMonoidHom G) LocallyFiniteOrder.orderAddMonoidHom_strictMono
lemma
GroupTheory
[ "Mathlib.Algebra.Order.Group.Units", "Mathlib.Algebra.Order.Monoid.LocallyFiniteOrder", "Mathlib.Data.Int.Interval", "Mathlib.GroupTheory.Archimedean", "Mathlib.GroupTheory.OrderOfElement", "Mathlib.Order.Interval.Finset.DenselyOrdered" ]
Mathlib/GroupTheory/ArchimedeanDensely.lean
Archimedean.of_locallyFiniteOrder
Any locally finite linear additive group is archimedean.
@[to_additive existing] MulArchimedean.of_locallyFiniteOrder {G : Type*} [CommGroup G] [LinearOrder G] [IsOrderedMonoid G] [LocallyFiniteOrder G] : MulArchimedean G := .comap (LocallyFiniteOrder.orderMonoidHom G).toMonoidHom LocallyFiniteOrder.orderMonoidHom_strictMono
lemma
GroupTheory
[ "Mathlib.Algebra.Order.Group.Units", "Mathlib.Algebra.Order.Monoid.LocallyFiniteOrder", "Mathlib.Data.Int.Interval", "Mathlib.GroupTheory.Archimedean", "Mathlib.GroupTheory.OrderOfElement", "Mathlib.Order.Interval.Finset.DenselyOrdered" ]
Mathlib/GroupTheory/ArchimedeanDensely.lean
MulArchimedean.of_locallyFiniteOrder
Any locally finite linear group is mul-archimedean.
LinearOrderedAddCommGroup.discrete_or_denselyOrdered (G : Type*) [AddCommGroup G] [LinearOrder G] [IsOrderedAddMonoid G] [Archimedean G] : Nonempty (G ≃+o ℤ) ∨ DenselyOrdered G := by by_cases H : ∃ x, IsLeast {y : G | 0 < y} x · obtain ⟨x, hx⟩ := H exact Or.inl ⟨(int_orderAddMonoidIso_of_isLeast_pos hx)...
lemma
GroupTheory
[ "Mathlib.Algebra.Order.Group.Units", "Mathlib.Algebra.Order.Monoid.LocallyFiniteOrder", "Mathlib.Data.Int.Interval", "Mathlib.GroupTheory.Archimedean", "Mathlib.GroupTheory.OrderOfElement", "Mathlib.Order.Interval.Finset.DenselyOrdered" ]
Mathlib/GroupTheory/ArchimedeanDensely.lean
LinearOrderedAddCommGroup.discrete_or_denselyOrdered
Any linearly ordered archimedean additive group is either isomorphic (and order-isomorphic) to the integers, or is densely ordered.
LinearOrderedAddCommGroup.discrete_iff_not_denselyOrdered (G : Type*) [AddCommGroup G] [LinearOrder G] [IsOrderedAddMonoid G] [Archimedean G] : Nonempty (G ≃+o ℤ) ↔ ¬ DenselyOrdered G := by suffices ∀ (_ : G ≃+o ℤ), ¬ DenselyOrdered G by rcases LinearOrderedAddCommGroup.discrete_or_denselyOrdered G with ⟨...
lemma
GroupTheory
[ "Mathlib.Algebra.Order.Group.Units", "Mathlib.Algebra.Order.Monoid.LocallyFiniteOrder", "Mathlib.Data.Int.Interval", "Mathlib.GroupTheory.Archimedean", "Mathlib.GroupTheory.OrderOfElement", "Mathlib.Order.Interval.Finset.DenselyOrdered" ]
Mathlib/GroupTheory/ArchimedeanDensely.lean
LinearOrderedAddCommGroup.discrete_iff_not_denselyOrdered
Any linearly ordered archimedean additive group is either isomorphic (and order-isomorphic) to the integers, or is densely ordered, exclusively.
LinearOrderedCommGroup.discrete_or_denselyOrdered : Nonempty (G ≃*o Multiplicative ℤ) ∨ DenselyOrdered G := by refine (LinearOrderedAddCommGroup.discrete_or_denselyOrdered (Additive G)).imp ?_ id rintro ⟨f, hf⟩ exact ⟨AddEquiv.toMultiplicative' f, hf⟩ variable (G) in
lemma
GroupTheory
[ "Mathlib.Algebra.Order.Group.Units", "Mathlib.Algebra.Order.Monoid.LocallyFiniteOrder", "Mathlib.Data.Int.Interval", "Mathlib.GroupTheory.Archimedean", "Mathlib.GroupTheory.OrderOfElement", "Mathlib.Order.Interval.Finset.DenselyOrdered" ]
Mathlib/GroupTheory/ArchimedeanDensely.lean
LinearOrderedCommGroup.discrete_or_denselyOrdered
Any linearly ordered mul-archimedean group is either isomorphic (and order-isomorphic) to the multiplicative integers, or is densely ordered.
LinearOrderedCommGroup.discrete_iff_not_denselyOrdered : Nonempty (G ≃*o Multiplicative ℤ) ↔ ¬ DenselyOrdered G := by let e : G ≃o Additive G := OrderIso.refl G rw [denselyOrdered_iff_of_orderIsoClass e, ← LinearOrderedAddCommGroup.discrete_iff_not_denselyOrdered (Additive G)] refine Nonempty.congr ?_ ?_ ...
lemma
GroupTheory
[ "Mathlib.Algebra.Order.Group.Units", "Mathlib.Algebra.Order.Monoid.LocallyFiniteOrder", "Mathlib.Data.Int.Interval", "Mathlib.GroupTheory.Archimedean", "Mathlib.GroupTheory.OrderOfElement", "Mathlib.Order.Interval.Finset.DenselyOrdered" ]
Mathlib/GroupTheory/ArchimedeanDensely.lean
LinearOrderedCommGroup.discrete_iff_not_denselyOrdered
Any linearly ordered mul-archimedean group is either isomorphic (and order-isomorphic) to the multiplicative integers, or is densely ordered, exclusively.
LinearOrderedCommGroupWithZero.discrete_or_denselyOrdered (G : Type*) [LinearOrderedCommGroupWithZero G] [Nontrivial Gˣ] [MulArchimedean G] : Nonempty (G ≃*o ℤᵐ⁰) ∨ DenselyOrdered G := by classical rw [← denselyOrdered_units_iff] refine (LinearOrderedCommGroup.discrete_or_denselyOrdered Gˣ).imp_left ?_ ...
lemma
GroupTheory
[ "Mathlib.Algebra.Order.Group.Units", "Mathlib.Algebra.Order.Monoid.LocallyFiniteOrder", "Mathlib.Data.Int.Interval", "Mathlib.GroupTheory.Archimedean", "Mathlib.GroupTheory.OrderOfElement", "Mathlib.Order.Interval.Finset.DenselyOrdered" ]
Mathlib/GroupTheory/ArchimedeanDensely.lean
LinearOrderedCommGroupWithZero.discrete_or_denselyOrdered
Any nontrivial (has other than 0 and 1) linearly ordered mul-archimedean group with zero is either isomorphic (and order-isomorphic) to `ℤᵐ⁰`, or is densely ordered.
LinearOrderedCommGroupWithZero.discrete_iff_not_denselyOrdered (G : Type*) [LinearOrderedCommGroupWithZero G] [Nontrivial Gˣ] [MulArchimedean G] : Nonempty (G ≃*o ℤᵐ⁰) ↔ ¬ DenselyOrdered G := by rw [← denselyOrdered_units_iff, ← LinearOrderedCommGroup.discrete_iff_not_denselyOrdered] refine Nonempty.c...
lemma
GroupTheory
[ "Mathlib.Algebra.Order.Group.Units", "Mathlib.Algebra.Order.Monoid.LocallyFiniteOrder", "Mathlib.Data.Int.Interval", "Mathlib.GroupTheory.Archimedean", "Mathlib.GroupTheory.OrderOfElement", "Mathlib.Order.Interval.Finset.DenselyOrdered" ]
Mathlib/GroupTheory/ArchimedeanDensely.lean
LinearOrderedCommGroupWithZero.discrete_iff_not_denselyOrdered
Any nontrivial (has other than 0 and 1) linearly ordered mul-archimedean group with zero is either isomorphic (and order-isomorphic) to `ℤᵐ⁰`, or is densely ordered, exclusively