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.PeriodInvariants.MappingConeQuasiIso |
| 2 | import Mathlib.Algebra.Homology.HomotopyCategory.ShortExact |
| 3 | |
| 4 | /-! # Short Exact Cone Kernel -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ShortExactConeKernel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The cone of the quotient map in a short exact sequence of complexes |
| 11 | is quasi-isomorphic to its kernel shifted by one. The map is obtained |
| 12 | from the genuine cone rotation and the canonical cokernel comparison. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | universe u v |
| 19 | |
| 20 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 21 | |
| 22 | open _root_.CochainComplex |
| 23 | |
| 24 | variable (S : ShortComplex (CochainComplex C ℤ)) |
| 25 | |
| 26 | def coneMap : mappingCone (mappingCone.inr S.f) ⟶ mappingCone S.g := |
| 27 | mappingCone.map (mappingCone.inr S.f) S.g (𝟙 S.X₂) |
| 28 | (mappingCone.descShortComplex S) (by simp) |
| 29 | |
| 30 | def comparison : S.X₁⟦(1 : ℤ)⟧ ⟶ mappingCone S.g := |
| 31 | (mappingCone.rotateHomotopyEquiv S.f).hom ≫ coneMap S |
| 32 | |
| 33 | theorem coneMap_quasiIso (hS : S.ShortExact) : QuasiIso (coneMap S) := |
| 34 | PeriodInvariants.MappingConeQuasiIso.quasiIso_map (mappingCone.inr S.f) S.g (𝟙 S.X₂) |
| 35 | (mappingCone.descShortComplex S) (by simp) inferInstance |
| 36 | (mappingCone.quasiIso_descShortComplex hS) |
| 37 | |
| 38 | theorem comparison_quasiIso (hS : S.ShortExact) : QuasiIso (comparison S) := by |
| 39 | have : QuasiIso (coneMap S) := coneMap_quasiIso S hS |
| 40 | exact quasiIso_comp _ _ |
| 41 | |
| 42 | def homologyIso (hS : S.ShortExact) (n : ℤ) : |
| 43 | (S.X₁⟦(1 : ℤ)⟧).homology n ≅ (mappingCone S.g).homology n := by |
| 44 | have := comparison_quasiIso S hS |
| 45 | exact isoOfQuasiIsoAt (comparison S) n |
| 46 | |
| 47 | variable (T : ShortComplex C) |
| 48 | |
| 49 | abbrev single := HomologicalComplex.single C (.up ℤ) 0 |
| 50 | |
| 51 | def singleComparison : ((ShortExactConeKernel.single.obj T.X₁)⟦(1 : ℤ)⟧) ⟶ mappingCone (ShortExactConeKernel.single.map T.g) := |
| 52 | comparison (T.map ShortExactConeKernel.single) |
| 53 | |
| 54 | theorem singleComparison_quasiIso (hT : T.ShortExact) : |
| 55 | QuasiIso (singleComparison T) := |
| 56 | comparison_quasiIso (T.map ShortExactConeKernel.single) (hT.map_of_exact ShortExactConeKernel.single) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ShortExactConeKernel |