math / data /lean /OAI /AlgebraicGeometry /FormalGeometry /Completion /Finite /EtaleGroupPointCount.lean
Download data/lean/OAI/AlgebraicGeometry/FormalGeometry/Completion/Finite/EtaleGroupPointCount.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/FormalGeometry/Completion/Finite/EtaleGroupPointCount.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/FormalGeometry/Completion/Finite/EtaleGroupPointCount.lean
-
curl -L -o EtaleGroupPointCount.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/FormalGeometry/Completion/Finite/EtaleGroupPointCount.lean
3 kB
| import OAI.AlgebraicGeometry.FormalGeometry.Completion.EtaleCoordinateCharacters | |
| import OAI.AlgebraicGeometry.FormalGeometry.Completion.Affine.PointAlgebraHom | |
| import OAI.AlgebraicGeometry.Picard.Homomorphisms.FiniteHopfPresentation | |
| import Mathlib.AlgebraicGeometry.Morphisms.FlatRank | |
| import Mathlib.AlgebraicGeometry.Morphisms.Etale | |
| /-! # Etale Group Point Count -/ | |
| namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Finite.EtaleGroupPointCount | |
| noncomputable section | |
| /-! The number of geometric points of an actual finite etale | |
| commutative group is its structural degree. -/ | |
| set_option backward.isDefEq.respectTransparency false | |
| open _root_.AlgebraicGeometry _root_.CategoryTheory | |
| open _root_.CategoryTheory.MonoidalCategory | |
| namespace Construction | |
| universe u | |
| theorem etale_card_algHom_eq_finrank (K R : Type u) | |
| [Field K] [IsAlgClosed K] [CommRing R] [Algebra K R] | |
| [Module.Finite K R] [Algebra.Etale K R] : | |
| Nat.card (R ββ[K] K) = Module.finrank K R := by | |
| have : Finite (R ββ[K] K) := (linearIndependent_algHom_toLinearMap K R K).finite | |
| let := Fintype.ofFinite (R ββ[K] K) | |
| apply Nat.le_antisymm | |
| Β· simpa only [Nat.card_eq_fintype_card, Subspace.dual_finrank_eq] using | |
| (linearIndependent_algHom_toLinearMap K R K).fintype_card_le_finrank | |
| Β· exact EtaleCoordinateCharacters.Construction.etale_finrank_le_card_algHom K R | |
| theorem finiteEtaleGroup_card_points_eq_finrank {K : Type u} [Field K] [IsAlgClosed K] | |
| (G : Grp (Over (Spec (.of K)))) [IsCommMonObj G.X] | |
| [IsFinite G.X.hom] [Etale G.X.hom] (x : Spec (.of K)) : | |
| Nat.card (π_ (Over (Spec (.of K))) βΆ G.X) = G.X.hom.finrank x := by | |
| obtain β¨R, hR, _, β¨eβ©β© := Picard.Homomorphisms.FiniteHopfPresentation.Construction.finite_commutative_hopfPresentation K G | |
| have : Module.Finite K R := hR | |
| let i : ((hopfSpec (.of K)).obj (.op R)).X β G.X := (Grp.forget _).mapIso e | |
| have : IsIso i.hom.left := inferInstanceAs (IsIso ((Over.forget _).map i.hom)) | |
| have het : Etale (((hopfSpec (.of K)).obj (.op R)).X).hom := by | |
| rw [β i.hom.w] | |
| infer_instance | |
| have : Algebra.Etale K R := RingHom.etale_algebraMap.mp | |
| ((HasRingHomProperty.Spec_iff (P := @Etale)).mp het) | |
| have hp : Nat.card (R ββ[K] K) = Nat.card (π_ (Over (Spec (.of K))) βΆ G.X) := | |
| Nat.card_congr ((Affine.PointAlgebraHom.Construction.affineFieldPointsEquivAlgHom K R).symm.trans (Iso.homCongr (Iso.refl _) i)) | |
| calc | |
| Nat.card (π_ (Over (Spec (.of K))) βΆ G.X) = Module.finrank K R := | |
| hp.symm.trans (etale_card_algHom_eq_finrank K R) | |
| _ = (((hopfSpec (.of K)).obj (.op R)).X).hom.finrank x := by | |
| change _ = (Spec.map (CommRingCat.ofHom (algebraMap K R))).finrank x | |
| rw [Scheme.Hom.finrank_SpecMap_algebraMap, Module.rankAtStalk_eq_finrank_of_free] | |
| rfl | |
| _ = G.X.hom.finrank x := by | |
| rw [β i.hom.w, Scheme.Hom.finrank_comp_left_of_isIso] | |
| end Construction | |
| end | |
| end OAI.AlgebraicGeometry.FormalGeometry.Completion.Finite.EtaleGroupPointCount | |