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.ReferenceFamily.Intrinsic.SectionMorphism |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ProjectiveChartPoints |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.AnalyticFrameTransitions |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveChart.Preimages |
| 5 | |
| 6 | /-! # Section Coordinates -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.SectionCoordinates |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! The native projective point of a section morphism has the actual |
| 15 | evaluated section ratios as its normalized homogeneous coordinates. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveChart.Preimages |
| 21 | |
| 22 | def nativeSectionCoordinates (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) {M : X.left.Modules} {n : ℕ} |
| 23 | (s : Fin (n + 1) → (HilbertConstruction.Line.Bundles.structureModule X.left ⟶ M)) |
| 24 | (hs : ∀ x : X.left, ∃ i, x ∈ HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)) : |
| 25 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X → Projectivization ℂ (Fin (n + 1) → ℂ) := |
| 26 | fun p => (ComplexPoints.Analytic.ProjectiveScheme.projectiveSchemePointHomeomorph n).symm (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (SectionMorphism.nativeSectionMorphism X s hs) p) |
| 27 | |
| 28 | theorem nativeSectionCoordinates_continuous (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) {M : X.left.Modules} {n : ℕ} |
| 29 | (s : Fin (n + 1) → (HilbertConstruction.Line.Bundles.structureModule X.left ⟶ M)) |
| 30 | (hs : ∀ x : X.left, ∃ i, x ∈ HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)) : |
| 31 | Continuous (nativeSectionCoordinates X s hs) := |
| 32 | (ComplexPoints.Analytic.ProjectiveScheme.projectiveSchemePointHomeomorph n).symm.continuous.comp |
| 33 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.mapContinuous (SectionMorphism.nativeSectionMorphism X s hs)).continuous |
| 34 | |
| 35 | theorem projectiveAffineSchemePoint_ratios {n : ℕ} (v : Fin (n + 1) → ℂ) |
| 36 | (i : Fin (n + 1)) (hi : v i = 1) (j : Fin (n + 1)) : |
| 37 | Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.ratio i j ((ComplexPoints.Analytic.ProjectiveScheme.projectiveSchemePointHomeomorph n).symm |
| 38 | (ComplexPoints.Analytic.ProjectiveScheme.projectiveAffineSchemePoint n i (fun k => v k.val))) = v j := by |
| 39 | let z (k : {k : Fin (n + 1) // k ≠ i}) := v k.val |
| 40 | let q := (ComplexPoints.Analytic.ProjectiveCharts.projectiveAffineChart i).symm z |
| 41 | have he : (ComplexPoints.Analytic.ProjectiveScheme.projectiveSchemePointHomeomorph n).symm (ComplexPoints.Analytic.ProjectiveScheme.projectiveAffineSchemePoint n i z) = q.val := |
| 42 | (congrArg (ComplexPoints.Analytic.ProjectiveScheme.projectiveSchemePointHomeomorph n).symm |
| 43 | (ComplexPoints.Analytic.ProjectiveScheme.projectiveAffineSchemePoint_eq_projectivization n i z)).trans |
| 44 | ((ComplexPoints.Analytic.ProjectiveScheme.projectiveSchemePointHomeomorph n).symm_apply_apply q.val) |
| 45 | rw [he] |
| 46 | by_cases hji : j = i |
| 47 | · subst j |
| 48 | exact q.property.trans hi.symm |
| 49 | · exact congrFun ((ComplexPoints.Analytic.ProjectiveCharts.projectiveAffineChart i).apply_symm_apply z) ⟨j, hji⟩ |
| 50 | |
| 51 | theorem nativeSectionCoordinates_ratio (P : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 52 | {M : P.carrier.Modules} {n : ℕ} |
| 53 | (s : Fin (n + 1) → (HilbertConstruction.Line.Bundles.structureModule P.carrier ⟶ M)) |
| 54 | (hs : ∀ x : P.carrier, ∃ i, x ∈ HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)) |
| 55 | (i j : Fin (n + 1)) (p : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints P.toOver) |
| 56 | (hp : p ∈ DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen P (HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i))) : |
| 57 | Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.ratio i j (nativeSectionCoordinates P.toOver s hs p) = |
| 58 | DivisorClass.Chern.AnalyticTransitions.Construction.globalSectionEvaluation ((DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.openPointHomeomorph P (HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i))).symm ⟨p, hp⟩) |
| 59 | (HilbertConstruction.Section.Frames.sectionRatio (s i) (s j)) := by |
| 60 | let D := HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i) |
| 61 | let q := (DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.openPointHomeomorph P D).symm ⟨p, hp⟩ |
| 62 | let v (j : Fin (n + 1)) := DivisorClass.Chern.AnalyticTransitions.Construction.globalSectionEvaluation q (HilbertConstruction.Section.Frames.sectionRatio (s i) (s j)) |
| 63 | have hv : v i = 1 := by |
| 64 | change DivisorClass.Chern.AnalyticTransitions.Construction.globalSectionEvaluation q (HilbertConstruction.Section.Frames.sectionRatio (s i) (s i)) = 1 |
| 65 | rw [HilbertConstruction.Section.Frames.sectionRatio_self, map_one] |
| 66 | have hq : q.left ≫ D.ι = p.left := congrArg (fun r : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints P.toOver => r.left) |
| 67 | (congrArg Subtype.val ((DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.openPointHomeomorph P D).apply_symm_apply ⟨p, hp⟩)) |
| 68 | have hpoint : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (SectionMorphism.nativeSectionMorphism P.toOver s hs) p = |
| 69 | ComplexPoints.Analytic.ProjectiveScheme.projectiveAffineSchemePoint n i (fun j => v j.val) := by |
| 70 | apply Over.OverMorphism.ext |
| 71 | change p.left ≫ (SectionMorphism.nativeSectionMorphism P.toOver s hs).left = _ |
| 72 | exact (congrArg (fun z => z ≫ (SectionMorphism.nativeSectionMorphism P.toOver s hs).left) hq.symm).trans |
| 73 | ((Category.assoc _ _ _).trans |
| 74 | ((congrArg (fun z => q.left ≫ z) (SectionMorphism.nativeSectionMorphism_restrict P.toOver s hs i)).trans |
| 75 | ((ProjectiveChartPoints.projectiveChartMap_point q (fun j => HilbertConstruction.Section.Frames.sectionRatio (s i) (s j)) i (HilbertConstruction.Section.Frames.sectionRatio_self (s i))).trans |
| 76 | (ComplexPoints.Analytic.ProjectiveScheme.projectiveAffineSchemePoint_left n i (fun j => v j.val)).symm))) |
| 77 | exact (congrArg (fun z => Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.ratio i j ((ComplexPoints.Analytic.ProjectiveScheme.projectiveSchemePointHomeomorph n).symm z)) hpoint).trans |
| 78 | (projectiveAffineSchemePoint_ratios v i hv j) |
| 79 | |
| 80 | end |
| 81 | |
| 82 | /-! The analytic homogeneous-coordinate patches of the actual section |
| 83 | morphism are exactly the original section nonvanishing opens. -/ |
| 84 | |
| 85 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 86 | open OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates |
| 87 | |
| 88 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveChart.Preimages |
| 89 | |
| 90 | theorem nativeSectionMorphism_preimage (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) {M : X.left.Modules} {n : ℕ} |
| 91 | (s : Fin (n + 1) → (HilbertConstruction.Line.Bundles.structureModule X.left ⟶ M)) |
| 92 | (hs : ∀ x : X.left, ∃ i, x ∈ HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)) (i : Fin (n + 1)) : |
| 93 | (SectionMorphism.nativeSectionMorphism X s hs).left ⁻¹ᵁ Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n i = HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i) := by |
| 94 | have h : ProjectiveCoefficientsId.ProjectiveCoefficients.schemeMap ProjectiveAdapter.ProjectiveCoefficients.complexSectionRingEquiv.symm.toRingHom n ⁻¹ᵁ Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n i = |
| 95 | Proj.basicOpen (HilbertConstruction.Projective.ProjectivePresentations.coordinateGrading Γ(Foundations.Scheme.ProjectiveSpace.complexBase, ⊤) n) (MvPolynomial.X i) := |
| 96 | (Proj.map_preimage_basicOpen (ProjectiveCoefficientsId.ProjectiveCoefficients.gradedMap ProjectiveAdapter.ProjectiveCoefficients.complexSectionRingEquiv.symm.toRingHom n) |
| 97 | (ProjectiveCoefficientsId.ProjectiveCoefficients.gradedMap_irrelevant ProjectiveAdapter.ProjectiveCoefficients.complexSectionRingEquiv.symm.toRingHom n) (MvPolynomial.X i)).trans |
| 98 | (congrArg (Proj.basicOpen (HilbertConstruction.Projective.ProjectivePresentations.coordinateGrading Γ(Foundations.Scheme.ProjectiveSpace.complexBase, ⊤) n)) |
| 99 | (ProjectiveChartCoefficients.ProjectiveCoefficients.gradedMap_X ProjectiveAdapter.ProjectiveCoefficients.complexSectionRingEquiv.symm.toRingHom n i)) |
| 100 | exact (congrArg (fun f => f ⁻¹ᵁ Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n i) |
| 101 | (SectionMorphism.nativeSectionMorphism_left X s hs)).trans |
| 102 | ((congrArg (fun U => HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism X.hom s hs ⁻¹ᵁ U) h).trans |
| 103 | (HilbertConstruction.ProjectiveChart.Preimages.sectionAbsoluteMorphism_preimage X.hom s hs i)) |
| 104 | |
| 105 | theorem nativeSectionCoordinates_inPatch (P : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 106 | {M : P.carrier.Modules} {n : ℕ} |
| 107 | (s : Fin (n + 1) → (HilbertConstruction.Line.Bundles.structureModule P.carrier ⟶ M)) |
| 108 | (hs : ∀ x : P.carrier, ∃ i, x ∈ HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)) |
| 109 | (i : Fin (n + 1)) (p : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints P.toOver) : |
| 110 | Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.InPatch i (nativeSectionCoordinates P.toOver s hs p) ↔ |
| 111 | p ∈ DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen P (HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)) := by |
| 112 | have hp := ComplexPoints.Analytic.ProjectiveScheme.projectivizationSchemePoint_mem_coordinateOpen n i (nativeSectionCoordinates P.toOver s hs p) |
| 113 | have hq : ComplexPoints.Analytic.ProjectiveScheme.projectivizationSchemePoint n (nativeSectionCoordinates P.toOver s hs p) = |
| 114 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (SectionMorphism.nativeSectionMorphism P.toOver s hs) p := |
| 115 | (ComplexPoints.Analytic.ProjectiveScheme.projectiveSchemePointHomeomorph n).apply_symm_apply _ |
| 116 | rw [hq] at hp |
| 117 | have he := congrArg (fun U : P.carrier.Opens => ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying p ∈ U) |
| 118 | (nativeSectionMorphism_preimage P.toOver s hs i) |
| 119 | exact hp.symm.trans he.to_iff |
| 120 | |
| 121 | end |
| 122 | |
| 123 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.SectionCoordinates |