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.Adjunction.Unique |
| 2 | |
| 3 | /-! # Change Of Left Adjoint -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ChangeOfLeftAdjoint.MateChange |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Inverse mates respect the canonical isomorphisms between left adjoints of the same right adjoint. -/ |
| 10 | open _root_.CategoryTheory |
| 11 | variable {C D C' D' : Type*} [Category* C] [Category* D] [Category* C'] [Category* D'] |
| 12 | {L L' : C ⥤ D} {R : D ⥤ C} {E E' : C' ⥤ D'} {Q : D' ⥤ C'} |
| 13 | {F : C ⥤ C'} {G : D ⥤ D'} |
| 14 | |
| 15 | def leftMap (a : L ⊣ R) (b : E ⊣ Q) (t : R ⋙ F ⟶ G ⋙ Q) : F ⋙ E ⟶ L ⋙ G := |
| 16 | ((mateEquiv a b).symm (TwoSquare.mk _ _ _ _ t)).natTrans |
| 17 | |
| 18 | theorem normalization (a : L ⊣ R) (b : E ⊣ Q) (t : R ⋙ F ⟶ G ⋙ Q) (X : C) : |
| 19 | b.homEquiv _ _ ((leftMap a b t).app X) = F.map (a.unit.app X) ≫ t.app (L.obj X) := |
| 20 | (unit_mateEquiv_symm a b (TwoSquare.mk _ _ _ _ t) X).symm |
| 21 | |
| 22 | theorem leftAdjointUniq_compatibility (a : L ⊣ R) (a' : L' ⊣ R) |
| 23 | (b : E ⊣ Q) (b' : E' ⊣ Q) (t : R ⋙ F ⟶ G ⋙ Q) (X : C) : |
| 24 | (b.leftAdjointUniq b').hom.app (F.obj X) ≫ (leftMap a' b' t).app X = |
| 25 | (leftMap a b t).app X ≫ G.map ((a.leftAdjointUniq a').hom.app X) := by |
| 26 | apply (b.homEquiv _ _).injective |
| 27 | rw [Adjunction.homEquiv_naturality_right, Adjunction.homEquiv_leftAdjointUniq_hom_app] |
| 28 | change b'.homEquiv _ _ ((leftMap a' b' t).app X) = |
| 29 | b.homEquiv _ _ ((leftMap a b t).app X ≫ G.map ((a.leftAdjointUniq a').hom.app X)) |
| 30 | rw [normalization, Adjunction.homEquiv_naturality_right, normalization] |
| 31 | let α := (a.leftAdjointUniq a').hom.app X |
| 32 | have hn : F.map (R.map α) ≫ t.app (L'.obj X) = t.app (L.obj X) ≫ Q.map (G.map α) := |
| 33 | t.naturality α |
| 34 | calc |
| 35 | F.map (a'.unit.app X) ≫ t.app (L'.obj X) = |
| 36 | F.map (a.unit.app X ≫ R.map α) ≫ t.app (L'.obj X) := |
| 37 | congrArg (fun z => F.map z ≫ t.app (L'.obj X)) |
| 38 | (a.unit_leftAdjointUniq_hom_app a' X).symm |
| 39 | _ = _ := by rw [F.map_comp, Category.assoc, hn, ← Category.assoc] |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ChangeOfLeftAdjoint.MateChange |