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.Projective.PresentationTensorTwisting |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PresentationSectionData |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.GlobalSectionExt |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Normalized.LevelFrameParameter |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.ZeroNormalizedBundle |
| 6 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Geometric.BundleTransport |
| 7 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Universal.SectionCompletenessBaseChange |
| 8 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Universal.SectionCompletenessIdentity |
| 9 | |
| 10 | /-! # Zero Graph Power Sections -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ZeroGraphPowerSections |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | /-! A scalar-coordinate zero mark trivializes the embedding line at |
| 17 | the identity. Consequently its zero-normalized graph-power comparison |
| 18 | gives an actual graph-power section system. Geometric completeness |
| 19 | supplies a complete basis on every Noetherian affine test. -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 22 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 23 | universe u |
| 24 | |
| 25 | private theorem geometricallyComplete_id_fiber |
| 26 | {S X : Scheme.{u}} (f : X ⟶ S) (M : X.Modules) {r : ℕ} |
| 27 | (s : Fin r → (Line.Bundles.structureModule X ⟶ M)) |
| 28 | (hs : ProperFlat.SectionFiberCriterion.GeometricallyCompleteSectionFamily f M s (𝟙 S)) |
| 29 | (K : Type u) [Field K] (q : Spec (.of K) ⟶ S) : |
| 30 | Function.Bijective (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination |
| 31 | (pullback.snd f q).appTop.hom |
| 32 | ((Scheme.Modules.pullback (pullback.fst f q)).obj M) |
| 33 | (fun i => Ample.LineBundles.pullbackSection (pullback.fst f q) (s i))) := by |
| 34 | have h := hs K q |
| 35 | change Function.Bijective (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination |
| 36 | (pullback.snd f (q ≫ 𝟙 S)).appTop.hom |
| 37 | ((Scheme.Modules.pullback (pullback.fst f (q ≫ 𝟙 S))).obj M) |
| 38 | (fun i => Ample.LineBundles.pullbackSection (pullback.fst f (q ≫ 𝟙 S)) (s i))) at h |
| 39 | rw [Category.comp_id] at h |
| 40 | exact h |
| 41 | |
| 42 | namespace ProjectivePresentation |
| 43 | variable {S : Scheme.{u}} {X : Over S} (P : Projective.ProjectivePresentations.ProjectivePresentation X) |
| 44 | |
| 45 | def _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation.ampleLine_scalarSectionIso |
| 46 | (x : Over.mk (𝟙 S) ⟶ X) (v : Fin (P.dimension + 1) → Γ(S, ⊤)) |
| 47 | (hv : ∀ z : S, ∃ i, z ∈ S.basicOpen (v i)) |
| 48 | (hx : x ≫ P.embedding = Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint v hv) : |
| 49 | (P.ampleLineBundle.pullback x.left).sheaf ≅ Line.Bundles.structureModule S := |
| 50 | (Scheme.Modules.pullbackComp x.left P.embedding.left).app |
| 51 | (RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle S P.dimension).sheaf ≪≫ |
| 52 | (Scheme.Modules.pullbackCongr (congrArg Over.Hom.left hx)).app |
| 53 | (RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle S P.dimension).sheaf ≪≫ |
| 54 | RelativeProjective.TwistingBundle.sectionProjectiveTwistingBundleIso (𝟙 S) (Family.SectionProjectiveCoordinates.scalarCoordinateSections v) |
| 55 | (Family.SectionProjectiveCoordinates.scalarCoordinateSections_cover v hv) |
| 56 | |
| 57 | end ProjectivePresentation |
| 58 | |
| 59 | namespace PolarizedAbelianWithFullLevel |
| 60 | variable {S : Scheme.{u}} {g N : ℕ} {δ : Fin g → ℕ} |
| 61 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 62 | variable (P : Projective.ProjectivePresentations.ProjectivePresentation A.abelian.scheme) |
| 63 | |
| 64 | def _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel.rawGraphPowerIso_of_scalarZero (d : ℕ) |
| 65 | (h : (A.abelian.zeroNormalizedBundle P.ampleLineBundle).sheaf ≅ |
| 66 | (A.graphBundle.tensorPower d).sheaf) |
| 67 | (v : Fin (P.dimension + 1) → Γ(S, ⊤)) |
| 68 | (hv : ∀ z : S, ∃ i, z ∈ S.basicOpen (v i)) |
| 69 | (hz : Normalized.LevelFrameParameter.fullLevelMarkedProjectivePoint (Over.mk (𝟙 S)) A.abelian A.level P 1 = |
| 70 | Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint v hv) : |
| 71 | P.ampleLineBundle.sheaf ≅ (A.graphBundle.tensorPower d).sheaf := by |
| 72 | have hz' : η[A.abelian.scheme] ≫ P.embedding = Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint v hv := by |
| 73 | apply Over.OverMorphism.ext |
| 74 | have he := congrArg Over.Hom.left hz |
| 75 | change A.abelian.fullLevelGlobalSection A.level 1 ≫ P.embedding.left = |
| 76 | (Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint v hv).left at he |
| 77 | rw [Abelian.Schemes.AbelianScheme.fullLevelGlobalSection_one] at he |
| 78 | exact he |
| 79 | let z := P.ampleLine_scalarSectionIso η[A.abelian.scheme] v hv hz' |
| 80 | exact (Line.Bundles.LineBundle.sectionNormalized_fixedIso A.abelian.scheme.hom |
| 81 | η[A.abelian.scheme].left P.ampleLineBundle ⟨z⟩).symm ≪≫ h |
| 82 | |
| 83 | end PolarizedAbelianWithFullLevel |
| 84 | |
| 85 | namespace ProjectivePresentation.SectionData |
| 86 | variable {S T : Scheme.{u}} {X : Over S} [IsProper X.hom] [Flat X.hom] |
| 87 | variable {P : Projective.ProjectivePresentations.ProjectivePresentation X} {L : Line.Bundles.LineBundle X.left} |
| 88 | |
| 89 | /-- This uses all geometric fibers, so nilpotents on the affine test |
| 90 | are retained by the proper-flat universal section criterion. -/ |
| 91 | def _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation.SectionData.completeBaseChangeOfGeometric (D : P.SectionData L) |
| 92 | (h : ProperFlat.SectionFiberCriterion.GeometricallyCompleteSectionFamily X.hom L.sheaf D.sections (𝟙 S)) |
| 93 | [IsAffine T] [IsLocallyNoetherian T] (f : T ⟶ S) : |
| 94 | (D.baseChange f).CompleteData := by |
| 95 | have : IsNoetherianRing Γ(T, ⊤) := |
| 96 | IsLocallyNoetherian.component_noetherian ⟨⊤, isAffineOpen_top T⟩ |
| 97 | let Y := (Over.pullback f).obj X |
| 98 | let M := L.pullback (pullback.fst X.hom f) |
| 99 | let E := D.baseChange f |
| 100 | have : IsProper Y.hom := inferInstanceAs (IsProper (pullback.snd X.hom f)) |
| 101 | have : Flat Y.hom := inferInstanceAs (Flat (pullback.snd X.hom f)) |
| 102 | have hf : ProperFlat.SectionFiberCriterion.GeometricallyCompleteSectionFamily X.hom L.sheaf D.sections f := by |
| 103 | intro K _ a |
| 104 | exact geometricallyComplete_id_fiber X.hom L.sheaf D.sections h K (a ≫ f) |
| 105 | have hg : ProperFlat.SectionFiberCriterion.GeometricallyCompleteSectionFamily Y.hom M.sheaf E.sections (𝟙 T) := by |
| 106 | apply (Universal.SectionCompletenessBaseChange.geometricallyCompleteSectionFamily_baseChange_iff X L.sheaf f D.sections (𝟙 T)).mpr |
| 107 | simpa only [Category.id_comp] using hf |
| 108 | have hu : Universal.SectionCompletenessOpen.UniversallyCompleteSectionFamily Y.hom M.sheaf E.sections (𝟙 T) := |
| 109 | (ProperFlat.SectionFiberCriterion.properFlat_universalSectionCompleteness_iff_geometric Y.hom M E.sections (𝟙 T)).mpr hg |
| 110 | have hb : Function.Bijective |
| 111 | (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination Y.hom.appTop.hom M.sheaf E.sections) := |
| 112 | Universal.SectionCompletenessIdentity.universallyCompleteSectionFamily_id_bijective Y M.sheaf E.sections hu |
| 113 | exact ⟨Coefficient.SectionFrameCriterion.coefficientSectionBasisOfBijective Y.hom.appTop.hom M.sheaf E.sections hb, |
| 114 | (Coefficient.SectionFrameCriterion.coefficientSectionBasisOfBijective_family Y.hom.appTop.hom M.sheaf E.sections hb).symm⟩ |
| 115 | |
| 116 | end ProjectivePresentation.SectionData |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ZeroGraphPowerSections |