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.Contraction |
| 2 | import Mathlib.LinearAlgebra.Dual.Lemmas |
| 3 | |
| 4 | /-! # Projective Tensor Dual -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Finite.ProjectiveTensorDual.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Tensoring a finite projective module is represented by linear maps |
| 11 | from its dual. The kernel of a differential is detected on its dual image. -/ |
| 12 | |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | universe u v w t |
| 16 | variable (R : Type u) [CommRing R] |
| 17 | (P : Type v) [AddCommGroup P] [Module R P] [Module.Finite R P] [Module.Projective R P] |
| 18 | (M : Type w) [AddCommGroup M] [Module R M] |
| 19 | |
| 20 | def finiteProjectiveTensorDualEquiv : |
| 21 | TensorProduct R M P ≃ₗ[R] (Module.Dual R P →ₗ[R] M) := |
| 22 | (TensorProduct.comm R M P).trans |
| 23 | ((TensorProduct.congr (Module.evalEquiv R P) (LinearEquiv.refl R M)).trans |
| 24 | (dualTensorHomEquiv R (Module.Dual R P) M)) |
| 25 | |
| 26 | theorem finiteProjectiveTensorDualEquiv_tmul (m : M) (p : P) (φ : Module.Dual R P) : |
| 27 | finiteProjectiveTensorDualEquiv R P M (m ⊗ₜ[R] p) φ = φ p • m := rfl |
| 28 | |
| 29 | variable {Q : Type t} [AddCommGroup Q] [Module R Q] [Module.Finite R Q] [Module.Projective R Q] |
| 30 | |
| 31 | theorem finiteProjectiveTensorDualEquiv_map (d : P →ₗ[R] Q) |
| 32 | (x : TensorProduct R M P) (φ : Module.Dual R Q) : |
| 33 | finiteProjectiveTensorDualEquiv R Q M (d.lTensor M x) φ = |
| 34 | finiteProjectiveTensorDualEquiv R P M x (d.dualMap φ) := by |
| 35 | induction x using TensorProduct.inductionOn with |
| 36 | | tmul m p => rfl |
| 37 | | add x y hx hy => simp only [map_add, LinearMap.add_apply, hx, hy] |
| 38 | |
| 39 | theorem finiteProjectiveTensor_kernel_iff (d : P →ₗ[R] Q) (x : TensorProduct R M P) : |
| 40 | d.lTensor M x = 0 ↔ ∀ φ : Module.Dual R Q, |
| 41 | finiteProjectiveTensorDualEquiv R P M x (d.dualMap φ) = 0 := by |
| 42 | constructor |
| 43 | · intro hx φ |
| 44 | rw [← finiteProjectiveTensorDualEquiv_map, hx, map_zero, LinearMap.zero_apply] |
| 45 | · intro hx |
| 46 | apply (finiteProjectiveTensorDualEquiv R Q M).injective |
| 47 | rw [map_zero] |
| 48 | apply LinearMap.ext |
| 49 | intro φ |
| 50 | exact (finiteProjectiveTensorDualEquiv_map R P M d x φ).trans (hx φ) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Finite.ProjectiveTensorDual.Construction |