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.AbelianModuli.HilbertConstruction.Residue.EquivalenceLift |
| 2 | |
| 3 | /-! # Matrix -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Residue.Matrix.LocalSectionLifting |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Detecting a cancellable matrix entry in a nonzero residue-field differential. -/ |
| 10 | |
| 11 | open scoped TensorProduct |
| 12 | |
| 13 | variable {R : Type*} [CommRing R] [IsLocalRing R] |
| 14 | {M N ι κ : Type*} [AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N] |
| 15 | (bM : Module.Basis ι R M) (bN : Module.Basis κ R N) (f : M →ₗ[R] N) |
| 16 | |
| 17 | theorem residue_matrix_coefficient (i : ι) (j : κ) : |
| 18 | (bN.baseChange (IsLocalRing.ResidueField R)).repr |
| 19 | (f.baseChange (IsLocalRing.ResidueField R) |
| 20 | (bM.baseChange (IsLocalRing.ResidueField R) i)) j = |
| 21 | IsLocalRing.residue R (bN.repr (f (bM i)) j) := by |
| 22 | simp only [Module.Basis.baseChange_apply, LinearMap.baseChange_tmul, |
| 23 | Module.Basis.baseChange_repr_tmul, Algebra.smul_def, mul_one, |
| 24 | IsLocalRing.ResidueField.algebraMap_eq] |
| 25 | |
| 26 | theorem residue_map_eq_zero_iff_matrix : |
| 27 | f.baseChange (IsLocalRing.ResidueField R) = 0 ↔ |
| 28 | ∀ i j, bN.repr (f (bM i)) j ∈ IsLocalRing.maximalIdeal R := by |
| 29 | constructor |
| 30 | · intro hf i j |
| 31 | rw [← IsLocalRing.residue_eq_zero_iff, |
| 32 | ← residue_matrix_coefficient bM bN f i j, hf] |
| 33 | simp |
| 34 | · intro hf |
| 35 | apply (bM.baseChange (IsLocalRing.ResidueField R)).ext |
| 36 | intro i |
| 37 | apply (bN.baseChange (IsLocalRing.ResidueField R)).ext_elem |
| 38 | intro j |
| 39 | rw [residue_matrix_coefficient bM bN f i j] |
| 40 | simpa using (IsLocalRing.residue_eq_zero_iff _).mpr (hf i j) |
| 41 | |
| 42 | theorem exists_unit_matrix_coefficient_of_residue_ne_zero |
| 43 | (hf : f.baseChange (IsLocalRing.ResidueField R) ≠ 0) : |
| 44 | ∃ i j, IsUnit (bN.repr (f (bM i)) j) := by |
| 45 | classical |
| 46 | have h := (residue_map_eq_zero_iff_matrix bM bN f).not.mp hf |
| 47 | push Not at h |
| 48 | obtain ⟨i, j, hij⟩ := h |
| 49 | exact ⟨i, j, (IsLocalRing.residue_ne_zero_iff_isUnit _).mp |
| 50 | ((IsLocalRing.residue_eq_zero_iff _).not.mpr hij)⟩ |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Residue.Matrix.LocalSectionLifting |