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.CechTuple.SectionAdditivity |
| 8 | |
| 9 | /-! # Section Composition Rows -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CechTuple.SectionCompositionRows |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Category _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive Opposite _root_.TopologicalSpace |
| 16 | universe u |
| 17 | |
| 18 | open Set |
| 19 | |
| 20 | /-- A lifted tuple map commutes with one supported tuple-row basis vector. -/ |
| 21 | theorem coefficientCechTupleMapF_comp_row_single |
| 22 | {X : Scheme.{u}} {R : Type u} [CommRing R] (coefficientMap : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 23 | {ι : Type u} (U : ι → X.Opens) {n m l : ℕ} |
| 24 | (g : FreeCech.TupleChains.CechTupleChain ι m →ₗ[ℤ] FreeCech.TupleChains.CechTupleChain ι l) |
| 25 | (hg : FreeCech.TupleHomotopySupport.CechTupleSupportNonincreasing g) |
| 26 | (i : Fin (n + 1) → ι) (j : Fin (m + 1) → ι) |
| 27 | (hji : Set.range j ⊆ Set.range i) : |
| 28 | SectionMaps.coefficientCechTupleMapF coefficientMap M U g hg ≫ |
| 29 | SectionRows.coefficientCechTupleRow coefficientMap M U i (Finsupp.single j 1) = |
| 30 | SectionRows.coefficientCechTupleRow coefficientMap M U i |
| 31 | (g (Finsupp.single j 1)) := by |
| 32 | let p : (Intrinsic.CoefficientCechComplex.coefficientCechComplex coefficientMap M U).X m ⟶ |
| 33 | Ordered.CoefficientCechTerms.coefficientCechFactor coefficientMap M U m j := |
| 34 | Pi.π (fun q : Fin (m + 1) → ι => |
| 35 | Ordered.CoefficientCechTerms.coefficientCechFactor coefficientMap M U m q) j |
| 36 | have hrow : |
| 37 | SectionRows.coefficientCechTupleRow coefficientMap M U i (Finsupp.single j 1) = |
| 38 | p ≫ SectionRestrictions.coefficientCechTupleRestriction coefficientMap M U i j hji := by |
| 39 | rw [SectionRows.coefficientCechTupleRow_single_of_subset |
| 40 | coefficientMap M U i j 1 hji, one_zsmul] |
| 41 | rfl |
| 42 | have hproj : |
| 43 | SectionMaps.coefficientCechTupleMapF coefficientMap M U g hg ≫ p = |
| 44 | SectionMaps.coefficientCechTupleMapComponent coefficientMap M U g hg j := by |
| 45 | dsimp only [p] |
| 46 | exact SectionMaps.coefficientCechTupleMapF_comp_π coefficientMap M U g hg j |
| 47 | calc |
| 48 | SectionMaps.coefficientCechTupleMapF coefficientMap M U g hg ≫ |
| 49 | SectionRows.coefficientCechTupleRow coefficientMap M U i (Finsupp.single j 1) = |
| 50 | SectionMaps.coefficientCechTupleMapF coefficientMap M U g hg ≫ |
| 51 | (p ≫ SectionRestrictions.coefficientCechTupleRestriction coefficientMap M U i j hji) := by |
| 52 | rw [hrow] |
| 53 | _ = (SectionMaps.coefficientCechTupleMapF coefficientMap M U g hg ≫ p) ≫ |
| 54 | SectionRestrictions.coefficientCechTupleRestriction coefficientMap M U i j hji := |
| 55 | (Category.assoc _ _ _).symm |
| 56 | _ = SectionMaps.coefficientCechTupleMapComponent coefficientMap M U g hg j ≫ |
| 57 | SectionRestrictions.coefficientCechTupleRestriction coefficientMap M U i j hji := by |
| 58 | rw [hproj] |
| 59 | _ = SectionRows.coefficientCechTupleRow coefficientMap M U j |
| 60 | (g (Finsupp.single j 1)) ≫ |
| 61 | SectionRestrictions.coefficientCechTupleRestriction coefficientMap M U i j hji := rfl |
| 62 | _ = SectionRows.coefficientCechTupleRow coefficientMap M U i |
| 63 | (g (Finsupp.single j 1)) := |
| 64 | SectionMaps.coefficientCechTupleRow_comp_restriction coefficientMap M U i j hji |
| 65 | (g (Finsupp.single j 1)) (hg j) |
| 66 | |
| 67 | /-- A lifted tuple map commutes with every supported tuple row. -/ |
| 68 | theorem coefficientCechTupleMapF_comp_row |
| 69 | {X : Scheme.{u}} {R : Type u} [CommRing R] (coefficientMap : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 70 | {ι : Type u} (U : ι → X.Opens) {n m l : ℕ} |
| 71 | (g : FreeCech.TupleChains.CechTupleChain ι m →ₗ[ℤ] FreeCech.TupleChains.CechTupleChain ι l) |
| 72 | (hg : FreeCech.TupleHomotopySupport.CechTupleSupportNonincreasing g) |
| 73 | (i : Fin (n + 1) → ι) (x : FreeCech.TupleChains.CechTupleChain ι m) |
| 74 | (hx : FreeCech.TupleChains.CechTupleChain.SupportedBy x (Set.range i)) : |
| 75 | SectionMaps.coefficientCechTupleMapF coefficientMap M U g hg ≫ |
| 76 | SectionRows.coefficientCechTupleRow coefficientMap M U i x = |
| 77 | SectionRows.coefficientCechTupleRow coefficientMap M U i (g x) := by |
| 78 | classical |
| 79 | have hsource := SupportFunctoriality.linearMap_apply_eq_finsupp_sum_single |
| 80 | (SectionRows.coefficientCechTupleRow coefficientMap M U i) x |
| 81 | have htarget := SupportFunctoriality.linearMap_apply_eq_finsupp_sum_single |
| 82 | ((SectionRows.coefficientCechTupleRow coefficientMap M U i).comp g) x |
| 83 | change SectionRows.coefficientCechTupleRow coefficientMap M U i (g x) = |
| 84 | x.sum (fun j a => a • SectionRows.coefficientCechTupleRow coefficientMap M U i |
| 85 | (g (Finsupp.single j 1))) at htarget |
| 86 | rw [hsource, htarget] |
| 87 | rw [Finsupp.sum, Finsupp.sum, comp_sum] |
| 88 | apply Finset.sum_congr rfl |
| 89 | intro j hj |
| 90 | rw [comp_zsmul, |
| 91 | coefficientCechTupleMapF_comp_row_single coefficientMap M U g hg i j (hx hj)] |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CechTuple.SectionCompositionRows |