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.ProjectiveChart.PullbackValues |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quotient.CoordinatePullback |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.SectionPullbackComposition |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.ComponentRatios |
| 5 | |
| 6 | /-! # Projective Coordinate Pullback -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.ProjectiveCoordinatePullback |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The projective morphism supplied by generating sections pulls each ambient coordinate function back to the actual ratio of those sections. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {X S : Scheme.{u}} {M : X.Modules} {n : ℕ} (f : X ⟶ S) |
| 19 | variable (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ M)) |
| 20 | variable (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 21 | |
| 22 | theorem sectionAbsoluteMorphism_coordinate_on_frame (i j : Fin (n + 1)) |
| 23 | (h : Ample.LineBundles.sectionNonvanishing (s i) ≤ SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs ⁻¹ᵁ |
| 24 | Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading Γ(S, ⊤) n) (MvPolynomial.X i)) : |
| 25 | Open.SectionPullback.openSectionPullback (SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs) |
| 26 | (Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading Γ(S, ⊤) n) (MvPolynomial.X i)) (Ample.LineBundles.sectionNonvanishing (s i)) h |
| 27 | (Quotient.CoordinatePullback.projectiveCoordinateFunction Γ(S, ⊤) i j) = |
| 28 | ComponentRatios.sectionComponentRatio (s i) (s j) (Ample.LineBundles.sectionNonvanishing (s i)) le_rfl := by |
| 29 | let U := Ample.LineBundles.sectionNonvanishing (s i) |
| 30 | let P := Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading Γ(S, ⊤) n) (MvPolynomial.X i) |
| 31 | let r := Quotient.CoordinatePullback.projectiveCoordinateFunction Γ(S, ⊤) i j |
| 32 | have hm : ⊤ ≤ (U.ι ≫ SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs) ⁻¹ᵁ P := by |
| 33 | intro x _ |
| 34 | exact h x.property |
| 35 | have hc : ⊤ ≤ ChartOverlaps.sectionAbsoluteChart f s i ⁻¹ᵁ P := by |
| 36 | dsimp [P] |
| 37 | rw [ProjectiveChart.Preimages.sectionAbsoluteChart_preimage, Scheme.Opens.ι_preimage_self] |
| 38 | have he := Open.SectionPullbackComposition.openSectionPullback_comp U.ι (SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs) P U ⊤ |
| 39 | h U.ι_preimage_self.ge hm r |
| 40 | have hg := Open.SectionPullbackComposition.openSectionPullback_congr (SectionsProjectiveMorphism.sectionAbsoluteMorphism_restrict f s hs i) |
| 41 | P ⊤ hm hc r |
| 42 | have hv : Open.SectionPullback.openSectionPullback (ChartOverlaps.sectionAbsoluteChart f s i) P ⊤ hc r = Frames.sectionRatio (s i) (s j) := |
| 43 | ProjectiveChart.PullbackValues.projectiveChartMap_coordinate_pullback ((Ample.LineBundles.sectionNonvanishing (s i)).ι ≫ f).appTop.hom |
| 44 | (fun k => Frames.sectionRatio (s i) (s k)) i (Frames.sectionRatio_self (s i)) hc j |
| 45 | have ha := (Open.SectionPullbackComposition.openSectionPullback_open_self U |
| 46 | (Open.SectionPullback.openSectionPullback (SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs) P U h r)).symm.trans |
| 47 | (he.trans (hg.trans hv)) |
| 48 | have hb := (congrArg U.topIso.inv (ComponentRatios.sectionRatio_component (s i) (s j)).symm).trans |
| 49 | (ConcreteCategory.congr_hom U.topIso.hom_inv_id (Frames.sectionRatio (s i) (s j))) |
| 50 | exact (ConcreteCategory.bijective_of_isIso U.topIso.inv).1 (ha.trans hb.symm) |
| 51 | |
| 52 | theorem sectionAbsoluteMorphism_coordinate_pullback (i j : Fin (n + 1)) |
| 53 | (V : X.Opens) (hV : V ≤ Ample.LineBundles.sectionNonvanishing (s i)) |
| 54 | (h : V ≤ SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs ⁻¹ᵁ |
| 55 | Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading Γ(S, ⊤) n) (MvPolynomial.X i)) : |
| 56 | Open.SectionPullback.openSectionPullback (SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs) |
| 57 | (Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading Γ(S, ⊤) n) (MvPolynomial.X i)) V h |
| 58 | (Quotient.CoordinatePullback.projectiveCoordinateFunction Γ(S, ⊤) i j) = ComponentRatios.sectionComponentRatio (s i) (s j) V hV := by |
| 59 | have hi := (ProjectiveChart.Preimages.sectionAbsoluteMorphism_preimage f s hs i).ge |
| 60 | have he := Open.SectionPullback.openSectionPullback_restrict_target (SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs) |
| 61 | (Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading Γ(S, ⊤) n) (MvPolynomial.X i)) (Ample.LineBundles.sectionNonvanishing (s i)) V hi hV |
| 62 | (Quotient.CoordinatePullback.projectiveCoordinateFunction Γ(S, ⊤) i j) |
| 63 | exact he.symm.trans ((congrArg (X.presheaf.map (homOfLE hV).op) |
| 64 | (sectionAbsoluteMorphism_coordinate_on_frame f s hs i j hi)).trans |
| 65 | (ComponentRatios.sectionComponentRatio_restrict (s i) (s j) (Ample.LineBundles.sectionNonvanishing (s i)) V hV le_rfl)) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.ProjectiveCoordinatePullback |