OAI/MeasureTheory/DyadicAvoidance/WindowRecursion.lean
23 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.Problem310.WindowRecursion.spanline 10Source documentation
Total span occupied by the windows in a complete tree of the given height. At a bottom-level child there is no following subtree gap; at higher levels the incoming window is followed by one gap and the complete child subtree.
def span (M g r₀ : ℕ) : ℕ → ℕ | 0 => 0 | h + 1 => M * (max r₀ (g + span M g r₀ h) + if h = 0 then 0 else g + span M g r₀ h) + (M - 1) * g /-- Length of an incoming window whose parent has height `h + 1`. The value at height zero is unused and is set equal to the threshold. -/ - def
OAI.Problem310.WindowRecursion.lengthline 18Source documentation
Length of an incoming window whose parent has height
h + 1. The value at height zero is unused and is set equal to the threshold.def length (M g r₀ : ℕ) : ℕ → ℕ | 0 => r₀ | h + 1 => max r₀ (g + span M g r₀ h) /-- Span of one incoming-edge window and the subtree beneath that edge. -/
Mentions: OAI.Problem310.WindowRecursion.span
- def
OAI.Problem310.WindowRecursion.childSpanline 23Source documentation
Span of one incoming-edge window and the subtree beneath that edge.
def childSpan (M g r₀ h : ℕ) : ℕ := …
- theorem
OAI.Problem310.WindowRecursion.span_zeroline 26 - theorem
OAI.Problem310.WindowRecursion.length_zeroline 28 - theorem
OAI.Problem310.WindowRecursion.length_succline 30 - theorem
OAI.Problem310.WindowRecursion.span_succline 33 - theorem
OAI.Problem310.WindowRecursion.childSpan_zeroline 36 - theorem
OAI.Problem310.WindowRecursion.span_oneline 40 - theorem
OAI.Problem310.WindowRecursion.childSpan_succline 44 - theorem
OAI.Problem310.WindowRecursion.span_succ_succline 49 - theorem
OAI.Problem310.WindowRecursion.threshold_le_lengthline 54 - theorem
OAI.Problem310.WindowRecursion.gap_add_span_le_lengthline 59 - theorem
OAI.Problem310.WindowRecursion.length_posline 62 - theorem
OAI.Problem310.WindowRecursion.length_le_childSpanline 65 - theorem
OAI.Problem310.WindowRecursion.childSpan_le_twice_lengthline 70Source documentation
The key padding estimate: an entire child block occupies no more than twice its incoming window length, independently of the size of the complete tree.
theorem childSpan_le_twice_length (M g r₀ h : ℕ) : childSpan M g r₀ h ≤ 2 * length M g r₀ (h + 1) := by …Mentions: OAI.Problem310.WindowRecursion.childSpan, OAI.Problem310.WindowRecursion.length
- theorem
OAI.Problem310.WindowRecursion.childSpan_posline 76 - theorem
OAI.Problem310.WindowRecursion.childSpan_le_spanline 80 - theorem
OAI.Problem310.WindowRecursion.span_posline 88 - theorem
OAI.Problem310.WindowRecursion.span_le_length_succline 92 - theorem
OAI.Problem310.WindowRecursion.span_le_span_succline 96 - theorem
OAI.Problem310.WindowRecursion.monotone_spanline 101 - theorem
OAI.Problem310.WindowRecursion.monotone_lengthline 104