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 Mathlib.LinearAlgebra.TensorProduct.Basis |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Tower |
| 3 | import Mathlib.RingTheory.Ideal.Quotient.Operations |
| 4 | |
| 5 | /-! # Differential Coefficient Ideal -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DifferentialCoefficientIdeal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The ideal of coefficients of an actual linear differential represents precisely the base changes on which that differential becomes zero. It is independent of the two chosen bases. -/ |
| 12 | open _root_.Module |
| 13 | open scoped TensorProduct |
| 14 | universe u |
| 15 | |
| 16 | variable {R M N : Type u} [CommRing R] [AddCommGroup M] [AddCommGroup N] |
| 17 | variable [Module R M] [Module R N] |
| 18 | variable {ι κ : Type u} (b : Basis ι R M) (c : Basis κ R N) (f : M →ₗ[R] N) |
| 19 | |
| 20 | def differentialCoefficientIdeal : Ideal R := |
| 21 | Ideal.span (Set.range fun p : ι × κ => c.repr (f (b p.1)) p.2) |
| 22 | |
| 23 | theorem differential_baseChange_zero_iff_coefficients |
| 24 | (B : Type u) [CommRing B] [Algebra R B] : |
| 25 | f.baseChange B = 0 ↔ differentialCoefficientIdeal b c f ≤ RingHom.ker (algebraMap R B) := by |
| 26 | constructor |
| 27 | · intro hf |
| 28 | apply Ideal.span_le.mpr |
| 29 | rintro r ⟨⟨i, j⟩, rfl⟩ |
| 30 | change algebraMap R B (c.repr (f (b i)) j) = 0 |
| 31 | have h := congrArg (fun z : B ⊗[R] M →ₗ[B] B ⊗[R] N => |
| 32 | (c.baseChange B).repr (z (1 ⊗ₜ[R] b i)) j) hf |
| 33 | simpa only [LinearMap.baseChange_tmul, Basis.baseChange_repr_tmul, |
| 34 | LinearMap.zero_apply, map_zero, Finsupp.zero_apply, Algebra.smul_def, mul_one] using h |
| 35 | · intro hf |
| 36 | apply (b.baseChange B).ext |
| 37 | intro i |
| 38 | apply (c.baseChange B).repr.injective |
| 39 | ext j |
| 40 | have h : algebraMap R B (c.repr (f (b i)) j) = 0 := |
| 41 | hf (Ideal.subset_span ⟨(i, j), rfl⟩) |
| 42 | simpa only [Basis.baseChange_apply, LinearMap.baseChange_tmul, |
| 43 | Basis.baseChange_repr_tmul, LinearMap.zero_apply, map_zero, |
| 44 | Finsupp.zero_apply, Algebra.smul_def, mul_one] using h |
| 45 | |
| 46 | theorem differential_coefficients_le_iff_quotient_zero (J : Ideal R) : |
| 47 | differentialCoefficientIdeal b c f ≤ J ↔ f.baseChange (R ⧸ J) = 0 := by |
| 48 | rw [differential_baseChange_zero_iff_coefficients b c f] |
| 49 | constructor |
| 50 | · intro h x hx |
| 51 | change Ideal.Quotient.mk J x = 0 |
| 52 | exact Ideal.Quotient.eq_zero_iff_mem.mpr (h hx) |
| 53 | · intro h x hx |
| 54 | exact Ideal.Quotient.eq_zero_iff_mem.mp (h hx) |
| 55 | |
| 56 | theorem differential_coefficient_quotient_zero : |
| 57 | f.baseChange (R ⧸ differentialCoefficientIdeal b c f) = 0 := |
| 58 | (differential_coefficients_le_iff_quotient_zero b c f _).mp le_rfl |
| 59 | |
| 60 | theorem differentialCoefficientIdeal_basis_independent |
| 61 | {ι' κ' : Type u} (b' : Basis ι' R M) (c' : Basis κ' R N) : |
| 62 | differentialCoefficientIdeal b c f = differentialCoefficientIdeal b' c' f := by |
| 63 | apply le_antisymm |
| 64 | · exact (differential_coefficients_le_iff_quotient_zero b c f _).mpr |
| 65 | (differential_coefficient_quotient_zero b' c' f) |
| 66 | · exact (differential_coefficients_le_iff_quotient_zero b' c' f _).mpr |
| 67 | (differential_coefficient_quotient_zero b c f) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DifferentialCoefficientIdeal |