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.AlgebraicGeometry.Crystalline.Cohomology.Free.YonedaFunctor |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.CrystallinePrincipal.ProductLift |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.CrystallinePrincipal.Cech |
| 4 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.SheafInjectives |
| 5 | import Mathlib.AlgebraicTopology.AlternatingFaceMapComplex |
| 6 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Products |
| 7 | |
| 8 | /-! # Free Cech -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.FreeCech.CrystallineFreeCech |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! |
| 15 | # Free representable chains on the native principal Čech nerve |
| 16 | |
| 17 | Each actual intersection contributes its free representable presheaf. |
| 18 | The canonical face maps define a chain complex, and exact sheafification |
| 19 | gives its native sheaf complex. Evaluation identifies each term with the |
| 20 | coproduct indexed by tuples and native arrows into their intersections. |
| 21 | -/ |
| 22 | |
| 23 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite Simplicial _root_.AlgebraicTopology |
| 24 | |
| 25 | universe u |
| 26 | |
| 27 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [CharP k p] |
| 28 | (X : Over (Spec (CommRingCat.of k))) (Q : Site.Object p k X) |
| 29 | {ι : Type u} (s : ι → Q.thickening.ring) |
| 30 | |
| 31 | local notation "J" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Site.topology p k X |
| 32 | local notation "V" => OAI.AlgebraicGeometry.Crystalline.Cohomology.SheafInjectives.CrystallineSheafInjectives.Modules p k |
| 33 | local notation "PSh" => (OAI.AlgebraicGeometry.Crystalline.Cohomology.Site.Object p k X)ᵒᵖ ⥤ V |
| 34 | local notation "N" => FormalCoproduct.cech (FormalCoproduct.mk ι (OAI.AlgebraicGeometry.Crystalline.Cohomology.CrystallinePrincipal.Cech.CrystallinePrincipalCech.family s)) |
| 35 | |
| 36 | variable (M : SheafInjectives.CrystallineSheafInjectives.Modules p k) |
| 37 | |
| 38 | def coefficients : PrincipalCoefficient.PrincipalCoefficientCategory.Object Q.thickening.ring ⥤ PSh := |
| 39 | CrystallinePrincipal.Functor.CrystallinePrincipalFunctor.functor p k X Q ⋙ |
| 40 | Free.YonedaFunctor.FreeYonedaFunctor.presheaf (Site.Object p k X) V M |
| 41 | |
| 42 | def simplicial : SimplicialObject PSh := |
| 43 | N ⋙ (FormalCoproduct.eval _ _).obj (coefficients p k X Q M) |
| 44 | |
| 45 | def complex : ChainComplex PSh ℕ := |
| 46 | (alternatingFaceMapComplex PSh).obj (simplicial p k X Q s M) |
| 47 | |
| 48 | def sheafComplex : ChainComplex (Sheaf J V) ℕ := |
| 49 | ((presheafToSheaf J V).mapHomologicalComplex (ComplexShape.down ℕ)).obj (complex p k X Q s M) |
| 50 | |
| 51 | def evaluationIso (T : Site.Object p k X) (n : ℕ) : |
| 52 | ((complex p k X Q s M).X n).obj (op T) ≅ |
| 53 | ∐ (fun t : ((N).obj (op ⦋n⦌)).I => |
| 54 | ∐ (fun (_ : T ⟶ CrystallinePrincipal.Functor.CrystallinePrincipalFunctor.object p k X Q |
| 55 | (((N).obj (op ⦋n⦌)).obj t)) => M)) := |
| 56 | PreservesCoproduct.iso ((CategoryTheory.evaluation _ V).obj (op T)) |
| 57 | (fun t : ((N).obj (op ⦋n⦌)).I => |
| 58 | (coefficients p k X Q M).obj (((N).obj (op ⦋n⦌)).obj t)) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.FreeCech.CrystallineFreeCech |