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.HilbertConstruction.Open.FunctionsBaseChange |
| 2 | import Mathlib.Topology.Sheaves.Functors |
| 3 | |
| 4 | /-! # Function Sheaf Affine Criterion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FunctionSheafAffineCriterion |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A scheme morphism identifies all function sections if it does so on affine opens. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X Y : Scheme.{u}} |
| 17 | |
| 18 | def functionSheafMap (f : X ⟶ Y) : |
| 19 | Y.sheaf ⟶ (TopCat.Sheaf.pushforward CommRingCat f.base).obj X.sheaf := |
| 20 | ⟨{ app U := f.app U.unop |
| 21 | naturality _ _ h := f.naturality h }⟩ |
| 22 | |
| 23 | theorem functionSheafMap_isIso_of_affine (f : X ⟶ Y) |
| 24 | (hf : ∀ U : Y.Opens, IsAffineOpen U → IsIso (f.app U)) : IsIso (functionSheafMap f) := by |
| 25 | let B : Y.affineOpens → Y.Opens := fun U => U.1 |
| 26 | have hB : TopologicalSpace.Opens.IsBasis (Set.range B) := by |
| 27 | have h : Set.range B = Y.affineOpens := by ext U; exact Subtype.exists.trans (by simp [B]) |
| 28 | rw [h] |
| 29 | exact Y.isBasis_affineOpens |
| 30 | apply TopCat.Sheaf.isIso_iff_isIso_basis hB |
| 31 | intro U |
| 32 | exact hf U.1 U.2 |
| 33 | |
| 34 | theorem function_app_isIso_of_affine (f : X ⟶ Y) |
| 35 | (hf : ∀ U : Y.Opens, IsAffineOpen U → IsIso (f.app U)) (V : Y.Opens) : IsIso (f.app V) := by |
| 36 | have : IsIso (functionSheafMap f) := functionSheafMap_isIso_of_affine f hf |
| 37 | have : IsIso ((TopCat.Sheaf.forget CommRingCat Y).map (functionSheafMap f)) := |
| 38 | (TopCat.Sheaf.forget CommRingCat Y).map_isIso _ |
| 39 | have : IsIso f.c := this |
| 40 | exact NatIso.isIso_app_of_isIso _ (Opposite.op V) |
| 41 | |
| 42 | theorem morphismRestrict_appTop_isIso_iff (f : X ⟶ Y) (U : Y.Opens) : |
| 43 | IsIso (f ∣_ U).appTop ↔ IsIso (f.app U) := by |
| 44 | have h := Open.FunctionsBaseChange.morphismRestrict_appTop_topIso f U |
| 45 | constructor |
| 46 | · intro hf |
| 47 | have : IsIso ((f ∣_ U).appTop ≫ (f ⁻¹ᵁ U).topIso.hom) := inferInstance |
| 48 | have : IsIso (U.topIso.hom ≫ f.app U) := h ▸ this |
| 49 | exact IsIso.of_isIso_comp_left U.topIso.hom (f.app U) |
| 50 | · intro hf |
| 51 | have : IsIso (U.topIso.hom ≫ f.app U) := inferInstance |
| 52 | have : IsIso ((f ∣_ U).appTop ≫ (f ⁻¹ᵁ U).topIso.hom) := h.symm ▸ this |
| 53 | exact IsIso.of_isIso_comp_right (f ∣_ U).appTop (f ⁻¹ᵁ U).topIso.hom |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FunctionSheafAffineCriterion |