A uniform gap makes dyadic selector-table lookups stable off a periodic set of small density
ProvedOAI.Problem310.exists_windowData_selector_stabilityFix natural numbers and and a real number . Words over the alphabet are the vertices of the complete -ary rooted tree: the empty word is the root and is the child of . The letter is the default child and the letters are the nondefault children. A word of length is an internal node, and a nonempty word with is an edge (the edge entering the vertex ).
Window data. For , a window datum with parameters consists of a function and three functions from words over to such that, writing , the following hold for all edges :
- and ;
- and , so the window of is the integer interval of length ;
- if is a proper prefix of , then ;
- if and for words and letters , then ;
- if is a prefix of (including ), then ;
- .
Cells and selector tables. For and let
the index of the cell of the grid , taken modulo , that contains . For a window datum with parameters , an internal node and , put , the right endpoint of the window of the edge from to its nondefault child . A selector table for is an arbitrary function assigning a bit to every internal node , every and every ; its selector value at is .
Theorem. There is a natural number , depending only on , and , such that for every and every window datum with parameters there is a set with the following properties:
- is a Borel set;
- is -periodic: if and only if , for every ;
- , where denotes Lebesgue measure;
- for every , every internal node , every , every with , every and every selector table for ,
Because is arbitrary, item 4 says equivalently that : every trial point at a scale more than steps beyond the window endpoint lies in the same dyadic cell of mesh (modulo ) as .
In a random tree-routing construction in which the decision at node about child is read from the cell of the current point at resolution , this result supplies a large periodic set of stable centers: for the trial points at all sufficiently fine dyadic scales read exactly the same selector bits as , whatever the tables are. The order of quantifiers is essential: is fixed before and before the window datum (whose construction may itself depend on ), and the exceptional density does not depend on the window resolutions.
Formalization Note Words are lists over Fin (M+1); the internal nodes form the subtype Node M d of lists of length less than , and a nondefault child of type Fin M is the letter i.castSucc, the default child being Fin.last M. A window datum is the structure WindowData q d g r₀ with fields r, a, b, bstar and the six axioms listed above, which are required only on edges (ValidWindowEdge). The cell index is GridSeparation.dyadicKey β, valued in Fin (2 ^ (β + 2)); a selector table is a Boolean function on the addresses (SelectorTable), and selectorValue reads it at selectorAddress (it is defined on all lists but is only evaluated at internal nodes here). Measurability (MeasurableSet G) refers to the Borel -algebra of , Lebesgue measure is MeasureTheory.volume, the measure bound reads volume (Gᶜ ∩ Icc 0 1) ≤ ENNReal.ofReal p, and the displacement is written t * (2⁻¹) ^ n.
import Mathlib import Definitions.Def_DyadicAvoidance import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_PeriodicBasic import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_GridSeparation import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_FiniteTableModel import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_OrderedRouting import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_RoutingPath import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_CenterRouteExposure import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_ExceptionalCenters import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_CenterFailureBound import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_FirstDefault import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_ConcreteLabelMeasures import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_CenterFirstDefault import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_RandomSetDensity import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_RoutedSetDensity import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_RoutedExposure import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_FirstDefaultSelection import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_FiniteLocalPredicate import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_WindowData import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_WindowTableModel import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_StableRoutingBridge import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_WindowExceptionalTransfer import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_TrialAddresses import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_WindowTrialAddresses import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_ConcreteWindowAtom import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_PeriodicEnvelope import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_GlobalFromPeriodic import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_GridGeometry import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_GridMeasure import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_GridStability import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_WindowPlacement import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_WindowRecursion import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_PackedWindowSpan import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_TreePreorder import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_TreePreorderRank import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_PreorderIndex import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_WindowSpanSum import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_TreeSpanBridge import Definitions.Def_OAI_MeasureTheory_DyadicAvoidance_WindowDataExistence open OAI OAI.Problem310 open FiniteTableModel
theorem OAI.Problem310.exists_windowData_selector_stability (M d : ℕ) (p : ℝ) (hp : 0 < p) :
∃ g : ℕ, 2 ≤ g ∧ ∀ r₀ : ℕ, ∀ W : WindowData (M + 1) d g r₀,
∃ G : Set ℝ, MeasurableSet G ∧
(∀ x : ℝ, x + 1 ∈ G ↔ x ∈ G) ∧
MeasureTheory.volume (Gᶜ ∩ Set.Icc (0 : ℝ) 1) ≤ ENNReal.ofReal p ∧
∀ x ∈ G, ∀ P : Node M d, ∀ i : Fin M, ∀ n : ℕ,
W.b (P.val ++ [i.castSucc]) + g < n →
∀ t ∈ Set.Icc (1 : ℝ) 2,
∀ ω : SelectorTable (fun P : Node M d => fun i : Fin M =>
W.b (P.val ++ [i.castSucc])),
selectorValue (fun P : Node M d => fun i : Fin M =>
W.b (P.val ++ [i.castSucc])) ω P.val i (x + t * ((2 : ℝ)⁻¹) ^ n) =
selectorValue (fun P : Node M d => fun i : Fin M =>
W.b (P.val ++ [i.castSucc])) ω P.val i x := by sorry