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.Picard.ThetaConstruction.RelativeLocalEquations |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.Affine.QuotientFlatness |
| 3 | import OAI.RepresentationTheory.Theta.Geometric.Affine.QuotientSpecProjection |
| 4 | |
| 5 | /-! # Relative Local Flatness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.ThetaConstruction.RelativeLocalFlatness.Geometric.RelativeRigidifiedCharts |
| 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 | open _root_.AlgebraicGeometry _root_.CategoryTheory KaehlerDifferential |
| 15 | |
| 16 | variable {S : Scheme} {A B T : Over S} [GrpObj A] |
| 17 | [IsProper A.hom] [Smooth A.hom] [GeometricallyConnected A.hom] |
| 18 | [IsLocallyNoetherian B.left] (P : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation A) (D : AbelianScheme.IsogenyQuotient.Relative.RigidifiedLine.Construction.RelativeRigidifiedProductLine A B) |
| 19 | [IsAffine T.left] [IsNoetherianRing Γ(T.left, ⊤)] [IsLocalRing Γ(T.left, ⊤)] |
| 20 | [IsLocallyNoetherian T.left] |
| 21 | (a : T ⟶ B) {R : Type} [CommRing R] (p : T.left ⟶ Spec (.of R)) |
| 22 | |
| 23 | theorem zeroScheme_local_toSpec_flat |
| 24 | [FormallyUnramified ((RepresentationTheory.Theta.Geometric.SubobjectPullbackPoints.subobjectPullback (RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme D P) a.left).hom ≫ p)] |
| 25 | (eM : (Scheme.Modules.pullback ((FormalGeometry.Completion.Projective.ConstantFamily.Construction.tensorFamilyOver A T).hom.fiberι |
| 26 | (RepresentationTheory.Theta.Geometric.Local.AxisCechChart.affineLocalClosedPoint T.left))).obj (D.line a).sheaf ≅ |
| 27 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule ((FormalGeometry.Completion.Projective.ConstantFamily.Construction.tensorFamilyOver A T).hom.fiber (RepresentationTheory.Theta.Geometric.Local.AxisCechChart.affineLocalClosedPoint T.left))) : |
| 28 | letI : Algebra R Γ(T.left, ⊤) := (FormalGeometry.Completion.Affine.BaseAlgebraPoints.Construction.globalRingPointEquiv T.left (.of R) p).toAlgebra |
| 29 | ∀ [Algebra.FormallySmooth R Γ(T.left, ⊤)] [Module.Flat R Γ(T.left, ⊤)] |
| 30 | [Module.Free Γ(T.left, ⊤) Ω[Γ(T.left, ⊤)⁄R]] |
| 31 | [Module.Finite Γ(T.left, ⊤) Ω[Γ(T.left, ⊤)⁄R]], |
| 32 | RelativeProjectiveEquations.Geometric.relativeProjectiveClosedFiberH1 (FormalGeometry.Completion.Projective.ConstantFamily.Construction.tensorFamilyOver A T).hom |
| 33 | (FormalGeometry.Completion.Projective.ConstantFamily.Construction.tensorFamilyProjectivePresentation A T P) (D.line a) ≤ |
| 34 | Module.finrank Γ(T.left, ⊤) Ω[Γ(T.left, ⊤)⁄R] → |
| 35 | Flat ((RepresentationTheory.Theta.Geometric.SubobjectPullbackPoints.subobjectPullback (RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme D P) a.left).hom ≫ p) := by |
| 36 | let : Algebra R Γ(T.left, ⊤) := (FormalGeometry.Completion.Affine.BaseAlgebraPoints.Construction.globalRingPointEquiv T.left (.of R) p).toAlgebra |
| 37 | intro _ _ _ _ hdim |
| 38 | obtain ⟨n, v, hn, hv, ⟨e⟩⟩ := RelativeLocalEquations.Geometric.RelativeRigidifiedCharts.exists_zeroScheme_local_equations P D a eM |
| 39 | let I := Ideal.span (Set.range v) |
| 40 | have hI : I ≠ ⊤ := by |
| 41 | intro h |
| 42 | exact (IsLocalRing.maximalIdeal.isMaximal Γ(T.left, ⊤)).ne_top |
| 43 | (top_unique (h ▸ hv)) |
| 44 | have : FormallyUnramified ((RepresentationTheory.Theta.Geometric.Affine.QuotientPoints.affineQuotientScheme T.left I).hom ≫ p) := |
| 45 | RepresentationTheory.Theta.Geometric.Affine.QuotientFlatness.overIso_projection_formallyUnramified p _ _ e.symm |
| 46 | have : Flat ((RepresentationTheory.Theta.Geometric.Affine.QuotientPoints.affineQuotientScheme T.left I).hom ≫ p) := |
| 47 | RepresentationTheory.Theta.Geometric.Affine.QuotientSpecProjection.affineQuotientProjection_toSpec_flat p I hI v rfl (hn ▸ hdim) |
| 48 | exact RepresentationTheory.Theta.Geometric.Affine.QuotientFlatness.overIso_projection_flat p _ _ e |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.Picard.ThetaConstruction.RelativeLocalFlatness.Geometric.RelativeRigidifiedCharts |