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.GeometricComparison.Semilattice.DiagonalCone |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Section.ComplexAssembly |
| 3 | |
| 4 | /-! # Diagonal Cone -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Section.DiagonalCone.SectionDiagonalCone |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The diagonal section complex maps naturally to every original |
| 11 | frame-section complex, and its component on its own chart is invertible. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 14 | |
| 15 | universe u v w z t |
| 16 | variable (C : Type u) [SemilatticeInf C] |
| 17 | {A : Type v} [Category.{w} A] [Preadditive A] |
| 18 | {B : Type z} [Category.{t} B] [Preadditive B] |
| 19 | (S : A ⥤ Cᵒᵖ ⥤ B) [S.Additive] (P : Cᵒᵖ ⥤ CochainComplex A ℕ) |
| 20 | (h : ∀ I V : C, IsIso (((ComplexBifunctor.SectionComplexBifunctor.functor S P).obj (op I)).map |
| 21 | (homOfLE (inf_le_left : V ⊓ I ≤ V)).op)) |
| 22 | |
| 23 | def source : CochainComplex (Cᵒᵖ ⥤ B) ℕ := |
| 24 | Semilattice.DiagonalCone.SemilatticeDiagonalCone.source C (ComplexBifunctor.SectionComplexBifunctor.functor S P) |
| 25 | |
| 26 | def cone : (Functor.const Cᵒᵖ).obj (source C S P) ⟶ P ⋙ S.mapHomologicalComplex (.up ℕ) := |
| 27 | Semilattice.DiagonalCone.SemilatticeDiagonalCone.cone C (ComplexBifunctor.SectionComplexBifunctor.functor S P) h ≫ |
| 28 | (ComplexAssembly.SectionComplexAssembly.iso S P).hom |
| 29 | |
| 30 | theorem cone_app_f (V I : Cᵒᵖ) (n : ℕ) : (((cone C S P h).app V).f n).app I = |
| 31 | ((Semilattice.LocalCone.SemilatticeLocalCone.cone C I.unop |
| 32 | ((ComplexBifunctor.SectionComplexBifunctor.functor S P).obj I) (h I.unop)).app V).f n := by |
| 33 | change (((Semilattice.DiagonalCone.SemilatticeDiagonalCone.cone C (ComplexBifunctor.SectionComplexBifunctor.functor S P) h).app V).f n).app I ≫ 𝟙 _ = _ |
| 34 | exact (Category.comp_id _).trans |
| 35 | (Semilattice.DiagonalCone.SemilatticeDiagonalCone.cone_app_f C (ComplexBifunctor.SectionComplexBifunctor.functor S P) h V I n) |
| 36 | |
| 37 | def evaluationSelfIso (I : C) : |
| 38 | (((evaluation Cᵒᵖ B).obj (op I)).mapHomologicalComplex (.up ℕ)).obj (source C S P) ≅ |
| 39 | (((evaluation Cᵒᵖ B).obj (op I)).mapHomologicalComplex (.up ℕ)).obj |
| 40 | ((S.mapHomologicalComplex (.up ℕ)).obj (P.obj (op I))) := Iso.refl _ |
| 41 | |
| 42 | theorem evaluated_self (I : C) : |
| 43 | (((evaluation Cᵒᵖ B).obj (op I)).mapHomologicalComplex (.up ℕ)).map ((cone C S P h).app (op I)) = |
| 44 | (evaluationSelfIso C S P I).hom := by |
| 45 | ext n : 1 |
| 46 | exact (cone_app_f C S P h (op I) (op I) n).trans |
| 47 | (congrArg (fun a => a.f n) |
| 48 | (Semilattice.LocalCone.SemilatticeLocalCone.self C I ((ComplexBifunctor.SectionComplexBifunctor.functor S P).obj (op I)) (h I))) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Section.DiagonalCone.SectionDiagonalCone |