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.ComplexAssemblyQuasi |
| 2 | import Mathlib.Algebra.Homology.Single |
| 3 | |
| 4 | /-! # Single Complex -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.SingleComplex.SingleComplexAssembly |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # Assembly commutes with complexes concentrated in a single degree -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Limits |
| 13 | |
| 14 | universe u v w z |
| 15 | |
| 16 | variable {C : Type u} [Category.{v} C] {V : Type w} [Category.{z} V] |
| 17 | [Preadditive V] [HasZeroObject V] (F : C ⥤ V) |
| 18 | |
| 19 | local notation "c" => ComplexShape.up ℕ |
| 20 | local notation "S" => CochainComplex.single₀ V |
| 21 | local notation "K" => OAI.AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex c (F ⋙ S) |
| 22 | local notation "L" => Functor.obj (CochainComplex.single₀ (C ⥤ V)) F |
| 23 | |
| 24 | def degreeZeroIso : (K).X 0 ≅ F := |
| 25 | Functor.associator F S (HomologicalComplex.eval V c 0) ≪≫ |
| 26 | Functor.isoWhiskerLeft F (HomologicalComplex.singleCompEvalIsoSelf V c 0) ≪≫ |
| 27 | Functor.rightUnitor F |
| 28 | |
| 29 | def componentIso (n : ℕ) : (K).X n ≅ (L).X n := by |
| 30 | by_cases hn : n = 0 |
| 31 | · subst n |
| 32 | exact degreeZeroIso F ≪≫ (HomologicalComplex.singleObjXSelf c 0 F).symm |
| 33 | · exact (Functor.isZero ((K).X n) |
| 34 | (fun t => HomologicalComplex.isZero_single_obj_X c 0 (F.obj t) n hn)).iso |
| 35 | (HomologicalComplex.isZero_single_obj_X c 0 F n hn) |
| 36 | |
| 37 | def iso : K ≅ L := |
| 38 | HomologicalComplex.Hom.isoOfComponents (componentIso F) (by |
| 39 | intro i j _ |
| 40 | have hK : (K).d i j = 0 := by |
| 41 | apply NatTrans.ext |
| 42 | funext t |
| 43 | exact HomologicalComplex.single_obj_d c 0 (F.obj t) i j |
| 44 | simp only [hK, HomologicalComplex.single_obj_d, comp_zero, zero_comp]) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.SingleComplex.SingleComplexAssembly |