OAI/MeasureTheory/DyadicAvoidance/GridGeometry.lean
17 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.Problem310.periodicGridKeyline 9Source documentation
The integer label of the half-open periodic grid cell containing a point.
def periodicGridKey (q x : ℝ) : ℤ := ⌊q * Int.fract x⌋
- theorem
OAI.Problem310.periodicGridKey_ne_of_separatedline 13Source documentation
Two points separated from each other in both directions around the circle cannot occupy the same cell of a periodic grid.
theorem periodicGridKey_ne_of_separated {q x y : ℝ} (hq : 2 ≤ q) (hlo : q⁻¹ ≤ y - x) (hhi : y - x ≤ 1 - q⁻¹) : periodicGridKey q x ≠ periodicGridKey q y := by …Mentions: OAI.Problem310.periodicGridKey
- theorem
OAI.Problem310.periodicGridKey_eq_emodline 48Source documentation
The periodic label is the residue of the label on the real-line grid.
theorem periodicGridKey_eq_emod (q : ℕ) (hq : 0 < q) (x : ℝ) : periodicGridKey q x = ⌊(q : ℝ) * x⌋ % (q : ℤ) := by …Mentions: OAI.Problem310.periodicGridKey
- theorem
OAI.Problem310.periodicGridKey_eq_of_no_crossingline 61Source documentation
Absence of a real-line grid boundary between ordered points preserves keys. The interval is open at its left end, so a center on a boundary is allowed.
theorem periodicGridKey_eq_of_no_crossing (q : ℕ) (hq : 0 < q) {x y : ℝ} (hxy : x ≤ y) (hcross : ∀ k : ℤ, (k : ℝ) / q ∉ Set.Ioc x y) : periodicGridKey q x = periodicGridKey q y := by …Mentions: OAI.Problem310.periodicGridKey
- def
OAI.Problem310.dyadicGridKeyline 84Source documentation
Periodic cells used for a dyadic window with last index
b.def dyadicGridKey (b : ℕ) (x : ℝ) : ℤ := periodicGridKey ((2 : ℝ) ^ (b + 2)) x
Mentions: OAI.Problem310.periodicGridKey
- theorem
OAI.Problem310.dyadicGridKey_add_oneline 86 - theorem
OAI.Problem310.dyadicGridKey_nonnegline 90 - theorem
OAI.Problem310.dyadicGridKey_ltline 94 - theorem
OAI.Problem310.dyadicGridKey_nestedline 101Source documentation
Fine dyadic grid labels determine all coarser labels by integer division.
theorem dyadicGridKey_nested {b B : ℕ} (hb : b ≤ B) (x : ℝ) : dyadicGridKey B x / (2 : ℤ) ^ (B - b) = dyadicGridKey b x := by …Mentions: OAI.Problem310.dyadicGridKey
- theorem
OAI.Problem310.dyadicGridKey_ne_of_coarse_neline 114 - theorem
OAI.Problem310.half_pow_antitoneline 121 - theorem
OAI.Problem310.grid_resolution_boundline 124 - theorem
OAI.Problem310.grid_width_eqline 129 - theorem
OAI.Problem310.dyadicGridKey_center_neline 134Source documentation
The center and any requested point in a window occupy different cells.
theorem dyadicGridKey_center_ne {a b n : ℕ} {x t : ℝ} (ha : 3 ≤ a) (han : a ≤ n) (hnb : n ≤ b) (ht : t ∈ Set.Icc (1 : ℝ) 2) : dyadicGridKey b x ≠ dyadicGridKey b (x + t * ((2 : ℝ)⁻¹) ^ n) := by …Mentions: OAI.Problem310.dyadicGridKey
- theorem
OAI.Problem310.dyadicGridKey_pair_neline 151Source documentation
Different indices in a window supply different selector addresses.
theorem dyadicGridKey_pair_ne {a b n m : ℕ} {x t : ℝ} (ha : 3 ≤ a) (han : a ≤ n) (hnm : n < m) (hmb : m ≤ b) (ht : t ∈ Set.Icc (1 : ℝ) 2) : dyadicGridKey b (x + t * ((2 : ℝ)⁻¹) ^ m) ≠ dyadicGridKey b (x + t * ((2 : ℝ)⁻¹) ^ n) := by …Mentions: OAI.Problem310.dyadicGridKey
- theorem
OAI.Problem310.dyadicGridKey_eq_of_stableline 177Source documentation
The no-crossing stability condition for a later window preserves an earlier key.
theorem dyadicGridKey_eq_of_stable {a b n : ℕ} {x t : ℝ} (han : a ≤ n) (ht : t ∈ Set.Icc (1 : ℝ) 2) (hstable : ∀ k : ℤ, (k : ℝ) / (2 : ℝ) ^ (b + 2) ∉ Set.Ioc x (x + 2 * ((2 : ℝ)⁻¹) ^ a)) : dyadicGridKey b (x + t * ((2 : ℝ)⁻¹) ^ n) = dyadicGridKey b x := by …Mentions: OAI.Problem310.dyadicGridKey
- theorem
OAI.Problem310.dyadicGridKey_injOn_windowline 198Source documentation
All the trial addresses in one dyadic window are distinct.
theorem dyadicGridKey_injOn_window {a b : ℕ} {x t : ℝ} (ha : 3 ≤ a) (ht : t ∈ Set.Icc (1 : ℝ) 2) : Set.InjOn (fun n : ℕ ↦ dyadicGridKey b (x + t * ((2 : ℝ)⁻¹) ^ n)) (Set.Icc a b) := by …Mentions: OAI.Problem310.dyadicGridKey