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.Total |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Finite.CechCoefficientChange |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Finite.TotalComparison |
| 4 | import Mathlib.Algebra.Homology.HomologicalComplexAbelian |
| 5 | |
| 6 | /-! # Total Coefficient -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.CechCone.TotalCoefficient.CechConeTotalCoefficient |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Finite actual Čech totals of complex-valued coefficients commute with |
| 13 | additive functors, including slice restriction and sheafification. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite Simplicial |
| 16 | |
| 17 | universe u v w z w' z' t |
| 18 | variable {C : Type u} [Category.{v} C] [HasBinaryProducts C] |
| 19 | {A : Type w} [Category.{z} A] [Abelian A] [HasProducts.{t} A] [HasCoproducts.{0} A] |
| 20 | {B : Type w'} [Category.{z'} B] [Abelian B] [HasProducts.{t} B] [HasCoproducts.{0} B] |
| 21 | (F : A ⥤ B) [F.Additive] {ι : Type t} [Finite ι] (U : ι → C) |
| 22 | (P : Cᵒᵖ ⥤ CochainComplex A ℕ) |
| 23 | |
| 24 | local instance finiteBiproducts : HasFiniteBiproducts A := HasFiniteBiproducts.of_hasFiniteProducts |
| 25 | |
| 26 | def mapped : Cᵒᵖ ⥤ CochainComplex B ℕ := P ⋙ F.mapHomologicalComplex (.up ℕ) |
| 27 | |
| 28 | theorem finite_indices (n : SimplexCategory) : Finite ((IntegralComparison.NonemptyCechNerve.nerve U).obj (op n)).I := |
| 29 | inferInstanceAs (Finite (Fin (n.len + 1) → ι)) |
| 30 | |
| 31 | def horizontalIso : AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F (Total.CechConeTotal.horizontal U P) ≅ |
| 32 | Total.CechConeTotal.horizontal U (mapped F P) := |
| 33 | GeometricComparison.Finite.CechCoefficientChange.FiniteCechCoefficientChange.complexIso (F.mapHomologicalComplex (.up ℕ)) |
| 34 | (IntegralComparison.NonemptyCechNerve.nerve U) (finite_indices U) P |
| 35 | |
| 36 | def bicomplexIso : AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F (Total.CechConeTotal.bicomplex U P) ≅ |
| 37 | Total.CechConeTotal.bicomplex U (mapped F P) := |
| 38 | (HomologicalComplex₂.flipFunctor B (.up ℕ) (.up ℕ)).mapIso (horizontalIso F U P) |
| 39 | |
| 40 | def totalIso : (F.mapHomologicalComplex (.up ℕ)).obj (Total.CechConeTotal.total U P) ≅ |
| 41 | Total.CechConeTotal.total U (mapped F P) := |
| 42 | (AlgebraicGeometry.Crystalline.Cohomology.Finite.TotalComparison.FiniteTotalComparison.iso F (Total.CechConeTotal.bicomplex U P)).symm ≪≫ |
| 43 | HomologicalComplex₂.total.mapIso (bicomplexIso F U P) (.up ℕ) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.NumberTheory.PadicHodge.GeometricComparison.CechCone.TotalCoefficient.CechConeTotalCoefficient |