The areas / V10. Commutative algebra II: valuations, Dedekind domains, local algebra
Mathlib.RingTheory.Spectrum.Prime.ChevalleyComplexity
18 declarations. Mathlib docs · Source
Chevalley's theorem with complexity bound
⚠ For general usage, see Mathlib/RingTheory/Spectrum/Prime/Chevalley.lean.
Chevalley's theorem states that if f : R → S is a finitely presented ring hom between commutative
rings, then the image of a constructible set in Spec S is a constructible set in Spec R.
Constructible sets in the prime spectrum of R[X] are made of closed sets in the prime spectrum
(using unions, intersections, and complements), which are themselves made from a family of
polynomials.
We say a closed set has complexity at most M if it can be written as the zero locus of a family
of at most M polynomials each of degree at most M. We say a constructible set has complexity
at most M if it can be written as (C₁ ∪ ... ∪ Cₖ) \ D where k ≤ M, C₁, ..., Cₖ are closed
sets of complexity at most M and D is a closed set.
This file proves a complexity-aware version of Chevalley's theorem, namely that a constructible set
of complexity at most M in Spec R[X₁, ..., Xₘ] gets mapped under
f : R[Y₁, ..., Yₙ] → R[X₁, ..., Xₘ] to a constructible set of complexity O_{M, m, n}(1) in
Spec R[Y₁, ..., Yₙ].
The bound O_{M, m, n}(1) we find is of tower type.
Sketch proof
We first show the result in the case of C : R → R[X]. We prove this by induction on the number of
components of the form (C₁ ∪ ... ∪ Cₖ) \ D, then by induction again on the number of polynomials
used to describe (C₁ ∪ ... ∪ Cₖ). See the (private) lemma chevalley_polynomialC.
Secondly, we prove the result in the case of C : R → R[X₁, ..., Xₘ] by composing the first result
with itself m times. See the (private) lemma chevalley_mvPolynomialC.
Note that, if composing the first result for C : R → R[X₁] and C : R[X₁] → R[X₁, X₂] naïvely,
the second map C : R[X₁] → R[X₁, X₂] won't see the X₁-degree of the polynomials used to
describe the constructible set in Spec R[X₁]. One therefore needs to track a subgroup of the ring
which all coefficients of all used polynomials lie in.
Finally, we deduce the result for any f : R[Y₁, ..., Yₙ] → R[X₁, ..., Xₘ] by decomposing it into
two maps C : R[Y₁, ..., Yₙ] → R[X₁, ..., Xₘ, Y₁, ..., Yₙ] and
σ : R[X₁, ..., Xₘ, Y₁, ..., Yₙ] → R[X₁, ..., Xₘ]. See chevalley_mvPolynomial_mvPolynomial.
Main reference
The structure of the proof follows https://stacks.math.columbia.edu/tag/00FE, although they do not give an explicit bound on the complexity.
The C : R → R[X] case
The C : R → R[X₁, ..., Xₘ] case
The general f : R[Y₁, ..., Yₙ] → R[X₁, ..., Xₘ] case
theorem ChevalleyThm.MvPolynomialC.numBound.match_1.congr_eq_2 E1 #
∀ (motive : ℕ → Sort u_1) (x : ℕ) (h_1 : Unit → motive 0) (h_2 : (n : ℕ) → motive n.succ) (n : ℕ),
x = n.succ →
(match x with
| 0 => h_1 ()
| n.succ => h_2 n) ≍
h_2 n
theorem ChevalleyThm.MvPolynomialC.numBound.match_1.congr_eq_1 E1 #
∀ (motive : ℕ → Sort u_1) (x : ℕ) (h_1 : Unit → motive 0) (h_2 : (n : ℕ) → motive n.succ),
x = 0 →
(match x with
| 0 => h_1 ()
| n.succ => h_2 n) ≍
h_1 ()
theorem ChevalleyThm.chevalley_polynomialC E2 #
∀ {R : Type u_6} [inst : CommRing R] (M : Submodule ℤ R),
1 ∈ M →
∀ (S : PrimeSpectrum.ConstructibleSetData (Polynomial R)),
(∀ C ∈ S, ∀ (j : Fin C.n) (k : ℕ), (C.g j).coeff k ∈ M) →
∃ T,
PrimeSpectrum.comap Polynomial.C '' S.toSet = T.toSet ∧
∀ C ∈ T, C.n ≤ S.degBound ∧ ∀ (i : Fin C.n), C.g i ∈ M ^ S.degBound ^ S.degBound
The C : R → R[X] case of Chevalley's theorem with complexity bound.
def ChevalleyThm.MvPolynomialC.numBound E1 #
ℕ → (ℕ → ℕ) → ℕ → ℕ
The bound on the number of polynomials used to describe the constructible set appearing in the
case of C : R → R[X₁, ..., Xₘ] of Chevalley's theorem with complexity bound.
def ChevalleyThm.MvPolynomialC.degBound E1 #
ℕ → (ℕ → ℕ) → ℕ → ℕ
The bound on the degree of the polynomials used to describe the constructible set appearing in
the case of C : R → R[X₁, ..., Xₘ] of Chevalley's theorem with complexity bound.
theorem ChevalleyThm.MvPolynomialC.degBound_zero E0 #
∀ (k : ℕ) (D : ℕ → ℕ), ChevalleyThm.MvPolynomialC.degBound k D 0 = 1
theorem ChevalleyThm.MvPolynomialC.numBound_zero E0 #
∀ (k : ℕ) (D : ℕ → ℕ), ChevalleyThm.MvPolynomialC.numBound k D 0 = k
theorem ChevalleyThm.MvPolynomialC.degBound_succ E0 #
∀ (k : ℕ) (D : ℕ → ℕ) (n : ℕ),
ChevalleyThm.MvPolynomialC.degBound k D (n + 1) =
ChevalleyThm.MvPolynomialC.numBound k D (n + 1) ^ ChevalleyThm.MvPolynomialC.numBound k D (n + 1) *
ChevalleyThm.MvPolynomialC.degBound k D n
theorem ChevalleyThm.MvPolynomialC.numBound_succ E0 #
∀ (k : ℕ) (D : ℕ → ℕ) (n : ℕ),
ChevalleyThm.MvPolynomialC.numBound k D (n + 1) =
ChevalleyThm.MvPolynomialC.numBound k D n * ChevalleyThm.MvPolynomialC.degBound k D n * D n
theorem ChevalleyThm.MvPolynomialC.degBound_casesOn_succ E1 #
∀ (k₀ k : ℕ) (D : ℕ → ℕ) (n : ℕ),
ChevalleyThm.MvPolynomialC.degBound k₀ (fun t ↦ Nat.casesOn t k D) (n + 1) =
(k₀ * k) ^ (k₀ * k) * ChevalleyThm.MvPolynomialC.degBound (k₀ * k) ((k₀ * k) ^ (k₀ * k) • D) n
theorem ChevalleyThm.MvPolynomialC.numBound_casesOn_succ E1 #
∀ (k₀ k : ℕ) (D : ℕ → ℕ) (n : ℕ),
ChevalleyThm.MvPolynomialC.numBound k₀ (fun x ↦ Nat.casesOn x k D) (n + 1) =
ChevalleyThm.MvPolynomialC.numBound (k₀ * k) ((k₀ * k) ^ (k₀ * k) • D) n
theorem ChevalleyThm.MvPolynomialC.degBound_le_degBound E1 #
∀ {k₁ k₂ : ℕ} {D₁ D₂ : ℕ → ℕ},
k₁ ≤ k₂ →
∀ (n : ℕ),
(∀ i < n, D₁ i ≤ D₂ i) → ChevalleyThm.MvPolynomialC.degBound k₁ D₁ n ≤ ChevalleyThm.MvPolynomialC.degBound k₂ D₂ n
theorem ChevalleyThm.MvPolynomialC.numBound_mono E1 #
∀ {k₁ k₂ : ℕ} {D₁ D₂ : ℕ → ℕ},
k₁ ≤ k₂ →
∀ (n : ℕ),
(∀ i < n, D₁ i ≤ D₂ i) → ChevalleyThm.MvPolynomialC.numBound k₁ D₁ n ≤ ChevalleyThm.MvPolynomialC.numBound k₂ D₂ n
theorem ChevalleyThm.MvPolynomialC.degBound_pos E1 #
∀ (k : ℕ) (D : ℕ → ℕ) (n : ℕ), 0 < ChevalleyThm.MvPolynomialC.degBound k D n
theorem ChevalleyThm.chevalley_mvPolynomialC E2 #
∀ {R : Type u_2} [inst : CommRing R] {n : ℕ} {M : Submodule ℤ R},
1 ∈ M →
∀ (k : ℕ) (d : Multiset (Fin n)) (S : PrimeSpectrum.ConstructibleSetData (MvPolynomial (Fin n) R)),
(∀ C ∈ S, C.n ≤ k) →
(∀ C ∈ S,
∀ (j : Fin C.n),
C.g j ∈
MvPolynomial.coeffsIn (Fin n) M ⊓ Submodule.restrictScalars ℤ (MvPolynomial.degreesLE R (Fin n) d)) →
∃ T,
PrimeSpectrum.comap MvPolynomial.C '' S.toSet = T.toSet ∧
∀ C ∈ T,
C.n ≤ ChevalleyThm.MvPolynomialC.numBound k (fun i ↦ 1 + Multiset.count i (Multiset.map Fin.val d)) n ∧
∀ (i : Fin C.n),
C.g i ∈
M ^
ChevalleyThm.MvPolynomialC.degBound k (fun i ↦ 1 + Multiset.count i (Multiset.map Fin.val d)) n
The C : R → R[X₁, ..., Xₘ] case of Chevalley's theorem with complexity bound.
def ChevalleyThm.numBound E1 #
ℕ → (m : ℕ) → ℕ → Multiset (Fin m) → ℕ
The bound on the number of polynomials used to describe the constructible set appearing in Chevalley's theorem with complexity bound.
def ChevalleyThm.degBound E1 #
ℕ → (m : ℕ) → ℕ → Multiset (Fin m) → ℕ
The bound on the degree of the polynomials used to describe the constructible set appearing in Chevalley's theorem with complexity bound.
theorem chevalley_mvPolynomial_mvPolynomial E2 #
∀ {R : Type u_2} [inst : CommRing R] {m n : ℕ} (f : MvPolynomial (Fin n) R →ₐ[R] MvPolynomial (Fin m) R) (k : ℕ)
(d : Multiset (Fin m)) (S : PrimeSpectrum.ConstructibleSetData (MvPolynomial (Fin m) R)),
(∀ C ∈ S, C.n ≤ k) →
(∀ C ∈ S, ∀ (j : Fin C.n), (C.g j).degrees ≤ d) →
(∀ (i : Fin n), (f (MvPolynomial.X i)).degrees ≤ d) →
∃ T,
PrimeSpectrum.comap ↑f '' S.toSet = T.toSet ∧
∀ C ∈ T,
C.n ≤ ChevalleyThm.numBound k m n d ∧
∀ (i : Fin C.n) (j : Fin n), MvPolynomial.degreeOf j (C.g i) ≤ ChevalleyThm.degBound k m n d
Chevalley's theorem with complexity bound.
A constructible set of complexity at most M in Spec R[X₁, ..., Xₘ] gets mapped under
f : R[Y₁, ..., Yₙ] → R[X₁, ..., Xₘ] to a constructible set of complexity O_{M, m, n}(1) in
Spec R[Y₁, ..., Yₙ].
See the module doc of Mathlib/RingTheory/Spectrum/Prime/ChevalleyComplexity.lean for an
explanation of this notion of complexity.