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.Comparison.Betti.SingleFunctorSquare |
| 2 | |
| 3 | /-! # Single Square -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Derived.SingleSquare |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The derived square on single complexes uses the canonical coefficient maps. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 12 | |
| 13 | universe w₁ w₂ w₃ w₄ u₁ u₂ u₃ u₄ v₁ v₂ v₃ v₄ |
| 14 | |
| 15 | variable {A : Type u₁} [Category.{v₁} A] [Abelian A] [HasDerivedCategory.{w₁} A] |
| 16 | {B : Type u₂} [Category.{v₂} B] [Abelian B] [HasDerivedCategory.{w₂} B] |
| 17 | {C : Type u₃} [Category.{v₃} C] [Abelian C] [HasDerivedCategory.{w₃} C] |
| 18 | {D : Type u₄} [Category.{v₄} D] [Abelian D] [HasDerivedCategory.{w₄} D] |
| 19 | (F : A ⥤ B) (G : B ⥤ D) (H : A ⥤ C) (J : C ⥤ D) |
| 20 | [F.Additive] [G.Additive] [H.Additive] [J.Additive] |
| 21 | [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 22 | [PreservesFiniteLimits G] [PreservesFiniteColimits G] |
| 23 | [PreservesFiniteLimits H] [PreservesFiniteColimits H] |
| 24 | [PreservesFiniteLimits J] [PreservesFiniteColimits J] |
| 25 | |
| 26 | def derivedSingleMap {a : A} {b : B} (f : F.obj a ⟶ b) : |
| 27 | F.mapDerivedCategory.obj ((DerivedCategory.singleFunctor A 0).obj a) ⟶ |
| 28 | (DerivedCategory.singleFunctor B 0).obj b := |
| 29 | (F.mapDerivedCategorySingleFunctor 0).hom.app a ≫ (DerivedCategory.singleFunctor B 0).map f |
| 30 | |
| 31 | theorem derivedSingleMap_square (e : F ⋙ G ≅ H ⋙ J) |
| 32 | {a : A} {b : B} {c : C} {d : D} |
| 33 | (f : F.obj a ⟶ b) (g : G.obj b ⟶ d) (h : H.obj a ⟶ c) (j : J.obj c ⟶ d) |
| 34 | (hs : J.map h ≫ j = e.inv.app a ≫ G.map f ≫ g) : |
| 35 | J.mapDerivedCategory.map (derivedSingleMap H h) ≫ derivedSingleMap J j = |
| 36 | (FunctorSquare.squareIso F G H J e).inv.app ((DerivedCategory.singleFunctor A 0).obj a) ≫ |
| 37 | G.mapDerivedCategory.map (derivedSingleMap F f) ≫ derivedSingleMap G g := by |
| 38 | have hq := ComplexSquare.derivedComplexMap_square F G H J e |
| 39 | (SingleFunctorSquare.Derived.cochainSingleMap F f) (SingleFunctorSquare.Derived.cochainSingleMap G g) (SingleFunctorSquare.Derived.cochainSingleMap H h) (SingleFunctorSquare.Derived.cochainSingleMap J j) |
| 40 | (SingleFunctorSquare.Derived.cochainSingleMap_square F G H J e f g h j hs) |
| 41 | erw [SingleFunctorSquare.Derived.derivedComplexMap_single, SingleFunctorSquare.Derived.derivedComplexMap_single, |
| 42 | SingleFunctorSquare.Derived.derivedComplexMap_single, SingleFunctorSquare.Derived.derivedComplexMap_single] at hq |
| 43 | exact hq |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.Comparison.Betti.Derived.SingleSquare |