Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ConstructedOrdinaryCoordinates |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GroupProductCoordinates |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.FiniteFlatKernels |
| 4 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.StandardResidueSplitting |
| 5 | |
| 6 | /-! # Ordinary Coordinate Linear -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.OrdinaryCoordinateLinear.Lifts |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Package the constructed integral ordinary product, its actual |
| 13 | multiplicative special fiber, and the generic identity-line coordinates. |
| 14 | The package retains the original ambient group scheme. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open _root_.CategoryTheory.MonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GroupProductCoordinates |
| 21 | attribute [local instance] Picard.PoincareBundle.Kernel.Scheme.kernelGroup |
| 22 | |
| 23 | variable (R L : Type) [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] [Field L] [Algebra R L] |
| 24 | (q : ℕ) [Fact q.Prime] (A : Grp (Over (Spec (.of R)))) |
| 25 | |
| 26 | structure OrdinaryCoordinateModel where |
| 27 | identity : Grp (Over (Spec (.of R))) |
| 28 | finite : IsFinite identity.X.hom |
| 29 | flat : Flat identity.X.hom |
| 30 | finitePresentation : LocallyOfFinitePresentation identity.X.hom |
| 31 | special : (Over.pullback (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)))).mapGrp.obj identity ≅ |
| 32 | AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock (IsLocalRing.ResidueField R) q 1 1 |
| 33 | split : identity ⊗ AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative (Fin 2 → ZMod q)) ≅ A |
| 34 | coordinates : (Evaluated.Sections.Lifts.genericTest R L ⟶ identity.X) ≃* Multiplicative (ZMod q) |
| 35 | |
| 36 | variable [HenselianLocalRing R] |
| 37 | [IsFractionRing R L] [IsCommMonObj A.X] [IsFinite A.X.hom] [Flat A.X.hom] |
| 38 | (e : (Over.pullback (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)))).mapGrp.obj A ≅ |
| 39 | AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock (IsLocalRing.ResidueField R) q 1 1 ⊗ |
| 40 | (Over.pullback (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)))).mapGrp.obj |
| 41 | (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative (Fin 2 → ZMod q)))) |
| 42 | {I : Type} [Finite I] |
| 43 | (eA : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of L)) I ≅ |
| 44 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R L)))).obj A.X) |
| 45 | (hk : ∀ a : Evaluated.Sections.Lifts.genericTest R L ⟶ A.X, a ^ q = 1) |
| 46 | (hrank : A.X.hom.finrank |
| 47 | (Spec.map (CommRingCat.ofHom (algebraMap R L)) (IsLocalRing.closedPoint L)) = q ^ 3) |
| 48 | |
| 49 | def constructOrdinaryCoordinateModel : OrdinaryCoordinateModel R L q A := by |
| 50 | let eraw : (Over.pullback (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)))).obj A.X ≅ |
| 51 | (AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock (IsLocalRing.ResidueField R) q 1 1).X ⊗ |
| 52 | (Over.pullback (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)))).obj |
| 53 | (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative (Fin 2 → ZMod q))).X := |
| 54 | (Grp.forget _).mapIso e |
| 55 | letI : IsMonHom eraw.hom := e.hom.hom.isMonHom_hom |
| 56 | exact { |
| 57 | identity := Grp.mk (OrdinaryComponentLift.Components.ordinaryIdentityPart R eraw) |
| 58 | finite := (OrdinaryComponentLift.Components.ordinaryIdentityPart_finite_flat R eraw).1 |
| 59 | flat := (OrdinaryComponentLift.Components.ordinaryIdentityPart_finite_flat R eraw).2 |
| 60 | finitePresentation := ComponentKernel.Lifts.componentKernel_finitePresentation (OrdinaryComponentLift.Components.ordinaryComponentMap R eraw) |
| 61 | special := Grp.mkIso' (OrdinaryComponentLift.Components.ordinaryIdentitySpecialIso R eraw) |
| 62 | split := Grp.mkIso' (ConstructedOrdinaryCoordinates.Lifts.ordinaryEvaluatedSplit R L q A.X eraw eA hk) |
| 63 | coordinates := ConstructedOrdinaryCoordinates.Lifts.ordinaryIdentityCoordinates R L q A.X eraw eA hk hrank } |
| 64 | |
| 65 | def OrdinaryCoordinateModel.linearCoordinates (C : OrdinaryCoordinateModel R L q A) |
| 66 | (hk : ∀ a : Evaluated.Sections.Lifts.genericTest R L ⟶ A.X, a ^ q = 1) := |
| 67 | letI := GenericPointCoordinates.Lifts.genericPointModule R L q A.X hk |
| 68 | let eraw : C.identity.X ⊗ |
| 69 | (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative (Fin 2 → ZMod q))).X ≅ A.X := |
| 70 | (Grp.forget _).mapIso C.split |
| 71 | letI : IsMonHom eraw.hom := C.split.hom.hom.isMonHom_hom |
| 72 | GroupProductCoordinates.sourceProductPointLinearEquiv q C.coordinates |
| 73 | (Evaluated.Characters.Lifts.genericConstantCoordinates R L (Multiplicative (Fin 2 → ZMod q))) eraw |
| 74 | |
| 75 | def OrdinaryCoordinateModel.finiteFlatKernel (C : OrdinaryCoordinateModel R L q A) |
| 76 | (J : Submodule (ZMod q) ((Fin 2 → ZMod q) × ZMod q)) : Kernel.Properties.FiniteFlatKernel A.X := |
| 77 | letI : IsFinite C.identity.X.hom := C.finite |
| 78 | letI : Flat C.identity.X.hom := C.flat |
| 79 | letI : LocallyOfFinitePresentation C.identity.X.hom := C.finitePresentation |
| 80 | let eraw : C.identity.X ⊗ |
| 81 | (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative (Fin 2 → ZMod q))).X ≅ A.X := |
| 82 | (Grp.forget _).mapIso C.split |
| 83 | letI : IsMonHom eraw.hom := C.split.hom.hom.isMonHom_hom |
| 84 | Evaluated.FiniteFlatKernels.Lifts.evaluatedFiniteFlatKernel R L C.coordinates eraw J |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.OrdinaryCoordinateLinear.Lifts |