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.SectionComposition |
| 8 | |
| 9 | /-! # Section Boundary -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CechTuple.SectionBoundary |
| 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 | /-- Deleting an entry does not introduce a new tuple index. -/ |
| 21 | theorem cechTupleDelete_range_subset |
| 22 | {ι : Type u} {n : ℕ} (i : Fin (n + 2) → ι) |
| 23 | (k : Fin (n + 2)) : |
| 24 | Set.range (FreeCech.TupleChains.cechTupleDelete i k) ⊆ Set.range i := by |
| 25 | rintro x ⟨l, rfl⟩ |
| 26 | exact ⟨k.succAbove l, rfl⟩ |
| 27 | |
| 28 | /-- The restriction lift of the tuple boundary is the native base-Cech differential. -/ |
| 29 | theorem coefficientCechTupleMapF_boundary |
| 30 | {X : Scheme.{u}} {R : Type u} [CommRing R] (coefficientMap : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 31 | {ι : Type u} (U : ι → X.Opens) (n : ℕ) : |
| 32 | SectionMaps.coefficientCechTupleMapF coefficientMap M U |
| 33 | (FreeCech.TupleChains.cechTupleBoundary (ι := ι) n) |
| 34 | (SupportFunctoriality.cechTupleBoundary_supportNonincreasing n) = |
| 35 | (Intrinsic.CoefficientCechComplex.coefficientCechComplex coefficientMap M U).d n (n + 1) := by |
| 36 | apply SectionIdentity.coefficientCechHom_ext coefficientMap M U (n + 1) |
| 37 | intro i |
| 38 | let p : (Intrinsic.CoefficientCechComplex.coefficientCechComplex coefficientMap M U).X (n + 1) ⟶ |
| 39 | Ordered.CoefficientCechTerms.coefficientCechFactor coefficientMap M U (n + 1) i := |
| 40 | Pi.π (fun q : Fin (n + 2) → ι => |
| 41 | Ordered.CoefficientCechTerms.coefficientCechFactor coefficientMap M U (n + 1) q) i |
| 42 | let t : (Intrinsic.CoefficientCechComplex.coefficientCechComplex coefficientMap M U).X n ⟶ |
| 43 | Ordered.CoefficientCechTerms.coefficientCechFactor coefficientMap M U (n + 1) i := |
| 44 | ∑ k : Fin (n + 2), (-1 : ℤ) ^ (k : ℕ) • |
| 45 | (Pi.π (fun q : Fin (n + 1) → ι => |
| 46 | Ordered.CoefficientCechTerms.coefficientCechFactor coefficientMap M U n q) |
| 47 | (FreeCech.TupleChains.cechTupleDelete i k) ≫ |
| 48 | (Coefficient.ModulePresheaf.coefficientModulePresheaf coefficientMap M).map |
| 49 | (((FormalCoproduct.mk _ U).mapPower k.succAbove).φ i).op) |
| 50 | have hcomponent : |
| 51 | SectionMaps.coefficientCechTupleMapComponent coefficientMap M U |
| 52 | (FreeCech.TupleChains.cechTupleBoundary (ι := ι) n) |
| 53 | (SupportFunctoriality.cechTupleBoundary_supportNonincreasing n) i = t := by |
| 54 | change SectionRows.coefficientCechTupleRow coefficientMap M U i |
| 55 | (FreeCech.TupleChains.cechTupleBoundary n (Finsupp.single i 1)) = t |
| 56 | rw [FreeCech.TupleChains.cechTupleBoundary_single, one_smul] |
| 57 | unfold FreeCech.TupleChains.cechTupleBoundaryBasis |
| 58 | rw [map_sum] |
| 59 | apply Finset.sum_congr rfl |
| 60 | intro k _ |
| 61 | let h := cechTupleDelete_range_subset i k |
| 62 | rw [SectionRows.coefficientCechTupleRow_single_of_subset |
| 63 | coefficientMap M U i (FreeCech.TupleChains.cechTupleDelete i k) |
| 64 | ((-1 : ℤ) ^ (k : ℕ)) h] |
| 65 | congr 2 |
| 66 | calc |
| 67 | SectionMaps.coefficientCechTupleMapF coefficientMap M U (FreeCech.TupleChains.cechTupleBoundary n) |
| 68 | (SupportFunctoriality.cechTupleBoundary_supportNonincreasing n) ≫ p = |
| 69 | SectionMaps.coefficientCechTupleMapComponent coefficientMap M U (FreeCech.TupleChains.cechTupleBoundary n) |
| 70 | (SupportFunctoriality.cechTupleBoundary_supportNonincreasing n) i := by |
| 71 | dsimp only [p] |
| 72 | exact SectionMaps.coefficientCechTupleMapF_comp_π coefficientMap M U |
| 73 | (FreeCech.TupleChains.cechTupleBoundary n) |
| 74 | (SupportFunctoriality.cechTupleBoundary_supportNonincreasing n) i |
| 75 | _ = t := hcomponent |
| 76 | _ = (Intrinsic.CoefficientCechComplex.coefficientCechComplex coefficientMap M U).d n (n + 1) ≫ p := by |
| 77 | dsimp only [t, p] |
| 78 | rw [OrderedCech.ComplexProjection.coefficientCechComplex_d_comp_π] |
| 79 | apply Finset.sum_congr rfl |
| 80 | intro k _ |
| 81 | have hδ : |
| 82 | (SimplexCategory.δ k).toOrderHom.toFun = |
| 83 | k.succAbove := by |
| 84 | change (⇑(ConcreteCategory.hom (SimplexCategory.δ k))) = |
| 85 | k.succAbove |
| 86 | exact SimplexCategory.coe_δ k |
| 87 | rw [hδ] |
| 88 | rfl |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CechTuple.SectionBoundary |