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.Algebra.Homology.Homotopy |
| 2 | |
| 3 | /-! # Homotopy Precomposition -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.HomotopyPrecomposition.HomotopyPrecompositionSquare |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Precomposing a homotopy square with a commuting source square |
| 10 | preserves its comparison homotopy. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | variable {A : Type*} [Category* A] [Preadditive A] |
| 15 | {K L M N P Q : CochainComplex A ℕ} |
| 16 | (a : K ⟶ L) (b : M ⟶ N) (f : L ⟶ P) (g : N ⟶ Q) |
| 17 | (t : P ⟶ Q) (u : K ⟶ M) (v : L ⟶ N) |
| 18 | (h : Homotopy (f ≫ t) (v ≫ g)) (hs : a ≫ v = u ≫ b) |
| 19 | |
| 20 | include hs in |
| 21 | theorem endpoint : a ≫ (v ≫ g) = u ≫ (b ≫ g) := |
| 22 | (Category.assoc _ _ _).symm.trans |
| 23 | ((congrArg (fun q => q ≫ g) hs).trans (Category.assoc _ _ _)) |
| 24 | |
| 25 | def homotopy : Homotopy ((a ≫ f) ≫ t) (u ≫ (b ≫ g)) := |
| 26 | (Homotopy.ofEq (Category.assoc _ _ _)).trans |
| 27 | ((h.compLeft a).trans (Homotopy.ofEq (endpoint a b g u v hs))) |
| 28 | |
| 29 | end |
| 30 | |
| 31 | end OAI.NumberTheory.PadicHodge.GeometricComparison.HomotopyPrecomposition.HomotopyPrecompositionSquare |