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 | |
| 3 | /-! # Map Extend Composition -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.MapExtendComposition |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! # The original mapping/extension comparison respects composite functors -/ |
| 10 | |
| 11 | open _root_.CategoryTheory Limits |
| 12 | |
| 13 | variable {C D E : Type*} [Category* C] [Category* D] [Category* E] |
| 14 | [Preadditive C] [Preadditive D] [Preadditive E] |
| 15 | [HasZeroObject C] [HasZeroObject D] [HasZeroObject E] |
| 16 | (F : C ⥤ D) (G : D ⥤ E) [F.Additive] [G.Additive] |
| 17 | {I J : Type*} {c : ComplexShape I} {c' : ComplexShape J} |
| 18 | |
| 19 | set_option backward.defeqAttrib.useBackward true in |
| 20 | set_option backward.isDefEq.respectTransparency false in |
| 21 | /-- The actual canonical comparison for a composite is the composite of the comparisons. -/ |
| 22 | theorem mapExtendCanonicalIso_comp (K : HomologicalComplex C c) (e : c.Embedding c') : |
| 23 | (Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalIso (F ⋙ G) K e).hom = |
| 24 | (G.mapHomologicalComplex c').map |
| 25 | (Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalIso F K e).hom ≫ |
| 26 | (Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalIso G ((F.mapHomologicalComplex c).obj K) e).hom := by |
| 27 | refine HomologicalComplex.hom_ext _ _ (fun j ↦ ?_) |
| 28 | change (Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalXIso (F ⋙ G) K (e.r j)).hom = |
| 29 | G.map (Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalXIso F K (e.r j)).hom ≫ |
| 30 | (Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalXIso G ((F.mapHomologicalComplex c).obj K) |
| 31 | (e.r j)).hom |
| 32 | generalize e.r j = a |
| 33 | cases a with |
| 34 | | none => exact ((F ⋙ G).map_isZero (Limits.isZero_zero C)).eq_of_src _ _ |
| 35 | | some i => simp [Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalXIso] |
| 36 | |
| 37 | set_option backward.defeqAttrib.useBackward true in |
| 38 | set_option backward.isDefEq.respectTransparency false in |
| 39 | /-- A natural transformation followed by an actual complex map commutes with extension. -/ |
| 40 | theorem mapExtendNaturalComposite (H : C ⥤ E) [H.Additive] (a : H ⟶ F ⋙ G) |
| 41 | (K : HomologicalComplex C c) (L : HomologicalComplex D c) |
| 42 | (p : (F.mapHomologicalComplex c).obj K ⟶ L) (e : c.Embedding c') : |
| 43 | (a.mapHomologicalComplex c').app (K.extend e) ≫ |
| 44 | (G.mapHomologicalComplex c').map |
| 45 | ((Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalIso F K e).hom ≫ |
| 46 | HomologicalComplex.extendMap p e) ≫ |
| 47 | (Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalIso G L e).hom = |
| 48 | (Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalIso H K e).hom ≫ |
| 49 | HomologicalComplex.extendMap |
| 50 | ((a.mapHomologicalComplex c).app K ≫ (G.mapHomologicalComplex c).map p) e := by |
| 51 | calc |
| 52 | _ = (a.mapHomologicalComplex c').app (K.extend e) ≫ |
| 53 | (G.mapHomologicalComplex c').map |
| 54 | (Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalIso F K e).hom ≫ |
| 55 | ((G.mapHomologicalComplex c').map (HomologicalComplex.extendMap p e) ≫ |
| 56 | (Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalIso G L e).hom) := by |
| 57 | rw [Functor.map_comp] |
| 58 | simp only [Category.assoc] |
| 59 | _ = (a.mapHomologicalComplex c').app (K.extend e) ≫ |
| 60 | (G.mapHomologicalComplex c').map |
| 61 | (Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalIso F K e).hom ≫ |
| 62 | ((Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalIso G ((F.mapHomologicalComplex c).obj K) e).hom ≫ |
| 63 | HomologicalComplex.extendMap ((G.mapHomologicalComplex c).map p) e) := by |
| 64 | rw [Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalIso_naturality] |
| 65 | _ = ((a.mapHomologicalComplex c').app (K.extend e) ≫ |
| 66 | (Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalIso (F ⋙ G) K e).hom) ≫ |
| 67 | HomologicalComplex.extendMap ((G.mapHomologicalComplex c).map p) e := by |
| 68 | rw [mapExtendCanonicalIso_comp F G K e] |
| 69 | simp only [Category.assoc] |
| 70 | _ = ((Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalIso H K e).hom ≫ |
| 71 | HomologicalComplex.extendMap ((a.mapHomologicalComplex c).app K) e) ≫ |
| 72 | HomologicalComplex.extendMap ((G.mapHomologicalComplex c).map p) e := by |
| 73 | rw [Algebra.Homology.MapExtend.HomologicalComplex.mapExtendCanonicalIso_natTrans] |
| 74 | _ = _ := by rw [Category.assoc, ← HomologicalComplex.extendMap_comp] |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.ComplexMultiplication.MapExtendComposition |