Skip to content

Commit 5ccfc60

Browse files
committed
doc(FieldTheory): fix typos (#36560)
Found by `PyCharm`'s code inspection tool. Fixes were made by Codex.
1 parent 4e5713b commit 5ccfc60

File tree

4 files changed

+15
-14
lines changed

4 files changed

+15
-14
lines changed

Mathlib/FieldTheory/IntermediateField/Adjoin/Algebra.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ theorem sup_toSubalgebra_of_isAlgebraic_right [Algebra.IsAlgebraic K E2] :
226226
IsAlgebraic.tower_top _ (isAlgebraic_iff.mp (Algebra.IsAlgebraic.isAlgebraic (⟨x, h⟩ : E2)))
227227
apply_fun Subalgebra.restrictScalars K at this
228228
rw [← restrictScalars_toSubalgebra, restrictScalars_adjoin] at this
229-
-- TODO: rather than using `← coe_type_toSubalgera` here, perhaps we should restate another
229+
-- TODO: rather than using `← coe_type_toSubalgebra` here, perhaps we should restate another
230230
-- version of `Algebra.restrictScalars_adjoin` for intermediate fields?
231231
simp only [← coe_type_toSubalgebra] at this
232232
rw [Algebra.restrictScalars_adjoin] at this

Mathlib/FieldTheory/Minpoly/MinpolyDiv.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ public import Mathlib.FieldTheory.IsAlgClosed.Basic
1515
## Main definition
1616
- `minpolyDiv`: The polynomial `minpoly R x / (X - C x)`.
1717
18-
We used the contents of this file to describe the dual basis of a powerbasis under the trace form.
18+
We used the contents of this file to describe the dual basis of a power basis under the trace form.
1919
See `traceForm_dualBasis_powerBasis_eq`.
2020
2121
## Main results
22-
- `span_coeff_minpolyDiv`: The coefficients of `minpolyDiv` spans `R<x>`.
22+
- `span_coeff_minpolyDiv`: The coefficients of `minpolyDiv` span `R<x>`.
2323
-/
2424

2525
@[expose] public section

Mathlib/FieldTheory/RatFunc/Luroth.lean

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ lemma θ_natDegree_le (h : E ≠ ⊥) : (θ E).natDegree ≤ m E := by
499499
· rw [natDegree_mul (C_ne_zero.mpr (num_ne_zero (generator_ne_zero h)))
500500
(Polynomial.map_ne_zero (generator E).denom_ne_zero), natDegree_C, zero_add, natDegree_map]
501501

502-
/-- Equation (11.3.8) from Cohns proof, viewed as an equation of polynomials with coefficients
502+
/-- Equation (11.3.8) from Cohn's proof, viewed as an equation of polynomials with coefficients
503503
in `K⟮X⟯`. -/
504504
lemma Q₀_mul_Φ (h : E ≠ ⊥) :
505505
Q₀ E * (Φ E).map (algebraMap K[X] K⟮X⟯) = (θ E).map (algebraMap K[X] K⟮X⟯) := by
@@ -536,7 +536,7 @@ lemma Q₁_ne_zero (h : E ≠ ⊥) : Q₁ h ≠ 0 := by
536536
rw [map_Q₁, Polynomial.map_zero]
537537
exact Q₀_ne_zero h
538538

539-
/-- Equation (11.3.8) from Cohns proof, viewed as an equation of bivariate polynomials. -/
539+
/-- Equation (11.3.8) from Cohn's proof, viewed as an equation of bivariate polynomials. -/
540540
lemma Q₁_mul_Φ (h : E ≠ ⊥) : Q₁ h * Φ E = θ E := by
541541
apply_fun Polynomial.map (algebraMap K[X] K⟮X⟯) using
542542
Polynomial.map_injective _ (algebraMap_injective K)
@@ -569,7 +569,7 @@ lemma Q₂_ne_zero (h : E ≠ ⊥) : Q₂ h ≠ 0 := by
569569
rw [Polynomial.map_zero, Q₂_map]
570570
exact Q₁_ne_zero h
571571

572-
/-- Equation (11.3.8) from Cohns proof, where we view `Q` as a univariate polynomial. -/
572+
/-- Equation (11.3.8) from Cohn's proof, where we view `Q` as a univariate polynomial. -/
573573
lemma Q₂_mul_Φ (h : E ≠ ⊥) : (Q₂ h).map Polynomial.C * Φ E = θ E := by
574574
rw [Q₂_map h, Q₁_mul_Φ h]
575575

@@ -621,7 +621,7 @@ abbrev Q₃ (h : E ≠ ⊥) : K := (Q₂ h).coeff 0
621621
lemma Q₃_map (h : E ≠ ⊥) : Polynomial.C (Q₃ h) = Q₂ h :=
622622
(eq_C_of_natDegree_eq_zero (Q₂_natDegree h)).symm
623623

624-
/-- Equation (11.3.8) from Cohns proof, where we view `Q` as a constant. -/
624+
/-- Equation (11.3.8) from Cohn's proof, where we view `Q` as a constant. -/
625625
lemma Q₃_mul_Φ (h : E ≠ ⊥) : (Polynomial.C (Q₃ h)).map Polynomial.C * Φ E = θ E := by
626626
rw [Q₃_map h, Q₂_mul_Φ h]
627627

Mathlib/FieldTheory/SeparablyGenerated.lean

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,12 @@ variable [ExpChar k p]
186186
include hp H
187187

188188
/--
189-
Suppose `k` has chararcteristic `p` and `a₁,...,aₙ` is a transcendental basis of `K/k`.
189+
Suppose `k` has characteristic `p` and `a₁,...,aₙ` is a transcendence basis of `K/k`.
190190
Suppose furthermore that if `{ sᵢ } ⊆ K` is an arbitrary `k`-linearly independent set,
191191
`{ sᵢᵖ } ⊆ K` is also `k`-linearly independent (which is true when `K ⊗ₖ k^{1/p}` is reduced).
192192
193-
Then some subset of `a₁,...,aₙ₊₁` forms a transcedental basis that `a₁,...,aₙ₊₁` are separable over.
193+
Then some subset of `a₁,...,aₙ₊₁` forms a transcendence basis over which `a₁,...,aₙ₊₁` are
194+
separable.
194195
-/
195196
lemma exists_isTranscendenceBasis_and_isSeparable_of_linearIndepOn_pow
196197
(ha' : IsTranscendenceBasis k fun i : {i // i ≠ n} ↦ a i) :
@@ -248,12 +249,12 @@ lemma exists_isTranscendenceBasis_and_isSeparable_of_linearIndepOn_pow'
248249
refine ⟨i, hi.comp_equiv e₂.symm, by convert hi'⟩
249250

250251
/--
251-
Suppose `k` has chararcteristic `p` and `K/k` is generated by `a₁,...,aₙ₊₁`,
252-
where `a₁,...aₙ` forms a transcendental basis.
252+
Suppose `k` has characteristic `p` and `K/k` is generated by `a₁,...,aₙ₊₁`,
253+
where `a₁,...aₙ` form a transcendence basis.
253254
Suppose furthermore that if `{ sᵢ } ⊆ K` is an arbitrary `k`-linearly independent set,
254255
`{ sᵢᵖ } ⊆ K` is also `k`-linearly independent (which is true when `K ⊗ₖ k^{1/p}` is reduced).
255256
256-
Then some subset of `a₁,...,aₙ₊₁` forms a separable transcedental basis.
257+
Then some subset of `a₁,...,aₙ₊₁` forms a separating transcendence basis.
257258
-/
258259
@[stacks 0H71]
259260
lemma exists_isTranscendenceBasis_and_isSeparable_of_linearIndepOn_pow_of_adjoin_eq_top
@@ -271,15 +272,15 @@ lemma exists_isTranscendenceBasis_and_isSeparable_of_linearIndepOn_pow_of_adjoin
271272
· exact isSeparable_algebraMap (F := adjoin k (a '' {i}ᶜ)) ⟨_, subset_adjoin _ _ ⟨x, ne, rfl⟩⟩
272273

273274
/--
274-
Suppose `k` has chararcteristic `p` and `K/k` is finitely generated.
275+
Suppose `k` has characteristic `p` and `K/k` is finitely generated.
275276
Suppose furthermore that if `{ sᵢ } ⊆ K` is an arbitrary `k`-linearly independent set,
276277
`{ sᵢᵖ } ⊆ K` is also `k`-linearly independent (which is true when `K ⊗ₖ k^{1/p}` is reduced).
277278
278279
Then `K/k` is finite separably generated.
279280
280281
TODO: show that this is an if and only if.
281282
-/
282-
@[stacks 030W "(2) ⇒ (1) finitely genenerated case"]
283+
@[stacks 030W "(2) ⇒ (1) finitely generated case"]
283284
lemma exists_isTranscendenceBasis_and_isSeparable_of_linearIndepOn_pow_of_essFiniteType
284285
[Algebra.EssFiniteType k K] :
285286
∃ s : Finset K, IsTranscendenceBasis k ((↑) : s → K) ∧

0 commit comments

Comments
 (0)