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.CechCone.CoefficientComposition |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechCone.CoefficientTransformation |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechCone.TotalLevelMap |
| 4 | |
| 5 | /-! # Total Functor Square -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.CechCone.TotalFunctorSquare.CechConeTotalFunctorSquare |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A square of additive coefficient functors and complex diagrams |
| 12 | commutes with the original finite Cech total coefficient isomorphisms. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | /-- The coefficient square on any indexing category, before taking a Čech total. -/ |
| 17 | def diagramMapDirect {I : Type*} [Category I] |
| 18 | {A : Type*} [Category A] [Preadditive A] |
| 19 | {B : Type*} [Category B] [Preadditive B] |
| 20 | {D : Type*} [Category D] [Preadditive D] |
| 21 | (T : A ⥤ B) [T.Additive] (S : A ⥤ D) [S.Additive] |
| 22 | (S' : B ⥤ D) [S'.Additive] |
| 23 | (P : I ⥤ CochainComplex A ℕ) (Q : I ⥤ CochainComplex B ℕ) |
| 24 | (a : P ⋙ T.mapHomologicalComplex (.up ℕ) ⟶ Q) (b : S ⟶ T ⋙ S') : |
| 25 | P ⋙ S.mapHomologicalComplex (.up ℕ) ⟶ Q ⋙ S'.mapHomologicalComplex (.up ℕ) := |
| 26 | Functor.whiskerLeft P (b.mapHomologicalComplex (.up ℕ)) ≫ |
| 27 | Functor.whiskerRight a (S'.mapHomologicalComplex (.up ℕ)) |
| 28 | |
| 29 | universe u v w z w' z' w'' z'' |
| 30 | variable {C : Type u} [Category.{v} C] [HasBinaryProducts C] |
| 31 | {A : Type w} [Category.{z} A] [Abelian A] [HasProducts.{0} A] [HasCoproducts.{0} A] |
| 32 | {B : Type w'} [Category.{z'} B] [Abelian B] [HasProducts.{0} B] [HasCoproducts.{0} B] |
| 33 | {D : Type w''} [Category.{z''} D] [Abelian D] [HasProducts.{0} D] [HasCoproducts.{0} D] |
| 34 | (T : A ⥤ B) [T.Additive] (S : A ⥤ D) [S.Additive] (S' : B ⥤ D) [S'.Additive] |
| 35 | {ι : Type} [Finite ι] (U : ι → C) |
| 36 | (P : Cᵒᵖ ⥤ CochainComplex A ℕ) (Q : Cᵒᵖ ⥤ CochainComplex B ℕ) |
| 37 | (a : P ⋙ T.mapHomologicalComplex (.up ℕ) ⟶ Q) (b : S ⟶ T ⋙ S') |
| 38 | |
| 39 | def diagramMap : P ⋙ S.mapHomologicalComplex (.up ℕ) ⟶ Q ⋙ S'.mapHomologicalComplex (.up ℕ) := |
| 40 | diagramMapDirect T S S' P Q a b |
| 41 | |
| 42 | def map : (S.mapHomologicalComplex (.up ℕ)).obj (Total.CechConeTotal.total U P) ⟶ |
| 43 | (S'.mapHomologicalComplex (.up ℕ)).obj (Total.CechConeTotal.total U Q) := |
| 44 | (b.mapHomologicalComplex (.up ℕ)).app (Total.CechConeTotal.total U P) ≫ |
| 45 | (S'.mapHomologicalComplex (.up ℕ)).map (TotalLevelMap.CechConeTotalLevelMap.map T U P Q a) |
| 46 | |
| 47 | theorem natural : CechConeTotalFunctorSquare.map T S S' U P Q a b ≫ (TotalCoefficient.CechConeTotalCoefficient.totalIso S' U Q).hom = |
| 48 | (TotalCoefficient.CechConeTotalCoefficient.totalIso S U P).hom ≫ |
| 49 | (TotalFunctor.CechConeTotalFunctor.functor U).map (diagramMap T S S' P Q a b) := by |
| 50 | let SS := S'.mapHomologicalComplex (.up ℕ) |
| 51 | let CC := TotalFunctor.CechConeTotalFunctor.functor (A := D) U |
| 52 | let a' := Functor.whiskerRight a SS |
| 53 | let b' := Functor.whiskerLeft P (b.mapHomologicalComplex (.up ℕ)) |
| 54 | have hA : SS.map (TotalLevelMap.CechConeTotalLevelMap.map T U P Q a) ≫ |
| 55 | (TotalCoefficient.CechConeTotalCoefficient.totalIso S' U Q).hom = |
| 56 | (TotalCoefficient.CechConeTotalCoefficient.totalIso (T ⋙ S') U P).hom ≫ CC.map a' := by |
| 57 | have hm := SS.map_comp (TotalCoefficient.CechConeTotalCoefficient.totalIso T U P).hom |
| 58 | ((TotalFunctor.CechConeTotalFunctor.functor U).map a) |
| 59 | have hn := CoefficientNaturality.CechConeCoefficientNaturality.total S' U a |
| 60 | have hc := CoefficientComposition.CechConeCoefficientComposition.total T S' U P |
| 61 | exact (congrArg (fun q => q ≫ (TotalCoefficient.CechConeTotalCoefficient.totalIso S' U Q).hom) hm).trans |
| 62 | ((Category.assoc _ _ _).trans |
| 63 | ((congrArg (fun q => SS.map (TotalCoefficient.CechConeTotalCoefficient.totalIso T U P).hom ≫ q) hn).trans |
| 64 | ((Category.assoc _ _ _).symm.trans (congrArg (fun q => q ≫ CC.map a') hc.symm)))) |
| 65 | have hb := CoefficientTransformation.CechConeCoefficientTransformation.total S (T ⋙ S') b U P |
| 66 | exact (Category.assoc _ _ _).trans |
| 67 | ((congrArg (fun q => (b.mapHomologicalComplex (.up ℕ)).app (Total.CechConeTotal.total U P) ≫ q) hA).trans |
| 68 | ((Category.assoc _ _ _).symm.trans |
| 69 | ((congrArg (fun q => q ≫ CC.map a') hb).trans |
| 70 | ((Category.assoc _ _ _).trans |
| 71 | (congrArg (fun q => (TotalCoefficient.CechConeTotalCoefficient.totalIso S U P).hom ≫ q) (CC.map_comp b' a').symm))))) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.NumberTheory.PadicHodge.GeometricComparison.CechCone.TotalFunctorSquare.CechConeTotalFunctorSquare |