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 | /- |
| 2 | Copyright (c) 2026 The AINTLIB contributors. All rights reserved. |
| 3 | Released under Apache 2.0 license as described in the file LICENSE. |
| 4 | Authors: AINTLIB ModularCurves project |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleHomotopySupport |
| 8 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCech.AlternatingMap |
| 9 | |
| 10 | /-! # Section Restrictions -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CechTuple.SectionRestrictions |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Category _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive Opposite _root_.TopologicalSpace |
| 17 | universe u |
| 18 | |
| 19 | open Set |
| 20 | |
| 21 | /-- Inclusion of tuple intersections induced by inclusion of their index ranges. -/ |
| 22 | theorem cechTupleIntersection_le_of_range_subset |
| 23 | {X : Scheme.{u}} {ι : Type u} (U : ι → X.Opens) |
| 24 | {n m : ℕ} (i : Fin (n + 1) → ι) (j : Fin (m + 1) → ι) |
| 25 | (h : Set.range j ⊆ Set.range i) : |
| 26 | (∏ᶜ fun k : Fin (n + 1) => U (i k)) ≤ |
| 27 | ∏ᶜ fun k : Fin (m + 1) => U (j k) := by |
| 28 | classical |
| 29 | choose q hq using fun k => h ⟨k, rfl⟩ |
| 30 | have hcomp : i ∘ q = j := funext hq |
| 31 | have hmap : |
| 32 | ((FormalCoproduct.mk _ U).mapPower q).f i = j := hcomp |
| 33 | exact leOfHom |
| 34 | (((FormalCoproduct.mk _ U).mapPower q).φ i ≫ |
| 35 | eqToHom (congrArg |
| 36 | (fun t : Fin (m + 1) → ι => ∏ᶜ fun k => U (t k)) hmap)) |
| 37 | |
| 38 | /-- Restrict sections from a tuple intersection to a smaller tuple intersection. -/ |
| 39 | noncomputable def coefficientCechTupleRestriction |
| 40 | {X : Scheme.{u}} {R : Type u} [CommRing R] (coefficientMap : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 41 | {ι : Type u} (U : ι → X.Opens) {n m : ℕ} |
| 42 | (i : Fin (n + 1) → ι) (j : Fin (m + 1) → ι) |
| 43 | (h : Set.range j ⊆ Set.range i) : |
| 44 | Ordered.CoefficientCechTerms.coefficientCechFactor coefficientMap M U m j ⟶ Ordered.CoefficientCechTerms.coefficientCechFactor coefficientMap M U n i := |
| 45 | (Coefficient.ModulePresheaf.coefficientModulePresheaf coefficientMap M).map |
| 46 | (homOfLE (cechTupleIntersection_le_of_range_subset U i j h)).op |
| 47 | |
| 48 | /-- Restricting a tuple factor to itself is the identity. -/ |
| 49 | theorem coefficientCechTupleRestriction_self |
| 50 | {X : Scheme.{u}} {R : Type u} [CommRing R] (coefficientMap : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 51 | {ι : Type u} (U : ι → X.Opens) {n : ℕ} |
| 52 | (i : Fin (n + 1) → ι) (h : Set.range i ⊆ Set.range i) : |
| 53 | coefficientCechTupleRestriction coefficientMap M U i i h = 𝟙 _ := by |
| 54 | let F := Coefficient.ModulePresheaf.coefficientModulePresheaf coefficientMap M |
| 55 | let a := (homOfLE |
| 56 | (cechTupleIntersection_le_of_range_subset U i i h)).op |
| 57 | change F.map a = 𝟙 _ |
| 58 | calc |
| 59 | F.map a = F.map (𝟙 _) := |
| 60 | congrArg F.map (Subsingleton.elim _ _) |
| 61 | _ = 𝟙 _ := F.map_id _ |
| 62 | |
| 63 | /-- Tuple-factor restrictions compose along inclusions of index ranges. -/ |
| 64 | theorem coefficientCechTupleRestriction_comp |
| 65 | {X : Scheme.{u}} {R : Type u} [CommRing R] (coefficientMap : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 66 | {ι : Type u} (U : ι → X.Opens) {n m l : ℕ} |
| 67 | (i : Fin (n + 1) → ι) (j : Fin (m + 1) → ι) |
| 68 | (k : Fin (l + 1) → ι) (hkj : Set.range k ⊆ Set.range j) |
| 69 | (hji : Set.range j ⊆ Set.range i) : |
| 70 | coefficientCechTupleRestriction coefficientMap M U j k hkj ≫ |
| 71 | coefficientCechTupleRestriction coefficientMap M U i j hji = |
| 72 | coefficientCechTupleRestriction coefficientMap M U i k (hkj.trans hji) := by |
| 73 | let F := Coefficient.ModulePresheaf.coefficientModulePresheaf coefficientMap M |
| 74 | let a := (homOfLE |
| 75 | (cechTupleIntersection_le_of_range_subset U j k hkj)).op |
| 76 | let b := (homOfLE |
| 77 | (cechTupleIntersection_le_of_range_subset U i j hji)).op |
| 78 | let c := (homOfLE |
| 79 | (cechTupleIntersection_le_of_range_subset U i k |
| 80 | (hkj.trans hji))).op |
| 81 | change F.map a ≫ F.map b = F.map c |
| 82 | calc |
| 83 | F.map a ≫ F.map b = F.map (a ≫ b) := |
| 84 | (F.map_comp a b).symm |
| 85 | _ = F.map c := congrArg F.map (Subsingleton.elim _ _) |
| 86 | |
| 87 | /-- Tuple restriction agrees with any map between the same two intersection opens. -/ |
| 88 | theorem coefficientCechTupleRestriction_eq_map |
| 89 | {X : Scheme.{u}} {R : Type u} [CommRing R] (coefficientMap : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 90 | {ι : Type u} (U : ι → X.Opens) {n m : ℕ} |
| 91 | (i : Fin (n + 1) → ι) (j : Fin (m + 1) → ι) |
| 92 | (h : Set.range j ⊆ Set.range i) |
| 93 | (a : (∏ᶜ fun k : Fin (n + 1) => U (i k)) ⟶ |
| 94 | ∏ᶜ fun k : Fin (m + 1) => U (j k)) : |
| 95 | coefficientCechTupleRestriction coefficientMap M U i j h = |
| 96 | (Coefficient.ModulePresheaf.coefficientModulePresheaf coefficientMap M).map a.op := by |
| 97 | apply congrArg (Coefficient.ModulePresheaf.coefficientModulePresheaf coefficientMap M).map |
| 98 | exact Subsingleton.elim _ _ |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CechTuple.SectionRestrictions |