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 | |
| 3 | /-! # Complex Assembly Trans -/ |
| 4 | |
| 5 | namespace OAI |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyTrans.ComplexAssemblyTransport |
| 10 | |
| 11 | /-! # Assembly commutes with restriction of objects and change of coefficients -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | variable {C D V W : Type*} [Category C] [Category D] [Category V] [Category W] |
| 16 | [HasZeroMorphisms V] [HasZeroMorphisms W] |
| 17 | (F : C ⥤ D) (R : V ⥤ W) [R.PreservesZeroMorphisms] |
| 18 | |
| 19 | def transport : (D ⥤ V) ⥤ (C ⥤ W) := |
| 20 | (Functor.whiskeringLeft C D V).obj F ⋙ (Functor.whiskeringRight C V W).obj R |
| 21 | |
| 22 | instance transport_preservesZeroMorphisms : (transport F R).PreservesZeroMorphisms where |
| 23 | map_zero _ _ := by |
| 24 | apply NatTrans.ext |
| 25 | funext c |
| 26 | exact R.map_zero _ _ |
| 27 | |
| 28 | def iso {ι : Type*} (c : ComplexShape ι) (K : D ⥤ HomologicalComplex V c) : |
| 29 | ((transport F R).mapHomologicalComplex c).obj (ComplexAssemblyQuasi.ComplexAssembly.complex c K) ≅ |
| 30 | ComplexAssemblyQuasi.ComplexAssembly.complex c (F ⋙ K ⋙ R.mapHomologicalComplex c) := |
| 31 | Iso.refl _ |
| 32 | |
| 33 | theorem iso_trans_component {ι : Type*} (c : ComplexShape ι) |
| 34 | (K : D ⥤ HomologicalComplex V c) (K' : C ⥤ HomologicalComplex W c) |
| 35 | (e : F ⋙ K ⋙ R.mapHomologicalComplex c ≅ K') (i : ι) (x : C) : |
| 36 | (((iso F R c K ≪≫ (ComplexAssemblyQuasi.ComplexAssembly.functor c).mapIso e).hom.f i).app x) = |
| 37 | (e.hom.app x).f i := by |
| 38 | change 𝟙 _ ≫ (e.hom.app x).f i = (e.hom.app x).f i |
| 39 | exact Category.id_comp _ |
| 40 | |
| 41 | end AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyTrans.ComplexAssemblyTransport |
| 42 | |
| 43 | namespace AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyTrans.ComplexAssemblyConjugation |
| 44 | |
| 45 | /-! # Components of a conjugated complex map after object and coefficient restriction -/ |
| 46 | |
| 47 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 48 | |
| 49 | variable {C D V W : Type*} [Category C] [Category D] [Category V] [Category W] |
| 50 | [HasZeroMorphisms V] [HasZeroMorphisms W] |
| 51 | (F : C ⥤ D) (R : V ⥤ W) [R.PreservesZeroMorphisms] |
| 52 | {ι : Type*} (c : ComplexShape ι) |
| 53 | {K K' : HomologicalComplex (D ⥤ V) c} |
| 54 | {L L' : HomologicalComplex (C ⥤ W) c} |
| 55 | (a : K ≅ K') |
| 56 | (b : ((ComplexAssemblyTransport.transport F R).mapHomologicalComplex c).obj K' ≅ L') |
| 57 | (d : L ≅ L') |
| 58 | |
| 59 | theorem component (j : ι) (Q : C) : |
| 60 | (((((ComplexAssemblyTransport.transport F R).mapHomologicalComplex c).mapIso a ≪≫ b ≪≫ d.symm).hom.f j).app Q) = |
| 61 | R.map ((a.hom.f j).app (F.obj Q)) ≫ (b.hom.f j).app Q ≫ (d.inv.f j).app Q := rfl |
| 62 | |
| 63 | end AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyTrans.ComplexAssemblyConjugation |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI |