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 | /-! # Coefficient Comparison Diagrams -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CoefficientComparisonDiagrams |
| 6 | |
| 7 | /-! Compose the actual coefficient comparison squares without unfolding |
| 8 | their geometric objects. -/ |
| 9 | |
| 10 | open _root_.CategoryTheory |
| 11 | |
| 12 | theorem two_comparison_squares {C : Type*} [Category C] |
| 13 | {A₀ A₁ A₂ B₀ B₁ B₂ : C} |
| 14 | (a : A₀ ⟶ A₁) (b : A₁ ⟶ A₂) (a' : B₀ ⟶ B₁) (b' : B₁ ⟶ B₂) |
| 15 | (u₀ : A₀ ⟶ B₀) (u₁ : A₁ ⟶ B₁) (u₂ : A₂ ⟶ B₂) |
| 16 | (ha : a ≫ u₁ = u₀ ≫ a') (hb : b ≫ u₂ = u₁ ≫ b') : |
| 17 | (a ≫ b) ≫ u₂ = u₀ ≫ a' ≫ b' := by |
| 18 | rw [Category.assoc, hb, ← Category.assoc, ha, Category.assoc] |
| 19 | |
| 20 | theorem three_comparison_squares {C : Type*} [Category C] |
| 21 | {A₀ A₁ A₂ A₃ B₀ B₁ B₂ B₃ : C} |
| 22 | (a : A₀ ⟶ A₁) (b : A₁ ⟶ A₂) (c : A₂ ⟶ A₃) |
| 23 | (a' : B₀ ⟶ B₁) (b' : B₁ ⟶ B₂) (c' : B₂ ⟶ B₃) |
| 24 | (u₀ : A₀ ⟶ B₀) (u₁ : A₁ ⟶ B₁) (u₂ : A₂ ⟶ B₂) (u₃ : A₃ ⟶ B₃) |
| 25 | (ha : a ≫ u₁ = u₀ ≫ a') (hb : b ≫ u₂ = u₁ ≫ b') (hc : c ≫ u₃ = u₂ ≫ c') : |
| 26 | (a ≫ b ≫ c) ≫ u₃ = u₀ ≫ a' ≫ b' ≫ c' := by |
| 27 | rw [Category.assoc, Category.assoc, hc, ← Category.assoc b, hb, |
| 28 | Category.assoc u₁, ← Category.assoc a, ha, Category.assoc] |
| 29 | |
| 30 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CoefficientComparisonDiagrams |