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.NumberTheory.Ostrowski |
| 2 | import OAI.RepresentationTheory.Hecke.RadialDilation.FiniteCompletionNorm |
| 3 | |
| 4 | /-! # Finite Norm Padic Comparison -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Hecke.RadialDilation.FiniteNormPadicComparison.Realization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Restrict a finite-completion norm to the rationals. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | open IsDedekindDomain _root_.NumberField |
| 16 | |
| 17 | def rationalNormAbsoluteValue (K : Type*) [NormedField K] [Algebra ℚ K] : AbsoluteValue ℚ ℝ where |
| 18 | toFun x := ‖algebraMap ℚ K x‖ |
| 19 | map_mul' x y := by rw [map_mul, norm_mul] |
| 20 | nonneg' x := norm_nonneg _ |
| 21 | eq_zero' x := by |
| 22 | rw [norm_eq_zero] |
| 23 | exact ⟨fun h => (algebraMap ℚ K).injective (h.trans (map_zero _).symm), |
| 24 | fun h => by rw [h, map_zero]⟩ |
| 25 | add_le' x y := by rw [map_add]; exact norm_add_le _ _ |
| 26 | |
| 27 | theorem rational_finite_norm_nat_le_one (E : Type*) [Field E] [NumberField E] [Algebra ℚ E] |
| 28 | (w : HeightOneSpectrum (𝓞 E)) (n : ℕ) : |
| 29 | rationalNormAbsoluteValue (w.adicCompletion E) n ≤ 1 := by |
| 30 | have h := FinitePlace.norm_le_one (K := E) w (n : 𝓞 E) |
| 31 | change ‖algebraMap ℚ (w.adicCompletion E) (n : ℚ)‖ ≤ 1 |
| 32 | simpa only [map_natCast] using h |
| 33 | |
| 34 | theorem rational_finite_norm_prime_lt_one (E : Type*) [Field E] [NumberField E] [Algebra ℚ E] |
| 35 | (w : HeightOneSpectrum (𝓞 E)) (p : ℕ) (hp : (p : 𝓞 E) ∈ w.asIdeal) : |
| 36 | rationalNormAbsoluteValue (w.adicCompletion E) p < 1 := by |
| 37 | have h := (FinitePlace.norm_lt_one_iff_mem (K := E) w (p : 𝓞 E)).mpr hp |
| 38 | change ‖algebraMap ℚ (w.adicCompletion E) (p : ℚ)‖ < 1 |
| 39 | simpa only [map_natCast] using h |
| 40 | |
| 41 | end |
| 42 | |
| 43 | /-! A finite-completion norm restricts to a positive power of the corresponding p-adic norm. -/ |
| 44 | |
| 45 | open scoped Classical |
| 46 | open IsDedekindDomain _root_.NumberField |
| 47 | |
| 48 | theorem rational_padic_absoluteValue (p : ℕ) [Fact p.Prime] (x : ℚ) : |
| 49 | Rat.AbsoluteValue.padic p x = ‖(x : ℚ_[p])‖ := (Padic.eq_padicNorm x).symm |
| 50 | |
| 51 | theorem finite_norm_restriction_padic_equiv |
| 52 | (E : Type*) [Field E] [NumberField E] [Algebra ℚ E] (w : HeightOneSpectrum (𝓞 E)) |
| 53 | (p : ℕ) [Fact p.Prime] (hpw : (p : 𝓞 E) ∈ w.asIdeal) : |
| 54 | (rationalNormAbsoluteValue (w.adicCompletion E)).IsEquiv (Rat.AbsoluteValue.padic p) := by |
| 55 | let f := rationalNormAbsoluteValue (w.adicCompletion E) |
| 56 | have hfp : f p < 1 := rational_finite_norm_prime_lt_one E w p hpw |
| 57 | have hf : f.IsNontrivial := ⟨(p : ℚ), by exact_mod_cast (Fact.out : p.Prime).ne_zero, hfp.ne⟩ |
| 58 | obtain ⟨l, ⟨hl, he⟩, _⟩ := Rat.AbsoluteValue.equiv_padic_of_bounded hf |
| 59 | (rational_finite_norm_nat_le_one E w) |
| 60 | let : Fact l.Prime := hl |
| 61 | have hlp : ‖(p : ℚ_[l])‖ < 1 := by |
| 62 | have h := he.lt_one_iff.mp hfp |
| 63 | simpa only [rational_padic_absoluteValue, Rat.cast_natCast] using h |
| 64 | have hd : l ∣ p := Padic.norm_natCast_lt_one_iff.mp hlp |
| 65 | have hlp' : l = p := ((Nat.dvd_prime (Fact.out : p.Prime)).mp hd).resolve_left hl.out.ne_one |
| 66 | subst l |
| 67 | exact he |
| 68 | |
| 69 | theorem finite_norm_padic_rpow |
| 70 | (E : Type*) [Field E] [NumberField E] [Algebra ℚ E] (w : HeightOneSpectrum (𝓞 E)) |
| 71 | (p : ℕ) [Fact p.Prime] (hpw : (p : 𝓞 E) ∈ w.asIdeal) : |
| 72 | ∃ c : ℝ, 0 < c ∧ ∀ x : ℚ, |
| 73 | ‖algebraMap ℚ (w.adicCompletion E) x‖ ^ c = ‖(x : ℚ_[p])‖ := by |
| 74 | obtain ⟨c, hc, he⟩ := AbsoluteValue.isEquiv_iff_exists_rpow_eq.mp |
| 75 | (finite_norm_restriction_padic_equiv E w p hpw) |
| 76 | refine ⟨c, hc, ?_⟩ |
| 77 | intro x |
| 78 | exact (congrFun he x).trans (rational_padic_absoluteValue p x) |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.RepresentationTheory.Hecke.RadialDilation.FiniteNormPadicComparison.Realization |