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.PushforwardFactorNaturality |
| 8 | |
| 9 | /-! # Pushforward Objects -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OrderedCech.PushforwardObjects |
| 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 | /-- The ordered Cech object of an inverse-image cover agrees with the ordered Cech object of |
| 21 | the pushforward. -/ |
| 22 | noncomputable def orderedCoefficientCechObjectPushforwardIso |
| 23 | {X Y : Scheme.{u}} {R : Type u} [CommRing R] (f : X ⟶ Y) (coefficientMap : R →+* Γ(Y, ⊤)) (M : X.Modules) |
| 24 | {ι : Type u} [LinearOrder ι] (U : ι → Y.Opens) (n : ℕ) : |
| 25 | Ordered.CoefficientCechTerms.orderedCoefficientCechObject (f.appTop.hom.comp coefficientMap) M (fun j ↦ f ⁻¹ᵁ U j) n ≅ |
| 26 | Ordered.CoefficientCechTerms.orderedCoefficientCechObject coefficientMap ((Scheme.Modules.pushforward f).obj M) U n := |
| 27 | Ordered.CoefficientCechTerms.orderedCoefficientCechObjectIsoPi (f.appTop.hom.comp coefficientMap) M (fun j ↦ f ⁻¹ᵁ U j) n ≪≫ |
| 28 | LinearEquiv.toModuleIso |
| 29 | (LinearEquiv.piCongrRight fun i : Ordered.SectionCechIndices.OrderedCechIndex ι n => |
| 30 | (CoefficientCech.PushforwardFactors.coefficientCechFactorPushforwardIso f coefficientMap M U n i.1).toLinearEquiv) ≪≫ |
| 31 | (Ordered.CoefficientCechTerms.orderedCoefficientCechObjectIsoPi coefficientMap ((Scheme.Modules.pushforward f).obj M) U n).symm |
| 32 | |
| 33 | @[reassoc] |
| 34 | theorem orderedCoefficientCechObjectPushforwardIso_hom_π |
| 35 | {X Y : Scheme.{u}} {R : Type u} [CommRing R] (f : X ⟶ Y) (coefficientMap : R →+* Γ(Y, ⊤)) (M : X.Modules) |
| 36 | {ι : Type u} [LinearOrder ι] (U : ι → Y.Opens) (n : ℕ) |
| 37 | (i : Ordered.SectionCechIndices.OrderedCechIndex ι n) : |
| 38 | (orderedCoefficientCechObjectPushforwardIso f coefficientMap M U n).hom ≫ |
| 39 | Pi.π (fun j : Ordered.SectionCechIndices.OrderedCechIndex ι n => |
| 40 | Ordered.CoefficientCechTerms.coefficientCechFactor coefficientMap ((Scheme.Modules.pushforward f).obj M) U n j.1) i = |
| 41 | Pi.π (fun j : Ordered.SectionCechIndices.OrderedCechIndex ι n => |
| 42 | Ordered.CoefficientCechTerms.coefficientCechFactor (f.appTop.hom.comp coefficientMap) M (fun a ↦ f ⁻¹ᵁ U a) n j.1) i ≫ |
| 43 | (CoefficientCech.PushforwardFactors.coefficientCechFactorPushforwardIso f coefficientMap M U n i.1).hom := by |
| 44 | let A : Ordered.SectionCechIndices.OrderedCechIndex ι n → ModuleCat R := |
| 45 | fun j => Ordered.CoefficientCechTerms.coefficientCechFactor (f.appTop.hom.comp coefficientMap) M (fun a ↦ f ⁻¹ᵁ U a) n j.1 |
| 46 | let B : Ordered.SectionCechIndices.OrderedCechIndex ι n → ModuleCat R := |
| 47 | fun j => Ordered.CoefficientCechTerms.coefficientCechFactor coefficientMap ((Scheme.Modules.pushforward f).obj M) U n j.1 |
| 48 | let ePi : ModuleCat.of R (∀ j, A j) ≅ |
| 49 | ModuleCat.of R (∀ j, B j) := |
| 50 | LinearEquiv.toModuleIso |
| 51 | (LinearEquiv.piCongrRight fun j : Ordered.SectionCechIndices.OrderedCechIndex ι n => |
| 52 | (CoefficientCech.PushforwardFactors.coefficientCechFactorPushforwardIso f coefficientMap M U n j.1).toLinearEquiv) |
| 53 | change ((ModuleCat.piIsoPi A ≪≫ ePi ≪≫ |
| 54 | (ModuleCat.piIsoPi B).symm).hom ≫ Pi.π B i) = |
| 55 | Pi.π A i ≫ (CoefficientCech.PushforwardFactors.coefficientCechFactorPushforwardIso f coefficientMap M U n i.1).hom |
| 56 | have hPi : ePi.hom ≫ |
| 57 | ModuleCat.ofHom (LinearMap.proj i : (∀ j, B j) →ₗ[R] B i) = |
| 58 | ModuleCat.ofHom (LinearMap.proj i : (∀ j, A j) →ₗ[R] A i) ≫ |
| 59 | (CoefficientCech.PushforwardFactors.coefficientCechFactorPushforwardIso f coefficientMap M U n i.1).hom := by |
| 60 | apply ModuleCat.hom_ext |
| 61 | ext x |
| 62 | rfl |
| 63 | calc |
| 64 | _ = (ModuleCat.piIsoPi A).hom ≫ ePi.hom ≫ |
| 65 | (ModuleCat.piIsoPi B).inv ≫ Pi.π B i := by |
| 66 | simp only [Iso.trans_hom, Iso.symm_hom, Category.assoc] |
| 67 | rfl |
| 68 | _ = (ModuleCat.piIsoPi A).hom ≫ ePi.hom ≫ |
| 69 | ModuleCat.ofHom (LinearMap.proj i : (∀ j, B j) →ₗ[R] B i) := by |
| 70 | rw [ModuleCat.piIsoPi_inv_kernel_ι] |
| 71 | _ = (ModuleCat.piIsoPi A).hom ≫ |
| 72 | (ModuleCat.ofHom (LinearMap.proj i : (∀ j, A j) →ₗ[R] A i) ≫ |
| 73 | (CoefficientCech.PushforwardFactors.coefficientCechFactorPushforwardIso f coefficientMap M U n i.1).hom) := by |
| 74 | rw [hPi] |
| 75 | _ = ((ModuleCat.piIsoPi A).hom ≫ |
| 76 | ModuleCat.ofHom (LinearMap.proj i : (∀ j, A j) →ₗ[R] A i)) ≫ |
| 77 | (CoefficientCech.PushforwardFactors.coefficientCechFactorPushforwardIso f coefficientMap M U n i.1).hom := by |
| 78 | rw [Category.assoc] |
| 79 | _ = _ := by rw [ModuleCat.piIsoPi_hom_ker_subtype] |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OrderedCech.PushforwardObjects |