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.MorphismOpenFrame |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.CoordinateProjectivePoints |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AffineProjective.CoordinatesOver |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveChart.CoefficientNaturality |
| 5 | |
| 6 | /-! # Scalar Coordinate Coverage -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.ScalarCoordinateCoverage.StableHilbertCoverage |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Normalized scalar coordinates of the original relative projective |
| 13 | point agree with the actual affine projective coordinate map. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | |
| 18 | private theorem sectionAbsoluteMorphism_of_frame |
| 19 | {X S : Scheme.{u}} {M : X.Modules} {n : ℕ} |
| 20 | (f : X ⟶ S) (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ M)) |
| 21 | (hs : ∀ x : X, ∃ k, x ∈ Ample.LineBundles.sectionNonvanishing (s k)) |
| 22 | (i : Fin (n + 1)) [IsIso (s i)] : |
| 23 | SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs = |
| 24 | ProjectiveChart.Evaluation.projectiveChartMap f.appTop.hom (fun k => Frame.Coordinates.frameCoordinate (s i) (s k)) i |
| 25 | (Frame.Coordinates.frameCoordinate_self (s i)) := by |
| 26 | apply (cancel_epi X.topIso.hom).mp |
| 27 | change (⊤ : X.Opens).ι ≫ SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs = |
| 28 | (⊤ : X.Opens).ι ≫ ProjectiveChart.Evaluation.projectiveChartMap _ _ _ _ |
| 29 | rw [Section.MorphismOpenFrame.sectionAbsoluteMorphism_on_open_frame f s hs (⊤ : X.Opens) i, |
| 30 | ProjectiveChart.Naturality.projectiveChartMap_comp] |
| 31 | exact Framed.ProjectiveMaps.projectiveChartMap_congr_coefficients rfl |
| 32 | (funext fun k => Scalar.BaseChange.frameCoordinate_baseChange (⊤ : X.Opens).ι (s i) (s k)) i _ _ |
| 33 | |
| 34 | theorem scalarCoordinate_absolute_normalized |
| 35 | {S : Scheme.{u}} {n : ℕ} (v : Fin (n + 1) → Γ(S, ⊤)) |
| 36 | (hv : ∀ x : S, ∃ k, x ∈ S.basicOpen (v k)) |
| 37 | (i : Fin (n + 1)) (hi : v i = 1) : |
| 38 | SectionsProjectiveMorphism.sectionAbsoluteMorphism (𝟙 S) (Family.SectionProjectiveCoordinates.scalarCoordinateSections v) |
| 39 | (Family.SectionProjectiveCoordinates.scalarCoordinateSections_cover v hv) = |
| 40 | ProjectiveChart.Evaluation.projectiveChartMap (RingHom.id Γ(S, ⊤)) v i hi := by |
| 41 | have hsi : Family.SectionProjectiveCoordinates.scalarCoordinateSections v i = 𝟙 (Line.Bundles.structureModule S) := by |
| 42 | change (Global.Sections.structureModuleEndRingEquiv S).symm (v i) = _ |
| 43 | rw [hi] |
| 44 | exact (Global.Sections.structureModuleEndRingEquiv S).symm.map_one |
| 45 | let : IsIso (Family.SectionProjectiveCoordinates.scalarCoordinateSections v i) := hsi.symm ▸ inferInstance |
| 46 | have hc : (fun k => Frame.Coordinates.frameCoordinate (Family.SectionProjectiveCoordinates.scalarCoordinateSections v i) |
| 47 | (Family.SectionProjectiveCoordinates.scalarCoordinateSections v k)) = v := by |
| 48 | funext k |
| 49 | change Frame.Coordinates.structureModuleEndValue S (Family.SectionProjectiveCoordinates.scalarCoordinateSections v k ≫ |
| 50 | inv (Family.SectionProjectiveCoordinates.scalarCoordinateSections v i)) = v k |
| 51 | simp only [hsi, IsIso.inv_id, Category.comp_id] |
| 52 | exact (Global.Sections.structureModuleEndRingEquiv S).apply_symm_apply (v k) |
| 53 | exact (sectionAbsoluteMorphism_of_frame (𝟙 S) (Family.SectionProjectiveCoordinates.scalarCoordinateSections v) |
| 54 | (Family.SectionProjectiveCoordinates.scalarCoordinateSections_cover v hv) i).trans |
| 55 | (Framed.ProjectiveMaps.projectiveChartMap_congr_coefficients rfl hc i _ _) |
| 56 | |
| 57 | theorem scalarCoordinateProjectivePoint_affine |
| 58 | (C : Type u) [CommRing C] {n : ℕ} |
| 59 | (v : Fin (n + 1) → Γ(Spec (.of C), ⊤)) |
| 60 | (hv : ∀ x : Spec (.of C), ∃ k, x ∈ (Spec (.of C)).basicOpen (v k)) |
| 61 | (i : Fin (n + 1)) (hi : v i = 1) : |
| 62 | (Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint v hv).left = |
| 63 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap (.of C) C |
| 64 | (fun k => (Scheme.ΓSpecIso (.of C)).hom (v k)) i |
| 65 | ((congrArg (Scheme.ΓSpecIso (.of C)).hom hi).trans (map_one _)) ≫ |
| 66 | AffineProjective.Charts.affineProjectiveChartMap (𝟙 (Spec (.of C))) n := by |
| 67 | let S := Spec (.of C) |
| 68 | let c := (Scheme.ΓSpecIso (.of C)).inv.hom |
| 69 | let d := (Scheme.ΓSpecIso (.of C)).hom.hom |
| 70 | let w := fun k => d (v k) |
| 71 | have hw : w i = 1 := (congrArg d hi).trans d.map_one |
| 72 | have hd : c.comp d = RingHom.id Γ(S, ⊤) := by |
| 73 | exact congrArg CommRingCat.Hom.hom (Scheme.ΓSpecIso (.of C)).hom_inv_id |
| 74 | have hc : (fun k => c (w k)) = v := by |
| 75 | funext k |
| 76 | exact ConcreteCategory.congr_hom (Scheme.ΓSpecIso (.of C)).hom_inv_id (v k) |
| 77 | have hchart : AffineProjective.Charts.affineProjectiveChartMap (𝟙 S) n ≫ |
| 78 | RelativeProjective.BaseMaps.relativeProjectiveCoefficientProjection S n = |
| 79 | Projective.CoefficientFunctoriality.polynomialProjectiveMap (Scheme.ΓSpecIso (.of C)).hom n := by |
| 80 | simpa only [RelativeProjective.BaseMaps.relativeProjectiveCoefficientProjection, AffineProjective.Charts.affinePointCoefficients, |
| 81 | Scheme.Hom.id_appTop, Category.id_comp] using |
| 82 | AffineProjective.Charts.affineProjectiveChartMap_fst (𝟙 S) n |
| 83 | have hpoint : (Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint v hv).left ≫ |
| 84 | RelativeProjective.BaseMaps.relativeProjectiveCoefficientProjection S n = |
| 85 | SectionsProjectiveMorphism.sectionAbsoluteMorphism (𝟙 S) (Family.SectionProjectiveCoordinates.scalarCoordinateSections v) |
| 86 | (Family.SectionProjectiveCoordinates.scalarCoordinateSections_cover v hv) := |
| 87 | Section.ProjectiveBaseChange.sectionProjectiveMorphism_coefficientProjection (𝟙 S) (Family.SectionProjectiveCoordinates.scalarCoordinateSections v) |
| 88 | (Family.SectionProjectiveCoordinates.scalarCoordinateSections_cover v hv) |
| 89 | have hglobal : AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap (.of C) C w i hw ≫ |
| 90 | Projective.CoefficientFunctoriality.polynomialProjectiveMap (Scheme.ΓSpecIso (.of C)).hom n = |
| 91 | ProjectiveChart.Evaluation.projectiveChartMap (RingHom.id Γ(S, ⊤)) v i hi := by |
| 92 | rw [AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap_global] |
| 93 | exact (ProjectiveChart.CoefficientNaturality.projectiveChartMap_coefficientMap d c (fun k => c (w k)) i |
| 94 | ((congrArg c hw).trans c.map_one)).trans |
| 95 | (Framed.ProjectiveMaps.projectiveChartMap_congr_coefficients hd hc i _ _) |
| 96 | apply (RelativeProjective.BaseMaps.relativeProjectiveCoefficientProjection_isPullback S n).hom_ext |
| 97 | · exact hpoint.trans ((scalarCoordinate_absolute_normalized v hv i hi).trans |
| 98 | (hglobal.symm.trans ((congrArg |
| 99 | (fun a => AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap (.of C) C w i hw ≫ a) hchart.symm).trans |
| 100 | (Category.assoc _ _ _).symm))) |
| 101 | · change (Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint v hv).left ≫ |
| 102 | (Projective.ProjectivePresentations.projectiveSpaceOver S n).hom = |
| 103 | (AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap (.of C) C w i hw ≫ |
| 104 | AffineProjective.Charts.affineProjectiveChartMap (𝟙 S) n) ≫ (Projective.ProjectivePresentations.projectiveSpaceOver S n).hom |
| 105 | rw [(Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint v hv).w, Category.assoc, |
| 106 | AffineProjective.Charts.affineProjectiveChartMap_over, Category.comp_id, AffineProjective.CoordinatesOver.affineProjectiveCoordinateMap_over] |
| 107 | exact (Spec.map_id (.of C)).symm |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.ScalarCoordinateCoverage.StableHilbertCoverage |