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.TensorProduct.Map |
| 2 | |
| 3 | /-! # Comparison Bijectivity -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.ComparisonBijectivity |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A commuting square on pure tensors transports bijectivity through a source linear equivalence and a target additive equivalence. -/ |
| 10 | |
| 11 | universe u |
| 12 | |
| 13 | theorem tensorComparison_bijective_of_pure_square |
| 14 | {R B V V' W W' : Type u} [CommRing R] |
| 15 | [AddCommGroup B] [Module R B] [AddCommGroup V] [Module R V] [AddCommGroup V'] [Module R V'] |
| 16 | [AddCommGroup W] [Module R W] [AddCommGroup W'] [Module R W'] |
| 17 | (F : TensorProduct R B V →ₗ[R] W) (G : TensorProduct R B V' →ₗ[R] W') |
| 18 | (e : V ≃ₗ[R] V') (ψ : W' →+ W) (hψ : Function.Bijective ψ) (hG : Function.Bijective G) |
| 19 | (h : ∀ (b : B) (v : V), ψ (G (b ⊗ₜ[R] e v)) = F (b ⊗ₜ[R] v)) : Function.Bijective F := by |
| 20 | let E := TensorProduct.congr (LinearEquiv.refl R B) e |
| 21 | have hh : (F : TensorProduct R B V → W) = fun z => ψ (G (E z)) := by |
| 22 | funext z |
| 23 | induction z using TensorProduct.inductionOn with |
| 24 | | add x y hx hy => simp only [map_add, hx, hy] |
| 25 | | tmul b v => |
| 26 | simpa only [E, TensorProduct.congr_tmul, LinearEquiv.refl_apply] using (h b v).symm |
| 27 | rw [hh] |
| 28 | exact hψ.comp (hG.comp E.bijective) |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.ComparisonBijectivity |