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.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechFunctor |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Resolution.CohomologyMaps |
| 3 | import Mathlib.CategoryTheory.Linear.FunctorCategory |
| 4 | |
| 5 | /-! # Cech Linear -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechLinear |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual augmented ordered Čech complex preserves ambient |
| 12 | scalars, including its canonical cohomology maps. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex Opposite |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | universe u |
| 17 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 18 | {ι : Type u} [LinearOrder ι] (U : ι → C) (R : Type u) [CommRing R] |
| 19 | |
| 20 | instance linear : (CechFunctor.functor U (D := ModuleCat.{u} R)).Linear R where |
| 21 | map_smul {P Q} f r := by |
| 22 | apply HomologicalComplex.Hom.ext |
| 23 | funext n |
| 24 | change (Limits.Pi.map (fun a : Cech.Index ι n => (r • f).app (op ((Cech.formal U n).obj a)))) = |
| 25 | r • (Limits.Pi.map (fun a : Cech.Index ι n => f.app (op ((Cech.formal U n).obj a)))) |
| 26 | apply Pi.hom_ext |
| 27 | intro a |
| 28 | rw [Pi.map_π, Linear.smul_comp, Pi.map_π] |
| 29 | rfl |
| 30 | |
| 31 | def cohomology (q : ℕ) : (Cᵒᵖ ⥤ ModuleCat.{u} R) ⥤ ModuleCat.{u} R := |
| 32 | CechFunctor.functor U ⋙ homologyFunctor (ModuleCat R) (.up ℕ) q |
| 33 | |
| 34 | instance cohomology_additive (q : ℕ) : (cohomology U R q).Additive := by |
| 35 | dsimp only [cohomology] |
| 36 | infer_instance |
| 37 | |
| 38 | theorem cohomology_smul (q : ℕ) {P Q : Cᵒᵖ ⥤ ModuleCat.{u} R} (r : R) (f : P ⟶ Q) : |
| 39 | (cohomology U R q).map (r • f) = r • (cohomology U R q).map f := by |
| 40 | change homologyMap ((CechFunctor.functor U).map (r • f)) q = r • homologyMap ((CechFunctor.functor U).map f) q |
| 41 | rw [(CechFunctor.functor U).map_smul, Resolution.CohomologyMaps.homologyMap_smul] |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechLinear |