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.Balanced.SheafifiedSectionsIdentity |
| 2 | |
| 3 | /-! # Section Map Quasi Iso -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.SectionMapQuasiIso |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The literal balanced section map has the same quasi-isomorphism |
| 10 | property as its proved constant-section coordinates. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | private theorem congr_iff {D : Type*} [Category D] [HasZeroMorphisms D] |
| 15 | {K L : CochainComplex D ℕ} [∀ n, K.HasHomology n] [∀ n, L.HasHomology n] |
| 16 | {a b : K ⟶ L} (h : a = b) : QuasiIso a ↔ QuasiIso b := by |
| 17 | cases h |
| 18 | rfl |
| 19 | |
| 20 | universe u z |
| 21 | variable {C : Type u} [Category.{0} C] (R : Type u) [CommRing R] |
| 22 | (J : GrothendieckTopology C) |
| 23 | [HasExt.{max u z} (Sheaf J (ModuleCat.{u} R))] |
| 24 | {Y : Sheaf J (ModuleCat.{u} R)} (I : InjectiveResolution Y) |
| 25 | (M : CochainComplex (ModuleCat.{u} R) ℕ) |
| 26 | (P : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{u} R) ℕ) |
| 27 | (a : ((Functor.const Cᵒᵖ).mapHomologicalComplex (.up ℕ)).obj M ⟶ P) |
| 28 | (g : Sheafified.ConstantCochainCoordinates.sheafComplex R J P ⟶ I.cocomplex) |
| 29 | |
| 30 | private def postMap : |
| 31 | ConstantSection.ComplexMap.target.{u,0,u,z} R J |
| 32 | (Sheafified.ConstantCochainCoordinates.sheafComplex R J P) ⟶ |
| 33 | ConstantSection.ComplexMap.target.{u,0,u,z} R J I.cocomplex := |
| 34 | ((Ext.ModuleFunctor.functor R (Module.ConstantSections.constantUnit R J) 0).mapHomologicalComplex |
| 35 | (.up ℕ)).map g |
| 36 | |
| 37 | private def balancedMap : ConstantSection.ComplexMap.source R M ⟶ |
| 38 | ConstantSection.ComplexMap.target.{u,0,u,z} R J I.cocomplex := |
| 39 | SheafifiedCone.Comparison.sectionsMap.{u,z} R J I M P a g |
| 40 | |
| 41 | private theorem maps_eq : balancedMap R J I M P a g = |
| 42 | ConstantSection.ComplexMap.map.{u,0,u,z} R J M |
| 43 | (Sheafified.ConstantCochainCoordinates.sheafComplex R J P) |
| 44 | (Sheafified.ConstantCochainCoordinates.sheafMap R J M P a) ≫ postMap R J I P g := by |
| 45 | apply HomologicalComplex.Hom.ext |
| 46 | funext i |
| 47 | apply ModuleCat.hom_ext |
| 48 | apply LinearMap.ext |
| 49 | intro x |
| 50 | rfl |
| 51 | |
| 52 | abbrev quasiIso_iff := congr_iff (maps_eq R J I M P a g) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.SectionMapQuasiIso |