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.IntersectionTheory.ProjectionFormula.ExternalTensor |
| 2 | import Mathlib.RingTheory.Spectrum.Prime.Module |
| 3 | |
| 4 | /-! # External Tensor Support -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ExternalTensorSupport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A prime supporting an external tensor product contracts to the |
| 11 | support of each finite input. The proof uses the native annihilator |
| 12 | actions of the two product factors. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable (K R S : Type u) [CommRing K] [CommRing R] [CommRing S] [Algebra K R] [Algebra K S] |
| 22 | (M N : Type u) [AddCommGroup M] [AddCommGroup N] |
| 23 | [Module K M] [Module R M] [IsScalarTower K R M] |
| 24 | [Module K N] [Module S N] [IsScalarTower K S N] |
| 25 | |
| 26 | attribute [local instance] ExternalTensor.module |
| 27 | |
| 28 | theorem annihilator_left (r : R) (hr : r ∈ Module.annihilator R M) : |
| 29 | (Algebra.TensorProduct.includeLeft : R →ₐ[K] R ⊗[K] S) r ∈ |
| 30 | Module.annihilator (R ⊗[K] S) (ExternalTensor.obj K R S M N) := by |
| 31 | apply Module.mem_annihilator.mpr |
| 32 | intro x |
| 33 | induction x using TensorProduct.inductionOn with |
| 34 | | tmul m n => |
| 35 | change (r • m) ⊗ₜ[K] ((1 : S) • n) = 0 |
| 36 | rw [Module.mem_annihilator.mp hr m, TensorProduct.zero_tmul] |
| 37 | | add x y hx hy => rw [smul_add, hx, hy, add_zero] |
| 38 | |
| 39 | theorem annihilator_right (s : S) (hs : s ∈ Module.annihilator S N) : |
| 40 | (Algebra.TensorProduct.includeRight : S →ₐ[K] R ⊗[K] S) s ∈ |
| 41 | Module.annihilator (R ⊗[K] S) (ExternalTensor.obj K R S M N) := by |
| 42 | apply Module.mem_annihilator.mpr |
| 43 | intro x |
| 44 | induction x using TensorProduct.inductionOn with |
| 45 | | tmul m n => |
| 46 | change ((1 : R) • m) ⊗ₜ[K] (s • n) = 0 |
| 47 | rw [Module.mem_annihilator.mp hs n, TensorProduct.tmul_zero] |
| 48 | | add x y hx hy => rw [smul_add, hx, hy, add_zero] |
| 49 | |
| 50 | theorem left [Module.Finite R M] (p : PrimeSpectrum (R ⊗[K] S)) |
| 51 | (hp : p ∈ Module.support (R ⊗[K] S) (ExternalTensor.obj K R S M N)) : |
| 52 | PrimeSpectrum.comap (Algebra.TensorProduct.includeLeft : R →ₐ[K] R ⊗[K] S).toRingHom p ∈ |
| 53 | Module.support R M := by |
| 54 | apply Module.mem_support_iff_of_finite.mpr |
| 55 | intro r hr |
| 56 | exact Module.annihilator_le_of_mem_support hp (annihilator_left K R S M N r hr) |
| 57 | |
| 58 | theorem right [Module.Finite S N] (p : PrimeSpectrum (R ⊗[K] S)) |
| 59 | (hp : p ∈ Module.support (R ⊗[K] S) (ExternalTensor.obj K R S M N)) : |
| 60 | PrimeSpectrum.comap (Algebra.TensorProduct.includeRight : S →ₐ[K] R ⊗[K] S).toRingHom p ∈ |
| 61 | Module.support S N := by |
| 62 | apply Module.mem_support_iff_of_finite.mpr |
| 63 | intro s hs |
| 64 | exact Module.annihilator_le_of_mem_support hp (annihilator_right K R S M N s hs) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ExternalTensorSupport |