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.Cech.RepeatedTuplePartners |
| 8 | |
| 9 | /-! # Permutations -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCech.Permutations |
| 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 | /-- Reindex native Cech cochains by a permutation of tuple positions. -/ |
| 19 | noncomputable def coefficientCechPermutationF |
| 20 | {X : Scheme.{u}} {R : Type u} [CommRing R] (ρ : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 21 | {ι : Type u} (U : ι → X.Opens) (n : ℕ) |
| 22 | (σ : Equiv.Perm (Fin (n + 1))) : |
| 23 | (Intrinsic.CoefficientCechComplex.coefficientCechComplex ρ M U).X n ⟶ (Intrinsic.CoefficientCechComplex.coefficientCechComplex ρ M U).X n := |
| 24 | ((FormalCoproduct.evalOp X.Opens |
| 25 | (ModuleCat.{u} R)).obj |
| 26 | (Coefficient.ModulePresheaf.coefficientModulePresheaf ρ M)).map |
| 27 | ((FormalCoproduct.mk _ U).mapPower σ).op |
| 28 | |
| 29 | theorem coefficientCechPermutationF_comp |
| 30 | {X : Scheme.{u}} {R : Type u} [CommRing R] (ρ : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 31 | {ι : Type u} (U : ι → X.Opens) (n : ℕ) |
| 32 | (σ τ : Equiv.Perm (Fin (n + 1))) : |
| 33 | coefficientCechPermutationF ρ M U n σ ≫ |
| 34 | coefficientCechPermutationF ρ M U n τ = |
| 35 | coefficientCechPermutationF ρ M U n (σ.trans τ) := by |
| 36 | let F : (FormalCoproduct.{u} X.Opens)ᵒᵖ ⥤ |
| 37 | ModuleCat.{u} R := |
| 38 | ((FormalCoproduct.evalOp X.Opens |
| 39 | (ModuleCat.{u} R)).obj |
| 40 | (Coefficient.ModulePresheaf.coefficientModulePresheaf ρ M)) |
| 41 | change F.map ((FormalCoproduct.mk _ U).mapPower σ).op ≫ |
| 42 | F.map ((FormalCoproduct.mk _ U).mapPower τ).op = |
| 43 | F.map ((FormalCoproduct.mk _ U).mapPower (σ.trans τ)).op |
| 44 | rw [← F.map_comp, ← op_comp] |
| 45 | congr 1 |
| 46 | |
| 47 | theorem coefficientCechCoface_comp_permutation |
| 48 | {X : Scheme.{u}} {R : Type u} [CommRing R] (ρ : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 49 | {ι : Type u} (U : ι → X.Opens) (n : ℕ) |
| 50 | (σ : Equiv.Perm (Fin (n + 2))) (r : Fin (n + 2)) : |
| 51 | OrderedCech.FormalProjection.coefficientCechCoface ρ M U n r ≫ |
| 52 | coefficientCechPermutationF ρ M U (n + 1) σ = |
| 53 | coefficientCechPermutationF ρ M U n (Cech.PermutedTupleSigns.cechPermDelete σ r) ≫ |
| 54 | OrderedCech.FormalProjection.coefficientCechCoface ρ M U n (σ r) := by |
| 55 | let V := FormalCoproduct.mk _ U |
| 56 | let F : (FormalCoproduct.{u} X.Opens)ᵒᵖ ⥤ |
| 57 | ModuleCat.{u} R := |
| 58 | ((FormalCoproduct.evalOp X.Opens |
| 59 | (ModuleCat.{u} R)).obj |
| 60 | (Coefficient.ModulePresheaf.coefficientModulePresheaf ρ M)) |
| 61 | change F.map (V.mapPower r.succAbove).op ≫ |
| 62 | F.map (V.mapPower σ).op = |
| 63 | F.map (V.mapPower (Cech.PermutedTupleSigns.cechPermDelete σ r)).op ≫ |
| 64 | F.map (V.mapPower (σ r).succAbove).op |
| 65 | rw [← F.map_comp, ← F.map_comp, ← op_comp, ← op_comp] |
| 66 | congr 1 |
| 67 | rw [← FormalCoproduct.mapPower_comp, |
| 68 | ← FormalCoproduct.mapPower_comp] |
| 69 | have hfun : σ ∘ r.succAbove = |
| 70 | (σ r).succAbove ∘ Cech.PermutedTupleSigns.cechPermDelete σ r := by |
| 71 | funext x |
| 72 | exact (Cech.PermutedTupleSigns.succAbove_cechPermDelete σ r x).symm |
| 73 | exact congrArg (fun q => q.op) (congrArg |
| 74 | (fun f : Fin (n + 1) → Fin (n + 2) => V.mapPower f) hfun) |
| 75 | |
| 76 | theorem coefficientCechPermutationF_comp_π |
| 77 | {X : Scheme.{u}} {R : Type u} [CommRing R] (ρ : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 78 | {ι : Type u} (U : ι → X.Opens) (n : ℕ) |
| 79 | (σ : Equiv.Perm (Fin (n + 1))) (i : Fin (n + 1) → ι) : |
| 80 | coefficientCechPermutationF ρ M U n σ ≫ |
| 81 | Pi.π (fun j : Fin (n + 1) → ι => Ordered.CoefficientCechTerms.coefficientCechFactor ρ M U n j) i = |
| 82 | Pi.π (fun j : Fin (n + 1) → ι => Ordered.CoefficientCechTerms.coefficientCechFactor ρ M U n j) (i ∘ σ) ≫ |
| 83 | (Coefficient.ModulePresheaf.coefficientModulePresheaf ρ M).map |
| 84 | (((FormalCoproduct.mk _ U).mapPower σ).φ i).op := by |
| 85 | change (Pi.lift fun j : Fin (n + 1) → ι => |
| 86 | Pi.π (fun k : Fin (n + 1) → ι => Ordered.CoefficientCechTerms.coefficientCechFactor ρ M U n k) (j ∘ σ) ≫ |
| 87 | (Coefficient.ModulePresheaf.coefficientModulePresheaf ρ M).map |
| 88 | (((FormalCoproduct.mk _ U).mapPower σ).φ j).op) ≫ _ = _ |
| 89 | exact Pi.lift_comp_π _ i |
| 90 | |
| 91 | theorem coefficientCechXIsoPi_hom_comp_proj |
| 92 | {X : Scheme.{u}} {R : Type u} [CommRing R] (ρ : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 93 | {ι : Type u} (U : ι → X.Opens) (n : ℕ) |
| 94 | (i : Fin (n + 1) → ι) : |
| 95 | (Intrinsic.CoefficientCechComplex.coefficientCechXIsoPi ρ M U n).hom ≫ |
| 96 | ModuleCat.ofHom |
| 97 | (LinearMap.proj i : |
| 98 | (∀ j : Fin (n + 1) → ι, Ordered.CoefficientCechTerms.coefficientCechFactor ρ M U n j) →ₗ[ |
| 99 | R] Ordered.CoefficientCechTerms.coefficientCechFactor ρ M U n i) = |
| 100 | Pi.π (fun j : Fin (n + 1) → ι => Ordered.CoefficientCechTerms.coefficientCechFactor ρ M U n j) i := by |
| 101 | exact ModuleCat.piIsoPi_hom_ker_subtype _ i |
| 102 | |
| 103 | theorem orderedCoefficientCechZeroExtendLinearMap_apply |
| 104 | {X : Scheme.{u}} {R : Type u} [CommRing R] (ρ : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 105 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (n : ℕ) |
| 106 | (x : Ordered.CoefficientCechTerms.orderedCoefficientCechTerm ρ M U n) (i : Fin (n + 1) → ι) : |
| 107 | OrderedCech.ProjectionCoordinates.orderedCoefficientCechZeroExtendLinearMap ρ M U n x i = |
| 108 | if h : StrictMono i then x ⟨i, h⟩ else 0 := by |
| 109 | rfl |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCech.Permutations |