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.RepresentationTheory.Theta.Geometric.Picard.ZeroSchemeLocalEquations |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.Affine.QuotientFlatness |
| 3 | import OAI.RepresentationTheory.Theta.Geometric.Affine.QuotientSpecProjection |
| 4 | |
| 5 | /-! # Local Flatness Over Ring -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.Picard.LocalFlatnessOverRing |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The constructed local equations prove flatness of the actual Picard |
| 12 | comparison projection over the literal ring R when its fiber H1 is bounded by the ambient rank. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory KaehlerDifferential |
| 16 | |
| 17 | universe u |
| 18 | variable {K : Type u} [Field K] [IsAlgClosed K] |
| 19 | {A B T : Over (Spec (.of K))} [GrpObj A] [IsCommMonObj A] |
| 20 | [IsProper A.hom] [Smooth A.hom] [GeometricallyIntegral A.hom] |
| 21 | [IsLocallyNoetherian B.left] (D : AlgebraicGeometry.FormalGeometry.Completion.Rigidified.ProductLine.Construction.RigidifiedProductLine A B) |
| 22 | [IsAffine T.left] [IsNoetherianRing Γ(T.left, ⊤)] [IsLocalRing Γ(T.left, ⊤)] |
| 23 | (a : T ⟶ B) {R : Type u} [CommRing R] (p : T.left ⟶ Spec (.of R)) |
| 24 | |
| 25 | theorem picard_zeroScheme_local_toSpec_flat |
| 26 | [FormallyUnramified ((SubobjectPullbackPoints.subobjectPullback D.zeroScheme a.left).hom ≫ p)] |
| 27 | (eM : (Scheme.Modules.pullback ((AlgebraicGeometry.FormalGeometry.Completion.Projective.ConstantFamily.Construction.tensorFamilyOver A T).hom.fiberι |
| 28 | (Local.AxisCechChart.affineLocalClosedPoint T.left))).obj (D.line a).sheaf ≅ |
| 29 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule ((AlgebraicGeometry.FormalGeometry.Completion.Projective.ConstantFamily.Construction.tensorFamilyOver A T).hom.fiber (Local.AxisCechChart.affineLocalClosedPoint T.left))) : |
| 30 | letI : Algebra R Γ(T.left, ⊤) := (AlgebraicGeometry.FormalGeometry.Completion.Affine.BaseAlgebraPoints.Construction.globalRingPointEquiv T.left (.of R) p).toAlgebra |
| 31 | ∀ [Algebra.FormallySmooth R Γ(T.left, ⊤)] [Module.Flat R Γ(T.left, ⊤)] |
| 32 | [Module.Free Γ(T.left, ⊤) Ω[Γ(T.left, ⊤)⁄R]] |
| 33 | [Module.Finite Γ(T.left, ⊤) Ω[Γ(T.left, ⊤)⁄R]], |
| 34 | Projective.PicardLocalEquations.projectiveClosedFiberH1 (AlgebraicGeometry.FormalGeometry.Completion.Projective.ConstantFamily.Construction.tensorFamilyOver A T).hom |
| 35 | (AlgebraicGeometry.FormalGeometry.Completion.Projective.ConstantFamily.Construction.geometricGroupFamilyProjectivePresentation A T) (D.line a) ≤ |
| 36 | Module.finrank Γ(T.left, ⊤) Ω[Γ(T.left, ⊤)⁄R] → |
| 37 | Flat ((SubobjectPullbackPoints.subobjectPullback D.zeroScheme a.left).hom ≫ p) := by |
| 38 | let : Algebra R Γ(T.left, ⊤) := (AlgebraicGeometry.FormalGeometry.Completion.Affine.BaseAlgebraPoints.Construction.globalRingPointEquiv T.left (.of R) p).toAlgebra |
| 39 | intro _ _ _ _ hdim |
| 40 | obtain ⟨n, v, hn, hv, ⟨e⟩⟩ := ZeroSchemeLocalEquations.exists_picard_zeroScheme_local_equations D a eM |
| 41 | let I := Ideal.span (Set.range v) |
| 42 | have hI : I ≠ ⊤ := by |
| 43 | intro h |
| 44 | exact (IsLocalRing.maximalIdeal.isMaximal Γ(T.left, ⊤)).ne_top |
| 45 | (top_unique (h ▸ hv)) |
| 46 | have : FormallyUnramified ((Affine.QuotientPoints.affineQuotientScheme T.left I).hom ≫ p) := |
| 47 | Affine.QuotientFlatness.overIso_projection_formallyUnramified p _ _ e.symm |
| 48 | have : Flat ((Affine.QuotientPoints.affineQuotientScheme T.left I).hom ≫ p) := |
| 49 | Affine.QuotientSpecProjection.affineQuotientProjection_toSpec_flat p I hI v rfl (hn ▸ hdim) |
| 50 | exact Affine.QuotientFlatness.overIso_projection_flat p _ _ e |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.RepresentationTheory.Theta.Geometric.Picard.LocalFlatnessOverRing |