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 | /-! # Refined Global Square -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.RefinedGlobalSquare.RefinedComparisonGlobalSquare |
| 6 | |
| 7 | /-! Refinement-compatible local comparison squares assemble with |
| 8 | the original global crystalline comparison in the common source. -/ |
| 9 | |
| 10 | open _root_.CategoryTheory |
| 11 | |
| 12 | universe u v |
| 13 | variable {C : Type u} [Category.{v} C] |
| 14 | |
| 15 | theorem source {A B D P H : C} (a : A ⟶ B) (r : B ⟶ P) (e : B ⟶ H) |
| 16 | (t : A ⟶ D) (c : D ⟶ P) (h : P ⟶ H) |
| 17 | (hc : a ≫ r = t ≫ c) (hg : r ≫ h = e) : a ≫ e = t ≫ c ≫ h := by |
| 18 | rw [← hg, ← Category.assoc, hc, Category.assoc] |
| 19 | |
| 20 | theorem target {A B D₁ D₂ P₁ P₂ H₁ H₂ : C} |
| 21 | (a : A ⟶ B) (r : B ⟶ P₂) (e : B ⟶ H₂) (g : H₂ ⟶ H₁) |
| 22 | (t : A ⟶ D₂) (c₂ : D₂ ⟶ P₂) (b : P₂ ⟶ P₁) |
| 23 | (d : D₂ ⟶ D₁) (c₁ : D₁ ⟶ P₁) (h : P₁ ⟶ H₁) |
| 24 | (hc : a ≫ r = t ≫ c₂) (hb : c₂ ≫ b = d ≫ c₁) |
| 25 | (hg : r ≫ b ≫ h = e ≫ g) : a ≫ e ≫ g = t ≫ d ≫ c₁ ≫ h := by |
| 26 | rw [← hg, ← Category.assoc a r, hc, Category.assoc t c₂, |
| 27 | ← Category.assoc c₂ b, hb, Category.assoc d c₁] |
| 28 | |
| 29 | end OAI.NumberTheory.PadicHodge.GeometricComparison.RefinedGlobalSquare.RefinedComparisonGlobalSquare |