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 | |
| 4 | /-! # Relation Fiber Equality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.RelationFiberEquality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Residue-field detection for nested submodules with finite upper |
| 11 | relation module and flat upper quotient, over arbitrary coefficient rings. -/ |
| 12 | |
| 13 | open TensorProduct |
| 14 | |
| 15 | universe u v |
| 16 | variable (R : Type u) [CommRing R] {M : Type v} [AddCommGroup M] [Module R M] |
| 17 | |
| 18 | theorem finite_relation_eq_of_residue_baseChange (p q : Submodule R M) (hpq : p ≤ q) |
| 19 | [Module.Finite R q] [Module.Flat R (M ⧸ q)] |
| 20 | (h : ∀ r : PrimeSpectrum R, p.baseChange r.asIdeal.ResidueField = q.baseChange r.asIdeal.ResidueField) : |
| 21 | p = q := by |
| 22 | have hsurj : Function.Surjective (Submodule.inclusion hpq) := by |
| 23 | apply ResidueFieldDetection.surjective_of_residueFields_of_finite_cokernel R (Submodule.inclusion hpq) |
| 24 | intro r y |
| 25 | let K := r.asIdeal.ResidueField |
| 26 | have hy : q.subtype.lTensor K y ∈ p.baseChange K := by |
| 27 | rw [h r] |
| 28 | exact (q.toBaseChange K y).property |
| 29 | obtain ⟨x, hx⟩ := p.toBaseChange_surjective' K hy |
| 30 | refine ⟨x, ?_⟩ |
| 31 | apply LinearMap.lTensor_injective_of_exact_of_flat q.mkQ q.mkQ_surjective q.subtype |
| 32 | q.subtype_injective (LinearMap.exact_subtype_mkQ q) K |
| 33 | have he : q.subtype.comp (Submodule.inclusion hpq) = p.subtype := rfl |
| 34 | rw [← LinearMap.lTensor_comp_apply, he] |
| 35 | exact hx |
| 36 | apply le_antisymm hpq |
| 37 | intro x hx |
| 38 | obtain ⟨y, hy⟩ := hsurj ⟨x, hx⟩ |
| 39 | have he : y.val = x := congrArg Subtype.val hy |
| 40 | exact he ▸ y.property |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.RelationFiberEquality |