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 | /-! # Mapped Square -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.MappedSquare.MappedSquareCoordinates |
| 6 | |
| 7 | /-! A functor carries a commuting square to any checked coordinates |
| 8 | for its four arrows. -/ |
| 9 | |
| 10 | open _root_.CategoryTheory |
| 11 | |
| 12 | variable {C D : Type*} [Category* C] [Category* D] (F : C ⥤ D) |
| 13 | {W X Y Z : C} (a : W ⟶ X) (b : X ⟶ Z) (c : W ⟶ Y) (d : Y ⟶ Z) |
| 14 | (a' : F.obj W ⟶ F.obj X) (b' : F.obj X ⟶ F.obj Z) |
| 15 | (c' : F.obj W ⟶ F.obj Y) (d' : F.obj Y ⟶ F.obj Z) |
| 16 | |
| 17 | theorem square (h : a ≫ b = c ≫ d) |
| 18 | (ha : F.map a = a') (hb : F.map b = b') |
| 19 | (hc : F.map c = c') (hd : F.map d = d') : a' ≫ b' = c' ≫ d' := by |
| 20 | rw [← ha, ← hb, ← hc, ← hd, ← F.map_comp, h, F.map_comp] |
| 21 | |
| 22 | end OAI.NumberTheory.PadicHodge.GeometricComparison.MappedSquare.MappedSquareCoordinates |