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.Algebra.Homology.MapExtend |
| 2 | import OAI.Algebra.Homology.StupidTruncation |
| 3 | |
| 4 | /-! # Map Stupid Trunc -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.MapStupidTrunc.HomologicalComplex |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | open _root_.HomologicalComplex |
| 11 | |
| 12 | /-! # Exact functorial mapping of the original filtration truncation |
| 13 | |
| 14 | Applying an additive functor preserves the original truncation by form degree, |
| 15 | including its actual inclusion into the untruncated complex. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory Limits |
| 19 | |
| 20 | variable {C D : Type*} [Category* C] [Category* D] [Preadditive C] [Preadditive D] |
| 21 | [HasZeroObject C] [HasZeroObject D] (F : C ⥤ D) [F.Additive] |
| 22 | {I J : Type*} {c : ComplexShape I} {c' : ComplexShape J} |
| 23 | (K : HomologicalComplex C c') (e : c.Embedding c') [e.IsTruncGE] |
| 24 | |
| 25 | /-- Applying the actual coefficient functor commutes with truncation by degree. -/ |
| 26 | def mapStupidTruncCanonicalIso : |
| 27 | (F.mapHomologicalComplex c').obj (K.stupidTrunc e) ≅ |
| 28 | ((F.mapHomologicalComplex c').obj K).stupidTrunc e := |
| 29 | Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalIso F (K.restriction e) e |
| 30 | |
| 31 | set_option backward.isDefEq.respectTransparency false in |
| 32 | set_option backward.isDefEq.respectTransparency.types false in |
| 33 | /-- This comparison retains precisely the original inclusion of the truncation. -/ |
| 34 | theorem mapStupidTruncCanonicalIso_comp_inclusion : |
| 35 | (mapStupidTruncCanonicalIso F K e).hom ≫ |
| 36 | Algebra.Homology.StupidTruncation.HomologicalComplex.stupidTruncInclusion ((F.mapHomologicalComplex c').obj K) e = |
| 37 | (F.mapHomologicalComplex c').map (Algebra.Homology.StupidTruncation.HomologicalComplex.stupidTruncInclusion K e) := by |
| 38 | ext j |
| 39 | by_cases hj : ∃ i, e.f i = j |
| 40 | · obtain ⟨i, hi⟩ := hj |
| 41 | subst j |
| 42 | rw [comp_f, Functor.mapHomologicalComplex_map_f, |
| 43 | Algebra.Homology.StupidTruncation.HomologicalComplex.stupidTruncInclusion_f _ e rfl, Algebra.Homology.StupidTruncation.HomologicalComplex.stupidTruncInclusion_f _ e rfl] |
| 44 | change (Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalIso F (K.restriction e) e).hom.f (e.f i) ≫ _ = _ |
| 45 | rw [Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalIso_hom_f _ _ _ rfl] |
| 46 | simp only [stupidTruncXIso, Iso.trans_hom, eqToIso_refl, Iso.refl_hom, |
| 47 | CategoryTheory.Category.comp_id] |
| 48 | have hInv : (((F.mapHomologicalComplex c).obj (K.restriction e)).extendXIso e |
| 49 | (i := i) rfl).inv = |
| 50 | ((((F.mapHomologicalComplex c').obj K).restriction e).extendXIso e |
| 51 | (i := i) rfl).inv := rfl |
| 52 | rw [hInv] |
| 53 | simp [CategoryTheory.Category.assoc] |
| 54 | · exact (F.map_isZero (K.isZero_stupidTrunc_X e j (by simpa using hj))).eq_of_src _ _ |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.ComplexMultiplication.MapStupidTrunc.HomologicalComplex |