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.GenericPointCoordinates |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.PointRank |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.OrdinaryComponentLift |
| 4 | |
| 5 | /-! # Constructed Ordinary Coordinates -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ConstructedOrdinaryCoordinates.Lifts |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Construct the ordinary component projection, integral product |
| 14 | splitting, and generic identity-line coordinate from the native ordinary |
| 15 | special fiber and one evaluated generic torsion scheme. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 19 | open scoped _root_.CategoryTheory.MonObj |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.OrdinaryComponentLift.Components |
| 22 | attribute [local instance] Picard.PoincareBundle.Kernel.Scheme.kernelGroup |
| 23 | attribute [local instance] AbelianScheme.FrobeniusKernel.BaseChange.Construction.pulledBackGroup |
| 24 | |
| 25 | theorem splitComponentProjection_surjective {S : Scheme} {A M E : Over S} |
| 26 | [GrpObj A] [GrpObj M] [GrpObj E] (e : A ≅ M ⊗ E) [IsMonHom e.hom] : |
| 27 | Surjective (SplitComponentKernel.Components.splitComponentProjection e).left := by |
| 28 | let j : E ⟶ A := lift (1 : E ⟶ M) (𝟙 E) ≫ e.inv |
| 29 | have hj : j ≫ SplitComponentKernel.Components.splitComponentProjection e = 𝟙 E := by |
| 30 | simp only [j, SplitComponentKernel.Components.splitComponentProjection, Category.assoc, e.inv_hom_id_assoc, lift_snd] |
| 31 | constructor |
| 32 | intro y |
| 33 | exact ⟨j.left y, congrArg (fun f : E.left ⟶ E.left ↦ f y) (congrArg Over.Hom.left hj)⟩ |
| 34 | |
| 35 | variable (R L : Type) [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 36 | [HenselianLocalRing R] [Field L] [Algebra R L] [IsFractionRing R L] |
| 37 | variable (q : ℕ) [Fact q.Prime] |
| 38 | variable (A : Over (Spec (.of R))) [GrpObj A] [IsCommMonObj A] |
| 39 | [IsFinite A.hom] [Flat A.hom] |
| 40 | |
| 41 | variable {M : Over (Spec (.of (IsLocalRing.ResidueField R)))} [GrpObj M] |
| 42 | variable (e : (Over.pullback (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)))).obj A ≅ |
| 43 | M ⊗ (Over.pullback (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)))).obj |
| 44 | (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative (Fin 2 → ZMod q))).X) [IsMonHom e.hom] |
| 45 | |
| 46 | omit [IsCommMonObj A] in |
| 47 | theorem constructedOrdinaryProjection_surjective : Surjective (OrdinaryComponentLift.Components.ordinaryComponentMap R e).left := by |
| 48 | have : Surjective (SplitComponentKernel.Components.splitComponentProjection e).left := splitComponentProjection_surjective e |
| 49 | exact (ComponentSurjective.Components.nativeComponentMap_geometry R (SplitComponentKernel.Components.splitComponentProjection e)).2.2.1 |
| 50 | |
| 51 | variable {I : Type} [Finite I] |
| 52 | variable (eA : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of L)) I ≅ |
| 53 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R L)))).obj A) |
| 54 | variable (hk : ∀ a : Evaluated.Sections.Lifts.genericTest R L ⟶ A, a ^ q = 1) |
| 55 | variable (hrank : A.hom.finrank |
| 56 | (Spec.map (CommRingCat.ofHom (algebraMap R L)) (IsLocalRing.closedPoint L)) = q ^ 3) |
| 57 | |
| 58 | include hrank eA in |
| 59 | omit [IsDomain R] [IsDiscreteValuationRing R] [HenselianLocalRing R] [IsFractionRing R L] |
| 60 | [Fact q.Prime] [GrpObj A] [IsCommMonObj A] in |
| 61 | theorem constructedOrdinary_generic_card : Nat.card (Evaluated.Sections.Lifts.genericTest R L ⟶ A) = q ^ 3 := |
| 62 | (Evaluated.PointRank.Lifts.evaluatedPoint_card_eq_rank R L A eA).trans hrank |
| 63 | |
| 64 | def ordinaryIdentityCoordinates : |
| 65 | (Evaluated.Sections.Lifts.genericTest R L ⟶ OrdinaryComponentLift.Components.ordinaryIdentityPart R e) ≃* Multiplicative (ZMod q) := by |
| 66 | have : Surjective (OrdinaryComponentLift.Components.ordinaryComponentMap R e).left := constructedOrdinaryProjection_surjective R q A e |
| 67 | exact GenericPointCoordinates.Lifts.constructedIdentityCoordinates R L q A hk |
| 68 | (constructedOrdinary_generic_card R L q A eA hrank) (OrdinaryComponentLift.Components.ordinaryComponentMap R e) eA |
| 69 | |
| 70 | /-- Unique extension of the derived generic linear section gives the |
| 71 | actual integral splitting of the source finite flat torsion block. -/ |
| 72 | def ordinaryEvaluatedSplit : OrdinaryComponentLift.Components.ordinaryIdentityPart R e ⊗ |
| 73 | (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative (Fin 2 → ZMod q))).X ≅ A := by |
| 74 | letI := GenericPointCoordinates.Lifts.genericPointModule R L q A hk |
| 75 | have : Surjective (OrdinaryComponentLift.Components.ordinaryComponentMap R e).left := constructedOrdinaryProjection_surjective R q A e |
| 76 | exact GenericComponentSection.Lifts.splitEvaluatedComponent R L q (V := GenericPointCoordinates.Lifts.GenericPointSpace R L A) (W := Fin 2 → ZMod q) |
| 77 | A (GenericPointCoordinates.Lifts.genericPointCoordinates R L A) (OrdinaryComponentLift.Components.ordinaryComponentMap R e) |
| 78 | (Evaluated.ComponentSurjectivity.Lifts.evaluated_component_points_surjective R L (OrdinaryComponentLift.Components.ordinaryComponentMap R e) eA) |
| 79 | |
| 80 | end |
| 81 | |
| 82 | /-! The constructed integral ordinary product splitting preserves |
| 83 | the actual group law. This follows from the extended generic section |
| 84 | and the native split-extension group isomorphism. -/ |
| 85 | |
| 86 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 87 | open _root_.CategoryTheory.MonoidalCategory |
| 88 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 89 | |
| 90 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.OrdinaryComponentLift.Components |
| 91 | attribute [local instance] Picard.PoincareBundle.Kernel.Scheme.kernelGroup |
| 92 | |
| 93 | section GenericSection |
| 94 | |
| 95 | variable (R L : Type) [CommRing R] [IsDomain R] [ValuationRing R] |
| 96 | [Field L] [Algebra R L] [IsFractionRing R L] (q : ℕ) [Fact q.Prime] |
| 97 | {V W : Type} [AddCommGroup V] [Module (ZMod q) V] [AddCommGroup W] [Module (ZMod q) W] |
| 98 | (A : Over (Spec (.of R))) [GrpObj A] [IsCommMonObj A] [IsProper A.hom] [Finite W] |
| 99 | (c : (Evaluated.Sections.Lifts.genericTest R L ⟶ A) ≃* Multiplicative V) |
| 100 | (π : A ⟶ (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative W)).X) [IsMonHom π] |
| 101 | (hπ : Function.Surjective (fun a : Evaluated.Sections.Lifts.genericTest R L ⟶ A => a ≫ π)) |
| 102 | |
| 103 | instance splitEvaluatedComponent_isMonHom : IsMonHom (GenericComponentSection.Lifts.splitEvaluatedComponent R L q A c π hπ).hom := |
| 104 | inferInstanceAs (IsMonHom (Evaluated.Splitting.Lifts.evaluatedComponentSplit R L A π |
| 105 | (GenericComponentSection.Lifts.genericComponentSectionLabels R L q A c π hπ) |
| 106 | (GenericComponentSection.Lifts.genericComponentSectionLabels_projection R L q A c π hπ)).hom) |
| 107 | |
| 108 | end GenericSection |
| 109 | |
| 110 | variable (R L : Type) [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 111 | [HenselianLocalRing R] [Field L] [Algebra R L] [IsFractionRing R L] |
| 112 | (q : ℕ) [Fact q.Prime] (A : Over (Spec (.of R))) [GrpObj A] [IsCommMonObj A] |
| 113 | [IsFinite A.hom] [Flat A.hom] |
| 114 | {M : Over (Spec (.of (IsLocalRing.ResidueField R)))} [GrpObj M] |
| 115 | (e : (Over.pullback (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)))).obj A ≅ |
| 116 | M ⊗ (Over.pullback (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)))).obj |
| 117 | (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of R)) (Multiplicative (Fin 2 → ZMod q))).X) [IsMonHom e.hom] |
| 118 | {I : Type} [Finite I] |
| 119 | (eA : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of L)) I ≅ |
| 120 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R L)))).obj A) |
| 121 | (hk : ∀ a : Evaluated.Sections.Lifts.genericTest R L ⟶ A, a ^ q = 1) |
| 122 | |
| 123 | instance ordinaryEvaluatedSplit_isMonHom : IsMonHom (ordinaryEvaluatedSplit R L q A e eA hk).hom := by |
| 124 | let := GenericPointCoordinates.Lifts.genericPointModule R L q A hk |
| 125 | have : Surjective (OrdinaryComponentLift.Components.ordinaryComponentMap R e).left := constructedOrdinaryProjection_surjective R q A e |
| 126 | exact splitEvaluatedComponent_isMonHom R L q |
| 127 | (V := GenericPointCoordinates.Lifts.GenericPointSpace R L A) (W := Fin 2 → ZMod q) A (GenericPointCoordinates.Lifts.genericPointCoordinates R L A) |
| 128 | (OrdinaryComponentLift.Components.ordinaryComponentMap R e) (Evaluated.ComponentSurjectivity.Lifts.evaluated_component_points_surjective R L (OrdinaryComponentLift.Components.ordinaryComponentMap R e) eA) |
| 129 | |
| 130 | end |
| 131 | |
| 132 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ConstructedOrdinaryCoordinates.Lifts |