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.LinearAlgebra.Basis.VectorSpace |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Map |
| 3 | |
| 4 | /-! # Mixed Complex Boundary Projection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.MixedComplexBoundaryProjection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A vector-space complex admits a degree-one cochain projection |
| 11 | to its actual cycle quotient. The tensor of two such projections |
| 12 | annihilates the mixed part of every degree-two boundary. -/ |
| 13 | |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | variable {k : Type*} [Field k] |
| 17 | {C₀ C₁ C₂ : Type*} [AddCommGroup C₀] [Module k C₀] |
| 18 | [AddCommGroup C₁] [Module k C₁] [AddCommGroup C₂] [Module k C₂] |
| 19 | |
| 20 | def cycleBoundarySubmodule (d₀ : C₀ →ₗ[k] C₁) (d₁ : C₁ →ₗ[k] C₂) : Submodule k (LinearMap.ker d₁) := |
| 21 | (LinearMap.range d₀).comap (LinearMap.ker d₁).subtype |
| 22 | |
| 23 | def cycleClassProjection (d₀ : C₀ →ₗ[k] C₁) (d₁ : C₁ →ₗ[k] C₂) : |
| 24 | C₁ →ₗ[k] ((LinearMap.ker d₁) ⧸ cycleBoundarySubmodule d₀ d₁) := |
| 25 | Classical.choose ((cycleBoundarySubmodule d₀ d₁).mkQ.exists_extend) |
| 26 | |
| 27 | theorem cycleClassProjection_cycle (d₀ : C₀ →ₗ[k] C₁) (d₁ : C₁ →ₗ[k] C₂) |
| 28 | (x : LinearMap.ker d₁) : |
| 29 | cycleClassProjection d₀ d₁ x = (cycleBoundarySubmodule d₀ d₁).mkQ x := |
| 30 | LinearMap.congr_fun (Classical.choose_spec ((cycleBoundarySubmodule d₀ d₁).mkQ.exists_extend)) x |
| 31 | |
| 32 | theorem cycleClassProjection_boundary (d₀ : C₀ →ₗ[k] C₁) (d₁ : C₁ →ₗ[k] C₂) |
| 33 | (h : d₁.comp d₀ = 0) (x : C₀) : cycleClassProjection d₀ d₁ (d₀ x) = 0 := by |
| 34 | let z : LinearMap.ker d₁ := ⟨d₀ x, LinearMap.congr_fun h x⟩ |
| 35 | exact (cycleClassProjection_cycle d₀ d₁ z).trans |
| 36 | ((Submodule.Quotient.mk_eq_zero _).mpr (show z ∈ cycleBoundarySubmodule d₀ d₁ from ⟨x, rfl⟩)) |
| 37 | |
| 38 | theorem cycleClassProjection_comp (d₀ : C₀ →ₗ[k] C₁) (d₁ : C₁ →ₗ[k] C₂) |
| 39 | (h : d₁.comp d₀ = 0) : (cycleClassProjection d₀ d₁).comp d₀ = 0 := |
| 40 | LinearMap.ext (cycleClassProjection_boundary d₀ d₁ h) |
| 41 | |
| 42 | variable {D₀ D₁ D₂ : Type*} [AddCommGroup D₀] [Module k D₀] |
| 43 | [AddCommGroup D₁] [Module k D₁] [AddCommGroup D₂] [Module k D₂] |
| 44 | |
| 45 | theorem mixedComplexBoundary_projection_zero |
| 46 | (dC₀ : C₀ →ₗ[k] C₁) (dC₁ : C₁ →ₗ[k] C₂) (hC : dC₁.comp dC₀ = 0) |
| 47 | (dD₀ : D₀ →ₗ[k] D₁) (dD₁ : D₁ →ₗ[k] D₂) (hD : dD₁.comp dD₀ = 0) |
| 48 | (a : C₁ ⊗[k] D₀) (b : C₀ ⊗[k] D₁) : |
| 49 | TensorProduct.map (cycleClassProjection dC₀ dC₁) (cycleClassProjection dD₀ dD₁) |
| 50 | (TensorProduct.map LinearMap.id dD₀ a - TensorProduct.map dC₀ LinearMap.id b) = 0 := by |
| 51 | have ha : TensorProduct.map (cycleClassProjection dC₀ dC₁) (cycleClassProjection dD₀ dD₁) |
| 52 | (TensorProduct.map LinearMap.id dD₀ a) = 0 := by |
| 53 | induction a using TensorProduct.inductionOn with |
| 54 | | tmul x y => simp only [TensorProduct.map_tmul, LinearMap.id_apply, |
| 55 | cycleClassProjection_boundary dD₀ dD₁ hD, TensorProduct.tmul_zero] |
| 56 | | add x y hx hy => rw [map_add, map_add, hx, hy, add_zero] |
| 57 | have hb : TensorProduct.map (cycleClassProjection dC₀ dC₁) (cycleClassProjection dD₀ dD₁) |
| 58 | (TensorProduct.map dC₀ LinearMap.id b) = 0 := by |
| 59 | induction b using TensorProduct.inductionOn with |
| 60 | | tmul x y => simp only [TensorProduct.map_tmul, LinearMap.id_apply, |
| 61 | cycleClassProjection_boundary dC₀ dC₁ hC, TensorProduct.zero_tmul] |
| 62 | | add x y hx hy => rw [map_add, map_add, hx, hy, add_zero] |
| 63 | rw [map_sub, ha, hb, sub_zero] |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.MixedComplexBoundaryProjection |