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.ProjectiveLocalVectors |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.SectionComparisonGauges |
| 3 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.OpenExtension |
| 4 | |
| 5 | /-! # Section Comparison Vectors -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.SectionComparisonVectors |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The enlarged local vectors for two actual section morphisms are |
| 14 | holomorphic, nowhere zero, and proportional on their native overlaps. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.OpenExtension |
| 17 | open OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates |
| 18 | open scoped _root_.Manifold ContDiff |
| 19 | |
| 20 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) {L K : HilbertConstruction.Line.Bundles.LineBundle V.carrier} {n m : ℕ} |
| 21 | (s : Fin (n + 1) → (HilbertConstruction.Line.Bundles.structureModule V.carrier ⟶ L.sheaf)) |
| 22 | (t : Fin (m + 1) → (HilbertConstruction.Line.Bundles.structureModule V.carrier ⟶ K.sheaf)) |
| 23 | (hs : ∀ x : V.carrier, ∃ i, x ∈ HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)) |
| 24 | (ht : ∀ x : V.carrier, ∃ j, x ∈ HilbertConstruction.Ample.LineBundles.sectionNonvanishing (t j)) |
| 25 | (g : ∀ i, (DivisorClass.Chern.Holomorphic.Exponential.HolomorphicFunction (E := V.analyticModel) (M := SectionComparisonGauges.sectionComparisonOpen V s t i))ˣ) |
| 26 | |
| 27 | def sectionComparisonVector (i : Fin (n + 1) × Fin (m + 1)) (x : V.analyticSpace) : |
| 28 | Fin ((n + m + 1) + 1) → ℂ := |
| 29 | ProjectiveLocalVectors.projectiveComparisonVector (Intrinsic.SectionCoordinates.nativeSectionCoordinates V.toOver s hs x) |
| 30 | (Intrinsic.SectionCoordinates.nativeSectionCoordinates V.toOver t ht x) i (DivisorClass.Chern.Holomorphic.OpenExtension.holomorphicOpenExtend (g i).val x) |
| 31 | |
| 32 | theorem sectionComparisonVector_holomorphic (i : Fin (n + 1) × Fin (m + 1)) : |
| 33 | ContMDiffOn 𝓘(ℂ, V.analyticModel) 𝓘(ℂ, Fin ((n + m + 1) + 1) → ℂ) ∞ |
| 34 | (sectionComparisonVector V s t hs ht g i) (SectionComparisonGauges.sectionComparisonOpen V s t i) := by |
| 35 | have hL := (SectionChernComparison.nativeSectionCoordinates_holomorphic V s hs i.1).mono |
| 36 | (fun x (hx : x ∈ SectionComparisonGauges.sectionComparisonOpen V s t i) => |
| 37 | (Intrinsic.SectionCoordinates.nativeSectionCoordinates_inPatch V.presentation s hs i.1 x).mpr hx.1) |
| 38 | have hK := (SectionChernComparison.nativeSectionCoordinates_holomorphic V t ht i.2).mono |
| 39 | (fun x (hx : x ∈ SectionComparisonGauges.sectionComparisonOpen V s t i) => |
| 40 | (Intrinsic.SectionCoordinates.nativeSectionCoordinates_inPatch V.presentation t ht i.2 x).mpr hx.2) |
| 41 | apply contMDiffOn_pi_space.mpr |
| 42 | intro k |
| 43 | obtain ⟨k, rfl⟩ := (ProjectiveLocalVectors.comparisonCoordinateEquiv n m).surjective k |
| 44 | cases k with |
| 45 | | inl k => |
| 46 | change ContMDiffOn _ _ ∞ (fun x => ProjectiveLocalVectors.projectiveComparisonVector |
| 47 | (Intrinsic.SectionCoordinates.nativeSectionCoordinates V.toOver s hs x) (Intrinsic.SectionCoordinates.nativeSectionCoordinates V.toOver t ht x) |
| 48 | i (DivisorClass.Chern.Holomorphic.OpenExtension.holomorphicOpenExtend (g i).val x) (ProjectiveLocalVectors.comparisonCoordinateEquiv n m (.inl k))) _ |
| 49 | simp only [ProjectiveLocalVectors.projectiveComparisonVector_left] |
| 50 | exact contMDiffOn_pi_space.mp hL k |
| 51 | | inr k => |
| 52 | change ContMDiffOn _ _ ∞ (fun x => ProjectiveLocalVectors.projectiveComparisonVector |
| 53 | (Intrinsic.SectionCoordinates.nativeSectionCoordinates V.toOver s hs x) (Intrinsic.SectionCoordinates.nativeSectionCoordinates V.toOver t ht x) |
| 54 | i (DivisorClass.Chern.Holomorphic.OpenExtension.holomorphicOpenExtend (g i).val x) (ProjectiveLocalVectors.comparisonCoordinateEquiv n m (.inr k))) _ |
| 55 | simp only [ProjectiveLocalVectors.projectiveComparisonVector_right] |
| 56 | apply (contMDiffOn_pi_space.mp hK k).div₀ (DivisorClass.Chern.Holomorphic.OpenExtension.holomorphicOpenExtend_contMDiffOn (g i).val) |
| 57 | intro x hx |
| 58 | rw [DivisorClass.Chern.Holomorphic.OpenExtension.holomorphicOpenExtend_apply (g i).val x hx] |
| 59 | exact DivisorClass.Chern.Holomorphic.SlitLog.holomorphicUnit_value_ne_zero (g i) ⟨x, hx⟩ |
| 60 | |
| 61 | theorem sectionComparisonVector_ne_zero (i : Fin (n + 1) × Fin (m + 1)) (x : V.analyticSpace) |
| 62 | (hi : x ∈ SectionComparisonGauges.sectionComparisonOpen V s t i) : sectionComparisonVector V s t hs ht g i x ≠ 0 := |
| 63 | ProjectiveLocalVectors.projectiveComparisonVector_ne_zero _ _ i _ |
| 64 | ((Intrinsic.SectionCoordinates.nativeSectionCoordinates_inPatch V.presentation s hs i.1 x).mpr hi.1) |
| 65 | |
| 66 | theorem sectionComparisonVector_compatible |
| 67 | (hg : ∀ i j (x : V.analyticSpace) (hi : x ∈ SectionComparisonGauges.sectionComparisonOpen V s t i) |
| 68 | (hj : x ∈ SectionComparisonGauges.sectionComparisonOpen V s t j), |
| 69 | Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.ratio i.1 j.1 (Intrinsic.SectionCoordinates.nativeSectionCoordinates V.toOver s hs x) / |
| 70 | Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.ratio i.2 j.2 (Intrinsic.SectionCoordinates.nativeSectionCoordinates V.toOver t ht x) = |
| 71 | (g j).val ⟨x, hj⟩ / (g i).val ⟨x, hi⟩) |
| 72 | (i j : Fin (n + 1) × Fin (m + 1)) (x : V.analyticSpace) |
| 73 | (hi : x ∈ SectionComparisonGauges.sectionComparisonOpen V s t i) (hj : x ∈ SectionComparisonGauges.sectionComparisonOpen V s t j) : |
| 74 | ∃ c : ℂ, c • sectionComparisonVector V s t hs ht g j x = sectionComparisonVector V s t hs ht g i x := by |
| 75 | refine ⟨Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.ratio i.1 j.1 (Intrinsic.SectionCoordinates.nativeSectionCoordinates V.toOver s hs x), ?_⟩ |
| 76 | unfold sectionComparisonVector |
| 77 | rw [DivisorClass.Chern.Holomorphic.OpenExtension.holomorphicOpenExtend_apply (g i).val x hi, DivisorClass.Chern.Holomorphic.OpenExtension.holomorphicOpenExtend_apply (g j).val x hj] |
| 78 | exact ProjectiveLocalVectors.projectiveComparisonVector_change _ _ i j _ _ |
| 79 | ((Intrinsic.SectionCoordinates.nativeSectionCoordinates_inPatch V.presentation s hs i.1 x).mpr hi.1) |
| 80 | ((Intrinsic.SectionCoordinates.nativeSectionCoordinates_inPatch V.presentation s hs j.1 x).mpr hj.1) |
| 81 | ((Intrinsic.SectionCoordinates.nativeSectionCoordinates_inPatch V.presentation t ht i.2 x).mpr hi.2) |
| 82 | ((Intrinsic.SectionCoordinates.nativeSectionCoordinates_inPatch V.presentation t ht j.2 x).mpr hj.2) |
| 83 | (DivisorClass.Chern.Holomorphic.SlitLog.holomorphicUnit_value_ne_zero (g i) ⟨x, hi⟩) (hg i j x hi hj) |
| 84 | |
| 85 | end |
| 86 | |
| 87 | /-! Algebraize the actual enlarged projective map of two generating |
| 88 | section families with equal native holomorphic line classes. Every |
| 89 | original coordinate and every comparison gauge is retained. -/ |
| 90 | |
| 91 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.OpenExtension |
| 92 | open OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates |
| 93 | open scoped _root_.Manifold ContDiff |
| 94 | |
| 95 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) {L K : HilbertConstruction.Line.Bundles.LineBundle V.carrier} {n m : ℕ} |
| 96 | (s : Fin (n + 1) → (HilbertConstruction.Line.Bundles.structureModule V.carrier ⟶ L.sheaf)) |
| 97 | (t : Fin (m + 1) → (HilbertConstruction.Line.Bundles.structureModule V.carrier ⟶ K.sheaf)) |
| 98 | (hs : ∀ x : V.carrier, ∃ i, x ∈ HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)) |
| 99 | (ht : ∀ x : V.carrier, ∃ j, x ∈ HilbertConstruction.Ample.LineBundles.sectionNonvanishing (t j)) |
| 100 | |
| 101 | structure SectionComparisonAlgebraization where |
| 102 | gauge : ∀ i, (DivisorClass.Chern.Holomorphic.Exponential.HolomorphicFunction (E := V.analyticModel) (M := SectionComparisonGauges.sectionComparisonOpen V s t i))ˣ |
| 103 | gauge_law : ∀ i j (x : V.analyticSpace) (hi : x ∈ SectionComparisonGauges.sectionComparisonOpen V s t i) |
| 104 | (hj : x ∈ SectionComparisonGauges.sectionComparisonOpen V s t j), |
| 105 | Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.ratio i.1 j.1 (Intrinsic.SectionCoordinates.nativeSectionCoordinates V.toOver s hs x) / |
| 106 | Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.ratio i.2 j.2 (Intrinsic.SectionCoordinates.nativeSectionCoordinates V.toOver t ht x) = |
| 107 | (gauge j).val ⟨x, hj⟩ / (gauge i).val ⟨x, hi⟩ |
| 108 | map : V.toOver ⟶ Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase (n + m + 1)) |
| 109 | map_value : ∀ i (x : V.analyticSpace) (hi : x ∈ SectionComparisonGauges.sectionComparisonOpen V s t i), |
| 110 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map map x = ComplexPoints.Analytic.ProjectiveScheme.projectivizationSchemePoint (n + m + 1) |
| 111 | (Projectivization.mk ℂ (sectionComparisonVector V s t hs ht gauge i x) |
| 112 | (sectionComparisonVector_ne_zero V s t hs ht gauge i x hi)) |
| 113 | |
| 114 | theorem sectionComparisonAlgebraization_nonempty |
| 115 | (he : Intrinsic.HolomorphicLineClass.nativeHolomorphicLineClass V L = Intrinsic.HolomorphicLineClass.nativeHolomorphicLineClass V K) : |
| 116 | Nonempty (SectionComparisonAlgebraization V s t hs ht) := by |
| 117 | obtain ⟨g, hg⟩ := SectionComparisonGauges.exists_sectionComparisonGauges V s t hs ht he |
| 118 | let U := SectionComparisonGauges.sectionComparisonOpen V s t |
| 119 | let hU := SectionComparisonGauges.sectionComparisonOpen_covers V s t hs ht |
| 120 | let v := sectionComparisonVector V s t hs ht g |
| 121 | let hv := fun i => (sectionComparisonVector_holomorphic V s t hs ht g i).continuousOn |
| 122 | let hn := sectionComparisonVector_ne_zero V s t hs ht g |
| 123 | let hc := sectionComparisonVector_compatible V s t hs ht g hg |
| 124 | let p := ProjectiveLocalVectors.gluedProjectiveVectorMap U hU v hv hn hc |
| 125 | obtain ⟨f, hf⟩ := ProjectiveMapAlgebraization.exists_algebraic_projectiveMap V p p.continuous |
| 126 | (ProjectiveLocalVectors.gluedProjectiveVectorMap_holomorphic U hU v hv hn hc |
| 127 | (sectionComparisonVector_holomorphic V s t hs ht g)) |
| 128 | refine ⟨⟨g, hg, f, ?_⟩⟩ |
| 129 | intro i x hi |
| 130 | exact (hf x).trans (congrArg (ComplexPoints.Analytic.ProjectiveScheme.projectivizationSchemePoint (n + m + 1)) |
| 131 | (ProjectiveLocalVectors.gluedProjectiveVectorMap_apply U hU v hv hn hc i x hi)) |
| 132 | |
| 133 | end |
| 134 | |
| 135 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.SectionComparisonVectors |