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.ArithmeticGeometry.Models.SpreadingOut.FactorizationPoints |
| 2 | import OAI.ArithmeticGeometry.Descent.CMVariety.AlgebraicallyClosedSpecialization |
| 3 | |
| 4 | /-! # Absolute Irreducibility Spread -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.AbsoluteIrreducibilitySpread.Abelian |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Absolute irreducibility persists after inverting one nonzero base element. |
| 11 | The proof bounds possible factor coefficients and excludes the corresponding |
| 12 | finite-type parameter algebras by algebraic specialization. -/ |
| 13 | |
| 14 | open _root_.MvPolynomial |
| 15 | open scoped BigOperators |
| 16 | |
| 17 | open OAI.ArithmeticGeometry.Models.SpreadingOut.FactorizationPoints.Construction.PolynomialFactorization |
| 18 | |
| 19 | theorem absolute_irreducibility_over_closed_field_spreads |
| 20 | {R Ω : Type} [CommRing R] [IsDomain R] [Field Ω] [IsAlgClosed Ω] [Algebra R Ω] |
| 21 | (hinj : Function.Injective (algebraMap R Ω)) |
| 22 | {n : ℕ} (p : MvPolynomial (Fin n) R) |
| 23 | (hp : Irreducible (MvPolynomial.map (algebraMap R (Ω)) p)) : |
| 24 | ∃ r : R, r ≠ 0 ∧ |
| 25 | ∀ (k : Type) [Field k] (φ : R →+* k), φ r ≠ 0 → Irreducible (MvPolynomial.map φ p) := by |
| 26 | classical |
| 27 | obtain ⟨m, hm, hcoeff⟩ := Models.SpreadingOut.BoundedPolynomial.Construction.nonconstant_coefficient_of_nonunit hp.ne_zero hp.not_isUnit |
| 28 | have ha : p.coeff m ≠ 0 := by |
| 29 | intro h |
| 30 | apply hcoeff |
| 31 | simp only [coeff_map, h, map_zero] |
| 32 | let W := {w : Fin 2 → Models.SpreadingOut.BoundedPolynomial.Construction.PolynomialBox n p.totalDegree // ∀ i, Models.SpreadingOut.BoundedPolynomial.Construction.polynomialBoxExponent (w i) ≠ 0} |
| 33 | let : Fintype W := Fintype.ofFinite W |
| 34 | choose r hr using fun w : W ↦ AlgebraicallyClosedSpecialization.Abelian.finiteType_no_closed_field_point_killed_by_nonzero R Ω (Models.SpreadingOut.FactorizationAlgebra.Construction.PolynomialFactorization.ParameterAlgebra p p.totalDegree w.val) |
| 35 | hinj (Models.SpreadingOut.FactorizationAlgebra.Construction.PolynomialFactorization.no_points_of_irreducible w.property hp) |
| 36 | let a : R := p.coeff m * ∏ w : W, r w |
| 37 | have ha0 : a ≠ 0 := mul_ne_zero ha (Finset.prod_ne_zero_iff.mpr fun w _ ↦ (hr w).1) |
| 38 | refine ⟨a, ha0, fun k _ φ hφ ↦ ?_⟩ |
| 39 | let : Algebra R k := φ.toAlgebra |
| 40 | have hac : φ (p.coeff m) ≠ 0 := by |
| 41 | apply left_ne_zero_of_mul |
| 42 | change φ (p.coeff m) * φ (∏ w : W, r w) ≠ 0 |
| 43 | simpa only [a, map_mul] using hφ |
| 44 | have hrc (w : W) : φ (r w) ≠ 0 := by |
| 45 | have ht : (∏ w : W, φ (r w)) ≠ 0 := by |
| 46 | apply right_ne_zero_of_mul |
| 47 | change φ (p.coeff m) * (∏ w : W, φ (r w)) ≠ 0 |
| 48 | simpa only [a, map_mul, map_prod] using hφ |
| 49 | exact (Finset.prod_ne_zero_iff.mp ht) w (Finset.mem_univ w) |
| 50 | have hpc : (MvPolynomial.map φ p).coeff m ≠ 0 := by |
| 51 | rw [coeff_map] |
| 52 | exact hac |
| 53 | have hpn : ¬ IsUnit (MvPolynomial.map φ p) := |
| 54 | Models.SpreadingOut.BoundedPolynomial.Construction.polynomial_not_isUnit_of_nonconstant_coefficient hm hpc |
| 55 | have hp0 : MvPolynomial.map φ p ≠ 0 := fun h ↦ hpc (by simp only [h, AddMonoidAlgebra.coeff_zero, Finsupp.zero_apply]) |
| 56 | refine ⟨hpn, fun q₀ q₁ he ↦ ?_⟩ |
| 57 | by_contra hunit |
| 58 | obtain ⟨hu₀, hu₁⟩ := not_or.mp hunit |
| 59 | have hq₀ : q₀ ≠ 0 := fun h ↦ hp0 (by simp [he, h]) |
| 60 | have hq₁ : q₁ ≠ 0 := fun h ↦ hp0 (by simp [he, h]) |
| 61 | have hdegree : (MvPolynomial.map φ p).totalDegree ≤ p.totalDegree := |
| 62 | Finset.sup_mono (support_map_subset φ p) |
| 63 | let q : Fin 2 → MvPolynomial (Fin n) k := ![q₀, q₁] |
| 64 | have hq (i : Fin 2) : (q i).totalDegree ≤ p.totalDegree := by |
| 65 | fin_cases i |
| 66 | · exact (totalDegree_le_of_dvd_of_isDomain ⟨q₁, he⟩ hp0).trans hdegree |
| 67 | · exact (totalDegree_le_of_dvd_of_isDomain ⟨q₀, he.trans (mul_comm _ _)⟩ hp0).trans hdegree |
| 68 | have hqn (i : Fin 2) : q i ≠ 0 ∧ ¬ IsUnit (q i) := by |
| 69 | fin_cases i |
| 70 | · exact ⟨hq₀, hu₀⟩ |
| 71 | · exact ⟨hq₁, hu₁⟩ |
| 72 | choose v hv hvcoeff using fun i ↦ Models.SpreadingOut.BoundedPolynomial.Construction.nonconstant_coefficient_of_nonunit (hqn i).1 (hqn i).2 |
| 73 | choose w hw using fun i ↦ Models.SpreadingOut.BoundedPolynomial.Construction.support_in_polynomialBox (q i) (hq i) |
| 74 | (mem_support_iff.mpr (hvcoeff i)) |
| 75 | let ww : W := ⟨w, fun i ↦ by rw [hw i]; exact hv i⟩ |
| 76 | have hcw (i : Fin 2) : (q i).coeff (Models.SpreadingOut.BoundedPolynomial.Construction.polynomialBoxExponent (ww.val i)) ≠ 0 := by |
| 77 | change (q i).coeff (Models.SpreadingOut.BoundedPolynomial.Construction.polynomialBoxExponent (w i)) ≠ 0 |
| 78 | rw [hw i] |
| 79 | exact hvcoeff i |
| 80 | obtain ⟨ψ⟩ := Models.SpreadingOut.FactorizationPoints.Construction.PolynomialFactorization.nonempty_of_factorization p q ww.val hq he hcw |
| 81 | have hk := congrArg ψ (hr ww).2 |
| 82 | apply hrc ww |
| 83 | exact (ψ.commutes (r ww)).symm.trans (hk.trans ψ.map_zero) |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.ArithmeticGeometry.Descent.CMVariety.AbsoluteIrreducibilitySpread.Abelian |