The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V12. Number theory

Mathlib.NumberTheory.Ostrowski

17 declarations. Mathlib docs · Source

Ostrowski’s Theorem

Ostrowski's Theorem for the field ℚ: every absolute value on ℚ is equivalent to either a p-adic absolute value or to the standard Archimedean (Euclidean) absolute value.

Main results

  • Rat.AbsoluteValue.equiv_real_or_padic: given an absolute value on ℚ, it is equivalent to the standard Archimedean (Euclidean) absolute value Rat.AbsoluteValue.real or to a p-adic absolute value Rat.AbsoluteValue.padic p for a unique prime number p.

TODO

Extend to arbitrary number fields.

References

  • [K. Conrad, Ostrowski's Theorem for Q][conradQ]
  • [K. Conrad, Ostrowski for number fields][conradnumbfield]
  • [J. W. S. Cassels, Local fields][cassels1986local]

Tags

absolute value, Ostrowski's theorem

Preliminary lemmas

The non-archimedean case

Every bounded absolute value on ℚ is equivalent to a p-adic absolute value.

Archimedean case

Every unbounded absolute value on ℚ is equivalent to the standard absolute value.

The main result

theorem Rat.AbsoluteValue.padic.congr_simp E1 #

∀ (p p_1 : ℕ) (e_p : p = p_1) [inst : Fact (Nat.Prime p)], Rat.AbsoluteValue.padic p = Rat.AbsoluteValue.padic p_1

theorem Rat.AbsoluteValue.exists_nat_rpow_iff_isEquiv E1 #

∀ {f g : AbsoluteValue ℚ ℝ}, (∃ c, 0 < c ∧ ∀ (n : ℕ), f ↑n ^ c = g ↑n) ↔ f.IsEquiv g

The equivalence class of an absolute value on the rationals is determined by its values on the natural numbers.

def Rat.AbsoluteValue.padic E1 #

(p : ℕ) → [Fact (Nat.Prime p)] → AbsoluteValue ℚ ℝ

The real-valued AbsoluteValue corresponding to the p-adic norm on ℚ.

theorem Rat.AbsoluteValue.padic_eq_padicNorm E0 #

∀ (p : ℕ) [inst : Fact (Nat.Prime p)] (r : ℚ), (Rat.AbsoluteValue.padic p) r = ↑(padicNorm p r)

theorem Rat.AbsoluteValue.padic_le_one E1 #

∀ (p : ℕ) [inst : Fact (Nat.Prime p)] (n : ℤ), (Rat.AbsoluteValue.padic p) ↑n ≤ 1

theorem Rat.AbsoluteValue.exists_minimal_nat_zero_lt_and_lt_one E1 #

∀ {f : AbsoluteValue ℚ ℝ},
  f.IsNontrivial → (∀ (n : ℕ), f ↑n ≤ 1) → ∃ p, (0 < f ↑p ∧ f ↑p < 1) ∧ ∀ (m : ℕ), 0 < f ↑m ∧ f ↑m < 1 → p ≤ m

There exists a minimal positive integer with absolute value smaller than 1.

theorem Rat.AbsoluteValue.is_prime_of_minimal_nat_zero_lt_and_lt_one E1 #

∀ {f : AbsoluteValue ℚ ℝ} {p : ℕ}, 0 < f ↑p → f ↑p < 1 → (∀ (m : ℕ), 0 < f ↑m ∧ f ↑m < 1 → p ≤ m) → Nat.Prime p

The minimal positive integer with absolute value smaller than 1 is a prime number.

theorem Rat.AbsoluteValue.exists_pos_eq_pow_neg E1 #

∀ {f : AbsoluteValue ℚ ℝ} {p : ℕ},
  0 < f ↑p → f ↑p < 1 → (∀ (m : ℕ), 0 < f ↑m ∧ f ↑m < 1 → p ≤ m) → ∃ t, 0 < t ∧ f ↑p = ↑p ^ (-t)

The absolute value of p is p ^ (-t) for some positive real number t.

theorem Rat.AbsoluteValue.equiv_padic_of_bounded E1 #

∀ {f : AbsoluteValue ℚ ℝ},
  f.IsNontrivial → (∀ (n : ℕ), f ↑n ≤ 1) → ∃! p, ∃ (x : Fact (Nat.Prime p)), f.IsEquiv (Rat.AbsoluteValue.padic p)

If f is bounded and not trivial, then it is equivalent to a p-adic absolute value.

def Rat.AbsoluteValue.real E3 #

AbsoluteValue ℚ ℝ

The standard absolute value on ℚ. We name it real because it corresponds to the unique real place of ℚ.

theorem Rat.AbsoluteValue.real_eq_abs E0 #

∀ (r : ℚ), Rat.AbsoluteValue.real r = ↑|r|

theorem Rat.AbsoluteValue.apply_le_sum_digits E1 #

∀ {f : AbsoluteValue ℚ ℝ} (n : ℕ) {m : ℕ}, 1 < m → f ↑n ≤ (List.mapIdx (fun i x ↦ ↑m * f ↑m ^ i) (m.digits n)).sum

Given any two integers n, m with m > 1, the absolute value of n is bounded by m + m * f m + m * (f m) ^ 2 + ... + m * (f m) ^ d where d is the number of digits of the expansion of n in base m.

theorem Rat.AbsoluteValue.one_lt_of_not_bounded E1 #

∀ {f : AbsoluteValue ℚ ℝ}, (¬∀ (n : ℕ), f ↑n ≤ 1) → ∀ {n₀ : ℕ}, 1 < n₀ → 1 < f ↑n₀

If f n > 1 for some n then f n > 1 for all n ≥ 2

theorem Rat.AbsoluteValue.le_pow_log E1 #

∀ {f : AbsoluteValue ℚ ℝ} {m n : ℕ}, 1 < m → 1 < n → (¬∀ (n : ℕ), f ↑n ≤ 1) → f ↑n ≤ f ↑m ^ Real.logb ↑m ↑n

Given two natural numbers n, m greater than 1 we have f n ≤ f m ^ logb m n.

theorem Rat.AbsoluteValue.equiv_real_of_unbounded E1 #

∀ {f : AbsoluteValue ℚ ℝ}, (¬∀ (n : ℕ), f ↑n ≤ 1) → f.IsEquiv Rat.AbsoluteValue.real

If f is not bounded and not trivial, then it is equivalent to the standard absolute value on ℚ.

theorem Rat.AbsoluteValue.equiv_real_or_padic E3 #

∀ (f : AbsoluteValue ℚ ℝ),
  f.IsNontrivial → f ≈ Rat.AbsoluteValue.real ∨ ∃! p, ∃ (x : Fact (Nat.Prime p)), f ≈ Rat.AbsoluteValue.padic p

Ostrowski's Theorem: every absolute value (with values in ℝ) on ℚ is equivalent to either the standard absolute value or a p-adic absolute value for a prime p.

theorem Rat.AbsoluteValue.not_real_isEquiv_padic E1 #

∀ (p : ℕ) [inst : Fact (Nat.Prime p)], ¬Rat.AbsoluteValue.real.IsEquiv (Rat.AbsoluteValue.padic p)

The standard absolute value on ℚ is not equivalent to any p-adic absolute value.