Download data/lean/OAI/AlgebraicGeometry/GroupSchemes/CoordinatePoints.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 7.96 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/GroupSchemes/CoordinatePoints.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/GroupSchemes/CoordinatePoints.lean
-
curl -L -o CoordinatePoints.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/GroupSchemes/CoordinatePoints.lean
7.96 kB
| import OAI.AlgebraicGeometry.GroupSchemes.CoordinateMaps | |
| /-! # Coordinate Points -/ | |
| namespace OAI.AlgebraicGeometry.GroupSchemes | |
| noncomputable section | |
| /-! Recover all affine-valued points with their original group law in coordinates. -/ | |
| open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite | |
| open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.MonObj WithConv | |
| namespace CoordinatePoints.FiniteEtale | |
| /-- Postcomposition by an algebra map commutes with convolution powers. -/ | |
| theorem comp_convolution_pow {k A B : Type*} [Field k] [CommRing A] [CommRing B] | |
| [Bialgebra k A] [Algebra k B] (f : A ββ[k] B) (n : β) : | |
| f.comp ((toConv (AlgHom.id k A)) ^ n).ofConv = ((toConv f) ^ n).ofConv := by | |
| induction n with | |
| | zero => | |
| ext x | |
| simp only [pow_zero, AlgHom.comp_apply, AlgHom.convOne_apply, AlgHom.commutes] | |
| | succ n ih => | |
| rw [pow_succ, pow_succ, AlgHom.comp_convMul_distrib, ih] | |
| rfl | |
| end CoordinatePoints.FiniteEtale | |
| universe u | |
| variable {k : Type u} [Field k] | |
| /-- The coordinate presentation of the original functor of points, including its group law. -/ | |
| def FiniteEtale.FiniteCommGroupScheme.coordinatePoints (G : FiniteEtale.FiniteCommGroupScheme k) (R : CommAlgCat.{u} k) : | |
| letI := G.coordinateHopf | |
| letI : Bialgebra k G.algebra := G.coordinateHopf.toBialgebra | |
| letI : Algebra k G.algebra := G.coordinateHopf.toAlgebra | |
| WithConv (G.algebra ββ[k] R) β* (FiniteEtale.affine k R βΆ G.scheme) := by | |
| let := G.coordinateHopf | |
| let : Bialgebra k G.algebra := G.coordinateHopf.toBialgebra | |
| let : Algebra k G.algebra := G.coordinateHopf.toAlgebra | |
| let e := @Spec.mapMulEquiv k G.algebra R _ _ _ G.coordinateHopf.toBialgebra _ | |
| refine { e.toEquiv with map_mul' := ?_ } | |
| intro f g | |
| have h := congrArg Over.Hom.left (e.map_mul f g) | |
| ext1 | |
| simp only [Hom.mul_def, Over.comp_left, mul_spec_asOver_spec_left] at h | |
| change _ = _ β« G.givenMultiplication | |
| rw [β G.coordinateHopf_represents_mul] | |
| exact h | |
| /-- Evaluation of the coordinate equivalence is the actual Spec map. -/ | |
| theorem FiniteEtale.FiniteCommGroupScheme.coordinatePoints_apply (G : FiniteEtale.FiniteCommGroupScheme k) (R : CommAlgCat.{u} k) | |
| (f : G.algebra ββ[k] R) : | |
| G.coordinatePoints R (toConv f) = | |
| (algSpec (CommRingCat.of k)).map (CommAlgCat.ofHom f).op := rfl | |
| /-- Coordinate evaluation intertwines postcomposition with a geometric morphism. -/ | |
| theorem FiniteEtale.FiniteCommGroupScheme.coordinatePoints_postcomp {G H : FiniteEtale.FiniteCommGroupScheme k} | |
| (h : G.scheme βΆ H.scheme) (R : CommAlgCat.{u} k) (f : G.algebra ββ[k] R) : | |
| H.coordinatePoints R (toConv (f.comp (FiniteEtale.FiniteCommGroupScheme.coordinateMap h))) = | |
| G.coordinatePoints R (toConv f) β« h := by | |
| change (algSpec (CommRingCat.of k)).map | |
| (CommAlgCat.ofHom (f.comp (FiniteEtale.FiniteCommGroupScheme.coordinateMap h))).op = | |
| (algSpec (CommRingCat.of k)).map (CommAlgCat.ofHom f).op β« h | |
| conv_rhs => rw [β FiniteEtale.FiniteCommGroupScheme.coordinateMap_spec h] | |
| rw [β Functor.map_comp] | |
| apply congrArg ((algSpec (CommRingCat.of k)).map) | |
| apply Quiver.Hom.unop_inj | |
| apply CommAlgCat.hom_ext | |
| rfl | |
| /-- Coordinate evaluation is natural in every affine test algebra. -/ | |
| theorem FiniteEtale.FiniteCommGroupScheme.coordinatePoints_precomp (G : FiniteEtale.FiniteCommGroupScheme k) | |
| {R S : CommAlgCat.{u} k} (a : R βΆ S) (f : G.algebra ββ[k] R) : | |
| G.coordinatePoints S (toConv (a.hom.comp f)) = | |
| (algSpec (CommRingCat.of k)).map a.op β« G.coordinatePoints R (toConv f) := by | |
| change (algSpec (CommRingCat.of k)).map (CommAlgCat.ofHom (a.hom.comp f)).op = | |
| (algSpec (CommRingCat.of k)).map a.op β« | |
| (algSpec (CommRingCat.of k)).map (CommAlgCat.ofHom f).op | |
| rw [β Functor.map_comp] | |
| apply congrArg ((algSpec (CommRingCat.of k)).map) | |
| apply Quiver.Hom.unop_inj | |
| apply CommAlgCat.hom_ext | |
| rfl | |
| /-- Injectivity on geometric points is equivalent to injectivity on their algebra maps. -/ | |
| theorem FiniteEtale.FiniteCommGroupScheme.pointMap_injective_iff (G : FiniteEtale.FiniteCommGroupScheme k) | |
| {R S : CommAlgCat.{u} k} (a : R βΆ S) : | |
| Function.Injective (G.points.map a) β | |
| Function.Injective (a.hom.comp : (G.algebra ββ[k] R) β G.algebra ββ[k] S) := by | |
| constructor | |
| Β· intro h f g hfg | |
| apply WithConv.toConv_injective | |
| apply (G.coordinatePoints R).injective | |
| apply h | |
| exact (G.coordinatePoints_precomp a f).symm.trans | |
| ((congrArg (fun b => G.coordinatePoints S (toConv b)) hfg).trans | |
| (G.coordinatePoints_precomp a g)) | |
| Β· intro h x y hxy | |
| let f : G.algebra ββ[k] R := ((G.coordinatePoints R).symm x).ofConv | |
| let g : G.algebra ββ[k] R := ((G.coordinatePoints R).symm y).ofConv | |
| have hf : G.coordinatePoints R (toConv f) = x := (G.coordinatePoints R).apply_symm_apply x | |
| have hg : G.coordinatePoints R (toConv g) = y := (G.coordinatePoints R).apply_symm_apply y | |
| have hfg : a.hom.comp f = a.hom.comp g := by | |
| apply WithConv.toConv_injective | |
| apply (G.coordinatePoints S).injective | |
| exact (G.coordinatePoints_precomp a f).trans | |
| ((congrArg (fun z => (algSpec (CommRingCat.of k)).map a.op β« z) hf).trans | |
| (hxy.trans ((congrArg (fun z => (algSpec (CommRingCat.of k)).map a.op β« z) hg).symm.trans | |
| (G.coordinatePoints_precomp a g).symm))) | |
| exact hf.symm.trans ((congrArg (fun b => G.coordinatePoints R (toConv b)) (h hfg)).trans hg) | |
| /-- Pullback of multiplication by n, constructed as the n-fold convolution of the identity. -/ | |
| def FiniteEtale.FiniteCommGroupScheme.coordinatePower (G : FiniteEtale.FiniteCommGroupScheme k) (n : β) : | |
| G.algebra ββ[k] G.algebra := by | |
| let := G.coordinateHopf | |
| let : Bialgebra k G.algebra := G.coordinateHopf.toBialgebra | |
| let : Algebra k G.algebra := G.coordinateHopf.toAlgebra | |
| exact ((toConv (AlgHom.id k G.algebra)) ^ n).ofConv | |
| /-- Pullback of the identity section. -/ | |
| def FiniteEtale.FiniteCommGroupScheme.coordinateAugmentation (G : FiniteEtale.FiniteCommGroupScheme k) : G.algebra ββ[k] k := by | |
| let := G.coordinateHopf | |
| exact Bialgebra.counitAlgHom k G.algebra | |
| /-- Pullback of the constant identity point in any affine algebra. -/ | |
| def FiniteEtale.FiniteCommGroupScheme.coordinateIdentity (G : FiniteEtale.FiniteCommGroupScheme k) (R : CommAlgCat.{u} k) : | |
| G.algebra ββ[k] R := | |
| (Algebra.ofId k R).comp G.coordinateAugmentation | |
| /-- The pointwise n-torsion equation is precisely its coordinate algebra equation. -/ | |
| theorem FiniteEtale.FiniteCommGroupScheme.coordinatePoints_pow_eq_one_iff (G : FiniteEtale.FiniteCommGroupScheme k) | |
| (R : CommAlgCat.{u} k) (f : G.algebra ββ[k] R) (n : β) : | |
| (G.coordinatePoints R (toConv f)) ^ n = 1 β | |
| f.comp (G.coordinatePower n) = G.coordinateIdentity R := by | |
| let := G.coordinateHopf | |
| let : Bialgebra k G.algebra := G.coordinateHopf.toBialgebra | |
| let : Algebra k G.algebra := G.coordinateHopf.toAlgebra | |
| rw [β map_pow, β (G.coordinatePoints R).map_one, (G.coordinatePoints R).injective.eq_iff] | |
| change ((toConv f : WithConv (G.algebra ββ[k] R)) ^ n) = 1 β _ | |
| rw [β WithConv.ofConv_injective.eq_iff] | |
| rw [β CoordinatePoints.FiniteEtale.comp_convolution_pow f n] | |
| rfl | |
| /-- Coordinate multiplication by n agrees with convolution on linear endomorphisms. -/ | |
| theorem FiniteEtale.FiniteCommGroupScheme.coordinatePower_apply (G : FiniteEtale.FiniteCommGroupScheme k) (n : β) (x : G.algebra) : | |
| letI := G.coordinateHopf | |
| letI := G.coordinateCoalgebra | |
| G.coordinatePower n x = ((toConv (LinearMap.id : G.algebra ββ[k] G.algebra)) ^ n) x := by | |
| let := G.coordinateHopf | |
| let : Bialgebra k G.algebra := G.coordinateHopf.toBialgebra | |
| let : Algebra k G.algebra := G.coordinateHopf.toAlgebra | |
| have h := AlgHom.toLinearMap_convPow (toConv (AlgHom.id k G.algebra)) n | |
| exact congrArg (fun f : WithConv (G.algebra ββ[k] G.algebra) => f x) h | |
| end | |
| end OAI.AlgebraicGeometry.GroupSchemes | |