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.Section.DiagonalCone |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Section.ComplexBifunctorChange |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Semilattice.DiagonalConeNaturality |
| 4 | |
| 5 | /-! # Diagonal Cone Change -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Section.DiagonalConeChange.SectionDiagonalConeChange |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Canonical section diagonal cones commute with an actual section |
| 12 | restriction and an augmented coefficient-complex diagram map. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 15 | |
| 16 | universe u v w v' w' z t |
| 17 | variable (C : Type u) [SemilatticeInf C] |
| 18 | {A : Type v} [Category.{w} A] [Preadditive A] |
| 19 | {A' : Type v'} [Category.{w'} A'] [Preadditive A'] |
| 20 | {B : Type z} [Category.{t} B] [Preadditive B] |
| 21 | (T : A ⥤ A') [T.Additive] (S : A ⥤ Cᵒᵖ ⥤ B) [S.Additive] |
| 22 | (S' : A' ⥤ Cᵒᵖ ⥤ B) [S'.Additive] |
| 23 | (P : Cᵒᵖ ⥤ CochainComplex A ℕ) (Q : Cᵒᵖ ⥤ CochainComplex A' ℕ) |
| 24 | (a : P ⋙ T.mapHomologicalComplex (.up ℕ) ⟶ Q) (b : S ⟶ T ⋙ S') |
| 25 | |
| 26 | local notation "rowsP" => OAI.NumberTheory.PadicHodge.GeometricComparison.Section.ComplexBifunctor.SectionComplexBifunctor.functor S P |
| 27 | local notation "rowsQ" => OAI.NumberTheory.PadicHodge.GeometricComparison.Section.ComplexBifunctor.SectionComplexBifunctor.functor S' Q |
| 28 | local notation "rowsMap" => OAI.NumberTheory.PadicHodge.GeometricComparison.Section.ComplexBifunctorChange.SectionComplexBifunctorChange.rows T S S' P Q a b |
| 29 | local notation "complexesMap" => OAI.NumberTheory.PadicHodge.GeometricComparison.Section.ComplexBifunctorChange.SectionComplexBifunctorChange.complexes T S S' P Q a b |
| 30 | |
| 31 | def diagonalMap : DiagonalCone.SectionDiagonalCone.source C S P ⟶ DiagonalCone.SectionDiagonalCone.source C S' Q := |
| 32 | Semilattice.DiagonalConeNaturality.SemilatticeDiagonalConeNaturality.diagonalMap C rowsP rowsQ rowsMap |
| 33 | |
| 34 | theorem assembly_natural : Semilattice.DiagonalConeNaturality.SemilatticeDiagonalConeNaturality.diagramMap C rowsP rowsQ rowsMap ≫ |
| 35 | (ComplexAssembly.SectionComplexAssembly.iso S' Q).hom = (ComplexAssembly.SectionComplexAssembly.iso S P).hom ≫ complexesMap := by |
| 36 | apply NatTrans.ext |
| 37 | funext V |
| 38 | apply HomologicalComplex.Hom.ext |
| 39 | funext i |
| 40 | apply NatTrans.ext |
| 41 | funext I |
| 42 | exact (Category.comp_id _).trans (Category.id_comp _).symm |
| 43 | |
| 44 | variable |
| 45 | (hP : ∀ I V : C, IsIso (((ComplexBifunctor.SectionComplexBifunctor.functor S P).obj (op I)).map |
| 46 | (homOfLE (inf_le_left : V ⊓ I ≤ V)).op)) |
| 47 | (hQ : ∀ I V : C, IsIso (((ComplexBifunctor.SectionComplexBifunctor.functor S' Q).obj (op I)).map |
| 48 | (homOfLE (inf_le_left : V ⊓ I ≤ V)).op)) |
| 49 | |
| 50 | theorem cone : DiagonalCone.SectionDiagonalCone.cone C S P hP ≫ complexesMap = |
| 51 | (Functor.const Cᵒᵖ).map (diagonalMap C T S S' P Q a b) ≫ DiagonalCone.SectionDiagonalCone.cone C S' Q hQ := |
| 52 | (Category.assoc _ _ _).trans |
| 53 | ((congrArg (fun q => Semilattice.DiagonalCone.SemilatticeDiagonalCone.cone C rowsP hP ≫ q) |
| 54 | (assembly_natural C T S S' P Q a b).symm).trans |
| 55 | ((Category.assoc _ _ _).symm.trans |
| 56 | ((congrArg (fun q => q ≫ (ComplexAssembly.SectionComplexAssembly.iso S' Q).hom) |
| 57 | (Semilattice.DiagonalConeNaturality.SemilatticeDiagonalConeNaturality.cone C rowsP rowsQ hP hQ rowsMap)).trans |
| 58 | (Category.assoc _ _ _)))) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Section.DiagonalConeChange.SectionDiagonalConeChange |