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.CycleClass.Thom.BaseSectionVectorChange |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.SectionSupport |
| 3 | |
| 4 | /-! # Base Vector Normal -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.CycleClass.Thom.BaseVectorNormal.Constructions.SectionSupport |
| 11 | |
| 12 | /-! The literal zero support of an actual section vector on an |
| 13 | ambient open, with its exact head-and-tail decomposition. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.BaseSectionVector.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.SectionSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo.Constructions.PulledBackSupport |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphBaseProjection.Constructions.Intrinsic OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | |
| 23 | variable {Y N : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral Y.left] [Smooth Y.hom] |
| 24 | [IsIntegral N.left] [Smooth N.hom] (j : Y ⟶ N) [IsOpenImmersion j.left] |
| 25 | (U : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) |
| 26 | (hU : (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map j)) |
| 27 | |
| 28 | def vectorZeroImage (n : ℕ) (s : Fin n → Γ(Y.left, ⊤)) : |
| 29 | {x : U // BaseSectionVector.Constructions.baseSectionVector j U hU n s x = 0} → U := Subtype.val |
| 30 | |
| 31 | theorem vectorZeroImage_range (n : ℕ) (s : Fin n → Γ(Y.left, ⊤)) : |
| 32 | Set.range (vectorZeroImage j U hU n s) = {x : U | BaseSectionVector.Constructions.baseSectionVector j U hU n s x = 0} := |
| 33 | Subtype.range_coe |
| 34 | |
| 35 | theorem vectorZeroImage_openComplement (n : ℕ) (s : Fin n → Γ(Y.left, ⊤)) : |
| 36 | IsOpen (Set.range (vectorZeroImage j U hU n s))ᶜ := by |
| 37 | rw [vectorZeroImage_range] |
| 38 | exact (isClosed_eq (BaseSectionVector.Constructions.baseSectionVector j U hU n s).hom.continuous continuous_const).isOpen_compl |
| 39 | |
| 40 | theorem vectorZeroImage_mapsTo (n : ℕ) (s : Fin n → Γ(Y.left, ⊤)) : |
| 41 | Set.MapsTo (BaseSectionVector.Constructions.baseSectionVector j U hU n s) (Set.range (vectorZeroImage j U hU n s))ᶜ ({0}ᶜ) := |
| 42 | fun x hx hz => hx ⟨⟨x, hz⟩, rfl⟩ |
| 43 | |
| 44 | theorem vectorZeroImage_cons (n : ℕ) (r : Γ(Y.left, ⊤)) (s : Fin n → Γ(Y.left, ⊤)) : |
| 45 | Set.range (vectorZeroImage j U hU (n + 1) (Fin.cons r s)) = |
| 46 | Set.range (ImageIntersectionTo.Constructions.PulledBackSupport.pulledBackImage (IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift j U hU) (GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage Y r)) ∩ |
| 47 | Set.range (vectorZeroImage j U hU n s) := by |
| 48 | rw [vectorZeroImage_range, vectorZeroImage_range, ImageIntersectionTo.Constructions.PulledBackSupport.pulledBackImage_range, GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage_range] |
| 49 | ext x |
| 50 | change BaseSectionVector.Constructions.baseSectionVector j U hU (n + 1) (Fin.cons r s) x = 0 ↔ |
| 51 | DivisorClass.Chern.AnalyticTransitions.Construction.globalSectionEvaluation (IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift j U hU x) r = 0 ∧ |
| 52 | BaseSectionVector.Constructions.baseSectionVector j U hU n s x = 0 |
| 53 | constructor |
| 54 | · intro h |
| 55 | exact ⟨congrFun h 0, funext (fun i => congrFun h i.succ)⟩ |
| 56 | · rintro ⟨hr, hs⟩ |
| 57 | funext i |
| 58 | cases i using Fin.cases with |
| 59 | | zero => exact hr |
| 60 | | succ i => exact congrFun hs i |
| 61 | |
| 62 | theorem vectorZeroImage_head_change (n : ℕ) (r : Γ(Y.left, ⊤)) (s : Fin n → Γ(Y.left, ⊤)) |
| 63 | (a : Γ(Y.left, ⊤)) (ha : a ∈ Ideal.span (Set.range s)) : |
| 64 | Set.range (vectorZeroImage j U hU (n + 1) (Fin.cons (r + a) s)) = |
| 65 | Set.range (vectorZeroImage j U hU (n + 1) (Fin.cons r s)) := by |
| 66 | rw [vectorZeroImage_range, vectorZeroImage_range] |
| 67 | ext x |
| 68 | exact BaseSectionVector.Constructions.baseSectionVector_zero_iff_head_change j U hU n r s a ha x |
| 69 | |
| 70 | end AlgebraicGeometry.CycleClass.Thom.BaseVectorNormal.Constructions.SectionSupport |
| 71 | |
| 72 | namespace AlgebraicGeometry.CycleClass.Thom.BaseVectorNormal.Constructions.Class |
| 73 | |
| 74 | /-! The actual supported normal class of a section vector, with its |
| 75 | precise transport under a constructed elementary head change. -/ |
| 76 | |
| 77 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 78 | |
| 79 | open OAI.AlgebraicGeometry.CycleClass.Thom.BaseSectionVector.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.BaseVectorNormal.Constructions.SectionSupport OAI.AlgebraicGeometry.CycleClass.Thom.BaseSectionChange.Constructions.Equation |
| 80 | open OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphBaseProjection.Constructions.Intrinsic OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo.Constructions.PulledBackSupport |
| 81 | |
| 82 | set_option backward.isDefEq.respectTransparency false |
| 83 | set_option backward.isDefEq.respectTransparency.types false |
| 84 | |
| 85 | variable {Y N : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral Y.left] [Smooth Y.hom] |
| 86 | [IsIntegral N.left] [Smooth N.hom] (j : Y ⟶ N) [IsOpenImmersion j.left] |
| 87 | (U : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) |
| 88 | (hU : (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map j)) |
| 89 | |
| 90 | def vectorNormalClass (n : ℕ) (s : Fin n → Γ(Y.left, ⊤)) : |
| 91 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of U) (Set.range (SectionSupport.vectorZeroImage j U hU n s))ᶜ (2 * n) := |
| 92 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (BaseSectionVector.Constructions.baseSectionVector j U hU n s) |
| 93 | (SectionSupport.vectorZeroImage_mapsTo j U hU n s) (2 * n) (Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass n) |
| 94 | |
| 95 | theorem baseSectionVector_one (s : Fin 1 → Γ(Y.left, ⊤)) : |
| 96 | BaseSectionVector.Constructions.baseSectionVector j U hU 1 s = BaseSectionChange.Constructions.Equation.baseSectionEquation j U hU (s 0) := by |
| 97 | ext x : 1 |
| 98 | funext i |
| 99 | have hi : i = 0 := Subsingleton.elim _ _ |
| 100 | subst i |
| 101 | rfl |
| 102 | |
| 103 | theorem vectorZeroImage_one (s : Fin 1 → Γ(Y.left, ⊤)) : |
| 104 | Set.range (SectionSupport.vectorZeroImage j U hU 1 s) = |
| 105 | Set.range (ImageIntersectionTo.Constructions.PulledBackSupport.pulledBackImage (IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift j U hU) (GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage Y (s 0))) := by |
| 106 | rw [SectionSupport.vectorZeroImage_range, ImageIntersectionTo.Constructions.PulledBackSupport.pulledBackImage_range, GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage_range] |
| 107 | ext x |
| 108 | constructor |
| 109 | · intro hx |
| 110 | exact congrFun hx 0 |
| 111 | · intro hx |
| 112 | funext i |
| 113 | have hi : i = 0 := Subsingleton.elim _ _ |
| 114 | subst i |
| 115 | exact hx |
| 116 | |
| 117 | variable (n : ℕ) (r : Γ(Y.left, ⊤)) (s : Fin n → Γ(Y.left, ⊤)) (a : Γ(Y.left, ⊤)) |
| 118 | (ha : a ∈ Ideal.span (Set.range s)) |
| 119 | |
| 120 | include ha in |
| 121 | theorem headChange_mapsTo : Set.MapsTo (𝟙 (TopCat.of U)) |
| 122 | (Set.range (SectionSupport.vectorZeroImage j U hU (n + 1) (Fin.cons (r + a) s)))ᶜ |
| 123 | (Set.range (SectionSupport.vectorZeroImage j U hU (n + 1) (Fin.cons r s)))ᶜ := |
| 124 | fun _ hx hy => hx ((SectionSupport.vectorZeroImage_head_change j U hU n r s a ha).symm ▸ hy) |
| 125 | |
| 126 | theorem vectorNormalClass_head_change : |
| 127 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of U)) |
| 128 | (headChange_mapsTo j U hU n r s a ha) (2 * (n + 1)) |
| 129 | (vectorNormalClass j U hU (n + 1) (Fin.cons r s)) = |
| 130 | vectorNormalClass j U hU (n + 1) (Fin.cons (r + a) s) := by |
| 131 | let hf := (SectionSupport.vectorZeroImage_mapsTo j U hU (n + 1) (Fin.cons r s)).comp |
| 132 | (headChange_mapsTo j U hU n r s a ha) |
| 133 | have hcomp := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of U)) |
| 134 | (BaseSectionVector.Constructions.baseSectionVector j U hU (n + 1) (Fin.cons r s)) (headChange_mapsTo j U hU n r s a ha) |
| 135 | (SectionSupport.vectorZeroImage_mapsTo j U hU (n + 1) (Fin.cons r s)) (2 * (n + 1)) |
| 136 | exact (ConcreteCategory.congr_hom hcomp (Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass (n + 1))).trans |
| 137 | (ConcreteCategory.congr_hom (BaseSectionVector.Constructions.relativeCohomologyMap_base_head_change j U hU n r s a ha |
| 138 | (Set.range (SectionSupport.vectorZeroImage j U hU (n + 1) (Fin.cons (r + a) s)))ᶜ hf |
| 139 | (SectionSupport.vectorZeroImage_mapsTo j U hU (n + 1) (Fin.cons (r + a) s)) (2 * (n + 1))) |
| 140 | (Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass (n + 1))) |
| 141 | |
| 142 | end AlgebraicGeometry.CycleClass.Thom.BaseVectorNormal.Constructions.Class |
| 143 | |
| 144 | namespace AlgebraicGeometry.CycleClass.Thom.BaseVectorNormal.Constructions.Change |
| 145 | |
| 146 | /-! The actual section-vector zero support and normal class are |
| 147 | preserved by restricting the algebraic base. -/ |
| 148 | |
| 149 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 150 | |
| 151 | open OAI.AlgebraicGeometry.CycleClass.Thom.BaseVectorNormal.Constructions.Class OAI.AlgebraicGeometry.CycleClass.Thom.BaseVectorNormal.Constructions.SectionSupport OAI.AlgebraicGeometry.CycleClass.Thom.BaseSectionVectorChange.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.BaseSectionVector.Constructions |
| 152 | open OAI.AlgebraicGeometry.CycleClass.Thom.ThomOpenRestriction.Constructions |
| 153 | |
| 154 | set_option backward.isDefEq.respectTransparency false |
| 155 | set_option backward.isDefEq.respectTransparency.types false |
| 156 | |
| 157 | variable {Y Z N : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral Y.left] [Smooth Y.hom] |
| 158 | [IsIntegral Z.left] [Smooth Z.hom] [IsIntegral N.left] [Smooth N.hom] |
| 159 | (j : Y ⟶ N) (j' : Z ⟶ N) [IsOpenImmersion j.left] [IsOpenImmersion j'.left] |
| 160 | (k : Z ⟶ Y) (hk : k ≫ j = j') (U : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) |
| 161 | (hU : (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map j)) |
| 162 | (hU' : (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map j')) |
| 163 | (n : ℕ) (s : Fin n → Γ(Y.left, ⊤)) |
| 164 | |
| 165 | include hk |
| 166 | |
| 167 | theorem vectorZeroImage_change : |
| 168 | Set.range (SectionSupport.vectorZeroImage j' U hU' n (fun i => k.left.appTop (s i))) = |
| 169 | Set.range (SectionSupport.vectorZeroImage j U hU n s) := by |
| 170 | rw [SectionSupport.vectorZeroImage_range, SectionSupport.vectorZeroImage_range] |
| 171 | exact congrArg (fun f : TopCat.of U ⟶ TopCat.of (Fin n → ℂ) => {x : U | f x = 0}) |
| 172 | (BaseSectionVectorChange.Constructions.baseSectionVector_change j j' k hk U hU hU' n s) |
| 173 | |
| 174 | theorem vectorChange_mapsTo : Set.MapsTo (𝟙 (TopCat.of U)) |
| 175 | (Set.range (SectionSupport.vectorZeroImage j' U hU' n (fun i => k.left.appTop (s i))))ᶜ |
| 176 | (Set.range (SectionSupport.vectorZeroImage j U hU n s))ᶜ := |
| 177 | fun _ hx hy => hx ((vectorZeroImage_change j j' k hk U hU hU' n s).symm ▸ hy) |
| 178 | |
| 179 | theorem vectorNormalClass_change : |
| 180 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of U)) |
| 181 | (vectorChange_mapsTo j j' k hk U hU hU' n s) (2 * n) (Class.vectorNormalClass j U hU n s) = |
| 182 | Class.vectorNormalClass j' U hU' n (fun i => k.left.appTop (s i)) := by |
| 183 | let hf := (SectionSupport.vectorZeroImage_mapsTo j U hU n s).comp (vectorChange_mapsTo j j' k hk U hU hU' n s) |
| 184 | have hcomp := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of U)) |
| 185 | (BaseSectionVector.Constructions.baseSectionVector j U hU n s) (vectorChange_mapsTo j j' k hk U hU hU' n s) |
| 186 | (SectionSupport.vectorZeroImage_mapsTo j U hU n s) (2 * n) |
| 187 | exact (ConcreteCategory.congr_hom hcomp (Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass n)).trans |
| 188 | (ConcreteCategory.congr_hom (ThomOpenRestriction.Constructions.pairMap_congr (BaseSectionVectorChange.Constructions.baseSectionVector_change j j' k hk U hU hU' n s).symm hf |
| 189 | (SectionSupport.vectorZeroImage_mapsTo j' U hU' n (fun i => k.left.appTop (s i))) (2 * n)) (Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass n)) |
| 190 | |
| 191 | end AlgebraicGeometry.CycleClass.Thom.BaseVectorNormal.Constructions.Change |
| 192 | |
| 193 | end |
| 194 | |
| 195 | end OAI |