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 Mathlib.Algebra.Homology.Functor |
| 2 | |
| 3 | /-! # Homology Is Iso -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Mapped.HomologyIsIso |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An exact functor detects invertibility of the homology map of its image. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | |
| 13 | variable {C D : Type*} [Category* C] [Category* D] [Abelian C] [Abelian D] |
| 14 | (F : C ⥤ D) [F.Additive] [F.PreservesHomology] |
| 15 | {ι : Type*} {c : ComplexShape ι} {K L : HomologicalComplex C c} |
| 16 | (φ : K ⟶ L) (i : ι) |
| 17 | |
| 18 | theorem of_quasiIsoAt [QuasiIsoAt ((F.mapHomologicalComplex c).map φ) i] : |
| 19 | IsIso (F.map (HomologicalComplex.homologyMap φ i)) := by |
| 20 | let ψ : K.sc i ⟶ L.sc i := (HomologicalComplex.shortComplexFunctor C c i).map φ |
| 21 | change IsIso (F.map (ShortComplex.homologyMap ψ)) |
| 22 | let α : ((K.sc i).map F).homology ⟶ ((L.sc i).map F).homology := |
| 23 | ShortComplex.homologyMap (F.mapShortComplex.map ψ) |
| 24 | have : IsIso α := |
| 25 | inferInstanceAs (IsIso (HomologicalComplex.homologyMap ((F.mapHomologicalComplex c).map φ) i)) |
| 26 | have hcomp : IsIso (α ≫ ((L.sc i).mapHomologyIso F).hom) := by infer_instance |
| 27 | have heq : α ≫ ((L.sc i).mapHomologyIso F).hom = |
| 28 | ((K.sc i).mapHomologyIso F).hom ≫ F.map (ShortComplex.homologyMap ψ) := |
| 29 | ShortComplex.mapHomologyIso_hom_naturality ψ F |
| 30 | have : IsIso (((K.sc i).mapHomologyIso F).hom ≫ F.map (ShortComplex.homologyMap ψ)) := heq ▸ hcomp |
| 31 | exact IsIso.of_isIso_comp_left (((K.sc i).mapHomologyIso F).hom) _ |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Mapped.HomologyIsIso |