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 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.BaseCechHomology |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.CechScalars |
| 3 | import Mathlib.Algebra.Homology.ShortComplex.Linear |
| 4 | |
| 5 | /-! # Base Cech Linear Bridge -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.BaseCechLinearBridge |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native base-module Čech action agrees with the action by global regular functions. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | /-- Scalar multiplication of cochain maps induces scalar multiplication on homology. -/ |
| 21 | theorem homologyMap_smul {R : Type u} [CommRing R] |
| 22 | {K L : CochainComplex (ModuleCat.{u} R) ℕ} (r : R) (f : K ⟶ L) (n : ℕ) : |
| 23 | HomologicalComplex.homologyMap (r • f) n = r • HomologicalComplex.homologyMap f n := by |
| 24 | change ShortComplex.homologyMap |
| 25 | (r • (HomologicalComplex.shortComplexFunctor (ModuleCat.{u} R) (.up ℕ) n).map f) = _ |
| 26 | exact ShortComplex.homologyMap_smul (R := R) (C := ModuleCat.{u} R) |
| 27 | (S₁ := K.sc n) (S₂ := L.sc n) |
| 28 | ((HomologicalComplex.shortComplexFunctor (ModuleCat.{u} R) (.up ℕ) n).map f) r |
| 29 | |
| 30 | /-- Multiplication by a base function induces its ordinary scalar action on the |
| 31 | base-module Čech complex. -/ |
| 32 | theorem baseCech_globalSmul_map {X S : Scheme.{u}} (π : X ⟶ S) (M : X.Modules) |
| 33 | {ι : Type u} (U : ι → X.Opens) (r : Γ(S, ⊤)) : |
| 34 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplexFunctor π U).map (AffineH.Projective.globalSmulHom M (π.appTop r)) = |
| 35 | r • 𝟙 (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U) := by |
| 36 | apply BaseCechForget.Scheme.Modules.baseCechComplexFunctor_map_eq_smul_id |
| 37 | intro V |
| 38 | ext x |
| 39 | rfl |
| 40 | |
| 41 | /-- The base ring acts on additive Čech cohomology through the actual structure map. -/ |
| 42 | @[instance_reducible] |
| 43 | def nativeCechBaseModule {X S : Scheme.{u}} (π : X ⟶ S) (M : X.Modules) |
| 44 | {ι : Type u} (U : ι → X.Opens) (n : ℕ) : |
| 45 | Module Γ(S, ⊤) ((CechScalars.Projective.moduleCechCohomologyFunctor U n).obj M) := by |
| 46 | letI := CechScalars.Projective.cechGlobalFunctionsModule M U n |
| 47 | exact Module.compHom _ π.appTop.hom |
| 48 | |
| 49 | /-- Forgetting from base-module Čech cohomology preserves its actual scalar action. -/ |
| 50 | def baseCechHomologyNativeLinearEquiv {X S : Scheme.{u}} (π : X ⟶ S) (M : X.Modules) |
| 51 | {ι : Type u} (U : ι → X.Opens) (n : ℕ) : |
| 52 | letI := nativeCechBaseModule π M U n |
| 53 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U).homology n ≃ₗ[Γ(S, ⊤)] |
| 54 | (CechScalars.Projective.moduleCechCohomologyFunctor U n).obj M := by |
| 55 | letI := nativeCechBaseModule π M U n |
| 56 | let e := (BaseCechHomology.Scheme.Modules.baseCechComplexHomologyForgetIso π M U n).addCommGroupIsoToAddEquiv |
| 57 | refine { e with map_smul' := ?_ } |
| 58 | intro r x |
| 59 | have h := BaseCechHomology.Scheme.Modules.baseCechComplexHomologyForgetIso_naturality π |
| 60 | (AffineH.Projective.globalSmulHom M (π.appTop r)) U n |
| 61 | have hmap : HomologicalComplex.homologyMap |
| 62 | ((Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplexFunctor π U).map (AffineH.Projective.globalSmulHom M (π.appTop r))) n = |
| 63 | r • 𝟙 ((Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U).homology n) := by |
| 64 | exact (congrArg (fun f : Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U ⟶ Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U => |
| 65 | HomologicalComplex.homologyMap f n) (baseCech_globalSmul_map π M U r)).trans |
| 66 | ((BaseCechLinearBridge.homologyMap_smul r (𝟙 (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U)) n).trans |
| 67 | (congrArg (fun k => r • k) (HomologicalComplex.homologyMap_id (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U) n))) |
| 68 | rw [hmap] at h |
| 69 | exact ConcreteCategory.congr_hom h x |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.BaseCechLinearBridge |