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.PELModuli.IntegralModel.CM.Generator |
| 2 | import Mathlib.RingTheory.Localization.Integral |
| 3 | |
| 4 | /-! # Primitive Polynomial Denominators -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.PrimitivePolynomialDenominators |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Recover any finite collection of field elements by integral |
| 11 | polynomials in a primitive generator, with one nonzero integer multiplier. -/ |
| 12 | |
| 13 | open _root_.Polynomial IntermediateField |
| 14 | open scoped nonZeroDivisors BigOperators |
| 15 | |
| 16 | variable {E : Type*} [Field E] [Algebra ℚ E] [Algebra.IsAlgebraic ℚ E] |
| 17 | |
| 18 | theorem primitive_integer_polynomial_multiple (v : E) |
| 19 | (hv : IntermediateField.adjoin ℚ {v} = ⊤) (z : E) : |
| 20 | ∃ (c : ℤ) (p : ℤ[X]), c ≠ 0 ∧ aeval v p = (c : E) * z := by |
| 21 | have hA : Algebra.adjoin ℚ {v} = ⊤ := |
| 22 | (IntermediateField.adjoin_eq_top_iff).mp hv |
| 23 | have hs : Function.Surjective (aeval v : ℚ[X] →ₐ[ℚ] E) := by |
| 24 | apply (AlgHom.range_eq_top _).mp |
| 25 | exact (Algebra.adjoin_singleton_eq_range_aeval ℚ v).symm.trans hA |
| 26 | obtain ⟨q, hq⟩ := hs z |
| 27 | obtain ⟨c, hc, hcp⟩ := IsLocalization.integerNormalization_spec ℤ⁰ q |
| 28 | let p := IsLocalization.integerNormalization ℤ⁰ q |
| 29 | have he : (aeval v : ℚ[X] →ₐ[ℚ] E) (p.map (algebraMap ℤ ℚ)) = (c : E) * z := by |
| 30 | rw [hcp, map_zsmul, hq, zsmul_eq_mul] |
| 31 | exact ⟨c, p, mem_nonZeroDivisors_iff_ne_zero.mp hc, |
| 32 | (aeval_eq_aeval_map (φ := algebraMap ℤ ℚ) (Subsingleton.elim _ _) p v).trans he⟩ |
| 33 | |
| 34 | theorem finite_primitive_integer_polynomial_multiples |
| 35 | {ι : Type*} [Fintype ι] (v : E) (hv : IntermediateField.adjoin ℚ {v} = ⊤) |
| 36 | (z : ι → E) : |
| 37 | ∃ (c : ℤ) (p : ι → ℤ[X]), c ≠ 0 ∧ ∀ i, aeval v (p i) = (c : E) * z i := by |
| 38 | choose c p hc hp using fun i => primitive_integer_polynomial_multiple v hv (z i) |
| 39 | let C : ℤ := ∏ i, c i |
| 40 | have hC : C ≠ 0 := Finset.prod_ne_zero_iff.mpr (fun i _ => hc i) |
| 41 | have hdiv (i : ι) : c i ∣ C := Finset.dvd_prod_of_mem c (Finset.mem_univ i) |
| 42 | choose k hk using hdiv |
| 43 | refine ⟨C, (fun i => Polynomial.C (k i) * p i), hC, ?_⟩ |
| 44 | intro i |
| 45 | rw [map_mul, aeval_C, hp] |
| 46 | have he : (C : E) = (c i : E) * (k i : E) := |
| 47 | (congrArg (fun z : ℤ => (z : E)) (hk i)).trans (Int.cast_mul _ _) |
| 48 | rw [he] |
| 49 | have hz : algebraMap ℤ E (k i) = (k i : E) := map_intCast (algebraMap ℤ E) (k i) |
| 50 | rw [hz] |
| 51 | ring |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.PrimitivePolynomialDenominators |