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 Chris Birkbeck. All rights reserved. |
| 3 | Released under Apache 2.0 license as described in the file LICENSE. |
| 4 | Authors: Chris Birkbeck |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OrderedCech.PushforwardCofaces |
| 8 | |
| 9 | /-! # Pushforward Complex -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OrderedCech.PushforwardComplex |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /- Adapted for HilbertConstruction with explicit coefficient rings and the existing coefficient section comparison. -/ |
| 16 | |
| 17 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Category _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive Opposite _root_.TopologicalSpace |
| 18 | universe u |
| 19 | |
| 20 | theorem orderedCoefficientCechObjectPushforwardIso_differential_naturality |
| 21 | {X Y : Scheme.{u}} {R : Type u} [CommRing R] (f : X ⟶ Y) (coefficientMap : R →+* Γ(Y, ⊤)) (M : X.Modules) |
| 22 | {ι : Type u} [LinearOrder ι] (U : ι → Y.Opens) (n : ℕ) : |
| 23 | (PushforwardObjects.orderedCoefficientCechObjectPushforwardIso f coefficientMap M U n).hom ≫ |
| 24 | Ordered.CoefficientCechComplex.orderedCoefficientCechDifferential coefficientMap ((Scheme.Modules.pushforward f).obj M) U n = |
| 25 | Ordered.CoefficientCechComplex.orderedCoefficientCechDifferential (f.appTop.hom.comp coefficientMap) M (fun j ↦ f ⁻¹ᵁ U j) n ≫ |
| 26 | (PushforwardObjects.orderedCoefficientCechObjectPushforwardIso f coefficientMap M U (n + 1)).hom := by |
| 27 | simp only [Ordered.CoefficientCechComplex.orderedCoefficientCechDifferential, Preadditive.comp_sum, |
| 28 | Preadditive.sum_comp, Preadditive.comp_zsmul, |
| 29 | Preadditive.zsmul_comp] |
| 30 | apply Finset.sum_congr rfl |
| 31 | intro k _ |
| 32 | exact congrArg ((-1 : ℤ) ^ (k : ℕ) • ·) |
| 33 | (PushforwardCofaces.orderedCoefficientCechObjectPushforwardIso_naturality f coefficientMap M U n k) |
| 34 | |
| 35 | /-- Pushforward identifies the ordered base-linear Cech complex on a cover with the complex on |
| 36 | its inverse-image cover. -/ |
| 37 | noncomputable def orderedCoefficientCechComplexPushforwardIso |
| 38 | {X Y : Scheme.{u}} {R : Type u} [CommRing R] (f : X ⟶ Y) (coefficientMap : R →+* Γ(Y, ⊤)) (M : X.Modules) |
| 39 | {ι : Type u} [LinearOrder ι] (U : ι → Y.Opens) : |
| 40 | Ordered.CoefficientCechComplex.orderedCoefficientCechComplex (f.appTop.hom.comp coefficientMap) M (fun j ↦ f ⁻¹ᵁ U j) ≅ |
| 41 | Ordered.CoefficientCechComplex.orderedCoefficientCechComplex coefficientMap ((Scheme.Modules.pushforward f).obj M) U := |
| 42 | HomologicalComplex.Hom.isoOfComponents |
| 43 | (fun n ↦ PushforwardObjects.orderedCoefficientCechObjectPushforwardIso f coefficientMap M U n) (by |
| 44 | intro i j hij |
| 45 | simp only [ComplexShape.up_Rel] at hij |
| 46 | subst j |
| 47 | rw [Ordered.CoefficientCechComplex.orderedCoefficientCechComplex_d, Ordered.CoefficientCechComplex.orderedCoefficientCechComplex_d] |
| 48 | exact orderedCoefficientCechObjectPushforwardIso_differential_naturality |
| 49 | f coefficientMap M U i) |
| 50 | |
| 51 | @[simp] |
| 52 | theorem orderedCoefficientCechComplexPushforwardIso_hom_f |
| 53 | {X Y : Scheme.{u}} {R : Type u} [CommRing R] (f : X ⟶ Y) (coefficientMap : R →+* Γ(Y, ⊤)) (M : X.Modules) |
| 54 | {ι : Type u} [LinearOrder ι] (U : ι → Y.Opens) (n : ℕ) : |
| 55 | (orderedCoefficientCechComplexPushforwardIso f coefficientMap M U).hom.f n = |
| 56 | (PushforwardObjects.orderedCoefficientCechObjectPushforwardIso f coefficientMap M U n).hom := |
| 57 | rfl |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OrderedCech.PushforwardComplex |