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.Category.Basic |
| 2 | |
| 3 | /-! # Composition Square -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.CompositionSquare |
| 6 | |
| 7 | /-! # Composition of an actual commuting square with two further maps -/ |
| 8 | |
| 9 | open _root_.CategoryTheory |
| 10 | |
| 11 | universe u v |
| 12 | variable {C : Type u} [Category.{v} C] |
| 13 | |
| 14 | theorem compositionSquare_postcomp {A B D E F G H : C} |
| 15 | (u : A ⟶ B) (v : B ⟶ D) (w : D ⟶ E) (u' : A ⟶ F) (v' : F ⟶ E) |
| 16 | (b : E ⟶ G) (a : G ⟶ H) (h : u ≫ v ≫ w = u' ≫ v') : |
| 17 | u ≫ (v ≫ w ≫ b) ≫ a = u' ≫ v' ≫ b ≫ a := by |
| 18 | calc |
| 19 | _ = (u ≫ v ≫ w) ≫ b ≫ a := by simp only [Category.assoc] |
| 20 | _ = (u' ≫ v') ≫ b ≫ a := congrArg (fun f => f ≫ b ≫ a) h |
| 21 | _ = _ := by rw [Category.assoc] |
| 22 | |
| 23 | end OAI.AlgebraicGeometry.ComplexMultiplication.CompositionSquare |