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.AbelianModuli.HilbertConstruction.Intrinsic.GroupBoundsCriterion |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Fixed.DataEmbeddingRecovery |
| 3 | |
| 4 | /-! # Point Graph Bounds -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.HilbertLevel.PointGraphBounds |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original universal full-level Hilbert family has the prescribed |
| 11 | multiplication and inversion graph polynomials at every test point. The |
| 12 | proof reads the actual bounded operation datum and uses its native |
| 13 | embedding-preserving group recovery. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | universe u |
| 19 | |
| 20 | local instance pointBoundsPullbackFlat {S T : Scheme.{u}} |
| 21 | (f : T ⟶ S) (X : Over S) [Flat X.hom] : Flat ((Over.pullback f).obj X).hom := |
| 22 | inferInstanceAs (Flat (CategoryTheory.Limits.pullback.snd X.hom f)) |
| 23 | local instance pointBoundsPullbackFinitePresentation {S T : Scheme.{u}} |
| 24 | (f : T ⟶ S) (X : Over S) [LocallyOfFinitePresentation X.hom] : |
| 25 | LocallyOfFinitePresentation ((Over.pullback f).obj X).hom := |
| 26 | inferInstanceAs (LocallyOfFinitePresentation (CategoryTheory.Limits.pullback.snd X.hom f)) |
| 27 | local instance pointBoundsPullbackSeparated {S T : Scheme.{u}} |
| 28 | (f : T ⟶ S) (X : Over S) [IsSeparated X.hom] : IsSeparated ((Over.pullback f).obj X).hom := |
| 29 | inferInstanceAs (IsSeparated (CategoryTheory.Limits.pullback.snd X.hom f)) |
| 30 | |
| 31 | section GroupTransport |
| 32 | variable {S : Scheme.{u}} {X Y : Over S} [GrpObj X] [GrpObj Y] |
| 33 | (e : X ≅ Y) [IsMonHom e.hom] |
| 34 | |
| 35 | theorem FamilyGroupOperations.ofGrpObj_ofIso : |
| 36 | (FamilyGroup.Operations.FamilyGroupOperations.ofGrpObj X).ofIso e = FamilyGroup.Operations.FamilyGroupOperations.ofGrpObj Y := by |
| 37 | apply FamilyGroup.Operations.FamilyGroupOperations.ext |
| 38 | · exact IsMonHom.one_hom e.hom |
| 39 | · change (e.inv ⊗ₘ e.inv) ≫ μ[X] ≫ e.hom = μ[Y] |
| 40 | rw [IsMonHom.mul_hom e.hom, ← Category.assoc, tensorHom_comp_tensorHom, |
| 41 | e.inv_hom_id, id_tensorHom_id, Category.id_comp] |
| 42 | · change e.inv ≫ ι[X] ≫ e.hom = ι[Y] |
| 43 | rw [GrpObj.inv_hom, e.inv_hom_id_assoc] |
| 44 | end GroupTransport |
| 45 | |
| 46 | private theorem inverse_embedding {C : Type*} [Category* C] |
| 47 | {X Y Z : C} (e : X ≅ Y) (i : Y ⟶ Z) (j : X ⟶ Z) |
| 48 | (h : e.hom ≫ i = j) : e.inv ≫ j = i := |
| 49 | (congrArg (fun a => e.inv ≫ a) h.symm).trans (e.inv_hom_id_assoc i) |
| 50 | |
| 51 | private theorem groupBounds_transport |
| 52 | {S : Scheme.{u}} {X Y : Over S} [GrpObj X] [GrpObj Y] |
| 53 | [Flat X.hom] [LocallyOfFinitePresentation X.hom] [IsSeparated X.hom] |
| 54 | [Flat Y.hom] [LocallyOfFinitePresentation Y.hom] [IsSeparated Y.hom] |
| 55 | {n : ℕ} (i : X ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) (j : Y ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) |
| 56 | [IsClosedImmersion i.left] [IsClosedImmersion j.left] |
| 57 | (e : X ≅ Y) [IsMonHom e.hom] (h : e.hom ≫ j = i) (Hm Hi : Polynomial ℚ) |
| 58 | (hb : (FamilyGroup.Operations.FamilyGroupOperations.ofGrpObj X).ProjectiveGraphBounds |
| 59 | ⟨n, i, inferInstance⟩ Hm Hi) : |
| 60 | (FamilyGroup.Operations.FamilyGroupOperations.ofGrpObj Y).ProjectiveGraphBounds ⟨n, j, inferInstance⟩ Hm Hi := by |
| 61 | have hb' := FamilyGroup.Operations.FamilyGroupOperations.ProjectiveGraphBounds.ofIso i j e h |
| 62 | (FamilyGroup.Operations.FamilyGroupOperations.ofGrpObj X) Hm Hi hb |
| 63 | exact (congrArg (fun D : FamilyGroup.Operations.FamilyGroupOperations Y => |
| 64 | D.ProjectiveGraphBounds ⟨n, j, inferInstance⟩ Hm Hi) |
| 65 | (FamilyGroupOperations.ofGrpObj_ofIso e)).mp hb' |
| 66 | |
| 67 | private theorem groupBounds_recovery |
| 68 | {S : Scheme.{u}} {X Y : Over S} [GrpObj X] [GrpObj Y] |
| 69 | [Flat X.hom] [LocallyOfFinitePresentation X.hom] [IsSeparated X.hom] |
| 70 | [Flat Y.hom] [LocallyOfFinitePresentation Y.hom] [IsSeparated Y.hom] |
| 71 | (P : Projective.ProjectivePresentations.ProjectivePresentation X) (Q : Projective.ProjectivePresentations.ProjectivePresentation Y) |
| 72 | (e : Y ≅ X) [IsMonHom e.hom] (hn : P.dimension = Q.dimension) |
| 73 | (h : HEq (e.hom.left ≫ P.embedding.left) Q.embedding.left) (Hm Hi : Polynomial ℚ) |
| 74 | (hb : (FamilyGroup.Operations.FamilyGroupOperations.ofGrpObj X).ProjectiveGraphBounds P Hm Hi) : |
| 75 | (FamilyGroup.Operations.FamilyGroupOperations.ofGrpObj Y).ProjectiveGraphBounds Q Hm Hi := by |
| 76 | rcases P with ⟨n, i, hi⟩ |
| 77 | rcases Q with ⟨m, j, hj⟩ |
| 78 | cases hn |
| 79 | have he : e.hom ≫ i = j := by |
| 80 | apply Over.OverMorphism.ext |
| 81 | exact eq_of_heq h |
| 82 | let : IsMonHom e.symm.hom := inferInstanceAs (IsMonHom e.inv) |
| 83 | exact @groupBounds_transport S X Y inferInstance inferInstance |
| 84 | inferInstance inferInstance inferInstance inferInstance inferInstance inferInstance n |
| 85 | i j hi hj e.symm inferInstance (inverse_embedding e i j he) Hm Hi hb |
| 86 | |
| 87 | private theorem abelianBounds_recovery |
| 88 | {S : Scheme.{u}} {g h : ℕ} (A : Abelian.Schemes.AbelianScheme g S) (B : Abelian.Schemes.AbelianScheme h S) |
| 89 | (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) (Q : Projective.ProjectivePresentations.ProjectivePresentation B.scheme) |
| 90 | (e : B.scheme ≅ A.scheme) [IsMonHom e.hom] (hn : P.dimension = Q.dimension) |
| 91 | (he : HEq (e.hom.left ≫ P.embedding.left) Q.embedding.left) (Hm Hi : Polynomial ℚ) |
| 92 | (hb : (FamilyGroup.Operations.FamilyGroupOperations.ofGrpObj A.scheme).ProjectiveGraphBounds P Hm Hi) : |
| 93 | (FamilyGroup.Operations.FamilyGroupOperations.ofGrpObj B.scheme).ProjectiveGraphBounds Q Hm Hi := |
| 94 | groupBounds_recovery P Q e hn he Hm Hi hb |
| 95 | |
| 96 | variable (S : Scheme.{u}) [IsNoetherian S] (n : ℕ) (H : Polynomial ℚ) |
| 97 | (g : ℕ) (Hm Hi : Polynomial ℚ) |
| 98 | |
| 99 | omit [AlgebraicGeometry.IsNoetherian S] in |
| 100 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FixedDimension.PointData.FixedDimensionHilbertAbelianData.graphBounds {T : Over S} |
| 101 | (D : FixedDimension.PointData.FixedDimensionHilbertAbelianData S n H g Hm Hi T) : |
| 102 | (FamilyGroup.Operations.FamilyGroupOperations.ofGrpObj (D.abelianScheme S n H g Hm Hi).scheme).ProjectiveGraphBounds |
| 103 | (D.val.projective S n H g Hm Hi) Hm Hi := by |
| 104 | change D.val.2.val.val.ProjectiveGraphBounds |
| 105 | ((FixedDimension.Family.fixedDimensionHilbertUniversalProjectivePresentation S n H g).baseChange D.val.1.left) Hm Hi |
| 106 | exact (Intrinsic.GroupBoundsCriterion.boundedNativeGroupOperations_property_iff |
| 107 | (FixedDimension.Family.fixedDimensionHilbertUniversalProjectivePresentation S n H g) Hm Hi |
| 108 | (Over.mk D.val.1.left) D.val.2.val.val).mp D.val.2.val.property |
| 109 | |
| 110 | omit [AlgebraicGeometry.IsNoetherian S] in |
| 111 | private theorem abelianDataBounds_recovery {T : Over S} |
| 112 | (D : FixedDimension.PointData.FixedDimensionHilbertAbelianData S n H g Hm Hi T) |
| 113 | (B₀ : Abelian.Schemes.AbelianScheme g T.left) (Q : Projective.ProjectivePresentations.ProjectivePresentation B₀.scheme) |
| 114 | (e : B₀.scheme ≅ (D.abelianScheme S n H g Hm Hi).scheme) [IsMonHom e.hom] |
| 115 | (hn : (D.val.projective S n H g Hm Hi).dimension = Q.dimension) |
| 116 | (he : HEq (e.hom.left ≫ (D.val.projective S n H g Hm Hi).embedding.left) Q.embedding.left) : |
| 117 | (FamilyGroup.Operations.FamilyGroupOperations.ofGrpObj B₀.scheme).ProjectiveGraphBounds Q Hm Hi := |
| 118 | abelianBounds_recovery (D.abelianScheme S n H g Hm Hi) B₀ |
| 119 | (D.val.projective S n H g Hm Hi) Q e hn he Hm Hi (D.graphBounds S n H g Hm Hi) |
| 120 | |
| 121 | theorem fixedDimensionHilbertAbelianPoint_graphBounds {T : Over S} |
| 122 | (y : T ⟶ FixedDimension.AbelianParameters.fixedDimensionHilbertAbelianParameter S n H g Hm Hi) : |
| 123 | (FamilyGroup.Operations.FamilyGroupOperations.ofGrpObj |
| 124 | ((FixedDimension.AbelianParameters.fixedDimensionHilbertUniversalAbelianScheme S n H g Hm Hi).pullback y.left).scheme).ProjectiveGraphBounds |
| 125 | ((FixedDimension.AbelianParameters.fixedDimensionHilbertUniversalAbelianProjectivePresentation S n H g Hm Hi).baseChange y.left) |
| 126 | Hm Hi := by |
| 127 | let D := FixedDimension.PointData.fixedDimensionHilbertAbelianNativePointEquiv S n H g Hm Hi T y |
| 128 | let B₀ : Abelian.Schemes.AbelianScheme g T.left := (FixedDimension.AbelianParameters.fixedDimensionHilbertUniversalAbelianScheme S n H g Hm Hi).pullback y.left |
| 129 | let e : B₀.scheme ≅ (D.abelianScheme S n H g Hm Hi).scheme := |
| 130 | Fixed.UniversalRecovery.fixedDimensionHilbertAbelianPointFamilyIso S n H g Hm Hi y |
| 131 | let Q : Projective.ProjectivePresentations.ProjectivePresentation B₀.scheme := |
| 132 | (FixedDimension.AbelianParameters.fixedDimensionHilbertUniversalAbelianProjectivePresentation S n H g Hm Hi).baseChange y.left |
| 133 | let : IsMonHom e.hom := Fixed.UniversalRecovery.fixedDimensionHilbertAbelianPointFamilyIso_isMonHom S n H g Hm Hi y |
| 134 | exact abelianDataBounds_recovery S n H g Hm Hi D B₀ Q e rfl |
| 135 | (heq_of_eq (Fixed.DataEmbeddingRecovery.abelianPointFamilyIso_embedding_left S n H g Hm Hi y)) |
| 136 | |
| 137 | private theorem abelianPointBounds_recovery {T : Over S} |
| 138 | (a : T ⟶ FixedDimension.AbelianParameters.fixedDimensionHilbertAbelianParameter S n H g Hm Hi) |
| 139 | (B₀ : Abelian.Schemes.AbelianScheme g T.left) (Q : Projective.ProjectivePresentations.ProjectivePresentation B₀.scheme) |
| 140 | (e : B₀.scheme ≅ ((FixedDimension.AbelianParameters.fixedDimensionHilbertUniversalAbelianScheme S n H g Hm Hi).pullback a.left).scheme) |
| 141 | [IsMonHom e.hom] |
| 142 | (hn : ((FixedDimension.AbelianParameters.fixedDimensionHilbertUniversalAbelianProjectivePresentation S n H g Hm Hi).baseChange a.left).dimension = Q.dimension) |
| 143 | (he : HEq (e.hom.left ≫ |
| 144 | ((FixedDimension.AbelianParameters.fixedDimensionHilbertUniversalAbelianProjectivePresentation S n H g Hm Hi).baseChange a.left).embedding.left) Q.embedding.left) : |
| 145 | (FamilyGroup.Operations.FamilyGroupOperations.ofGrpObj B₀.scheme).ProjectiveGraphBounds Q Hm Hi := |
| 146 | abelianBounds_recovery ((FixedDimension.AbelianParameters.fixedDimensionHilbertUniversalAbelianScheme S n H g Hm Hi).pullback a.left) B₀ |
| 147 | ((FixedDimension.AbelianParameters.fixedDimensionHilbertUniversalAbelianProjectivePresentation S n H g Hm Hi).baseChange a.left) |
| 148 | Q e hn he Hm Hi (fixedDimensionHilbertAbelianPoint_graphBounds S n H g Hm Hi a) |
| 149 | |
| 150 | variable (N : ℕ) [NeZero N] |
| 151 | |
| 152 | theorem fixedDimensionHilbertFullLevelPoint_graphBounds {T : Over S} |
| 153 | (y : T ⟶ FixedDimension.LevelParameters.fixedDimensionHilbertFullLevelParameter S n H g Hm Hi N) : |
| 154 | (FamilyGroup.Operations.FamilyGroupOperations.ofGrpObj |
| 155 | ((FixedDimension.LevelParameters.fixedDimensionHilbertFullLevelUniversalAbelianScheme S n H g Hm Hi N).pullback y.left).scheme).ProjectiveGraphBounds |
| 156 | ((FixedDimension.LevelParameters.fixedDimensionHilbertFullLevelUniversalProjectivePresentation S n H g Hm Hi N).baseChange y.left) |
| 157 | Hm Hi := by |
| 158 | let a := (FixedDimension.LevelParameters.fixedDimensionHilbertFullLevelParameterPointEquiv S n H g Hm Hi N T y).1 |
| 159 | let B₀ : Abelian.Schemes.AbelianScheme g T.left := (FixedDimension.LevelParameters.fixedDimensionHilbertFullLevelUniversalAbelianScheme S n H g Hm Hi N).pullback y.left |
| 160 | let e : B₀.scheme ≅ ((FixedDimension.AbelianParameters.fixedDimensionHilbertUniversalAbelianScheme S n H g Hm Hi).pullback a.left).scheme := |
| 161 | Fixed.LevelUniversalRecovery.fixedDimensionHilbertFullLevelPointFamilyIso S n H g Hm Hi N y |
| 162 | let Q : Projective.ProjectivePresentations.ProjectivePresentation B₀.scheme := |
| 163 | (FixedDimension.LevelParameters.fixedDimensionHilbertFullLevelUniversalProjectivePresentation S n H g Hm Hi N).baseChange y.left |
| 164 | let : IsMonHom e.hom := Fixed.LevelUniversalRecovery.fixedDimensionHilbertFullLevelPointFamilyIso_isMonHom S n H g Hm Hi N y |
| 165 | exact abelianPointBounds_recovery S n H g Hm Hi a B₀ Q e rfl |
| 166 | (heq_of_eq (Fixed.DataEmbeddingRecovery.fullLevelPointFamilyIso_embedding_left S n H g Hm Hi N y)) |
| 167 | |
| 168 | end |
| 169 | |
| 170 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.HilbertLevel.PointGraphBounds |