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.Complex.Adjunction |
| 2 | |
| 3 | /-! # Adjunction Complex Uniqueness -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.AdjunctionComplexUniqueness |
| 6 | |
| 7 | section |
| 8 | |
| 9 | /-! Explicit normalization of comparison squares under the actual adjunctions. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | |
| 13 | variable {C D E : Type*} [Category* C] [Category* D] [Category* E] |
| 14 | {F : C ⥤ D} {G : D ⥤ C} {H : D ⥤ E} {I : E ⥤ D} |
| 15 | |
| 16 | theorem comp_homEquiv_map_comp (a : F ⊣ G) (b : H ⊣ I) |
| 17 | {X : C} {Y : D} {Z : E} (f : F.obj X ⟶ Y) (g : H.obj Y ⟶ Z) : |
| 18 | (a.comp b).homEquiv X Z (H.map f ≫ g) = |
| 19 | a.homEquiv X Y f ≫ G.map (b.homEquiv Y Z g) := by |
| 20 | rw [Adjunction.comp_homEquiv] |
| 21 | change a.homEquiv X (I.obj Z) (b.homEquiv (F.obj X) Z (H.map f ≫ g)) = _ |
| 22 | rw [b.homEquiv_naturality_left f g, a.homEquiv_naturality_right] |
| 23 | |
| 24 | theorem leftAdjointUniq_homEquiv {F' : C ⥤ D} (a : F ⊣ G) (b : F' ⊣ G) |
| 25 | {X : C} {Y : D} (g : F'.obj X ⟶ Y) : |
| 26 | a.homEquiv X Y ((a.leftAdjointUniq b).hom.app X ≫ g) = b.homEquiv X Y g := by |
| 27 | rw [a.homEquiv_naturality_right, Adjunction.homEquiv_leftAdjointUniq_hom_app, |
| 28 | b.homEquiv_unit] |
| 29 | |
| 30 | theorem leftAdjointUniq_inv_homEquiv {F' : C ⥤ D} (a : F ⊣ G) (b : F' ⊣ G) |
| 31 | {X : C} {Y : D} (g : F.obj X ⟶ Y) : |
| 32 | b.homEquiv X Y ((a.leftAdjointUniq b).inv.app X ≫ g) = a.homEquiv X Y g := |
| 33 | leftAdjointUniq_homEquiv b a g |
| 34 | |
| 35 | end |
| 36 | |
| 37 | /-! The canonical adjunction comparison on complexes is degreewise the sheaf comparison. -/ |
| 38 | |
| 39 | open _root_.CategoryTheory |
| 40 | |
| 41 | variable {C D E : Type*} [Category* C] [Category* D] [Category* E] |
| 42 | [Preadditive C] [Preadditive D] [Preadditive E] |
| 43 | {F F' : C ⥤ D} {G : D ⥤ C} {H : D ⥤ E} {I : E ⥤ D} |
| 44 | [F.Additive] [F'.Additive] [G.Additive] [H.Additive] [I.Additive] |
| 45 | {ι : Type*} (c : ComplexShape ι) |
| 46 | |
| 47 | theorem onComplexes_comp (a : F ⊣ G) (b : H ⊣ I) : |
| 48 | Complex.Adjunction.onComplexes (a.comp b) c = |
| 49 | (Complex.Adjunction.onComplexes a c).comp (Complex.Adjunction.onComplexes b c) := by |
| 50 | apply Adjunction.ext |
| 51 | apply NatTrans.ext |
| 52 | funext K |
| 53 | apply HomologicalComplex.Hom.ext |
| 54 | funext i |
| 55 | change (a.comp b).unit.app (K.X i) = |
| 56 | (((Complex.Adjunction.onComplexes a c).comp (Complex.Adjunction.onComplexes b c)).unit.app K).f i |
| 57 | rw [Adjunction.comp_unit_app, Adjunction.comp_unit_app] |
| 58 | rfl |
| 59 | |
| 60 | theorem onComplexes_leftAdjointUniq (a : F ⊣ G) (b : F' ⊣ G) |
| 61 | (K : HomologicalComplex C c) : |
| 62 | ((Complex.Adjunction.onComplexes a c).leftAdjointUniq |
| 63 | (Complex.Adjunction.onComplexes b c)).hom.app K = |
| 64 | (NatTrans.mapHomologicalComplex (a.leftAdjointUniq b).hom c).app K := by |
| 65 | let ac := Complex.Adjunction.onComplexes a c |
| 66 | let bc := Complex.Adjunction.onComplexes b c |
| 67 | apply (ac.homEquiv K ((F'.mapHomologicalComplex c).obj K)).injective |
| 68 | erw [Adjunction.homEquiv_leftAdjointUniq_hom_app ac bc K] |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.Comparison.Betti.AdjunctionComplexUniqueness |