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.NumberTheory.Quaternion.Arithmetic.PrimeLocalIntegral |
| 2 | |
| 3 | /-! # Rational Norm Comparison -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.Quaternion.Arithmetic.RationalNormComparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Finite places of the same residue characteristic induce the same |
| 10 | ordering of norms on rational scalars, even when their normalizations |
| 11 | differ because of ramification. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField |
| 14 | open IsDedekindDomain |
| 15 | |
| 16 | variable {F : Type} [Field F] [NumberField F] |
| 17 | |
| 18 | theorem ratCast_norm_le_one_iff (v : HeightOneSpectrum (𝓞 F)) (q : ℚ) : |
| 19 | ‖(q : v.adicCompletion F)‖ ≤ 1 ↔ ¬ LocalCompletion.residuePrime v ∣ q.den := by |
| 20 | refine ⟨PrimeLocalIntegral.residuePrime_not_dvd_den_of_ratCast_norm_le_one v q, fun h => ?_⟩ |
| 21 | rw [Rat.cast_def, norm_div, LocalCompletion.natCast_norm_eq_one_of_not_dvd v q.den h, div_one] |
| 22 | exact PrimeLocalIntegral.intCast_norm_le_one v q.num |
| 23 | |
| 24 | theorem ratCast_norm_le_iff_same_residuePrime (v w : HeightOneSpectrum (𝓞 F)) |
| 25 | (hvw : LocalCompletion.residuePrime v = LocalCompletion.residuePrime w) (q r : ℚ) : |
| 26 | ‖(q : v.adicCompletion F)‖ ≤ ‖(r : v.adicCompletion F)‖ ↔ |
| 27 | ‖(q : w.adicCompletion F)‖ ≤ ‖(r : w.adicCompletion F)‖ := by |
| 28 | let : CharZero (v.adicCompletion F) := Algebra.charZero_of_charZero F _ |
| 29 | let : CharZero (w.adicCompletion F) := Algebra.charZero_of_charZero F _ |
| 30 | by_cases hr : r = 0 |
| 31 | · subst r |
| 32 | simp |
| 33 | have hv : 0 < ‖(r : v.adicCompletion F)‖ := norm_pos_iff.mpr (Rat.cast_ne_zero.mpr hr) |
| 34 | have hw : 0 < ‖(r : w.adicCompletion F)‖ := norm_pos_iff.mpr (Rat.cast_ne_zero.mpr hr) |
| 35 | rw [← div_le_one₀ hv, ← div_le_one₀ hw, ← norm_div, ← norm_div, |
| 36 | ← Rat.cast_div, ← Rat.cast_div, ratCast_norm_le_one_iff, ratCast_norm_le_one_iff, hvw] |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.NumberTheory.Quaternion.Arithmetic.RationalNormComparison |