ModuleEtaleSplitting.lean
Nyll.SchemeTheory.RingTheory.Etale.EtaleSplitting
7 declarations indexed from sourceView source ↗ Module documentation
Alg Hom nonempty equiv fin of tensor Product alg Equiv pi
Finite étale splitting with prescribed rank
Use the finite split algebra supplied by Mathlib and recover the prescribed number of factors from its rank at a prime of the covering algebra.
Algebra Etale exists finite etale faithfully Flat tensor Product alg Equiv pi
Imports5
- Mathlib.RingTheory.TensorProduct.Pi
- Mathlib.Tactic.Push
- Mathlib.RingTheory.TotallySplit
- Mathlib.RingTheory.Spectrum.Prime.Basic
- Mathlib.RingTheory.Spectrum.Prime.FreeLocus
Imported by3
Declarations
AlgebraicCurves.Foundations.Algebra.Proofs.AlgHom_nonempty_equiv_fin_of_tensorProduct_algEquiv_pi.AlgHom.CountSplit.exists_eq_evalAlgHom
Source context 10 commands
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section AlgHom_nonempty_equiv_fin_of_tensorProduct_algEquiv_pi
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace AlgHom_nonempty_equiv_fin_of_tensorProduct_algEquiv_pi
universe u v w w'
open TensorProduct
namespace AlgHom
namespace CountSplit
open _root_.AlgHom
Lean source · full declarationtheorem exists_eq_evalAlgHom {Ω : Type*} [Field Ω] {d : ℕ} (F : (Fin d → Ω) →ₐ[Ω] Ω) :
∃ j : Fin d, F = Pi.evalAlgHom Ω (fun _ => Ω) j := by
classical
have hidem : ∀ j, F (Pi.single j 1) = 0 ∨ F (Pi.single j 1) = 1 := fun j => by
have h : F (Pi.single j 1) * F (Pi.single j 1) = F (Pi.single j 1) := by
rw [← map_mul]
congr 1
ext k
by_cases hk : k = j
· simp only [hk, Pi.mul_apply, Pi.single_eq_same, mul_one]
· simp only [Pi.mul_apply, ne_eq, hk, not_false_eq_true, Pi.single_eq_of_ne, mul_zero]
rcases mul_eq_zero.mp
(by rw [mul_sub, mul_one, h, sub_self] : F (Pi.single j 1) * (F (Pi.single j 1) - 1) = 0)
with h0 | h1
· exact Or.inl h0
· exact Or.inr (sub_eq_zero.mp h1)
have hone : (∑ j, (Pi.single j (1 : Ω) : Fin d → Ω)) = 1 := by
ext l; simp only [Finset.sum_apply, Pi.single_apply, Finset.sum_ite_eq, Finset.mem_univ,
↓reduceIte, Pi.one_apply]
have hsum : ∑ j, F (Pi.single j 1) = 1 := by
rw [← map_sum, hone, map_one]
obtain ⟨j, hj⟩ : ∃ j, F (Pi.single j 1) = 1 := by
by_contra h
push Not at h
have : ∑ j, F (Pi.single j (1 : Ω)) = 0 := Finset.sum_eq_zero fun j _ => (hidem
j).resolve_right (h j)
rw [this] at hsum
exact zero_ne_one hsum
refine ⟨j, ?_⟩
ext x
have horth : ∀ k, k ≠ j → F (Pi.single k 1) = 0 := fun k hk => by
have h0 : (Pi.single k (1 : Ω) : Fin d → Ω) * Pi.single j 1 = 0 := by
rw [← Pi.single_mul_left, Pi.single_eq_of_ne hk, mul_zero, Pi.single_zero]
have := congrArg F h0
rw [map_mul, hj, mul_one, map_zero] at this
exact this
have hx : x = ∑ k, x k • (Pi.single k (1 : Ω) : Fin d → Ω) := by
ext l; simp only [Finset.sum_apply, Pi.smul_apply, Pi.single_apply, smul_eq_mul, mul_ite,
mul_one, mul_zero, Finset.sum_ite_eq, Finset.mem_univ, ↓reduceIte]
rw [Pi.evalAlgHom_apply, hx, map_sum]
simp only [map_smul, Finset.sum_apply, Pi.smul_apply, smul_eq_mul]
rw [Finset.sum_eq_single j (fun k _ hk =>
by rw [horth k hk, mul_zero]) (fun h => absurd (Finset.mem_univ j) h),
Finset.sum_eq_single j (fun k _ hk => by simp only [ne_eq, hk, not_false_eq_true,
Pi.single_eq_of_ne', mul_zero]) (fun h => absurd (Finset.mem_univ j) h)]
simp only [hj, mul_one, Pi.single_eq_same]
AlgebraicCurves.Foundations.Algebra.Proofs.AlgHom_nonempty_equiv_fin_of_tensorProduct_algEquiv_pi.AlgHom.CountSplit.equivFinOfPi
DocumentationIdentify an algebra homomorphism from a finite product of fields with its evaluation index.
Source context 10 commands
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section AlgHom_nonempty_equiv_fin_of_tensorProduct_algEquiv_pi
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace AlgHom_nonempty_equiv_fin_of_tensorProduct_algEquiv_pi
universe u v w w'
open TensorProduct
namespace AlgHom
namespace CountSplit
open _root_.AlgHom
AlgebraicCurves.Foundations.Algebra.Proofs.AlgHom_nonempty_equiv_fin_of_tensorProduct_algEquiv_pi.AlgHom.CountSplit.equivTensor
DocumentationThe scalar-extension equivalence between algebra homomorphisms to Ω.
Source context 10 commands
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section AlgHom_nonempty_equiv_fin_of_tensorProduct_algEquiv_pi
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace AlgHom_nonempty_equiv_fin_of_tensorProduct_algEquiv_pi
universe u v w w'
open TensorProduct
namespace AlgHom
namespace CountSplit
open _root_.AlgHom
AlgebraicCurves.Foundations.Algebra.Proofs.AlgHom_nonempty_equiv_fin_of_tensorProduct_algEquiv_pi.AlgHom.CountSplit.tensorEquivPi
DocumentationThe product decomposition after base change along the homomorphism to Ω.
Source context 10 commands
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section AlgHom_nonempty_equiv_fin_of_tensorProduct_algEquiv_pi
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace AlgHom_nonempty_equiv_fin_of_tensorProduct_algEquiv_pi
universe u v w w'
open TensorProduct
namespace AlgHom
namespace CountSplit
open _root_.AlgHom
AlgHom.nonempty_equiv_fin_of_tensorProduct_algEquiv_pi
Source context 8 commands
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section AlgHom_nonempty_equiv_fin_of_tensorProduct_algEquiv_pi
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace AlgHom_nonempty_equiv_fin_of_tensorProduct_algEquiv_pi
universe u v w w'
open TensorProduct
open AlgHom.CountSplit in
Algebra.Etale.exists_finite_etale_faithfullyFlat_tensorProduct_algEquiv_pi_of_rankAtStalk_eq
Source context 5 commands
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section Algebra_Etale_exists_finite_etale_faithfullyFlat_tensorProduct_algEquiv_pi_of_rankAtStalk_eq
open scoped TensorProduct
namespace Algebra.Etale
universe u
Algebra.Etale.exists_finite_etale_faithfullyFlat_tensorProduct_algEquiv_pi
Source context 7 commands
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section Algebra_Etale_exists_finite_etale_faithfullyFlat_tensorProduct_algEquiv_pi
section ProofImplementation
namespace AlgebraicCurves.Foundations.Algebra.Proofs
namespace Algebra_Etale_exists_finite_etale_faithfullyFlat_tensorProduct_algEquiv_pi
open scoped TensorProduct
universe u