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.AdjunctionComplexUniqueness |
| 2 | |
| 3 | /-! # Adjunction Composition -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.AdjunctionComposition |
| 6 | |
| 7 | /-! Coherence of the canonical adjunction isomorphisms used for constant coefficients. -/ |
| 8 | |
| 9 | open _root_.CategoryTheory |
| 10 | |
| 11 | section Associativity |
| 12 | |
| 13 | variable {A B C D : Type*} [Category* A] [Category* B] [Category* C] [Category* D] |
| 14 | {F : A ⥤ B} {G : B ⥤ A} {H : B ⥤ C} {I : C ⥤ B} {J : C ⥤ D} {K : D ⥤ C} |
| 15 | |
| 16 | theorem comp_assoc (a : F ⊣ G) (b : H ⊣ I) (c : J ⊣ K) : |
| 17 | (a.comp b).comp c = a.comp (b.comp c) := by |
| 18 | apply Adjunction.ext |
| 19 | apply NatTrans.ext |
| 20 | funext X |
| 21 | rw [Adjunction.comp_unit_app (a.comp b) c X, Adjunction.comp_unit_app a (b.comp c) X] |
| 22 | change (a.comp b).unit.app X ≫ G.map (I.map (c.unit.app (H.obj (F.obj X)))) = |
| 23 | a.unit.app X ≫ G.map ((b.comp c).unit.app (F.obj X)) |
| 24 | rw [Adjunction.comp_unit_app a b X, Adjunction.comp_unit_app b c (F.obj X), |
| 25 | G.map_comp, Category.assoc] |
| 26 | |
| 27 | end Associativity |
| 28 | |
| 29 | variable {A B C : Type*} [Category* A] [Category* B] [Category* C] |
| 30 | {F F' : A ⥤ B} {G : B ⥤ A} {H H' : B ⥤ C} {I : C ⥤ B} |
| 31 | |
| 32 | theorem leftAdjointUniq_whiskerLeft (a : F ⊣ G) (b : H ⊣ I) (b' : H' ⊣ I) (X : A) : |
| 33 | ((a.comp b).leftAdjointUniq (a.comp b')).hom.app X = |
| 34 | (b.leftAdjointUniq b').hom.app (F.obj X) := by |
| 35 | apply ((a.comp b).homEquiv X (H'.obj (F.obj X))).injective |
| 36 | erw [Adjunction.homEquiv_leftAdjointUniq_hom_app, Adjunction.comp_homEquiv] |
| 37 | change (a.comp b').unit.app X = |
| 38 | a.homEquiv X _ (b.homEquiv (F.obj X) _ ((b.leftAdjointUniq b').hom.app (F.obj X))) |
| 39 | erw [Adjunction.homEquiv_leftAdjointUniq_hom_app, a.homEquiv_unit, Adjunction.comp_unit_app] |
| 40 | |
| 41 | theorem leftAdjointUniq_whiskerRight (a : F ⊣ G) (a' : F' ⊣ G) (b : H ⊣ I) (X : A) : |
| 42 | ((a.comp b).leftAdjointUniq (a'.comp b)).hom.app X = |
| 43 | H.map ((a.leftAdjointUniq a').hom.app X) := by |
| 44 | apply ((a.comp b).homEquiv X (H.obj (F'.obj X))).injective |
| 45 | erw [Adjunction.homEquiv_leftAdjointUniq_hom_app] |
| 46 | have h := AdjunctionComplexUniqueness.comp_homEquiv_map_comp a b ((a.leftAdjointUniq a').hom.app X) (𝟙 (H.obj (F'.obj X))) |
| 47 | erw [Category.comp_id, b.homEquiv_id, Adjunction.homEquiv_leftAdjointUniq_hom_app] at h |
| 48 | exact (Adjunction.comp_unit_app a' b X).trans h.symm |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.Comparison.Betti.AdjunctionComposition |