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 | /-! # Nat Iso -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.NatIso.NatIsoSectionSquare |
| 6 | |
| 7 | /-! Transporting a composable section square through a natural isomorphism. -/ |
| 8 | |
| 9 | open _root_.CategoryTheory |
| 10 | |
| 11 | universe u v w z |
| 12 | variable {C : Type u} [Category.{v} C] {D : Type w} [Category.{z} D] |
| 13 | {F G : C ⥤ D} (e : F ≅ G) {X Y : C} (b : X ⟶ Y) |
| 14 | {M N Z : D} (a : M ⟶ N) (r : N ⟶ G.obj X) (c : M ⟶ F.obj X) |
| 15 | (t : M ⟶ Z) (l : Z ⟶ F.obj Y) |
| 16 | |
| 17 | theorem square (h₁ : a ≫ r = c ≫ (e.app X).hom) (h₂ : c ≫ F.map b = t ≫ l) : |
| 18 | a ≫ r ≫ G.map b = t ≫ l ≫ (e.app Y).hom := |
| 19 | (Category.assoc _ _ _).symm.trans |
| 20 | ((congrArg (fun k => k ≫ G.map b) h₁).trans |
| 21 | ((Category.assoc _ _ _).trans |
| 22 | ((congrArg (fun k => c ≫ k) (e.hom.naturality b).symm).trans |
| 23 | ((Category.assoc _ _ _).symm.trans |
| 24 | ((congrArg (fun k => k ≫ (e.app Y).hom) h₂).trans (Category.assoc _ _ _)))))) |
| 25 | |
| 26 | end OAI.NumberTheory.PadicHodge.GeometricComparison.NatIso.NatIsoSectionSquare |