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.Comparison.Betti.RegularFunctions |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.OpenImmersion |
| 3 | |
| 4 | /-! # Affine Iso Evaluation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Open.AffineIsoEvaluation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! |
| 13 | # Regular-function realization on actual Zariski opens |
| 14 | |
| 15 | The scalar-compatible identification of sections with global sections of an |
| 16 | open subscheme gives analytic evaluation on every open. Its restriction law |
| 17 | is proved from the structure sheaf and the actual open-immersion point maps. |
| 18 | No smoothness, irreducibility, or properness hypothesis is needed here. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 22 | |
| 23 | attribute [local instance] Algebraic.Sheaves.sectionAlgebra |
| 24 | |
| 25 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) |
| 26 | |
| 27 | abbrev openOver (U : X.left.Opens) : Over Foundations.Scheme.ProjectiveSpace.complexBase := Over.mk (U.ι ≫ X.hom) |
| 28 | |
| 29 | abbrev openInclusion (U : X.left.Opens) : openOver X U ⟶ X := Over.homMk U.ι rfl |
| 30 | |
| 31 | instance openInclusion_isOpenImmersion (U : X.left.Opens) : |
| 32 | IsOpenImmersion (openInclusion X U).left := by |
| 33 | change IsOpenImmersion U.ι |
| 34 | infer_instance |
| 35 | |
| 36 | abbrev openRestriction {V U : X.left.Opens} (h : V ≤ U) : openOver X V ⟶ openOver X U := |
| 37 | Over.homMk (X.left.homOfLE h) (by |
| 38 | change X.left.homOfLE h ≫ (U.ι ≫ X.hom) = V.ι ≫ X.hom |
| 39 | rw [← Category.assoc, Scheme.homOfLE_ι]) |
| 40 | |
| 41 | theorem openRestriction_inclusion {V U : X.left.Opens} (h : V ≤ U) : |
| 42 | openRestriction X h ≫ openInclusion X U = openInclusion X V := by |
| 43 | apply Over.OverMorphism.ext |
| 44 | exact Scheme.homOfLE_ι X.left h |
| 45 | |
| 46 | theorem openTopIso_appLE (U : X.left.Opens) : |
| 47 | U.ι.appLE U ⊤ U.ι_preimage_self.ge = U.topIso.inv := by |
| 48 | simp only [Scheme.Opens.ι_appLE, Scheme.Opens.topIso_inv] |
| 49 | congr 1 |
| 50 | |
| 51 | /-- The usual open-section identification respects the actual complex scalars. -/ |
| 52 | def openSectionTopAlgHom (U : X.left.Opens) : |
| 53 | Γ(X.left, U) →ₐ[ℂ] Γ((openOver X U).left, ⊤) where |
| 54 | __ := U.topIso.inv.hom |
| 55 | commutes' c := by |
| 56 | have h := Scheme.Hom.appLE_comp_appLE U.ι X.hom ⊤ U ⊤ le_top U.ι_preimage_self.ge |
| 57 | rw [openTopIso_appLE] at h |
| 58 | exact ConcreteCategory.congr_hom h ((Scheme.ΓSpecIso (.of ℂ)).inv c) |
| 59 | |
| 60 | theorem openTopIso_inv_restrict {V U : X.left.Opens} (h : V ≤ U) : |
| 61 | X.left.presheaf.map (homOfLE h).op ≫ V.topIso.inv = |
| 62 | U.topIso.inv ≫ (X.left.homOfLE h).appTop := by |
| 63 | have heq : (homOfLE h).op ≫ (eqToHom V.ι_image_top).op = |
| 64 | (eqToHom U.ι_image_top).op ≫ |
| 65 | (homOfLE (X.left.ι_image_homOfLE_le_ι_image h ⊤)).op := Subsingleton.elim _ _ |
| 66 | have hright := congrArg (fun g : Γ(U.toScheme, ⊤) ⟶ Γ(V.toScheme, ⊤) => U.topIso.inv ≫ g) |
| 67 | (X.left.homOfLE_appTop h) |
| 68 | exact (X.left.presheaf.map_comp (homOfLE h).op (eqToHom V.ι_image_top).op).symm.trans |
| 69 | ((congrArg X.left.presheaf.map heq).trans |
| 70 | ((X.left.presheaf.map_comp (eqToHom U.ι_image_top).op |
| 71 | (homOfLE (X.left.ι_image_homOfLE_le_ι_image h ⊤)).op).trans hright.symm)) |
| 72 | |
| 73 | /-- Analytic realization of a section as a function on the open subscheme. -/ |
| 74 | def openSectionAnalyticAlgHom (U : X.left.Opens) : |
| 75 | Γ(X.left, U) →ₐ[ℂ] RegularFunctions.regularAnalyticFunctions (openOver X U) := |
| 76 | (RegularFunctions.globalSectionAnalyticAlgHom (openOver X U)).comp (openSectionTopAlgHom X U) |
| 77 | |
| 78 | theorem openSectionAnalyticAlgHom_restrict {V U : X.left.Opens} (h : V ≤ U) : |
| 79 | (openSectionAnalyticAlgHom X V).comp (Algebraic.Sheaves.sectionRestriction X (homOfLE h).op) = |
| 80 | (RegularFunctions.analyticFunctionPullback (openRestriction X h)).comp (openSectionAnalyticAlgHom X U) := by |
| 81 | ext s p |
| 82 | change RegularFunctions.globalEvaluation p (V.topIso.inv (X.left.presheaf.map (homOfLE h).op s)) = |
| 83 | RegularFunctions.globalEvaluation (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (openRestriction X h) p) (U.topIso.inv s) |
| 84 | rw [RegularFunctions.globalEvaluation_map] |
| 85 | exact congrArg (RegularFunctions.globalEvaluation p) (ConcreteCategory.congr_hom (openTopIso_inv_restrict X h) s) |
| 86 | |
| 87 | def analyticOpen (U : X.left.Opens) : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) := |
| 88 | ⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying ⁻¹' (U : Set X.left), |
| 89 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpen_preimage_underlying _ U.isOpen⟩ |
| 90 | |
| 91 | /-- Native points of the open subscheme are its actual analytic open subset. -/ |
| 92 | def openPointHomeomorph (U : X.left.Opens) : |
| 93 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (openOver X U) ≃ₜ analyticOpen X U := |
| 94 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.openImmersionPointHomeomorph (openInclusion X U)).trans |
| 95 | (Homeomorph.setCongr (by |
| 96 | change (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (X := X)) ⁻¹' Set.range U.ι = |
| 97 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (X := X)) ⁻¹' (U : Set X.left) |
| 98 | rw [Scheme.Opens.range_ι])) |
| 99 | |
| 100 | @[simp] |
| 101 | theorem openPointHomeomorph_val (U : X.left.Opens) |
| 102 | (p : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (openOver X U)) : |
| 103 | (openPointHomeomorph X U p).val = ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (openInclusion X U) p := rfl |
| 104 | |
| 105 | theorem openPointHomeomorph_restrict {V U : X.left.Opens} (h : V ≤ U) |
| 106 | (p : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (openOver X V)) : |
| 107 | openPointHomeomorph X U (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (openRestriction X h) p) = |
| 108 | ⟨(openPointHomeomorph X V p).val, h (openPointHomeomorph X V p).property⟩ := by |
| 109 | apply Subtype.ext |
| 110 | simp only [openPointHomeomorph_val, ← ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map_comp, openRestriction_inclusion] |
| 111 | |
| 112 | /-- The evaluated function on the corresponding open subset of complex points. -/ |
| 113 | def sectionEvaluationOn (U : X.left.Opens) : Γ(X.left, U) →ₐ[ℂ] C(analyticOpen X U, ℂ) where |
| 114 | toFun s := ((openSectionAnalyticAlgHom X U s).val).comp |
| 115 | ⟨(openPointHomeomorph X U).symm, (openPointHomeomorph X U).symm.continuous⟩ |
| 116 | map_zero' := by ext p; exact congrArg (fun g : RegularFunctions.regularAnalyticFunctions (openOver X U) => |
| 117 | g.val ((openPointHomeomorph X U).symm p)) (map_zero (openSectionAnalyticAlgHom X U)) |
| 118 | map_one' := by ext p; exact congrArg (fun g : RegularFunctions.regularAnalyticFunctions (openOver X U) => |
| 119 | g.val ((openPointHomeomorph X U).symm p)) (map_one (openSectionAnalyticAlgHom X U)) |
| 120 | map_add' s t := by ext p; exact congrArg (fun g : RegularFunctions.regularAnalyticFunctions (openOver X U) => |
| 121 | g.val ((openPointHomeomorph X U).symm p)) (map_add (openSectionAnalyticAlgHom X U) s t) |
| 122 | map_mul' s t := by ext p; exact congrArg (fun g : RegularFunctions.regularAnalyticFunctions (openOver X U) => |
| 123 | g.val ((openPointHomeomorph X U).symm p)) (map_mul (openSectionAnalyticAlgHom X U) s t) |
| 124 | commutes' c := by ext p; exact congrArg (fun g : RegularFunctions.regularAnalyticFunctions (openOver X U) => |
| 125 | g.val ((openPointHomeomorph X U).symm p)) ((openSectionAnalyticAlgHom X U).commutes c) |
| 126 | |
| 127 | /-- Evaluation commutes with the literal restriction of functions to smaller opens. -/ |
| 128 | theorem sectionEvaluationOn_restrict {V U : X.left.Opens} (h : V ≤ U) |
| 129 | (s : Γ(X.left, U)) (p : analyticOpen X V) : |
| 130 | sectionEvaluationOn X V (X.left.presheaf.map (homOfLE h).op s) p = |
| 131 | sectionEvaluationOn X U s ⟨p.val, h p.property⟩ := by |
| 132 | have hp : (openPointHomeomorph X U).symm ⟨p.val, h p.property⟩ = |
| 133 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (openRestriction X h) ((openPointHomeomorph X V).symm p) := by |
| 134 | apply (openPointHomeomorph X U).injective |
| 135 | rw [Homeomorph.apply_symm_apply, openPointHomeomorph_restrict, Homeomorph.apply_symm_apply] |
| 136 | change RegularFunctions.globalEvaluation ((openPointHomeomorph X V).symm p) |
| 137 | (V.topIso.inv (X.left.presheaf.map (homOfLE h).op s)) = |
| 138 | RegularFunctions.globalEvaluation ((openPointHomeomorph X U).symm ⟨p.val, h p.property⟩) (U.topIso.inv s) |
| 139 | rw [hp, RegularFunctions.globalEvaluation_map] |
| 140 | exact congrArg (RegularFunctions.globalEvaluation ((openPointHomeomorph X V).symm p)) |
| 141 | (ConcreteCategory.congr_hom (openTopIso_inv_restrict X h) s) |
| 142 | |
| 143 | end |
| 144 | |
| 145 | /-! Evaluation in a specified affine coordinate isomorphism uses its original |
| 146 | map on regular sections. This applies to the native projective charts. -/ |
| 147 | |
| 148 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 149 | |
| 150 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) (U : X.left.Opens) |
| 151 | (A : CommAlgCat.{0} ℂ) (e : openOver X U ≅ Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A) |
| 152 | |
| 153 | def affineIsoPointInOpen (p : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : analyticOpen X U := |
| 154 | openPointHomeomorph X U (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map e.inv (ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv A p)) |
| 155 | |
| 156 | theorem sectionEvaluationOn_affineIso (p : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (s : Γ(X.left, U)) : |
| 157 | sectionEvaluationOn X U s (affineIsoPointInOpen X U A e p) = |
| 158 | p ((Scheme.ΓSpecIso (CommRingCat.of A)).hom (e.inv.left.appTop (U.topIso.inv s))) := by |
| 159 | change RegularFunctions.globalEvaluation ((openPointHomeomorph X U).symm |
| 160 | (openPointHomeomorph X U (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map e.inv (ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv A p)))) |
| 161 | (U.topIso.inv s) = _ |
| 162 | rw [Homeomorph.symm_apply_apply, RegularFunctions.globalEvaluation_map, RegularFunctions.globalEvaluation_affine] |
| 163 | |
| 164 | theorem affineIsoPointInOpen_val (p : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : |
| 165 | (affineIsoPointInOpen X U A e p).val = |
| 166 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A (e.inv ≫ openInclusion X U) p := by |
| 167 | rw [affineIsoPointInOpen, openPointHomeomorph_val, ← ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map_comp] |
| 168 | rfl |
| 169 | |
| 170 | end |
| 171 | |
| 172 | end OAI.AlgebraicGeometry.Comparison.Betti.Open.AffineIsoEvaluation |