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.Quotients.FiniteDescent.KernelSupportIs |
| 2 | import Mathlib.RingTheory.Flat.FaithfullyFlat.Basic |
| 3 | |
| 4 | /-! # Field Tensor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.FieldTensor.Construction.FieldTensorSupport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A finite module is nonzero after tensoring with a field precisely at |
| 11 | the prime defined by that field-valued point. -/ |
| 12 | |
| 13 | open TensorProduct |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {R : Type u} [CommRing R] |
| 19 | variable (K : Type u) [Field K] [Algebra R K] |
| 20 | variable (M : Type u) [AddCommGroup M] [Module R M] [Module.Finite R M] |
| 21 | |
| 22 | theorem nontrivial_iff (p : PrimeSpectrum R) (hp : p.asIdeal = RingHom.ker (algebraMap R K)) : |
| 23 | Nontrivial (K ⊗[R] M) ↔ p ∈ Module.support R M := by |
| 24 | have hu : p.asIdeal.primeCompl ≤ (IsUnit.submonoid K).comap (algebraMap R K) := by |
| 25 | intro r hr |
| 26 | change IsUnit (algebraMap R K r) |
| 27 | apply isUnit_iff_ne_zero.mpr |
| 28 | intro he |
| 29 | apply hr |
| 30 | rw [hp] |
| 31 | exact he |
| 32 | let k := Ideal.ResidueField.lift p.asIdeal (algebraMap R K) hp.le hu |
| 33 | let : Algebra p.asIdeal.ResidueField K := k.toAlgebra |
| 34 | have : IsScalarTower R p.asIdeal.ResidueField K := by |
| 35 | apply IsScalarTower.of_algebraMap_eq' |
| 36 | ext r |
| 37 | exact (Ideal.ResidueField.lift_algebraMap p.asIdeal (algebraMap R K) hp.le hu r).symm |
| 38 | let e := AlgebraTensorModule.cancelBaseChange R p.asIdeal.ResidueField K K M |
| 39 | rw [← e.nontrivial_congr, Module.FaithfullyFlat.nontrivial_tensorProduct_iff_right] |
| 40 | exact (Module.mem_support_iff_nontrivial_residueField_tensorProduct (M := M) p).symm |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.FieldTensor.Construction.FieldTensorSupport |