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.Tor.Support |
| 2 | import Mathlib.RingTheory.LocalRing.Module |
| 3 | import Mathlib.RingTheory.Flat.FaithfullyFlat.Basic |
| 4 | |
| 5 | /-! # Support -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tensor.Support |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The support of the tensor product of two finite modules is |
| 12 | exactly the intersection of their supports. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem field_nontrivial (k : Type u) [Field k] (M N : ModuleCat.{u} k) : |
| 20 | Nontrivial (M ⊗[k] N) ↔ Nontrivial M ∧ Nontrivial N := by |
| 21 | constructor |
| 22 | · intro h |
| 23 | let : Nontrivial (M ⊗[k] N) := h |
| 24 | constructor |
| 25 | · by_contra hm |
| 26 | let : Subsingleton M := not_nontrivial_iff_subsingleton.mp hm |
| 27 | exact not_subsingleton (M ⊗[k] N) inferInstance |
| 28 | · by_contra hn |
| 29 | let : Subsingleton N := not_nontrivial_iff_subsingleton.mp hn |
| 30 | exact not_subsingleton (M ⊗[k] N) inferInstance |
| 31 | · rintro ⟨hM, hN⟩ |
| 32 | let : Nontrivial M := hM |
| 33 | let : Nontrivial N := hN |
| 34 | infer_instance |
| 35 | |
| 36 | theorem support (R : Type u) [CommRing R] (M N : ModuleCat.{u} R) |
| 37 | [Module.Finite R M] [Module.Finite R N] : |
| 38 | Module.support R (M ⊗[R] N) = Module.support R M ∩ Module.support R N := by |
| 39 | ext p |
| 40 | rw [Set.mem_inter_iff, Module.mem_support_iff_nontrivial_residueField_tensorProduct, |
| 41 | Module.mem_support_iff_nontrivial_residueField_tensorProduct, |
| 42 | Module.mem_support_iff_nontrivial_residueField_tensorProduct, |
| 43 | (TensorProduct.AlgebraTensorModule.distribBaseChange R p.asIdeal.ResidueField M N).nontrivial_congr] |
| 44 | exact field_nontrivial p.asIdeal.ResidueField |
| 45 | (.of p.asIdeal.ResidueField (p.asIdeal.ResidueField ⊗[R] M)) |
| 46 | (.of p.asIdeal.ResidueField (p.asIdeal.ResidueField ⊗[R] N)) |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tensor.Support |