Center selector addresses and local trial addresses are pairwise distinct
ProvedOAI.Problem310.WindowTrialAddresses.center_local_sum_injectiveSetting. Fix . The children of a vertex are labelled : child is the default child, and are the nondefault children, ordered as integers. A node is a finite sequence of children (the path from the root) of length , and a leaf is a sequence of children of length exactly ; denotes followed by the child . Bits are written (false) and (true). For and let
be the index of the cell containing in the -periodic grid of mesh .
Window data. Fix also . Call a sequence of children with an edge (it stands for the edge into its last vertex). A window datum consists of maps and from finite sequences of children to such that, for all edges :
- (i) and ;
- (ii) ;
- (iii) , so the window of consists of consecutive scale indices;
- (iv) if is a proper prefix of , then ;
- (v) if and with (for any sequences ), then ;
- (vi) if is a prefix of , then ;
- (vii) .
For a node , all child edges have windows of the same length .
Addresses. The selector table of a node and a nondefault child has resolution ; its cells are addressed by the pairs with . The terminal table of a leaf has resolution ; its cells are addressed by the pairs with . Addresses of different tables are different even when their cell indices coincide. For the center address of the selector table is .
Local trials. Fix a node . A local trial at is a pair with and ; its scale index runs through the window of the child edge . For the trial reads the selector table at the shifted point , i.e. at the address .
Theorem. Let be a window datum, a node, and . Then the combined address map on the disjoint union of all pairs (a node and a nondefault child) and all local trials at ,
is injective. Equivalently: the center addresses of all selector tables are pairwise distinct, the trial addresses at are pairwise distinct, and no trial address equals any center address (including the center address of the table that the trial itself reads).
This is the freshness condition for the exact fixed-scale computation: when all selector entries are independent fair bits, conditioning on the complete center exposure (the bits at all addresses ) leaves the bits read by the local trials at independent and fair.
Formalization Note The statement is Function.Injective (Sum.elim (fun e => selectorAddress (selectorEndpoints W) e.1 e.2 x) (localSelectorAddress W P x t)) on (Node M d × Fin M) ⊕ LocalTrial W P, where LocalTrial W P = Fin M × Fin (W.r (d - P.val.length)) and the scale index is localIndex W P. The selector resolution of is selectorEndpoints W Q j = W.b (Q.val ++ [j.castSucc]).
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
open OAI OAI.Problem310 OAI.Problem310.WindowTrialAddresses
open FiniteTableModel TrialAddresses
variable {M d g r₀ : ℕ}theorem OAI.Problem310.WindowTrialAddresses.center_local_sum_injective (W : WindowData (M + 1) d g r₀)
(P : Node M d) (x t : ℝ) (ht : t ∈ Set.Icc (1 : ℝ) 2) :
Function.Injective (Sum.elim
(fun e : Node M d × Fin M => selectorAddress (selectorEndpoints W) e.1 e.2 x)
(localSelectorAddress W P x t)) := by sorry