Beatty's theorem to Mahler's theorem
TheoremBeatty's theorem#
Mathlib records this with 2 declarations.
Irrational.beattySeq_symmDiff_beattySeq_pos: Rayleigh's theorem on Beatty sequences. Let r be an irrational number greater than 1, and
1/r + 1/s = 1. Then B⁺_r and B⁺_s partition the positive integers.
Irrational.beattySeq_symmDiff_beattySeq_pos {r s : ℝ} (hrs : r.HolderConjugate s)
(hr : Irrational r) :
symmDiff {x | ∃ k > 0, beattySeq r k = x} {x | ∃ k > 0, beattySeq s k = x} = {n | 0 < n}
compl_beattySeq: Generalization of Rayleigh's theorem on Beatty sequences. Let r be a real number greater
than 1, and 1/r + 1/s = 1. Then the complement of B_r is B'_s.
compl_beattySeq {r s : ℝ} (hrs : r.HolderConjugate s) :
{x | ∃ k, beattySeq r k = x}ᶜ = {x | ∃ k, beattySeq' s k = x}
Sources
- Mathlib documentation:
Irrational.beattySeq_symmDiff_beattySeq_pos - Source of
Irrational.beattySeq_symmDiff_beattySeq_posin Mathlib/NumberTheory/Rayleigh.lean - Mathlib documentation:
compl_beattySeq - Source of
compl_beattySeqin Mathlib/NumberTheory/Rayleigh.lean - 1000+ theorems list: Q791663
- 1000+ theorems project: Q791663
- Wikipedia: Beatty's theorem
- Wikidata: Q791663
Uses 3
TheoremDirichlet's approximation theorem#
Mathlib records this with 4 declarations.
AddCircle.exists_norm_nsmul_le: Dirichlet's approximation theorem
See also Real.exists_rat_abs_sub_le_and_den_le.
AddCircle.exists_norm_nsmul_le {T : ℝ} [hT : Fact (0 < T)] (ξ : AddCircle T) {n : ℕ} (hn : 0 < n) :
∃ j ∈ Set.Icc 1 n, ‖j • ξ‖ ≤ T / ↑(n + 1)
Real.exists_int_int_abs_mul_sub_le: Dirichlet's approximation theorem:
For any real number ξ and positive natural n, there are integers j and k,
with 0 < k ≤ n and |k*ξ - j| ≤ 1/(n+1).
See also Real.exists_nat_abs_mul_sub_round_le.
Real.exists_int_int_abs_mul_sub_le (ξ : ℝ) {n : ℕ} (n_pos : 0 < n) :
∃ j k, 0 < k ∧ k ≤ ↑n ∧ |↑k * ξ - ↑j| ≤ 1 / (↑n + 1)
Real.exists_nat_abs_mul_sub_round_le: Dirichlet's approximation theorem:
For any real number ξ and positive natural n, there is a natural number k,
with 0 < k ≤ n such that |k*ξ - round(k*ξ)| ≤ 1/(n+1).
Real.exists_nat_abs_mul_sub_round_le (ξ : ℝ) {n : ℕ} (n_pos : 0 < n) :
∃ k, 0 < k ∧ k ≤ n ∧ |↑k * ξ - ↑(round (↑k * ξ))| ≤ 1 / (↑n + 1)
Real.exists_rat_abs_sub_le_and_den_le: Dirichlet's approximation theorem:
For any real number ξ and positive natural n, there is a fraction q
such that q.den ≤ n and |ξ - q| ≤ 1/((n+1)*q.den).
See also AddCircle.exists_norm_nsmul_le.
Real.exists_rat_abs_sub_le_and_den_le (ξ : ℝ) {n : ℕ} (n_pos : 0 < n) :
∃ q, |ξ - ↑q| ≤ 1 / ((↑n + 1) * ↑q.den) ∧ q.den ≤ n
Sources
- Mathlib documentation:
AddCircle.exists_norm_nsmul_le - Source of
AddCircle.exists_norm_nsmul_lein Mathlib/NumberTheory/WellApproximable.lean - Mathlib documentation:
Real.exists_int_int_abs_mul_sub_le - Source of
Real.exists_int_int_abs_mul_sub_lein Mathlib/NumberTheory/DiophantineApproximation/Basic.lean - Mathlib documentation:
Real.exists_nat_abs_mul_sub_round_le - Source of
Real.exists_nat_abs_mul_sub_round_lein Mathlib/NumberTheory/DiophantineApproximation/Basic.lean - Mathlib documentation:
Real.exists_rat_abs_sub_le_and_den_le - Source of
Real.exists_rat_abs_sub_le_and_den_lein Mathlib/NumberTheory/DiophantineApproximation/Basic.lean - 1000+ theorems list: Q1227703
- 1000+ theorems project: Q1227703
- Wikipedia: Dirichlet's approximation theorem
- Wikidata: Q1227703
Uses 17 · Used by 1
DefinitionDirichlet's unit theorem#
Mathlib records this with 2 declarations.
NumberField.Units.basisModTorsion: A basis of the quotient (𝓞 K)ˣ ⧸ (torsion K) seen as an additive ℤ-module.
NumberField.Units.basisModTorsion.{u_1} (K : Type u_1) [Field K] [NumberField K] :
Module.Basis (Fin (NumberField.Units.rank K)) ℤ
(Additive ((NumberField.RingOfIntegers K)ˣ ⧸ NumberField.Units.torsion K))
NumberField.Units.exist_unique_eq_mul_prod: Dirichlet Unit Theorem. Any unit x of 𝓞 K can be written uniquely as the product of
a root of unity and powers of the units of the fundamental system fundSystem.
NumberField.Units.exist_unique_eq_mul_prod.{u_1} (K : Type u_1) [Field K] [NumberField K]
(x : (NumberField.RingOfIntegers K)ˣ) :
∃! ζe, x = ↑ζe.1 * ∏ i, NumberField.Units.fundSystem K i ^ ζe.2 i
Sources
- Mathlib documentation:
NumberField.Units.basisModTorsion - Source of
NumberField.Units.basisModTorsionin Mathlib/NumberTheory/NumberField/Units/DirichletTheorem.lean - Mathlib documentation:
NumberField.Units.exist_unique_eq_mul_prod - Source of
NumberField.Units.exist_unique_eq_mul_prodin Mathlib/NumberTheory/NumberField/Units/DirichletTheorem.lean - 1000+ theorems list: Q1227702
- 1000+ theorems project: Q1227702
- Wikipedia: Dirichlet's unit theorem
- Wikidata: Q1227702
Uses 12
- Erdős–Ginzburg–Ziv theorem
- Euclid's theorem
- Euclid–Euler theorem
- Euler's partition theorem
- Euler's theorem
- Fermat's Last Theorem
TheoremFermat's little theorem#
Fermat's Little Theorem: for all nonzero a : ZMod p, we have a ^ (p - 1) = 1.
ZMod.pow_card_sub_one_eq_one {p : ℕ} [Fact (Nat.Prime p)] {a : ZMod p} (ha : a ≠ 0) :
a ^ (p - 1) = 1
Sources
Uses 4 · Used by 3
TheoremGlaisher's theorem#
Mathlib states this as Nat.Partition.card_restricted_eq_card_countRestricted.
Nat.Partition.card_restricted_eq_card_countRestricted (n : ℕ) {m : ℕ} (hm : 0 < m) :
(Nat.Partition.restricted n fun x => ¬m ∣ x).card = (Nat.Partition.countRestricted n m).card
Sources
- Mathlib documentation:
Nat.Partition.card_restricted_eq_card_countRestricted - Source of
Nat.Partition.card_restricted_eq_card_countRestrictedin Mathlib/Combinatorics/Enumerative/Partition/Glaisher.lean - 1000+ theorems list: Q5566491
- 1000+ theorems project: Q5566491
- Wikipedia: Glaisher's theorem
- Wikidata: Q5566491
Uses 12 · Used by 1
TheoremLucas's theorem#
Alias of Choose.choose_modEq_prod_range_choose.
Lucas's Theorem: For primes p, choose n k is congruent to the product of
choose (⌊n / p ^ i⌋ % p) (⌊k / p ^ i⌋ % p) over i modulo p.
Choose.lucas_theorem {n k p : ℕ} [Fact (Nat.Prime p)] {a : ℕ} (ha₁ : n < p ^ a) (ha₂ : k < p ^ a) :
↑(n.choose k) ≡ ∏ i ∈ Finset.range a, ↑((n / p ^ i % p).choose (k / p ^ i % p)) [ZMOD ↑p]
Sources
Uses 4
TheoremMahler's theorem#
Mahler's theorem: for any continuous function f from ℤ_[p] to a p-adic Banach space, the
Mahler series with coefficients n ↦ Δ_[1]^[n] f 0 converges to the original function f.
PadicInt.hasSum_mahler.{u_1} {p : ℕ} [hp : Fact (Nat.Prime p)] {E : Type u_1} [NormedAddCommGroup E]
[_root_.Module ℤ_[p] E] [IsBoundedSMul ℤ_[p] E] [IsUltrametricDist E] [CompleteSpace E]
(f : C(ℤ_[p], E)) : HasSum (fun n => PadicInt.mahlerTerm ((fwdDiff 1)^[n] (⇑f) 0) n) f
Sources
Uses 18
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.