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.IteratedBaseChangeNaturality |
| 2 | |
| 3 | /-! # Inclusion Squares -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.InclusionSquares |
| 6 | |
| 7 | /-! Compose the actual inclusion squares through base change and |
| 8 | inverse block isomorphisms. -/ |
| 9 | |
| 10 | open _root_.CategoryTheory |
| 11 | |
| 12 | theorem map_inverse_inclusion {C D : Type*} [Category C] [Category D] |
| 13 | (F : C ⥤ D) {X Y A : C} (e : X ≅ Y) (i : Y ⟶ A) (j : X ⟶ A) |
| 14 | (h : e.hom ≫ i = j) : F.map e.inv ≫ F.map j = F.map i := by |
| 15 | rw [← F.map_comp, ← h, Iso.inv_hom_id_assoc] |
| 16 | |
| 17 | theorem three_iso_inclusion {C : Type*} [Category C] |
| 18 | {X₀ X₁ X₂ X₃ A₀ A₁ A₂ : C} |
| 19 | (e₀ : X₀ ≅ X₁) (e₁ : X₁ ≅ X₂) (e₂ : X₂ ≅ X₃) |
| 20 | (a : A₀ ≅ A₁) (b : A₁ ≅ A₂) |
| 21 | (i₀ : X₀ ⟶ A₀) (i₁ : X₁ ⟶ A₀) (i₂ : X₂ ⟶ A₁) (i₃ : X₃ ⟶ A₂) |
| 22 | (h₀ : e₀.hom ≫ i₁ = i₀) (h₁ : e₁.hom ≫ i₂ = i₁ ≫ a.hom) |
| 23 | (h₂ : e₂.hom ≫ i₃ = i₂ ≫ b.hom) : |
| 24 | (e₀ ≪≫ e₁ ≪≫ e₂).hom ≫ i₃ = i₀ ≫ (a ≪≫ b).hom := by |
| 25 | change (e₀.hom ≫ (e₁.hom ≫ e₂.hom)) ≫ i₃ = i₀ ≫ (a.hom ≫ b.hom) |
| 26 | rw [Category.assoc, Category.assoc, h₂, ← Category.assoc e₁.hom, h₁, |
| 27 | ← Category.assoc, ← Category.assoc e₀.hom, h₀, Category.assoc] |
| 28 | |
| 29 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.InclusionSquares |