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.PushforwardFactors |
| 8 | |
| 9 | /-! # Pushforward Factor Naturality -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCech.PushforwardFactorNaturality |
| 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 coefficientCechFactorPushforwardIso_naturality |
| 21 | {X Y : Scheme.{u}} {R : Type u} [CommRing R] (f : X ⟶ Y) (coefficientMap : R →+* Γ(Y, ⊤)) (M : X.Modules) |
| 22 | {ι : Type u} (U : ι → Y.Opens) (n : ℕ) (k : Fin (n + 2)) |
| 23 | (i : Fin (n + 2) → ι) : |
| 24 | (Coefficient.ModulePresheaf.coefficientModulePresheaf (f.appTop.hom.comp coefficientMap) M).map |
| 25 | (((FormalCoproduct.mk _ (fun j ↦ f ⁻¹ᵁ U j)).mapPower |
| 26 | (SimplexCategory.δ k).toOrderHom.toFun).φ i).op ≫ |
| 27 | (PushforwardFactors.coefficientCechFactorPushforwardIso f coefficientMap M U (n + 1) i).hom = |
| 28 | (PushforwardFactors.coefficientCechFactorPushforwardIso f coefficientMap M U n |
| 29 | (i ∘ (SimplexCategory.δ k).toOrderHom.toFun)).hom ≫ |
| 30 | (Coefficient.ModulePresheaf.coefficientModulePresheaf coefficientMap ((Scheme.Modules.pushforward f).obj M)).map |
| 31 | (((FormalCoproduct.mk _ U).mapPower |
| 32 | (SimplexCategory.δ k).toOrderHom.toFun).φ i).op := by |
| 33 | let δ := (SimplexCategory.δ k).toOrderHom.toFun |
| 34 | let j : Fin (n + 1) → ι := i ∘ δ |
| 35 | let sourceFace := |
| 36 | ((FormalCoproduct.mk _ (fun j ↦ f ⁻¹ᵁ U j)).mapPower δ).φ i |
| 37 | let targetFace := ((FormalCoproduct.mk _ U).mapPower δ).φ i |
| 38 | let sourceHigh : X.Opens := |
| 39 | ∏ᶜ fun a : Fin (n + 2) => f ⁻¹ᵁ U (i a) |
| 40 | let sourceLow : X.Opens := |
| 41 | ∏ᶜ fun a : Fin (n + 1) => f ⁻¹ᵁ U (j a) |
| 42 | let targetHigh : Y.Opens := ∏ᶜ fun a : Fin (n + 2) => U (i a) |
| 43 | let targetLow : Y.Opens := ∏ᶜ fun a : Fin (n + 1) => U (j a) |
| 44 | have hSource : sourceHigh ≤ sourceLow := leOfHom sourceFace |
| 45 | have hTarget : targetHigh ≤ targetLow := leOfHom targetFace |
| 46 | let sourceRestriction : Opposite.op sourceLow ⟶ Opposite.op sourceHigh := |
| 47 | (homOfLE hSource).op |
| 48 | let targetRestrictionAmbient : Opposite.op targetLow ⟶ Opposite.op targetHigh := |
| 49 | (homOfLE hTarget).op |
| 50 | have hSourceMap : |
| 51 | (Coefficient.ModulePresheaf.coefficientModulePresheaf (f.appTop.hom.comp coefficientMap) M).map sourceFace.op = |
| 52 | (Coefficient.ModulePresheaf.coefficientModulePresheaf (f.appTop.hom.comp coefficientMap) M).map sourceRestriction := |
| 53 | (Coefficient.ModulePresheaf.coefficientModulePresheaf (f.appTop.hom.comp coefficientMap) M).congr_map (Subsingleton.elim _ _) |
| 54 | have hTargetMap : |
| 55 | (Coefficient.ModulePresheaf.coefficientModulePresheaf coefficientMap ((Scheme.Modules.pushforward f).obj M)).map |
| 56 | (((FormalCoproduct.mk _ U).mapPower |
| 57 | (SimplexCategory.δ k).toOrderHom.toFun).φ i).op = |
| 58 | (Coefficient.ModulePresheaf.coefficientModulePresheaf coefficientMap ((Scheme.Modules.pushforward f).obj M)).map |
| 59 | targetRestrictionAmbient := |
| 60 | (Coefficient.ModulePresheaf.coefficientModulePresheaf coefficientMap ((Scheme.Modules.pushforward f).obj M)).congr_map |
| 61 | (Subsingleton.elim _ _) |
| 62 | have hMiddle : |
| 63 | (Coefficient.ModulePresheaf.coefficientModulePresheaf (f.appTop.hom.comp coefficientMap) M).map sourceRestriction ≫ |
| 64 | (PushforwardFactors.coefficientCechFactorPushforwardIso f coefficientMap M U (n + 1) i).hom = |
| 65 | (PushforwardFactors.coefficientCechFactorPushforwardIso f coefficientMap M U n |
| 66 | (i ∘ (SimplexCategory.δ k).toOrderHom.toFun)).hom ≫ |
| 67 | (Coefficient.ModulePresheaf.coefficientModulePresheaf coefficientMap ((Scheme.Modules.pushforward f).obj M)).map |
| 68 | targetRestrictionAmbient := by |
| 69 | apply ModuleCat.hom_ext |
| 70 | ext x |
| 71 | let highTransport := |
| 72 | (eqToHom (PushforwardFactors.preimageCechIntersection f U (n + 1) i)).op |
| 73 | let lowTransport := |
| 74 | (eqToHom (PushforwardFactors.preimageCechIntersection f U n j)).op |
| 75 | let targetRestriction := |
| 76 | (Opens.map f.base).op.map targetRestrictionAmbient |
| 77 | let x' : Γ(M, sourceLow) := x |
| 78 | change |
| 79 | (M.presheaf.map highTransport).hom |
| 80 | ((M.presheaf.map sourceRestriction).hom x') = |
| 81 | (M.presheaf.map targetRestriction).hom |
| 82 | ((M.presheaf.map lowTransport).hom x') |
| 83 | have hComposite : |
| 84 | M.presheaf.map sourceRestriction ≫ M.presheaf.map highTransport = |
| 85 | M.presheaf.map lowTransport ≫ M.presheaf.map targetRestriction := by |
| 86 | rw [← M.presheaf.map_comp, ← M.presheaf.map_comp] |
| 87 | exact M.presheaf.congr_map (Subsingleton.elim _ _) |
| 88 | simpa only [ConcreteCategory.comp_apply] using |
| 89 | ConcreteCategory.congr_hom hComposite x' |
| 90 | calc |
| 91 | _ = (Coefficient.ModulePresheaf.coefficientModulePresheaf (f.appTop.hom.comp coefficientMap) M).map sourceRestriction ≫ |
| 92 | (PushforwardFactors.coefficientCechFactorPushforwardIso f coefficientMap M U (n + 1) i).hom := |
| 93 | congrArg |
| 94 | (fun q => q ≫ (PushforwardFactors.coefficientCechFactorPushforwardIso f coefficientMap M U (n + 1) i).hom) |
| 95 | hSourceMap |
| 96 | _ = _ := hMiddle |
| 97 | _ = _ := congrArg |
| 98 | (fun q => (PushforwardFactors.coefficientCechFactorPushforwardIso f coefficientMap M U n |
| 99 | (i ∘ (SimplexCategory.δ k).toOrderHom.toFun)).hom ≫ q) |
| 100 | hTargetMap.symm |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCech.PushforwardFactorNaturality |