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.DivisorClass.Chern.Cocycle |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.LogRefinementOpen |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveVarietyCompactness |
| 4 | |
| 5 | /-! # Bundle Logarithms -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! |
| 14 | # ChernClass: logarithmic transition data of actual algebraic line bundles |
| 15 | |
| 16 | Compactness and normality of the genuine analytic point space provide a |
| 17 | logarithmic refinement of the actual algebraic trivializing cover. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.isDefEq.respectTransparency.types false |
| 24 | set_option backward.defeqAttrib.useBackward true |
| 25 | |
| 26 | namespace BundleLogarithms.Construction |
| 27 | |
| 28 | variable {T I : Type} [TopologicalSpace T] |
| 29 | |
| 30 | /-- A pairwise intersection agrees with the intersection of its two-entry tuple. -/ |
| 31 | theorem pair_le_cechIntersection (U : I → Opens T) (a : Fin 2 → I) : |
| 32 | U (a 0) ⊓ U (a 1) ≤ AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a := by |
| 33 | intro x hx |
| 34 | apply (AlgebraicTopology.DeRham.Comparison.SmoothCech.mem_cechIntersection U a x).mpr |
| 35 | intro k |
| 36 | fin_cases k |
| 37 | · exact hx.1 |
| 38 | · exact hx.2 |
| 39 | |
| 40 | /-- The reverse inclusion is given by the two coordinate inclusions. -/ |
| 41 | theorem cechIntersection_le_pair (U : I → Opens T) (a : Fin 2 → I) : |
| 42 | AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a ≤ U (a 0) ⊓ U (a 1) := |
| 43 | le_inf (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le U a 0) (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le U a 1) |
| 44 | |
| 45 | end BundleLogarithms.Construction |
| 46 | |
| 47 | variable {X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (L : Line.Bundles.AlgebraicLineBundle X) |
| 48 | |
| 49 | /-- The actual transition function expressed on a binary intersection. -/ |
| 50 | def Line.Bundles.AlgebraicLineBundle.transitionPair (i j : X.carrier) : |
| 51 | C((L.analyticCover i ⊓ L.analyticCover j : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver)), ℂ) := |
| 52 | (L.transitionCech ![i, j]).comp |
| 53 | (LogRefinementOpen.Construction.openInclusionMap (BundleLogarithms.Construction.pair_le_cechIntersection L.analyticCover ![i, j])) |
| 54 | |
| 55 | theorem Line.Bundles.AlgebraicLineBundle.transitionPair_ne_zero (i j : X.carrier) |
| 56 | (p : (L.analyticCover i ⊓ L.analyticCover j : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver))) : |
| 57 | L.transitionPair i j p ≠ 0 := L.transitionCech_ne_zero _ _ |
| 58 | |
| 59 | theorem Line.Bundles.AlgebraicLineBundle.transitionCech_congr {a b : Fin 2 → X.carrier} (hab : a = b) |
| 60 | (p : AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection L.analyticCover a) (q : AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection L.analyticCover b) |
| 61 | (hpq : p.val = q.val) : L.transitionCech a p = L.transitionCech b q := by |
| 62 | subst b |
| 63 | have h : p = q := Subtype.ext hpq |
| 64 | subst q |
| 65 | rfl |
| 66 | |
| 67 | /-- Choose the proved logarithmic refinement of the actual line-bundle transitions. -/ |
| 68 | def Line.Bundles.AlgebraicLineBundle.bundleLogRefinement : LogRefinementOpen.Construction.CompactLogarithmicRefinement L.analyticCover L.transitionPair := |
| 69 | Classical.choice (LogRefinementOpen.Construction.nonempty_compactLogarithmicRefinement L.analyticCover |
| 70 | L.analyticCover_covers L.transitionPair L.transitionPair_ne_zero) |
| 71 | |
| 72 | /-- Index of a logarithmic chart: a center and one of the finitely many algebraic charts. -/ |
| 73 | abbrev Line.Bundles.AlgebraicLineBundle.LogCoverIndex := |
| 74 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver × L.bundleLogRefinement.charts |
| 75 | |
| 76 | /-- The refined analytic cover carrying continuous logarithms. -/ |
| 77 | abbrev Line.Bundles.AlgebraicLineBundle.logCover : L.LogCoverIndex → Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver) := |
| 78 | L.bundleLogRefinement.refinement.cover |
| 79 | |
| 80 | /-- The algebraic chart to which a logarithmic chart is subordinate. -/ |
| 81 | abbrev Line.Bundles.AlgebraicLineBundle.logParent (a : L.LogCoverIndex) : X.carrier := a.2.val |
| 82 | |
| 83 | theorem Line.Bundles.AlgebraicLineBundle.logCover_subset (a : L.LogCoverIndex) : |
| 84 | L.logCover a ≤ L.analyticCover (L.logParent a) := |
| 85 | L.bundleLogRefinement.refinement.subset a |
| 86 | |
| 87 | theorem Line.Bundles.AlgebraicLineBundle.logCover_covers (p : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver) : |
| 88 | ∃ a, p ∈ L.logCover a := L.bundleLogRefinement.refinement.covers p |
| 89 | |
| 90 | /-- Logarithms of the actual transitions on the refined cover, as a Cech cochain. -/ |
| 91 | def Line.Bundles.AlgebraicLineBundle.bundleLogCech : LogCech.RationalCech.LogCechCochain |
| 92 | (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver)) L.logCover := |
| 93 | fun a => (L.bundleLogRefinement.refinement.logarithm (a 0) (a 1)).comp |
| 94 | (LogRefinementOpen.Construction.openInclusionMap (BundleLogarithms.Construction.cechIntersection_le_pair L.logCover a)) |
| 95 | |
| 96 | theorem Line.Bundles.AlgebraicLineBundle.logIntersection_subset {n : ℕ} (a : Fin (n + 1) → L.LogCoverIndex) : |
| 97 | AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection L.logCover a ≤ AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection L.analyticCover (L.logParent ∘ a) := by |
| 98 | intro p hp |
| 99 | apply (AlgebraicTopology.DeRham.Comparison.SmoothCech.mem_cechIntersection L.analyticCover (L.logParent ∘ a) p).mpr |
| 100 | intro k |
| 101 | exact L.logCover_subset (a k) (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le L.logCover a k hp) |
| 102 | |
| 103 | /-- Exponentiating the constructed logarithm recovers the original bundle transition. -/ |
| 104 | theorem Line.Bundles.AlgebraicLineBundle.exp_bundleLogCech (a : Fin 2 → L.LogCoverIndex) |
| 105 | (p : AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection L.logCover a) : |
| 106 | Complex.exp (L.bundleLogCech a p) = |
| 107 | L.transitionCech (L.logParent ∘ a) ⟨p.val, L.logIntersection_subset a p.property⟩ := by |
| 108 | have h := L.bundleLogRefinement.refinement.exp_logarithm (a 0) (a 1) |
| 109 | (LogRefinementOpen.Construction.openInclusionMap (BundleLogarithms.Construction.cechIntersection_le_pair L.logCover a) p) |
| 110 | have ha : ![L.logParent (a 0), L.logParent (a 1)] = L.logParent ∘ a := by |
| 111 | funext k |
| 112 | fin_cases k <;> rfl |
| 113 | change Complex.exp (L.bundleLogCech a p) = |
| 114 | L.transitionCech ![L.logParent (a 0), L.logParent (a 1)] _ at h |
| 115 | exact h.trans (L.transitionCech_congr ha _ _ rfl) |
| 116 | |
| 117 | /-- The constructed logarithms satisfy the exponential cocycle identity. -/ |
| 118 | theorem Line.Bundles.AlgebraicLineBundle.bundleLogCech_cocycle : LogCech.RationalCech.ExponentialCocycle |
| 119 | (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver)) L.logCover L.bundleLogCech := by |
| 120 | intro a p |
| 121 | change Complex.exp (L.bundleLogCech (a ∘ (2 : Fin 3).succAbove) _) * |
| 122 | Complex.exp (L.bundleLogCech (a ∘ (0 : Fin 3).succAbove) _) = |
| 123 | Complex.exp (L.bundleLogCech (a ∘ (1 : Fin 3).succAbove) _) |
| 124 | rw [Line.Bundles.AlgebraicLineBundle.exp_bundleLogCech, Line.Bundles.AlgebraicLineBundle.exp_bundleLogCech, Line.Bundles.AlgebraicLineBundle.exp_bundleLogCech] |
| 125 | exact L.transitionCech_cocycle (L.logParent ∘ a) |
| 126 | ⟨p.val, L.logIntersection_subset a p.property⟩ |
| 127 | |
| 128 | end |
| 129 | |
| 130 | /-! |
| 131 | # ChernClass: the actual algebraic transition functions obey change-of-frame identities |
| 132 | |
| 133 | All values below are evaluations of the genuine frame-transition units on a |
| 134 | common algebraic open set. The identities follow from composition of frames. |
| 135 | -/ |
| 136 | |
| 137 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 138 | |
| 139 | set_option backward.isDefEq.respectTransparency false |
| 140 | set_option backward.isDefEq.respectTransparency.types false |
| 141 | set_option backward.defeqAttrib.useBackward true |
| 142 | |
| 143 | variable {X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (L : Line.Bundles.AlgebraicLineBundle X) |
| 144 | |
| 145 | /-- A transition evaluated on a common finite intersection of algebraic charts. -/ |
| 146 | def Line.Bundles.AlgebraicLineBundle.transitionValue {n : ℕ} (a : Fin (n + 1) → X.carrier) (i j : Fin (n + 1)) |
| 147 | (p : AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection L.analyticCover a) : ℂ := |
| 148 | L.evaluateOnIntersection a |
| 149 | (L.ambientTransitionOn (a i) (a j) (L.algebraicIntersection a) |
| 150 | (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le L.trivializingOpen a i) |
| 151 | (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le L.trivializingOpen a j) : Γ(X.carrier, L.algebraicIntersection a)) p |
| 152 | |
| 153 | theorem Line.Bundles.AlgebraicLineBundle.transitionValue_ne_zero {n : ℕ} (a : Fin (n + 1) → X.carrier) |
| 154 | (i j : Fin (n + 1)) (p : AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection L.analyticCover a) : |
| 155 | L.transitionValue a i j p ≠ 0 := Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn_unit_ne_zero X _ _ _ |
| 156 | |
| 157 | /-- Restricting an original pairwise transition evaluates the same actual unit. -/ |
| 158 | theorem Line.Bundles.AlgebraicLineBundle.transitionValue_eq {n : ℕ} (a : Fin (n + 1) → X.carrier) |
| 159 | (f : Fin 2 → Fin (n + 1)) (p : AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection L.analyticCover a) : |
| 160 | L.transitionCech (a ∘ f) ⟨p.val, AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le_precomp L.analyticCover a f p.property⟩ = |
| 161 | L.transitionValue a (f 0) (f 1) p := L.transitionCech_restrict a f p |
| 162 | |
| 163 | theorem Line.Bundles.AlgebraicLineBundle.transitionValue_cocycle {n : ℕ} (a : Fin (n + 1) → X.carrier) |
| 164 | (i j k : Fin (n + 1)) (p : AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection L.analyticCover a) : |
| 165 | L.transitionValue a i j p * L.transitionValue a j k p = L.transitionValue a i k p := by |
| 166 | unfold Line.Bundles.AlgebraicLineBundle.transitionValue |
| 167 | rw [← Line.Bundles.AlgebraicLineBundle.evaluateOnIntersection_mul] |
| 168 | exact congrArg (fun u : Γ(X.carrier, L.algebraicIntersection a)ˣ => |
| 169 | L.evaluateOnIntersection a (u : Γ(X.carrier, L.algebraicIntersection a)) p) |
| 170 | (L.ambientTransitionOn_cocycle (a i) (a j) (a k) (L.algebraicIntersection a) |
| 171 | (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le L.trivializingOpen a i) |
| 172 | (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le L.trivializingOpen a j) |
| 173 | (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le L.trivializingOpen a k)) |
| 174 | |
| 175 | /-- Changing the frames at both endpoints multiplies a transition by their ratio. -/ |
| 176 | theorem Line.Bundles.AlgebraicLineBundle.transitionValue_gauge {n : ℕ} (a : Fin (n + 1) → X.carrier) |
| 177 | (i j k l : Fin (n + 1)) (p : AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection L.analyticCover a) : |
| 178 | L.transitionValue a k l p = L.transitionValue a i j p * |
| 179 | L.transitionValue a j l p / L.transitionValue a i k p := by |
| 180 | apply (eq_div_iff (L.transitionValue_ne_zero a i k p)).mpr |
| 181 | rw [mul_comm, Line.Bundles.AlgebraicLineBundle.transitionValue_cocycle, Line.Bundles.AlgebraicLineBundle.transitionValue_cocycle] |
| 182 | |
| 183 | /-- The transition at a point belonging to both algebraic trivializing charts. -/ |
| 184 | abbrev Line.Bundles.AlgebraicLineBundle.pointTransition (i j : X.carrier) (p : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver) |
| 185 | (hi : p ∈ L.analyticCover i) (hj : p ∈ L.analyticCover j) : ℂ := |
| 186 | L.transitionPair i j ⟨p, hi, hj⟩ |
| 187 | |
| 188 | theorem Line.Bundles.AlgebraicLineBundle.pointTransition_eq_value {n : ℕ} (a : Fin (n + 1) → X.carrier) |
| 189 | (i j : Fin (n + 1)) (p : AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection L.analyticCover a) : |
| 190 | L.pointTransition (a i) (a j) p.val |
| 191 | (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le L.analyticCover a i p.property) |
| 192 | (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le L.analyticCover a j p.property) = |
| 193 | L.transitionValue a i j p := by |
| 194 | have ha : ![a i, a j] = a ∘ ![i, j] := by |
| 195 | funext k |
| 196 | fin_cases k <;> rfl |
| 197 | exact (L.transitionCech_congr ha _ _ rfl).trans (L.transitionValue_eq a ![i, j] p) |
| 198 | |
| 199 | /-- Pointwise change-of-frame formula for four arbitrary algebraic charts. -/ |
| 200 | theorem Line.Bundles.AlgebraicLineBundle.pointTransition_gauge (i j k l : X.carrier) (p : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver) |
| 201 | (hi : p ∈ L.analyticCover i) (hj : p ∈ L.analyticCover j) |
| 202 | (hk : p ∈ L.analyticCover k) (hl : p ∈ L.analyticCover l) : |
| 203 | L.pointTransition k l p hk hl = |
| 204 | L.pointTransition i j p hi hj * L.pointTransition j l p hj hl / |
| 205 | L.pointTransition i k p hi hk := by |
| 206 | let a : Fin 4 → X.carrier := ![i, j, k, l] |
| 207 | have hp : p ∈ AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection L.analyticCover a := by |
| 208 | apply (AlgebraicTopology.DeRham.Comparison.SmoothCech.mem_cechIntersection L.analyticCover a p).mpr |
| 209 | intro t |
| 210 | fin_cases t |
| 211 | · exact hi |
| 212 | · exact hj |
| 213 | · exact hk |
| 214 | · exact hl |
| 215 | let q : AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection L.analyticCover a := ⟨p, hp⟩ |
| 216 | calc |
| 217 | L.pointTransition k l p hk hl = L.transitionValue a 2 3 q := |
| 218 | L.pointTransition_eq_value a 2 3 q |
| 219 | _ = L.transitionValue a 0 1 q * L.transitionValue a 1 3 q / |
| 220 | L.transitionValue a 0 2 q := L.transitionValue_gauge a 0 1 2 3 q |
| 221 | _ = L.pointTransition i j p hi hj * L.pointTransition j l p hj hl / |
| 222 | L.pointTransition i k p hi hk := by |
| 223 | rw [← Line.Bundles.AlgebraicLineBundle.pointTransition_eq_value, ← Line.Bundles.AlgebraicLineBundle.pointTransition_eq_value, ← Line.Bundles.AlgebraicLineBundle.pointTransition_eq_value] |
| 224 | rfl |
| 225 | |
| 226 | end |
| 227 | |
| 228 | end OAI.AlgebraicGeometry.DivisorClass.Chern |