Atelier des rouesLab FR
Objects/Documentation

intervalles17.en.txt

I provide the proof in English.

Download ↓
How many bits to support a later choice of merge intervals?
William Mançon

I compare exclusive absorbing deletions P and independent absorbing deletions Q on N=H² sites, with equal per-site probabilities in both models. I take H>4 so that Nb_i<1. Write b=1/(N√H). A type-0 cell uses the steps (b,b,2b,2b) and a type-1 cell uses (b,2b,b,2b). I observe survivor counts after each step, except in selected cells where I observe counts at the end of each of the two pairs. A reader may select a union S of up to k disjoint cell intervals independently of outcomes. The reader knows H, k and the accuracy. The deterministic encoder knows the entire cell word. Storage is the largest possible binary message length. Affinity A=Σ√(P Q) approaches one for similar laws.

1. Exact reduction for the leading expression C5 of XXIV.O03

Let t=|S|, j be the number of ones in S, a₀=2.5/[2(1+√0.5)²], a₁=1/2 and g=a₁−a₀>0. Unselected cells contribute 2.5/H to the exponent, selected cells contribute a₀/H or a₁/H. Hence the leading affinity equals
  F(t,j)=exp(−[2.5(H−t)+a₀t+gj]/H).
On 0≤j≤t≤H, its absolute derivative with respect to j lies between c/H and g/H, where c=g exp(−2.5). A count error D therefore costs at most gD/H. Conversely, after projecting an affinity estimate onto the admissible range, inversion recovers the count within Hε/c for absolute affinity error ε. Constant words attain the two extrema for a given size t.

2. Encoding at most k intervals

When k=0, C5 is constant. Otherwise take d=1+⌊εH/(2gk)⌋. At each grid boundary id I record whether the cumulative number of ones crossed a multiple of d during that grid cell. Each complete cell crosses at most one threshold. This requires ⌊H/d⌋ payload bits with at most seven padding bits in the last byte. The decoding rule and parameters are shared. To approximate the rank up to x, I count crossings before or at d⌊x/d⌋ and multiply by d. The estimate is low by at most 2(d−1), including in the incomplete last cell. Subtracting two such prefixes costs at most 2(d−1) in absolute count error per interval. I sum the interval differences and clamp the result to [0,t]. The resulting absolute error on F is at most ε. With d=1 I retain the word exactly. For k≥⌈H/2⌉ every subset is admissible.

For H=1,000,000, k=1 and ε=0.001 the implementation retains 142 payload bits in 18 bytes. This numerical guarantee applies to F. The reference decoder scans the packed bytes when answering prefix queries. Lemma 4 and Theorem 5 of Ben Basat, Jo, Satti and Ugare give lower and upper bounds for downward additive error on the rank answer at a specified position. Their indexed structure achieves constant query time in their model. My implementation uses their elementary threshold-crossing idea. A prefix is a special interval. A two-sided rank estimate with error D becomes a downward estimate by subtracting D at the cost of error 2D (allow one extra unit for a strict endpoint convention).

Read in context

Comments

Comments from both language editions appear here.

The discussion is open for reading. I’ll enable submissions once spam protection is configured.