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 Mathlib.CategoryTheory.NatIso |
| 2 | |
| 3 | /-! # Gluing Transport -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.GluingTransport |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Transport of gluing across a natural comparison |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | variable {C D E F : Type*} [Category C] [Category D] [Category E] [Category F] |
| 16 | |
| 17 | /-- Naturality expressed as conjugation by a natural isomorphism. -/ |
| 18 | theorem naturality_conjugate {Q H : C ⥤ D} (η : Q ≅ H) {X Y : C} (a : X ⟶ Y) : |
| 19 | H.map a = η.inv.app X ≫ Q.map a ≫ η.hom.app Y := by |
| 20 | apply (cancel_mono (η.inv.app Y)).mp |
| 21 | simp only [Category.assoc, Iso.hom_inv_id_app, Category.comp_id] |
| 22 | exact η.inv.naturality a |
| 23 | |
| 24 | /-- A natural comparison carries a map between presented objects to the conjugated geometric map. -/ |
| 25 | theorem transfer (Q : C ⥤ D) (H : C ⥤ E) (G : D ⥤ F) (J : E ⥤ F) |
| 26 | (η : Q ⋙ G ≅ H ⋙ J) {X Y : C} {U V : E} {A B : D} |
| 27 | (c₁ : U ≅ H.obj X) (c₂ : V ≅ H.obj Y) |
| 28 | (e₁ : Q.obj X ≅ A) (e₂ : Q.obj Y ≅ B) |
| 29 | (a : X ⟶ Y) (b : A ⟶ B) (h : Q.map a = e₁.hom ≫ b ≫ e₂.inv) : |
| 30 | J.map (c₁.hom ≫ H.map a ≫ c₂.inv) = |
| 31 | (J.mapIso c₁ ≪≫ (η.app X).symm ≪≫ G.mapIso e₁).hom ≫ G.map b ≫ |
| 32 | (J.mapIso c₂ ≪≫ (η.app Y).symm ≪≫ G.mapIso e₂).inv := by |
| 33 | rw [J.map_comp, J.map_comp] |
| 34 | have hn := naturality_conjugate η a |
| 35 | change J.map (H.map a) = η.inv.app X ≫ G.map (Q.map a) ≫ η.hom.app Y at hn |
| 36 | rw [hn, h] |
| 37 | simp only [Iso.trans_hom, Iso.trans_inv, Iso.symm_hom, Iso.symm_inv, |
| 38 | Iso.app_hom, Iso.app_inv, Functor.mapIso_hom, Functor.mapIso_inv, |
| 39 | G.map_comp, Category.assoc] |
| 40 | |
| 41 | /-- Compatibility with composition determines the total comparison isomorphism. -/ |
| 42 | theorem comparison (J : C ⥤ D) (G : E ⥤ D) {U V : C} {A B : E} {W : D} |
| 43 | (c : U ≅ V) (η : G.obj A ≅ J.obj V) (e : A ≅ B) |
| 44 | (d : J.obj U ≅ W) (b : G.obj B ≅ W) |
| 45 | (h : J.map c.inv ≫ d.hom = η.inv ≫ G.map e.hom ≫ b.hom) : |
| 46 | J.mapIso c ≪≫ η.symm ≪≫ G.mapIso e = d ≪≫ b.symm := by |
| 47 | apply Iso.ext |
| 48 | apply (cancel_mono b.hom).mp |
| 49 | simp only [Iso.trans_hom, Iso.symm_hom, Functor.mapIso_hom, Category.assoc, |
| 50 | Iso.inv_hom_id, Category.comp_id] |
| 51 | rw [← h, ← Category.assoc, ← J.map_comp, c.hom_inv_id, J.map_id, Category.id_comp] |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.GluingTransport |