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 OAI.AlgebraicGeometry.Isogenies.NeighborCounting.AmbientKernelFactors |
| 2 | |
| 3 | /-! # Composite Kernel Square -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CompositeKernelSquare |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Transfer an all-test composite kernel calculation through a proved |
| 10 | commuting square, before substituting the full native PEL constructions. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj |
| 14 | |
| 15 | theorem composite_kernel_iff_of_square {S : Scheme} {A B F C T : Over S} [GrpObj C] |
| 16 | (u : A ⟶ F) (c : F ⟶ B) (f : A ⟶ B) (g : B ⟶ C) (hs : u ≫ c = f) |
| 17 | (fg : A ⟶ C) (hfg : fg = f ≫ g) (a : T ⟶ A) (P : Prop) |
| 18 | (hp : a ≫ u ≫ c ≫ g = 1 ↔ P) : a ≫ fg = 1 ↔ P := by |
| 19 | have he := hfg.trans ((congrArg (fun v => v ≫ g) hs.symm).trans (Category.assoc _ _ _)) |
| 20 | exact (Iff.of_eq (congrArg (fun v => a ≫ v = 1) he)).trans hp |
| 21 | |
| 22 | end |
| 23 | |
| 24 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CompositeKernelSquare |