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.Section.ProjectiveTwistingFrames |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveCoordinate.GlobalSections |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.SectionCoordinateValues |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.EqualityAndPullbackValues |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.PullbackSectionZero |
| 6 | |
| 7 | /-! # Coordinate Section Pullback -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quotient.CoordinateSectionPullback |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The twisting-bundle isomorphism for a section-defined projective map |
| 14 | sends each pulled-back homogeneous coordinate section to the defining section. -/ |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | set_option cleanup.letToHave false |
| 20 | variable {X S : Scheme.{u}} {M : X.Modules} {n : ℕ} (f : X ⟶ S) |
| 21 | variable (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ M)) |
| 22 | variable (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 23 | variable (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading Γ(S, ⊤) n)) (m : X ⟶ Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)) |
| 24 | variable (hm : m ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I = SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs) |
| 25 | |
| 26 | private theorem recognition_generator {Y : Scheme.{u}} {κ : Type u} |
| 27 | {V : κ → Y.Opens} (D : OpenFrame.Transitions.OpenFrameTransitions V) {P : Y.Modules} |
| 28 | (E : CompatibleSheaf.CompatibleSheafFrames D P) (hV : ∀ x : Y, ∃ i, x ∈ V i) |
| 29 | (W : Y.Opens) (i : κ) (hi : W ≤ V i) (r : Γ(Y, W)) : |
| 30 | (Sheaf.FrameRecognition.openFrameSheafRecognitionIso D E hV).hom.app W (OpenFrame.SectionGenerators.openFrameGenerator D W i hi r) = |
| 31 | E.frame W i hi r := by |
| 32 | rw [Sheaf.FrameRecognition.openFrameSheafRecognitionIso, CompatibleSheaf.CompatibleSheafFrames.iso_app] |
| 33 | change E.frame W i hi ((OpenFrame.LocalFreeness.openFrameLocalEquiv D W i hi).symm |
| 34 | (OpenFrame.LocalFreeness.openFrameLocalEquiv D W i hi r)) = _ |
| 35 | exact congrArg (E.frame W i hi) ((OpenFrame.LocalFreeness.openFrameLocalEquiv D W i hi).symm_apply_apply r) |
| 36 | |
| 37 | theorem sectionQuotientTwistingBundleIso_coordinate (j : Fin (n + 1)) : |
| 38 | Ample.LineBundles.pullbackSection m (ProjectiveCoordinate.GlobalSections.projectiveCoordinateSection I j) ≫ |
| 39 | (Section.ProjectiveTwistingFrames.sectionQuotientTwistingBundleIso f s hs I m hm).hom = s j := by |
| 40 | let D := ProjectiveTwisting.Bundle.projectiveTwistingTransitions I 1 |
| 41 | let E := Section.ProjectiveTwistingFrames.sectionQuotientTwistingFrames f s hs I m hm |
| 42 | let U : ULift.{u} (Fin (n + 1)) → (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).Opens := |
| 43 | fun i => ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I {i.down} |
| 44 | let V := fun i => m ⁻¹ᵁ U i |
| 45 | have hV : ∀ x : X, ∃ i, x ∈ V i := |
| 46 | PulledBackFrameTransitions.OpenFrameTransitions.pullback_cover m (ProjectiveTwisting.Bundle.projectiveTwistingCover I) |
| 47 | apply Section.EqualityAndPullbackValues.moduleSection_eq_of_cover M V hV |
| 48 | intro i |
| 49 | let r := Coordinate.RatioSections.coordinateRatioSection I {i.down} i.down j (Finset.mem_singleton_self i.down) |
| 50 | let c := OpenFrame.PullbackSheafMap.openFramePullbackComparison D m |
| 51 | let e := Sheaf.FrameRecognition.openFrameSheafRecognitionIso (D.pullback m) E hV |
| 52 | have hc : c.app (V i) |
| 53 | ((Ample.LineBundles.pullbackSection m (ProjectiveCoordinate.GlobalSections.projectiveCoordinateSection I j)).app (V i) (1 : Γ(X, V i))) = |
| 54 | OpenFrame.SectionGenerators.openFrameGenerator (D.pullback m) (V i) i le_rfl (m.app (U i) r) := by |
| 55 | have h := OpenFrame.PullbackSectionZero.openFramePullbackSection_app_of_tuple D m (ProjectiveCoordinate.GlobalSections.projectiveCoordinateSection I j) i |
| 56 | have htuple : OpenFrame.CoefficientSections.openFrameGlobalTupleMap D |
| 57 | (Global.Sections.moduleSectionHomEquiv (ProjectiveTwisting.Bundle.projectiveTwistingBundle I 1).sheaf (ProjectiveCoordinate.GlobalSections.projectiveCoordinateSection I j)) i = r := |
| 58 | congrFun (ProjectiveCoordinate.GlobalSections.projectiveCoordinateSection_tuple I j) i |
| 59 | exact h.trans (congrArg (fun t : Γ(Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I), U i) => |
| 60 | OpenFrame.SectionGenerators.openFrameGenerator (D.pullback m) (V i) i le_rfl (m.app (U i) t)) htuple) |
| 61 | have he := recognition_generator (D.pullback m) E hV (V i) i le_rfl (m.app (U i) r) |
| 62 | have hsi : V i ≤ Ample.LineBundles.sectionNonvanishing (s i.down) := |
| 63 | (Section.QuotientCoordinatePullback.sectionQuotient_coordinate_preimage f s hs I m hm i.down).le |
| 64 | have hr : m.app (U i) r = Section.ComponentRatios.sectionComponentRatio (s i.down) (s j) (V i) hsi := by |
| 65 | have h := Section.QuotientCoordinatePullback.sectionQuotient_coordinate_pullback f s hs I m hm i.down j (V i) le_rfl hsi |
| 66 | change X.presheaf.map (𝟙 (.op (V i))) (m.app (U i) r) = _ at h |
| 67 | simpa only [X.presheaf.map_id, CommRingCat.id_apply] using h |
| 68 | change e.hom.app (V i) (c.app (V i) |
| 69 | ((Ample.LineBundles.pullbackSection m (ProjectiveCoordinate.GlobalSections.projectiveCoordinateSection I j)).app (V i) (1 : Γ(X, V i)))) = _ |
| 70 | rw [hc, he, hr] |
| 71 | exact (Section.LocalLinearFrames.sectionLocalFrameEquiv (s i.down) (V i) hsi).apply_symm_apply _ |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quotient.CoordinateSectionPullback |