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.PairCancellation |
| 8 | |
| 9 | /-! # Alternating Retraction -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCech.AlternatingRetraction |
| 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 | theorem orderedToCoefficientCechAlternatingF_comp_π_of_not_injective |
| 19 | {X : Scheme.{u}} {R : Type u} [CommRing R] (coefficientMap : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 20 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (n : ℕ) |
| 21 | (i : Fin (n + 1) → ι) (hi : ¬ Function.Injective i) : |
| 22 | AlternatingExtension.orderedToCoefficientCechAlternatingF coefficientMap M U n ≫ |
| 23 | Pi.π (fun j : Fin (n + 1) → ι => Ordered.CoefficientCechTerms.coefficientCechFactor coefficientMap M U n j) i = 0 := by |
| 24 | let e : (Intrinsic.CoefficientCechComplex.coefficientCechComplex coefficientMap M U).X n ⟶ Ordered.CoefficientCechTerms.coefficientCechFactor coefficientMap M U n i := |
| 25 | Pi.π (fun j : Fin (n + 1) → ι => Ordered.CoefficientCechTerms.coefficientCechFactor coefficientMap M U n j) i |
| 26 | change AlternatingExtension.orderedToCoefficientCechAlternatingF coefficientMap M U n ≫ e = 0 |
| 27 | rw [AlternatingExtension.orderedToCoefficientCechAlternatingF, sum_comp] |
| 28 | apply Finset.sum_eq_zero |
| 29 | intro σ _ |
| 30 | rw [zsmul_comp, Category.assoc, Permutations.coefficientCechPermutationF_comp_π] |
| 31 | let p : (Intrinsic.CoefficientCechComplex.coefficientCechComplex coefficientMap M U).X n ⟶ |
| 32 | Ordered.CoefficientCechTerms.coefficientCechFactor coefficientMap M U n (i ∘ σ) := |
| 33 | Pi.π (fun j : Fin (n + 1) → ι => Ordered.CoefficientCechTerms.coefficientCechFactor coefficientMap M U n j) (i ∘ σ) |
| 34 | let r : Ordered.CoefficientCechTerms.coefficientCechFactor coefficientMap M U n (i ∘ σ) ⟶ |
| 35 | Ordered.CoefficientCechTerms.coefficientCechFactor coefficientMap M U n i := |
| 36 | (Coefficient.ModulePresheaf.coefficientModulePresheaf coefficientMap M).map |
| 37 | (((FormalCoproduct.mk _ U).mapPower σ).φ i).op |
| 38 | change (Equiv.Perm.sign σ : ℤ) • |
| 39 | (OrderedCech.ProjectionSplitting.orderedToCoefficientCechZeroExtensionF coefficientMap M U n ≫ p ≫ r) = 0 |
| 40 | have hmono : ¬ StrictMono (i ∘ σ) := by |
| 41 | intro h |
| 42 | apply hi |
| 43 | intro a b hab |
| 44 | apply σ.symm.injective |
| 45 | apply h.injective |
| 46 | simpa using hab |
| 47 | have hz : |
| 48 | OrderedCech.ProjectionSplitting.orderedToCoefficientCechZeroExtensionF coefficientMap M U n ≫ p = 0 := by |
| 49 | dsimp only [p] |
| 50 | exact ZeroExtension.orderedToCoefficientCechZeroExtensionF_comp_π_of_not_strictMono |
| 51 | coefficientMap M U n (i ∘ σ) hmono |
| 52 | have hpost : |
| 53 | OrderedCech.ProjectionSplitting.orderedToCoefficientCechZeroExtensionF coefficientMap M U n ≫ (p ≫ r) = 0 := by |
| 54 | calc |
| 55 | OrderedCech.ProjectionSplitting.orderedToCoefficientCechZeroExtensionF coefficientMap M U n ≫ (p ≫ r) = |
| 56 | (OrderedCech.ProjectionSplitting.orderedToCoefficientCechZeroExtensionF coefficientMap M U n ≫ p) ≫ r := |
| 57 | (Category.assoc _ _ _).symm |
| 58 | _ = 0 := by rw [hz, zero_comp] |
| 59 | rw [hpost, smul_zero] |
| 60 | |
| 61 | theorem coefficientCechPermutationF_one |
| 62 | {X : Scheme.{u}} {R : Type u} [CommRing R] (coefficientMap : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 63 | {ι : Type u} (U : ι → X.Opens) (n : ℕ) : |
| 64 | Permutations.coefficientCechPermutationF coefficientMap M U n 1 = 𝟙 _ := by |
| 65 | let F : (FormalCoproduct.{u} X.Opens)ᵒᵖ ⥤ |
| 66 | ModuleCat.{u} R := |
| 67 | ((FormalCoproduct.evalOp X.Opens |
| 68 | (ModuleCat.{u} R)).obj |
| 69 | (Coefficient.ModulePresheaf.coefficientModulePresheaf coefficientMap M)) |
| 70 | change F.map |
| 71 | ((FormalCoproduct.mk _ U).mapPower (id : Fin (n + 1) → Fin (n + 1))).op = _ |
| 72 | rw [FormalCoproduct.mapPower_id] |
| 73 | exact F.map_id _ |
| 74 | |
| 75 | theorem orderedToCoefficientCechAlternatingF_comp_coefficientCechToOrderedF |
| 76 | {X : Scheme.{u}} {R : Type u} [CommRing R] (coefficientMap : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 77 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (n : ℕ) : |
| 78 | AlternatingExtension.orderedToCoefficientCechAlternatingF coefficientMap M U n ≫ |
| 79 | OrderedCech.FormalProjection.coefficientCechToOrderedF coefficientMap M U n = 𝟙 _ := by |
| 80 | rw [AlternatingExtension.orderedToCoefficientCechAlternatingF, sum_comp] |
| 81 | rw [Finset.sum_eq_single 1] |
| 82 | · simp [coefficientCechPermutationF_one, |
| 83 | OrderedCech.ProjectionSplitting.orderedToCoefficientCechZeroExtensionF_comp_coefficientCechToOrderedF] |
| 84 | · intro σ hσ hne |
| 85 | rw [zsmul_comp] |
| 86 | simp [ZeroExtension.orderedToCoefficientCechZeroExtensionF_comp_permutation_comp_ordered_of_ne |
| 87 | coefficientMap M U n σ hne] |
| 88 | · simp |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCech.AlternatingRetraction |