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.FramesFrame |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.AnalyticTransitions |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.OpenImmersion |
| 4 | |
| 5 | /-! # Analytic Cover -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! |
| 14 | # ChernClass: evaluation on the actual analytic open cover |
| 15 | |
| 16 | Open subschemes are identified with their actual open subsets of complex |
| 17 | points. Regular sections and the constructed frame-transition units are |
| 18 | evaluated through these homeomorphisms. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 22 | |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | set_option backward.isDefEq.respectTransparency.types false |
| 25 | set_option backward.defeqAttrib.useBackward true |
| 26 | |
| 27 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 28 | |
| 29 | /-- Inclusion of the actual open complex subscheme. -/ |
| 30 | abbrev Line.Bundles.AlgebraicLineBundle.openInclusion (W : X.carrier.Opens) : Line.Bundles.AlgebraicLineBundle.openOver W ⟶ X.toOver := |
| 31 | Over.homMk W.ι rfl |
| 32 | |
| 33 | instance Line.Bundles.AlgebraicLineBundle.openInclusion_isOpenImmersion (W : X.carrier.Opens) : |
| 34 | IsOpenImmersion (Line.Bundles.AlgebraicLineBundle.openInclusion X W).left := by |
| 35 | change IsOpenImmersion W.ι |
| 36 | infer_instance |
| 37 | |
| 38 | /-- Inclusion of one open complex subscheme into another. -/ |
| 39 | abbrev Line.Bundles.AlgebraicLineBundle.openRestriction {V W : X.carrier.Opens} (h : V ≤ W) : Line.Bundles.AlgebraicLineBundle.openOver V ⟶ Line.Bundles.AlgebraicLineBundle.openOver W := |
| 40 | Over.homMk (X.carrier.homOfLE h) (by |
| 41 | change X.carrier.homOfLE h ≫ (W.ι ≫ X.structureMap) = V.ι ≫ X.structureMap |
| 42 | rw [← Category.assoc, Scheme.homOfLE_ι]) |
| 43 | |
| 44 | theorem Line.Bundles.AlgebraicLineBundle.openRestriction_inclusion {V W : X.carrier.Opens} (h : V ≤ W) : |
| 45 | Line.Bundles.AlgebraicLineBundle.openRestriction X h ≫ Line.Bundles.AlgebraicLineBundle.openInclusion X W = Line.Bundles.AlgebraicLineBundle.openInclusion X V := by |
| 46 | apply Over.OverMorphism.ext |
| 47 | exact Scheme.homOfLE_ι X.carrier h |
| 48 | |
| 49 | /-- An algebraic open subset gives its actual analytic open subset. -/ |
| 50 | def Line.Bundles.AlgebraicLineBundle.analyticOpen (W : X.carrier.Opens) : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver) := |
| 51 | ⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying ⁻¹' (W : Set X.carrier), ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpen_preimage_underlying _ W.isOpen⟩ |
| 52 | |
| 53 | /-- The established open-immersion homeomorphism, with the image written as an open set. -/ |
| 54 | def Line.Bundles.AlgebraicLineBundle.openPointHomeomorph (W : X.carrier.Opens) : |
| 55 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (Line.Bundles.AlgebraicLineBundle.openOver W) ≃ₜ Line.Bundles.AlgebraicLineBundle.analyticOpen X W := |
| 56 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.openImmersionPointHomeomorph (Line.Bundles.AlgebraicLineBundle.openInclusion X W)).trans |
| 57 | (Homeomorph.setCongr (by |
| 58 | change (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (X := X.toOver)) ⁻¹' Set.range W.ι = |
| 59 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (X := X.toOver)) ⁻¹' (W : Set X.carrier) |
| 60 | rw [Scheme.Opens.range_ι])) |
| 61 | |
| 62 | @[simp] |
| 63 | theorem Line.Bundles.AlgebraicLineBundle.openPointHomeomorph_val (W : X.carrier.Opens) |
| 64 | (p : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (Line.Bundles.AlgebraicLineBundle.openOver W)) : |
| 65 | (Line.Bundles.AlgebraicLineBundle.openPointHomeomorph X W p).val = ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Line.Bundles.AlgebraicLineBundle.openInclusion X W) p := rfl |
| 66 | |
| 67 | theorem Line.Bundles.AlgebraicLineBundle.openPointHomeomorph_restrict {V W : X.carrier.Opens} (h : V ≤ W) |
| 68 | (p : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (Line.Bundles.AlgebraicLineBundle.openOver V)) : |
| 69 | Line.Bundles.AlgebraicLineBundle.openPointHomeomorph X W (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Line.Bundles.AlgebraicLineBundle.openRestriction X h) p) = |
| 70 | ⟨(Line.Bundles.AlgebraicLineBundle.openPointHomeomorph X V p).val, h (Line.Bundles.AlgebraicLineBundle.openPointHomeomorph X V p).property⟩ := by |
| 71 | apply Subtype.ext |
| 72 | simp only [Line.Bundles.AlgebraicLineBundle.openPointHomeomorph_val, ← ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map_comp, Line.Bundles.AlgebraicLineBundle.openRestriction_inclusion] |
| 73 | |
| 74 | /-- The section-ring identification on an open subscheme commutes with restriction. -/ |
| 75 | theorem Line.Bundles.AlgebraicLineBundle.topIso_inv_restrict {V W : X.carrier.Opens} (h : V ≤ W) : |
| 76 | X.carrier.presheaf.map (homOfLE h).op ≫ V.topIso.inv = |
| 77 | W.topIso.inv ≫ (X.carrier.homOfLE h).appTop := by |
| 78 | simp only [Scheme.Opens.topIso_inv, Scheme.homOfLE_appTop, ← Functor.map_comp] |
| 79 | congr 1 |
| 80 | |
| 81 | /-- A regular section evaluated continuously on the corresponding analytic open. -/ |
| 82 | def Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn (W : X.carrier.Opens) (s : Γ(X.carrier, W)) : |
| 83 | C(Line.Bundles.AlgebraicLineBundle.analyticOpen X W, ℂ) := |
| 84 | (AnalyticTransitions.Construction.globalSectionContinuousMap (Line.Bundles.AlgebraicLineBundle.openOver W) (W.topIso.inv s)).comp |
| 85 | ⟨(Line.Bundles.AlgebraicLineBundle.openPointHomeomorph X W).symm, (Line.Bundles.AlgebraicLineBundle.openPointHomeomorph X W).symm.continuous⟩ |
| 86 | |
| 87 | theorem Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn_mul (W : X.carrier.Opens) |
| 88 | (s t : Γ(X.carrier, W)) (p : Line.Bundles.AlgebraicLineBundle.analyticOpen X W) : |
| 89 | Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X W (s * t) p = |
| 90 | Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X W s p * Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X W t p := by |
| 91 | change AnalyticTransitions.Construction.globalSectionEvaluation ((Line.Bundles.AlgebraicLineBundle.openPointHomeomorph X W).symm p) |
| 92 | (W.topIso.inv (s * t)) = _ |
| 93 | rw [map_mul, map_mul] |
| 94 | rfl |
| 95 | |
| 96 | theorem Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn_unit_ne_zero (W : X.carrier.Opens) |
| 97 | (u : Γ(X.carrier, W)ˣ) (p : Line.Bundles.AlgebraicLineBundle.analyticOpen X W) : |
| 98 | Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X W (u : Γ(X.carrier, W)) p ≠ 0 := by |
| 99 | exact AnalyticTransitions.Construction.globalSectionEvaluation_unit_ne_zero |
| 100 | (X := Line.Bundles.AlgebraicLineBundle.openOver W) (Units.map W.topIso.inv.hom.toMonoidHom u) |
| 101 | ((Line.Bundles.AlgebraicLineBundle.openPointHomeomorph X W).symm p) |
| 102 | |
| 103 | /-- Analytic evaluation commutes with the actual algebraic section restriction. -/ |
| 104 | theorem Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn_restrict {V W : X.carrier.Opens} (h : V ≤ W) |
| 105 | (s : Γ(X.carrier, W)) (p : Line.Bundles.AlgebraicLineBundle.analyticOpen X V) : |
| 106 | Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X V (X.carrier.presheaf.map (homOfLE h).op s) p = |
| 107 | Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X W s ⟨p.val, h p.property⟩ := by |
| 108 | have hp : (Line.Bundles.AlgebraicLineBundle.openPointHomeomorph X W).symm ⟨p.val, h p.property⟩ = |
| 109 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Line.Bundles.AlgebraicLineBundle.openRestriction X h) ((Line.Bundles.AlgebraicLineBundle.openPointHomeomorph X V).symm p) := by |
| 110 | apply (Line.Bundles.AlgebraicLineBundle.openPointHomeomorph X W).injective |
| 111 | rw [Homeomorph.apply_symm_apply, Line.Bundles.AlgebraicLineBundle.openPointHomeomorph_restrict, |
| 112 | Homeomorph.apply_symm_apply] |
| 113 | change AnalyticTransitions.Construction.globalSectionEvaluation ((Line.Bundles.AlgebraicLineBundle.openPointHomeomorph X V).symm p) |
| 114 | (V.topIso.inv (X.carrier.presheaf.map (homOfLE h).op s)) = |
| 115 | AnalyticTransitions.Construction.globalSectionEvaluation ((Line.Bundles.AlgebraicLineBundle.openPointHomeomorph X W).symm ⟨p.val, h p.property⟩) |
| 116 | (W.topIso.inv s) |
| 117 | rw [hp, AnalyticTransitions.Construction.globalSectionEvaluation_map] |
| 118 | exact congrArg (AnalyticTransitions.Construction.globalSectionEvaluation ((Line.Bundles.AlgebraicLineBundle.openPointHomeomorph X V).symm p)) |
| 119 | (ConcreteCategory.congr_hom (Line.Bundles.AlgebraicLineBundle.topIso_inv_restrict X h) s) |
| 120 | |
| 121 | end |
| 122 | |
| 123 | /-! |
| 124 | # ChernClass: actual section evaluation under a complex scheme map |
| 125 | |
| 126 | Evaluation on algebraic opens commutes with the original map of schemes, |
| 127 | via its genuine maps on sections and complex points. |
| 128 | -/ |
| 129 | |
| 130 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 131 | |
| 132 | set_option backward.isDefEq.respectTransparency false |
| 133 | set_option backward.isDefEq.respectTransparency.types false |
| 134 | set_option backward.defeqAttrib.useBackward true |
| 135 | |
| 136 | variable {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (f : Y.toOver ⟶ X.toOver) |
| 137 | (U : X.carrier.Opens) (W : Y.carrier.Opens) (hWU : W ≤ f.left ⁻¹ᵁ U) |
| 138 | |
| 139 | /-- Restrict the actual complex scheme map to the specified algebraic opens. -/ |
| 140 | def Line.Bundles.AlgebraicLineBundle.openMapOver : Line.Bundles.AlgebraicLineBundle.openOver W ⟶ Line.Bundles.AlgebraicLineBundle.openOver U := |
| 141 | Over.homMk (f.left.resLE U W hWU) (by |
| 142 | change f.left.resLE U W hWU ≫ (U.ι ≫ X.structureMap) = W.ι ≫ Y.structureMap |
| 143 | rw [← Category.assoc, Scheme.Hom.resLE_comp_ι, Category.assoc] |
| 144 | exact congrArg (fun g => W.ι ≫ g) f.w) |
| 145 | |
| 146 | theorem Line.Bundles.AlgebraicLineBundle.openMapOver_inclusion : |
| 147 | Line.Bundles.AlgebraicLineBundle.openMapOver f U W hWU ≫ Line.Bundles.AlgebraicLineBundle.openInclusion X U = Line.Bundles.AlgebraicLineBundle.openInclusion Y W ≫ f := by |
| 148 | apply Over.OverMorphism.ext |
| 149 | exact Scheme.Hom.resLE_comp_ι f.left hWU |
| 150 | |
| 151 | /-- The map on actual analytic open subsets. -/ |
| 152 | def Line.Bundles.AlgebraicLineBundle.analyticOpenMap : C(Line.Bundles.AlgebraicLineBundle.analyticOpen Y W, Line.Bundles.AlgebraicLineBundle.analyticOpen X U) := |
| 153 | ⟨fun p => ⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f p.val, hWU p.property⟩, |
| 154 | ((ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.continuous_map f).comp continuous_subtype_val).subtype_mk _⟩ |
| 155 | |
| 156 | theorem Line.Bundles.AlgebraicLineBundle.openPointHomeomorph_map (p : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (Line.Bundles.AlgebraicLineBundle.openOver W)) : |
| 157 | Line.Bundles.AlgebraicLineBundle.openPointHomeomorph X U (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Line.Bundles.AlgebraicLineBundle.openMapOver f U W hWU) p) = |
| 158 | Line.Bundles.AlgebraicLineBundle.analyticOpenMap f U W hWU (Line.Bundles.AlgebraicLineBundle.openPointHomeomorph Y W p) := by |
| 159 | apply Subtype.ext |
| 160 | simp only [Line.Bundles.AlgebraicLineBundle.openPointHomeomorph_val, Line.Bundles.AlgebraicLineBundle.analyticOpenMap, ContinuousMap.coe_mk, |
| 161 | ← ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map_comp, Line.Bundles.AlgebraicLineBundle.openMapOver_inclusion] |
| 162 | |
| 163 | /-- The actual top-section map agrees with the original map on the chosen opens. -/ |
| 164 | theorem Line.Bundles.AlgebraicLineBundle.topIso_inv_appLE : |
| 165 | f.left.appLE U W hWU ≫ W.topIso.inv = |
| 166 | U.topIso.inv ≫ (Line.Bundles.AlgebraicLineBundle.openMapOver f U W hWU).left.appTop := by |
| 167 | change _ = U.topIso.inv ≫ (f.left.resLE U W hWU).app ⊤ |
| 168 | rw [Scheme.Hom.resLE_app_top, ← Category.assoc, ← Category.assoc, |
| 169 | Iso.inv_hom_id, Category.id_comp] |
| 170 | |
| 171 | /-- Evaluation of a pulled-back regular section is evaluation at the mapped point. -/ |
| 172 | theorem Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn_appLE (s : Γ(X.carrier, U)) (p : Line.Bundles.AlgebraicLineBundle.analyticOpen Y W) : |
| 173 | Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn Y W (f.left.appLE U W hWU s) p = |
| 174 | Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X U s (Line.Bundles.AlgebraicLineBundle.analyticOpenMap f U W hWU p) := by |
| 175 | have hp : (Line.Bundles.AlgebraicLineBundle.openPointHomeomorph X U).symm (Line.Bundles.AlgebraicLineBundle.analyticOpenMap f U W hWU p) = |
| 176 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Line.Bundles.AlgebraicLineBundle.openMapOver f U W hWU) ((Line.Bundles.AlgebraicLineBundle.openPointHomeomorph Y W).symm p) := by |
| 177 | apply (Line.Bundles.AlgebraicLineBundle.openPointHomeomorph X U).injective |
| 178 | rw [Homeomorph.apply_symm_apply, Line.Bundles.AlgebraicLineBundle.openPointHomeomorph_map, |
| 179 | Homeomorph.apply_symm_apply] |
| 180 | change AnalyticTransitions.Construction.globalSectionEvaluation ((Line.Bundles.AlgebraicLineBundle.openPointHomeomorph Y W).symm p) |
| 181 | (W.topIso.inv (f.left.appLE U W hWU s)) = |
| 182 | AnalyticTransitions.Construction.globalSectionEvaluation ((Line.Bundles.AlgebraicLineBundle.openPointHomeomorph X U).symm (Line.Bundles.AlgebraicLineBundle.analyticOpenMap f U W hWU p)) |
| 183 | (U.topIso.inv s) |
| 184 | rw [hp, AnalyticTransitions.Construction.globalSectionEvaluation_map] |
| 185 | exact congrArg (AnalyticTransitions.Construction.globalSectionEvaluation ((Line.Bundles.AlgebraicLineBundle.openPointHomeomorph Y W).symm p)) |
| 186 | (ConcreteCategory.congr_hom (Line.Bundles.AlgebraicLineBundle.topIso_inv_appLE f U W hWU) s) |
| 187 | |
| 188 | /-- For an open immersion this is the actual scalar isomorphism on its image. -/ |
| 189 | theorem Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn_appIso [IsOpenImmersion f.left] |
| 190 | (s : Γ(X.carrier, f.left ''ᵁ W)) (p : Line.Bundles.AlgebraicLineBundle.analyticOpen Y W) : |
| 191 | Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn Y W ((f.left.appIso W).hom s) p = |
| 192 | Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn X (f.left ''ᵁ W) s |
| 193 | (Line.Bundles.AlgebraicLineBundle.analyticOpenMap f (f.left ''ᵁ W) W (f.left.preimage_image_eq W).ge p) := by |
| 194 | rw [Scheme.Hom.appIso_hom'] |
| 195 | exact Line.Bundles.AlgebraicLineBundle.sectionEvaluationOn_appLE f (f.left ''ᵁ W) W (f.left.preimage_image_eq W).ge s p |
| 196 | |
| 197 | end |
| 198 | |
| 199 | end OAI.AlgebraicGeometry.DivisorClass.Chern |