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.RelativeStalkFlatness |
| 2 | import OAI.AlgebraicGeometry.Picard.ThetaConstruction.RelativeFiniteType |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Etale |
| 4 | |
| 5 | /-! # Relative Etale Criterion -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.ThetaConstruction.RelativeEtaleCriterion.Geometric.RelativeRigidifiedCharts |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Constructed local equations prove flatness, and hence etaleness, |
| 12 | of the actual varying-family Picard zero projection when its first |
| 13 | cohomology bounds fit the smooth ambient relative dimension. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | variable {S : Scheme} {A B : Over S} [GrpObj A] |
| 18 | [IsProper A.hom] [Smooth A.hom] [GeometricallyConnected A.hom] |
| 19 | [IsLocallyNoetherian B.left] (P : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation A) (D : AbelianScheme.IsogenyQuotient.Relative.RigidifiedLine.Construction.RelativeRigidifiedProductLine A B) |
| 20 | {Y : Scheme} (n : ℕ) (p : B.left ⟶ Y) [SmoothOfRelativeDimension n p] |
| 21 | [FormallyUnramified ((RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme D P).hom ≫ p)] |
| 22 | |
| 23 | theorem zeroProjection_flat |
| 24 | (hdim : ∀ z : (RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme D P).left, |
| 25 | RelativeProjectiveEquations.Geometric.relativeProjectiveClosedFiberH1 |
| 26 | (FormalGeometry.Completion.Projective.ConstantFamily.Construction.tensorFamilyOver A (RelativeStalkParameters.Geometric.RelativeRigidifiedCharts.stalkParameter B ((RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme D P).hom z))).hom |
| 27 | (FormalGeometry.Completion.Projective.ConstantFamily.Construction.tensorFamilyProjectivePresentation A (RelativeStalkParameters.Geometric.RelativeRigidifiedCharts.stalkParameter B ((RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme D P).hom z)) P) |
| 28 | (D.line (RelativeStalkParameters.Geometric.RelativeRigidifiedCharts.stalkMap B ((RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme D P).hom z))) ≤ n) : |
| 29 | Flat ((RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme D P).hom ≫ p) := |
| 30 | RepresentationTheory.Theta.Geometric.FlatSourceLocalizations.flat_of_ambient_stalk_localizations (RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme D P).hom p |
| 31 | (fun z => RelativeStalkFlatness.Geometric.RelativeRigidifiedCharts.stalk_projection_flat P D n p z (hdim z)) |
| 32 | |
| 33 | theorem zeroProjection_etale [IsLocallyNoetherian Y] |
| 34 | (hdim : ∀ z : (RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme D P).left, |
| 35 | RelativeProjectiveEquations.Geometric.relativeProjectiveClosedFiberH1 |
| 36 | (FormalGeometry.Completion.Projective.ConstantFamily.Construction.tensorFamilyOver A (RelativeStalkParameters.Geometric.RelativeRigidifiedCharts.stalkParameter B ((RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme D P).hom z))).hom |
| 37 | (FormalGeometry.Completion.Projective.ConstantFamily.Construction.tensorFamilyProjectivePresentation A (RelativeStalkParameters.Geometric.RelativeRigidifiedCharts.stalkParameter B ((RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme D P).hom z)) P) |
| 38 | (D.line (RelativeStalkParameters.Geometric.RelativeRigidifiedCharts.stalkMap B ((RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme D P).hom z))) ≤ n) : |
| 39 | Etale ((RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme D P).hom ≫ p) := by |
| 40 | let : Flat ((RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme D P).hom ≫ p) := zeroProjection_flat P D n p hdim |
| 41 | let : Smooth p := SmoothOfRelativeDimension.smooth n p |
| 42 | let : LocallyOfFiniteType (RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme D P).hom := RelativeFiniteType.Geometric.RelativeRigidifiedCharts.zeroScheme_locallyOfFiniteType P D |
| 43 | let : LocallyOfFiniteType ((RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme D P).hom ≫ p) := inferInstance |
| 44 | let : LocallyOfFinitePresentation ((RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme D P).hom ≫ p) := inferInstance |
| 45 | exact Etale.of_formallyUnramified_of_flat ((RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme D P).hom ≫ p) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.Picard.ThetaConstruction.RelativeEtaleCriterion.Geometric.RelativeRigidifiedCharts |