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.CoefficientCech.ZeroExtension |
| 8 | |
| 9 | /-! # Alternating Extension -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCech.AlternatingExtension |
| 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 | /-- Alternating extension from increasing tuples to all tuples. -/ |
| 19 | noncomputable def orderedToCoefficientCechAlternatingF |
| 20 | {X : Scheme.{u}} {R : Type u} [CommRing R] (ρ : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 21 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (n : ℕ) : |
| 22 | Ordered.CoefficientCechTerms.orderedCoefficientCechObject ρ M U n ⟶ (Intrinsic.CoefficientCechComplex.coefficientCechComplex ρ M U).X n := |
| 23 | ∑ σ : Equiv.Perm (Fin (n + 1)), (Equiv.Perm.sign σ : ℤ) • |
| 24 | (OrderedCech.ProjectionSplitting.orderedToCoefficientCechZeroExtensionF ρ M U n ≫ |
| 25 | Permutations.coefficientCechPermutationF ρ M U n σ) |
| 26 | |
| 27 | theorem orderedToCoefficientCechAlternatingF_comp_permutation |
| 28 | {X : Scheme.{u}} {R : Type u} [CommRing R] (ρ : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 29 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (n : ℕ) |
| 30 | (τ : Equiv.Perm (Fin (n + 1))) : |
| 31 | orderedToCoefficientCechAlternatingF ρ M U n ≫ |
| 32 | Permutations.coefficientCechPermutationF ρ M U n τ = |
| 33 | (Equiv.Perm.sign τ : ℤ) • |
| 34 | orderedToCoefficientCechAlternatingF ρ M U n := by |
| 35 | rw [orderedToCoefficientCechAlternatingF, sum_comp, Finset.smul_sum] |
| 36 | refine Fintype.sum_equiv (Equiv.mulLeft τ) _ _ fun σ => ?_ |
| 37 | simp only [zsmul_comp, Category.assoc, Permutations.coefficientCechPermutationF_comp, |
| 38 | Equiv.coe_mulLeft, Equiv.Perm.sign_mul, smul_smul] |
| 39 | rw [show σ.trans τ = τ * σ by rfl] |
| 40 | rw [Units.val_mul, ← mul_assoc, Int.units_coe_mul_self, one_mul] |
| 41 | |
| 42 | theorem coefficientCechProjection_comp_map_eq_of_eq |
| 43 | {X : Scheme.{u}} {R : Type u} [CommRing R] (ρ : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 44 | {ι : Type u} (U : ι → X.Opens) (n : ℕ) |
| 45 | (j k : Fin (n + 1) → ι) (hjk : j = k) {V : X.Opens} |
| 46 | (a : V ⟶ ∏ᶜ fun x : Fin (n + 1) => U (j x)) |
| 47 | (b : V ⟶ ∏ᶜ fun x : Fin (n + 1) => U (k x)) : |
| 48 | Pi.π (fun q : Fin (n + 1) → ι => |
| 49 | Ordered.CoefficientCechTerms.coefficientCechFactor ρ M U n q) j ≫ |
| 50 | (Coefficient.ModulePresheaf.coefficientModulePresheaf ρ M).map a.op = |
| 51 | Pi.π (fun q : Fin (n + 1) → ι => |
| 52 | Ordered.CoefficientCechTerms.coefficientCechFactor ρ M U n q) k ≫ |
| 53 | (Coefficient.ModulePresheaf.coefficientModulePresheaf ρ M).map b.op := by |
| 54 | subst k |
| 55 | rw [Subsingleton.elim a b] |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCech.AlternatingExtension |