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 | /-! # Four Naturality Squares -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FourNaturalitySquares |
| 6 | |
| 7 | open _root_.CategoryTheory |
| 8 | |
| 9 | theorem fourNaturalitySquares {C : Type*} [Category C] |
| 10 | {A₀ A₁ A₂ A₃ A₄ B₀ B₁ B₂ B₃ B₄ : C} |
| 11 | (f₁ : A₀ ⟶ A₁) (f₂ : A₁ ⟶ A₂) (f₃ : A₂ ⟶ A₃) (f₄ : A₃ ⟶ A₄) |
| 12 | (g₁ : B₀ ⟶ B₁) (g₂ : B₁ ⟶ B₂) (g₃ : B₂ ⟶ B₃) (g₄ : B₃ ⟶ B₄) |
| 13 | (z₀ : A₀ ⟶ B₀) (z₁ : A₁ ⟶ B₁) (z₂ : A₂ ⟶ B₂) |
| 14 | (z₃ : A₃ ⟶ B₃) (z₄ : A₄ ⟶ B₄) |
| 15 | (h₁ : z₀ ≫ g₁ = f₁ ≫ z₁) (h₂ : z₁ ≫ g₂ = f₂ ≫ z₂) |
| 16 | (h₃ : z₂ ≫ g₃ = f₃ ≫ z₃) (h₄ : z₃ ≫ g₄ = f₄ ≫ z₄) : |
| 17 | z₀ ≫ (g₁ ≫ (g₂ ≫ (g₃ ≫ g₄))) = (f₁ ≫ (f₂ ≫ (f₃ ≫ f₄))) ≫ z₄ := by |
| 18 | rw [← Category.assoc z₀ g₁, h₁, Category.assoc, |
| 19 | ← Category.assoc z₁ g₂, h₂, Category.assoc, |
| 20 | ← Category.assoc z₂ g₃, h₃, Category.assoc, h₄] |
| 21 | simp only [Category.assoc] |
| 22 | |
| 23 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FourNaturalitySquares |