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.HilbertScheme.Presentations.ResidueFieldDetection |
| 2 | import Mathlib.RingTheory.Flat.Equalizer |
| 3 | import Mathlib.RingTheory.Noetherian.Basic |
| 4 | |
| 5 | /-! # Submodule Fiber Equality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.SubmoduleFiberEquality |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Equality of nested submodules can be detected in coefficient residue fields when the upper quotient is flat. -/ |
| 12 | |
| 13 | open TensorProduct |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] |
| 18 | variable {M : Type v} [AddCommGroup M] [Module R M] [Module.Finite R M] |
| 19 | variable (p q : Submodule R M) (hpq : p ≤ q) [Module.Flat R (M ⧸ q)] |
| 20 | |
| 21 | include hpq in |
| 22 | theorem submodule_eq_of_residue_baseChange |
| 23 | (h : ∀ r : PrimeSpectrum R, p.baseChange r.asIdeal.ResidueField = q.baseChange r.asIdeal.ResidueField) : p = q := by |
| 24 | have hsurj : Function.Surjective (Submodule.inclusion hpq) := by |
| 25 | apply ResidueFieldDetection.surjective_of_residueFields_of_finite_cokernel R (Submodule.inclusion hpq) |
| 26 | intro r y |
| 27 | let K := r.asIdeal.ResidueField |
| 28 | have hy : q.subtype.lTensor K y ∈ p.baseChange K := by |
| 29 | rw [h r] |
| 30 | exact (q.toBaseChange K y).property |
| 31 | obtain ⟨x, hx⟩ := p.toBaseChange_surjective' K hy |
| 32 | refine ⟨x, ?_⟩ |
| 33 | apply LinearMap.lTensor_injective_of_exact_of_flat q.mkQ q.mkQ_surjective q.subtype |
| 34 | q.subtype_injective (LinearMap.exact_subtype_mkQ q) K |
| 35 | have he : q.subtype.comp (Submodule.inclusion hpq) = p.subtype := rfl |
| 36 | rw [← LinearMap.lTensor_comp_apply, he] |
| 37 | exact hx |
| 38 | apply le_antisymm hpq |
| 39 | intro x hx |
| 40 | obtain ⟨y, hy⟩ := hsurj ⟨x, hx⟩ |
| 41 | have he : y.val = x := congrArg Subtype.val hy |
| 42 | exact he ▸ y.property |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.SubmoduleFiberEquality |