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.Polarized.StructureOpen |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ordered.BaseCechCoefficientCohomology |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.SchemeTransport |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.BaseChangeCoherence |
| 5 | import OAI.AlgebraicGeometry.Picard.ThetaConstruction.RelativeStalkParameters |
| 6 | import OAI.RepresentationTheory.Theta.Geometric.CechDimensionComparison |
| 7 | |
| 8 | /-! # Structure Picard Bound -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! A genuine structure-sheaf H1 bound on the original field fibers |
| 15 | bounds the local Picard equations, in every characteristic. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 19 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 20 | |
| 21 | open OAI.RepresentationTheory.Theta.Geometric.CechDimensionComparison OAI.AlgebraicGeometry.Picard.ThetaConstruction.RelativeStalkParameters.Geometric.RelativeRigidifiedCharts |
| 22 | |
| 23 | def Abelian.Schemes.AbelianScheme.HasFieldStructureH1Bound {S : Scheme} {g : ℕ} |
| 24 | (A : Abelian.Schemes.AbelianScheme g S) : Prop := |
| 25 | ∀ (K : Type) [Field K] (b : Spec (.of K) ⟶ S), |
| 26 | (A.pullback b).structureH1Dimension ≤ g |
| 27 | |
| 28 | theorem Abelian.Schemes.AbelianScheme.HasFieldStructureH1Bound.pullback {S T : Scheme} {g : ℕ} |
| 29 | {A : Abelian.Schemes.AbelianScheme g S} (h : A.HasFieldStructureH1Bound) (f : T ⟶ S) : |
| 30 | (A.pullback f).HasFieldStructureH1Bound := by |
| 31 | intro K _ b |
| 32 | exact (((A.pullback f).pullback b).structureH1Dimension_eq_of_iso |
| 33 | (A.pullback (b ≫ f)) (A.pullbackCompIso f b).symm).le.trans (h K (b ≫ f)) |
| 34 | |
| 35 | theorem Field.StructurePicardBound.fieldBound_cartesian_structureCechH1_finrank_le |
| 36 | {S Y : Scheme} {k : Type} [Field k] {g : ℕ} |
| 37 | (A : Abelian.Schemes.AbelianScheme g S) (hH1 : A.HasFieldStructureH1Bound) |
| 38 | (b : Spec (.of k) ⟶ S) (f : Y ⟶ A.scheme.left) (ρ : Y ⟶ Spec (.of k)) |
| 39 | (hp : IsPullback f ρ A.scheme.hom b) |
| 40 | {I : Type} [LinearOrder I] (U : I → Y.Opens) |
| 41 | (hU : IsOpenCover U) (haU : ∀ i, IsAffineOpen (U i)) : |
| 42 | Module.finrank Γ(Spec (.of k), ⊤) |
| 43 | ((SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex ρ (Line.Bundles.structureModule Y) U).sc' 0 1 2).homology ≤ g := by |
| 44 | let e : Over.mk ρ ≅ (A.pullback b).scheme := |
| 45 | Over.isoMk hp.isoPullback hp.isoPullback_hom_snd |
| 46 | let B := (A.pullback b).transport e.symm |
| 47 | have : IsProper ρ := B.proper |
| 48 | have : Y.IsSeparated := ⟨by rw [← terminal.comp_from ρ]; infer_instance⟩ |
| 49 | have : (Line.Bundles.structureModule Y).IsQuasicoherent := |
| 50 | Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.quasicoherent (Line.Bundles.LineBundle.trivial Y) |
| 51 | have h := (B.structureH1Dimension_eq_of_iso (A.pullback b) e).le.trans (hH1 k b) |
| 52 | exact (Ordered.BaseCechCoefficientCohomology.orderedBaseCech_H1_finrank_coefficient ρ (Line.Bundles.structureModule Y) U hU haU).le.trans h |
| 53 | |
| 54 | theorem Field.StructurePicardBound.fieldBound_localFiber_trivialLine_H1_le_dimension |
| 55 | {S : Scheme} {g : ℕ} |
| 56 | (A : Abelian.Schemes.AbelianScheme g S) (hH1 : A.HasFieldStructureH1Bound) |
| 57 | (U : Over S) [IsAffine U.left] [IsLocalRing Γ(U.left, ⊤)] |
| 58 | (PP : Projective.ProjectivePresentations.ProjectivePresentation (FormalGeometry.Completion.Projective.ConstantFamily.Construction.tensorFamilyOver A.scheme U)) |
| 59 | (L : Line.Bundles.LineBundle (U ⊗ A.scheme).left) |
| 60 | (eM : (Scheme.Modules.pullback ((FormalGeometry.Completion.Projective.ConstantFamily.Construction.tensorFamilyOver A.scheme U).hom.fiberι |
| 61 | (RepresentationTheory.Theta.Geometric.Local.AxisCechChart.affineLocalClosedPoint U.left))).obj L.sheaf ≅ |
| 62 | Line.Bundles.structureModule ((FormalGeometry.Completion.Projective.ConstantFamily.Construction.tensorFamilyOver A.scheme U).hom.fiber (RepresentationTheory.Theta.Geometric.Local.AxisCechChart.affineLocalClosedPoint U.left))) : |
| 63 | Picard.ThetaConstruction.RelativeProjectiveEquations.Geometric.relativeProjectiveClosedFiberH1 (FormalGeometry.Completion.Projective.ConstantFamily.Construction.tensorFamilyOver A.scheme U).hom PP L ≤ g := by |
| 64 | let π := (FormalGeometry.Completion.Projective.ConstantFamily.Construction.tensorFamilyOver A.scheme U).hom |
| 65 | let x := RepresentationTheory.Theta.Geometric.Local.AxisCechChart.affineLocalClosedPoint U.left |
| 66 | let j := π.fiberι x |
| 67 | let ρ := π.fiberToSpecResidueField x |
| 68 | let b := U.left.fromSpecResidueField x |
| 69 | let a := (snd U A.scheme).left |
| 70 | let f := j ≫ a |
| 71 | have hj : IsPullback j ρ π b := IsPullback.of_hasPullback π b |
| 72 | have ha : IsPullback a π A.scheme.hom U.hom := |
| 73 | (IsPullback.of_hasPullback U.hom A.scheme.hom).flip |
| 74 | have hf : IsPullback f ρ A.scheme.hom (b ≫ U.hom) := hj.paste_horiz ha |
| 75 | let : IsAffineHom j := MorphismProperty.of_isPullback (P := @IsAffineHom) hj.flip inferInstance |
| 76 | let V := fun i => j ⁻¹ᵁ Quotients.FiniteDescent.ProjectiveCechAt.Construction.ProjectiveCechComplex.cover (FormalGeometry.Completion.Projective.ConstantFamily.Construction.tensorFamilyOver A.scheme U) PP i |
| 77 | have hV : IsOpenCover V := by |
| 78 | change iSup (fun i => j ⁻¹ᵁ Quotients.FiniteDescent.ProjectiveCechAt.Construction.ProjectiveCechComplex.cover (FormalGeometry.Completion.Projective.ConstantFamily.Construction.tensorFamilyOver A.scheme U) PP i) = ⊤ |
| 79 | rw [← j.preimage_iSup, Quotients.FiniteDescent.ProjectiveCechAt.Construction.ProjectiveCechComplex.covers] |
| 80 | rfl |
| 81 | have haV : ∀ i, IsAffineOpen (V i) := |
| 82 | fun i => (Quotients.FiniteDescent.ProjectiveCechAt.Construction.ProjectiveCechComplex.affine (FormalGeometry.Completion.Projective.ConstantFamily.Construction.tensorFamilyOver A.scheme U) PP i).preimage j |
| 83 | have hi := RepresentationTheory.Theta.Geometric.CechDimensionComparison.orderedBaseCech_H1_finrank_iso ρ eM V |
| 84 | exact hi.le.trans |
| 85 | (HilbertConstruction.Field.StructurePicardBound.fieldBound_cartesian_structureCechH1_finrank_le (k := U.left.residueField x) |
| 86 | A hH1 (b ≫ U.hom) f ρ hf V hV haV) |
| 87 | |
| 88 | theorem Field.StructurePicardBound.fieldBound_zero_stalk_H1_le_dimension |
| 89 | {S : Scheme} {g : ℕ} |
| 90 | (A : Abelian.Schemes.AbelianScheme g S) (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) |
| 91 | (hH1 : A.HasFieldStructureH1Bound) |
| 92 | {B : Over S} [IsLocallyNoetherian B.left] |
| 93 | (D : AbelianScheme.IsogenyQuotient.Relative.RigidifiedLine.Construction.RelativeRigidifiedProductLine A.scheme B) (z : (Picard.ThetaConstruction.RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme D P).left) : |
| 94 | Picard.ThetaConstruction.RelativeProjectiveEquations.Geometric.relativeProjectiveClosedFiberH1 |
| 95 | (FormalGeometry.Completion.Projective.ConstantFamily.Construction.tensorFamilyOver A.scheme (Picard.ThetaConstruction.RelativeStalkParameters.Geometric.RelativeRigidifiedCharts.stalkParameter B ((Picard.ThetaConstruction.RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme D P).hom z))).hom |
| 96 | (FormalGeometry.Completion.Projective.ConstantFamily.Construction.tensorFamilyProjectivePresentation A.scheme (Picard.ThetaConstruction.RelativeStalkParameters.Geometric.RelativeRigidifiedCharts.stalkParameter B ((Picard.ThetaConstruction.RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme D P).hom z)) P) |
| 97 | (D.line (Picard.ThetaConstruction.RelativeStalkParameters.Geometric.RelativeRigidifiedCharts.stalkMap B ((Picard.ThetaConstruction.RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme D P).hom z))) ≤ g := by |
| 98 | obtain ⟨eM⟩ := Picard.ThetaConstruction.RelativeStalkParameters.Geometric.RelativeRigidifiedCharts.stalk_fiber_trivial P D z |
| 99 | exact HilbertConstruction.Field.StructurePicardBound.fieldBound_localFiber_trivialLine_H1_le_dimension A hH1 _ _ _ eM |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |