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.Functor.Basic |
| 2 | |
| 3 | /-! # Square Congr -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Functor.SquareCongr.FunctorSquareCongr |
| 6 | |
| 7 | /-! Transport a functorial square through four specified morphism equalities. -/ |
| 8 | |
| 9 | open _root_.CategoryTheory |
| 10 | |
| 11 | variable {C D : Type*} [Category* C] [Category* D] (F : C ⥤ D) |
| 12 | {P Q : C} {M N : D} (a a' : P ⟶ Q) (b b' : M ⟶ N) |
| 13 | (c c' : F.obj P ⟶ M) (d d' : F.obj Q ⟶ N) |
| 14 | |
| 15 | theorem square (ha : a = a') (hb : b = b') (hc : c = c') (hd : d = d') |
| 16 | (h : F.map a' ≫ d' = c' ≫ b') : F.map a ≫ d = c ≫ b := |
| 17 | (congrArg₂ (fun x y => F.map x ≫ y) ha hd).trans |
| 18 | (h.trans (congrArg₂ (fun x y => x ≫ y) hc hb).symm) |
| 19 | |
| 20 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Functor.SquareCongr.FunctorSquareCongr |