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.Monoidal.Braided.Basic |
| 2 | |
| 3 | /-! # Tensor Power Cancellation -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.TensorPowerCancellation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Cancellation of recursively formed tensor powers of inverse objects. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory MonoidalCategory |
| 12 | universe u v |
| 13 | variable {C : Type u} [Category.{v} C] [MonoidalCategory C] [BraidedCategory C] |
| 14 | |
| 15 | def tensorSwapMiddleIso (A B D E : C) : |
| 16 | (A ⊗ B) ⊗ (D ⊗ E) ≅ (A ⊗ D) ⊗ (B ⊗ E) where |
| 17 | hom := tensorμ A B D E |
| 18 | inv := tensorδ A B D E |
| 19 | hom_inv_id := tensorμ_tensorδ A B D E |
| 20 | inv_hom_id := tensorδ_tensorμ A B D E |
| 21 | |
| 22 | def pairedTensorPowersIso (M N : C) (e : M ⊗ N ≅ 𝟙_ C) |
| 23 | (P Q : ℕ → C) (p0 : P 0 ≅ 𝟙_ C) (q0 : Q 0 ≅ 𝟙_ C) |
| 24 | (ps : ∀ n, P (n + 1) ≅ P n ⊗ M) |
| 25 | (qs : ∀ n, Q (n + 1) ≅ Q n ⊗ N) : ∀ n, P n ⊗ Q n ≅ 𝟙_ C |
| 26 | | 0 => (p0 ⊗ᵢ q0) ≪≫ λ_ (𝟙_ C) |
| 27 | | n + 1 => (ps n ⊗ᵢ qs n) ≪≫ tensorSwapMiddleIso (P n) M (Q n) N ≪≫ |
| 28 | (pairedTensorPowersIso M N e P Q p0 q0 ps qs n ⊗ᵢ e) ≪≫ λ_ (𝟙_ C) |
| 29 | |
| 30 | theorem pairedTensorPowersIso_succ_hom (M N : C) (e : M ⊗ N ≅ 𝟙_ C) |
| 31 | (P Q : ℕ → C) (p0 : P 0 ≅ 𝟙_ C) (q0 : Q 0 ≅ 𝟙_ C) |
| 32 | (ps : ∀ n, P (n + 1) ≅ P n ⊗ M) |
| 33 | (qs : ∀ n, Q (n + 1) ≅ Q n ⊗ N) (n : ℕ) : |
| 34 | (TensorPowerCancellation.pairedTensorPowersIso M N e P Q p0 q0 ps qs (n + 1)).hom = |
| 35 | ((ps n).hom ⊗ₘ (qs n).hom) ≫ tensorμ (P n) M (Q n) N ≫ |
| 36 | ((TensorPowerCancellation.pairedTensorPowersIso M N e P Q p0 q0 ps qs n).hom ⊗ₘ e.hom) ≫ |
| 37 | (λ_ (𝟙_ C)).hom := rfl |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.TensorPowerCancellation |