Documentation

CslibFrontier.DataStructure.Dictionary.CellProbe.LowerBound.TreeParams

Multi-Level Tree Parameter Helpers and Yao Wrappers #

Numeric logarithm/power inequalities, the iterLog meta-tree parameter verifier iterLog_tree_bounds, the single-node NodeOuterHyp interface, algebraic redundancy combination helpers, and the Yao coin-fixing wrappers transferring deterministic lower bounds to randomized schemes. Independent of the Section 8.1 modified inner game.

Main definitions #

Main results #

theorem Cslib.DataStructure.Dictionary.CellProbe.probeThresh_le_gamma_logb {γ U : ℝ} {H : ℕ} (hγ : 0 ≤ γ) (hH : ↑(H - 1) ≤ Real.logb 2 U) :
6 * (↑(H - 1) * (4 * γ / 25)) ≤ γ * Real.logb 2 U
def Cslib.DataStructure.Dictionary.CellProbe.NodeOuterHyp (withQueries : Bool) {U V n cells w : ℕ} (hU : 2 * n ≤ U) (hV : 1 ≤ V) (γ : ℝ) (D_det : CellProbe.IndexedScheme (Dynamic.Op U) Dynamic.Op.Result cells w) :

Single-node OuterLemma hypothesis shared by the iterLog and geometric meta-tree bounds.

theorem Cslib.DataStructure.Dictionary.CellProbe.logb_le_rpow_of_ge_pow {γ : ℝ} (hγ : 0 < γ) {n : ℕ} (hn_big : 2 ^ (2 * (⌈4 / γ⌉₊ + 1) * (2 * (⌈4 / γ⌉₊ + 1) + 2)) ≤ n) :
Real.logb 2 ↑n ≤ ↑n ^ (γ / 2)
theorem Cslib.DataStructure.Dictionary.CellProbe.iterLog_tree_bounds {γ c_R : ℝ} (hγ : 0 < γ) (hγ1 : γ ≤ 1) (hcR : 0 ≤ c_R) {c_tree s_off n U k k' : ℕ} (hct8 : 8 ≤ c_tree) (hct_ceil : 808 * (c_R + 1) / γ ≤ ↑c_tree) (hs_off : s_off = (max 71 (4 * c_tree * (4 * c_tree + 71))).logStar + 2) (hn : 2 ≤ n) (hnU : n ≤ U) (hfls : 4 ≤ n.floorLogStar) (hk_lo : 2 * s_off + 6 ≤ k) (hk_hi : k ≤ n.logStar) (hk' : k' = min k (n.floorLogStar - 1)) :
2 ≤ k' - s_off ∧ ↑k / 4 ≤ ↑(k' - s_off - 1) ∧ ↑(k' - s_off - 1) ≤ Real.logb 2 ↑U ∧ ↑(max (k.iterLog n) 1) ≤ ↑(k'.iterLog n) ∧ ↑n ≤ ↑((iterLogMetaTree n k' c_tree).blockSize 1) * Real.logb 2 ↑n ∧ ∀ ℓ ∈ Finset.Ico 1 (k' - s_off), (iterLogMetaTree n k' c_tree).blockSize (ℓ + 1) ≤ n / 2 ∧ 2 ^ 64 ≤ (iterLogMetaTree n k' c_tree).fanout (ℓ + 1) ∧ ↑((iterLogMetaTree n k' c_tree).fanout (ℓ + 1)) ≤ γ / 2 * Real.logb 2 ↑U ∧ 100 * (c_R * ↑n * ↑(k'.iterLog n)) ≤ ↑((iterLogMetaTree n k' c_tree).blockSize (ℓ + 1)) * Real.logb 2 ↑((iterLogMetaTree n k' c_tree).fanout (ℓ + 1)) ∧ c_R * ↑n * ↑(k'.iterLog n) ≤ γ / 2 * ↑((iterLogMetaTree n k' c_tree).blockSize ℓ) * Real.logb 2 ↑U

Shared iterLogMetaTree structural bounds across Theorems 1.1 and 1.3(1).

theorem Cslib.DataStructure.Dictionary.CellProbe.outer_budget_time_le {γ t U m : ℝ} (hγ : 0 < γ) (hm : 0 ≤ m) (h11 : 11 / γ ≤ Real.logb 2 U) (ht : 6 * t ≤ γ * Real.logb 2 U) :
7 * m + 2 * m * t ≤ 2 * γ * m * Real.logb 2 U
theorem Cslib.DataStructure.Dictionary.CellProbe.exists_gamma_query {α c_w : ℝ} (hα : 0 < α) (hcw : 0 ≤ c_w) :
∃ (γ : ℝ), 0 < γ ∧ γ ≤ 1 ∧ (20 + 24 * c_w) * γ = α / (1 + α)
theorem Cslib.DataStructure.Dictionary.CellProbe.exists_gamma_update {α_V c_w : ℝ} (hα_V : 0 < α_V) (hcw : 0 ≤ c_w) :
∃ (γ : ℝ), 0 < γ ∧ γ ≤ 1 ∧ (5 + c_w) * γ ≤ min (1 / 4) (α_V / 16)
theorem Cslib.DataStructure.Dictionary.CellProbe.le_expectedSeqProbes_query_of_det {U V n cells w : ℕ} (hU : 2 * n ≤ U) (hV : 1 ≤ V) {B : ℝ} (P : CellProbe.Randomized.Scheme (Dynamic.Op U) Dynamic.Op.Result cells w) (hcorr : ∀ ops ∈ validHistoriesUpTo U V n (4 * n + 1), ((Dynamic.spec U V n).toObliviousSequenceSpec (empty U)).Contract ops (PMF.map Prod.fst (P.runSeq ops))) (hdet : ∀ {D_det : CellProbe.IndexedScheme (Dynamic.Op U) Dynamic.Op.Result cells w}, (∀ ops ∈ validHistoriesUpTo U V n (4 * n + 1), (D_det.runSeq ops).1 = ((Dynamic.spec U V n).run (empty U) ops).2) → B ≤ ∑' (ops : List (Dynamic.Op U)), ((insertQueryDeleteDist U V n hU hV) ops).toReal * ↑(D_det.seqProbes ops)) :
theorem Cslib.DataStructure.Dictionary.CellProbe.le_expectedSeqProbes_update_of_det {U V n cells w : ℕ} (hU : 2 * n ≤ U) (hV : 1 ≤ V) {B : ℝ} (P : CellProbe.Randomized.Scheme (Dynamic.Op U) Dynamic.Op.Result cells w) (hcorr : ∀ ops ∈ validHistoriesUpTo U V n (3 * n + 1), ((Dynamic.spec U V n).toObliviousSequenceSpec (empty U)).Contract ops (PMF.map Prod.fst (P.runSeq ops))) (hdet : ∀ {D_det : CellProbe.IndexedScheme (Dynamic.Op U) Dynamic.Op.Result cells w}, (∀ ops ∈ validHistoriesUpTo U V n (3 * n + 1), (D_det.runSeq ops).1 = ((Dynamic.spec U V n).run (empty U) ops).2) → B ≤ ∑' (ops : List (Dynamic.Op U)), ((insertDeleteDist U V n hU hV) ops).toReal * ↑(D_det.seqProbes ops)) :
theorem Cslib.DataStructure.Dictionary.CellProbe.iterLog_logStar_space_le {U V n cells w : ℕ} {c_R : ℝ} (hn : 2 ≤ n) (hspace : ↑(cells * w) ≤ benchmarkBits U V n + c_R * ↑n) :
1 ≤ n.logStar ∧ ↑(cells * w) ≤ benchmarkBits U V n + c_R * ↑n * ↑(max (n.logStar.iterLog n) 1)
theorem Cslib.DataStructure.Dictionary.CellProbe.combine_iterLogStar_and_sublinear {c₁ c₂ L R E : ℝ} {n : ℕ} (hn : 2 ≤ n) (hL_nn : 0 ≤ L) (hE_nn : 0 ≤ E) (hb₁ : c₁ * ↑n * L ≤ E) (hb₂ : R ≤ ↑n → c₂ * ↑n * Real.logb 2 (↑n / max R 1) ≤ E) :
min c₁ c₂ / 2 * ↑n * (L + max 0 (Real.logb 2 (↑n / max R 1))) ≤ E
theorem Cslib.DataStructure.Dictionary.CellProbe.mul_le_linear_of_le_half {c L n K : ℝ} (hn : 0 ≤ n) (hL_nn : 0 ≤ L) (hc1 : c ≤ 1 / (2 * K)) (hK : 0 < K) (hLK : L ≤ K) :
c * n * L ≤ n / 2