Introduction
Recent algorithmic breakthroughs have exposed the vulnerability of central hardness conjectures. At the same time, Ko [31 ] offered a new hope for unconditional Boolean dynamic lower bounds: a program to unify bounds at the quadratic-logarithmic scale through 2.5-round communication games. In this work, the unconditional lower bounds strike back : we extend the framework from Inner Product to Disjointness and obtain unconditional bounds for a broad collection of dynamic graph, set, matrix, geometric, and string problems.
The common source is Pătraşcu’s multiphase Disjointness problem [PăT10]: preprocess a family of sets, insert elements into a set X X X , and finally test whether X X X is disjoint from a specified member of the family. For n n n preprocessed subsets of [ n ] [n] [ n ] , we prove
max ( t u , t q ) = Ω ( ( log n log log n ) 2 ) \max(t_u,t_q) = \Omega\left(\left(\frac{\log n}{\log\log n}\right)^2\right) max ( t u , t q ) = Ω ( ( log log n log n ) 2 )
in the zero-error cell-probe model with word size w = Θ ( log n ) w = \Theta(\log n) w = Θ ( log n ) , where t u t_u t u is the worst-case insertion time and t q t_q t q the expected query time on each input. Preprocessing is unrestricted. Theorem 1.1 gives the stronger update/query trade-off from which all our applications follow.
Disjointness connects this theorem to problems with very different query interfaces. Known reductions, and adaptations of published constructions, transfer the bound to incremental directed reachability and bipartite matching, planar distances, range mode, inverse-entry and determinant maintenance, geometric counting, and string matching. They use O ( 1 ) O(1) O ( 1 ) target operations per source operation and change the instance size only polynomially, so they preserve the quadratic-logarithmic scale. Table 1 lists these problems with references, and Appendix § 6 collects the constructions, attributes their sources, and checks that they meet the requirements of our model.
Directed reachability is a leading example. Our bound holds already under edge insertions on depth-2 directed acyclic graphs and improves the Ω ~ ( log 3 / 2 n ) \widetilde{\Omega}(\log^{3/2} n) Ω ( log 3/2 n ) bound of Larsen and Yu [36 ] to the quadratic-logarithmic scale previously attained for dynamic range counting and multiphase Inner Product [34 , 31 ] .
We also obtain a separation between amortized and worst-case time for streaming regular-expression membership, which asks after each arriving symbol whether the prefix read so far matches a preprocessed expression. For a simple family of expressions of maximum length M M M over a polynomial-size alphabet, a deterministic algorithm uses O ( 1 ) O(1) O ( 1 ) amortized time per symbol on every input stream, whereas every zero-error cell-probe algorithm with word size w = Θ ( log M ) w = \Theta(\log M) w = Θ ( log M ) requires Ω ( ( log M / log log M ) 2 ) \Omega((\log M/\log\log M)^2) Ω (( log M / log log M ) 2 ) time on some symbol (Theorem 1.3). Thus the Disjointness bound also gives an unconditional obstruction to deamortizing this streaming computation.
The vulnerability of hardness conjectures. Many of these dynamic problems have been studied through polynomial conditional lower bounds. Such a bound shows that a faster data structure would give a faster algorithm for a problem conjectured to be hard, such as 3SUM, all-pairs shortest paths (APSP), or CNF satisfiability [PăT10, AW14]. These reductions have been remarkably successful at charting relationships among problems, but they do not by themselves establish that any of the problems is hard. An unconditional lower bound proves hardness within the stated computational model, independently of such conjectures.
Recent events have made this distinction concrete. An algorithm discovered by Claude (Anthropic), subsequently analyzed, strengthened, and presented by Alman and Vassilevska Williams [3 ] , yields truly subquadratic 3SUM and truly subcubic APSP algorithms, refuting the corresponding conjectures. Two recent manuscripts released by OpenAI1 and Anthropic2 claim subexponential algorithms for 3-SAT, which would refute the Exponential Time Hypothesis (ETH) and hence the Strong Exponential Time Hypothesis (SETH) [27 ] .
The refuted conjectures no longer supply hardness for the corresponding lower bounds. The web of reductions remains intact, but its starting premise is gone, and reductions alone cannot establish the hardness of their targets. Our goal is to supply the missing foundation with an unconditional lower bound and put the existing reduction network to use. We do so for multiphase Disjointness: our quadratic-logarithmic lower bound is a proved source of hardness, which established reductions propagate to a broad collection of dynamic problems.
Previous work
Conditional lower bounds across dynamic problems
Conditional lower bounds motivated this reduction network. Pătraşcu [Păţ10] introduced multiphase Disjointness, proved its conditional hardness under the 3SUM conjecture, and gave reductions to reachability, shortest paths, subgraph connectivity, and set and array problems. Subsequent work developed conditional bounds for graph problems [2 HKNS15] , planar graphs [1 ] , dynamic matrices [vdBNS19], geometric counting [18 , 29 ] , and string problems [CGLS18, CKM+19]. The 3SUM and APSP refutations [3 ] have removed central foundations of this program: those conjectures no longer support the associated lower bounds. The claimed ETH refutations discussed above would likewise refute SETH. The reductions remain valid, and many can be specialized or adapted to a single evolving set and a final selected query. The refutations thus leave the affected reduction chains intact, but with no valid source of hardness.
Unconditional cell-probe lower bounds
The cell-probe model [44 ] charges only for memory access: memory consists of w w w -bit cells, each read or write costs one probe, and computation is free. A lower bound therefore also applies to word-RAM algorithms with the same word size. We work with w = Θ ( log n ) w = \Theta(\log n) w = Θ ( log n ) and allow arbitrary preprocessing, so the lower bound concerns the information that must be accessed while processing updates and queries. The model’s generous assumptions make lower bounds especially difficult to prove, helping explain the slow progress even for basic dynamic problems.
Fredman and Saks [21 ] introduced the Chronogram method and proved an Ω ( log n / log log n ) \Omega(\log n / \log\log n) Ω ( log n / log log n ) lower bound, which transfers to dynamic connectivity [37 , 24 ] . Pătraşcu and Demaine [40 ] improved the connectivity bound to Ω ( log n ) \Omega(\log n) Ω ( log n ) . For almost two decades, the strongest unconditional lower bounds for natural graph problems remained at the (near-)logarithmic scale. For problems with word-size answers, Larsen [34 ] reached Ω ( ( log n / log log n ) 2 ) \Omega((\log n / \log\log n)^2) Ω (( log n / log log n ) 2 ) for weighted range counting. Reaching stronger bounds for Boolean queries required a further breakthrough: Larsen, Weinstein and Yu [35 ] proved an Ω ~ ( log 3 / 2 n ) \widetilde{\Omega}(\log^{3/2} n) Ω ( log 3/2 n ) bound. Building on their technique, Larsen and Yu [36 ] obtained the first super-logarithmic bound for a natural graph problem, proving
t q = Ω ( log 3 / 2 n log 2 ( t u w ) ) t_q = \Omega\left(\frac{\log^{3/2} n}{\log^2(t_u w)}\right) t q = Ω ( log 2 ( t u w ) log 3/2 n )
for incremental reachability on DAGs, with worst-case update time t u t_u t u and expected query time t q t_q t q [36 Theorem 1] . Figure 1 places our reachability consequence in this progression.
Figure 1. Unconditional cell-probe lower bounds for dynamic directed reachability, with w = Θ ( log n ) w = \Theta(\log n) w = Θ ( log n ) , stated as bounds on max ( t u , t q ) \max(t_u,t_q) max ( t u , t q ) . For prior results, dates refer to conference appearances. The first two bounds transfer from fully dynamic undirected connectivity to fully dynamic directed reachability; the later bounds already hold for incremental reachability. The first is Fredman and Saks’s bound for prefix parity [21 ] , which transfers to dynamic connectivity by a simple reduction observed independently by Miltersen, Subramanian, Vitter and Tamassia [37 ] and by Henzinger and Fredman [24 ] .
The Boolean-answer restriction is central to this history. The Chronogram method separates information according to the epochs in which updates arrive. Larsen’s cell-sampling argument forces many probes to an individual epoch, but its original encoding argument uses the many bits returned by a query. Larsen, Weinstein and Yu instead reduce a Boolean data structure to a one-way communication game in which the receiver predicts the answer with a small advantage over random guessing; a peak-to-average lemma based on Chebyshev polynomials bounds this advantage [35 ] . This is the framework underlying Larsen and Yu’s reachability bound.
For multiphase Disjointness itself, Pătraşcu’s conjectured polynomial lower bound remains open. He proposed a three-party communication game whose hardness would imply the conjecture in the cell-probe model [Păt10]. Earlier progress includes bounds for non-adaptive data structures [5 ] , regimes with very fast queries [CGL15], semi-adaptive data structures via two-round communication [33 , 19 ] , and a 1.5-round version of the communication game [CEEP16]. Proving Pătraşcu’s conjectured communication lower bound even for three-round protocols would imply major circuit lower bounds [33 ] .
The unconditional lower bounds strike back. The new framework of [31 ] is a common route to quadratic-logarithmic unconditional lower bounds for Boolean dynamic problems. Its 2.5-round game lets Bob verify Alice’s simulation and detect its failure. Its first instance, multiphase Inner Product over F 2 \mathbb{F}_2 F 2 , reaches the scale previously attained by Larsen for word-size answers [34 ] . Beyond that instance, the framework gives a general recipe based on discrepancy bounds, initiating a program to unify dynamic lower bounds at this scale through communication hardness and reductions.
We take the next step in this program by extending the framework to Disjointness. This requires a further insight into the 2.5-round game: the hard distributions for Disjointness do not satisfy the discrepancy property used for Inner Product in [31 ] . We exploit verification by conditioning on certified “disjoint” answers, allowing a one-sided corruption bound to replace discrepancy. This change matters beyond the source problem: Pătraşcu’s reductions [Păt10] begin from Disjointness, and many later constructions also encode it. The extension therefore connects the 2.5-round framework to a broad collection of natural dynamic problems. In the spirit of Pătraşcu’s program of reductions and communication lower bounds [Păt08, Păt10], the same constructions now transfer a proved lower bound, independently of the conjectures that motivated them.
Streaming and amortization
Lower bounds for dynamic data structures are closely related to lower bounds on streaming processing time. A streaming membership algorithm updates its state as symbols arrive and reports after each arrival whether the current prefix belongs to a fixed language. This connection lets us apply our Disjointness bound to streaming regular-expression membership, studied by Bille and Thorup [7 ] and Dudek, Gawrychowski, Gourdel and Starikovskaya [DGGS22]. Earlier separations between amortized and worst-case time include union–find [41 , 6 , 21 ] and variance-optimal reservoir sampling [8 ] ; we refer the reader to Section A.7 for the detailed discussion.
Our results
Main result: multiphase Disjointness. Our main technical result is an Ω ( ( log n / log log n ) 2 ) \Omega((\log n / \log\log n)^2) Ω (( log n / log log n ) 2 ) lower bound for the multiphase problem of Pătrașcu [Păt10] with Disjointness, in its insert-only form. All applications in this paper follow from this theorem.
Phase I. Sets S 1 , … , S m ⊆ [ n ] S_1,\ldots,S_m \subseteq[n] S 1 , … , S m ⊆ [ n ] arrive and are preprocessed arbitrarily.
Phase II. Elements are inserted one at a time into a set X ⊆ [ n ] X \subseteq[n] X ⊆ [ n ] , initially empty; each insertion probes at most t u t_u t u cells.
Phase III. An index q ∈ [ m ] q \in[m] q ∈ [ m ] arrives, and the data structure outputs whether S q ∩ X = ∅ S_q \cap X = \varnothing S q ∩ X = ∅ , reading at most t q t_q t q cells in expectation; it does not write.
Problem 1: Insert-only multiphase Disjointness
Theorem 1.1 (Main technical theorem, informal). Every zero-error cell-probe data structure for insert-only multiphase Disjointness with m = n m=n m = n query sets, word size w = Θ ( log n ) w=\Theta(\log n) w = Θ ( log n ) , worst-case update time t u t_u t u per insertion and expected query time t q t_q t q satisfies
t q = Ω ( ( log n log ( t u w ) ) 2 ) . t_q = \Omega\left(\left(\frac{\log n}{\log(t_u w)}\right)^2\right). t q = Ω ( ( log ( t u w ) log n ) 2 ) . In particular,
max ( t u , t q ) = Ω ( ( log n log log n ) 2 ) . \max(t_u,t_q) = \Omega\left(\left(\frac{\log n}{\log\log n}\right)^2\right). max ( t u , t q ) = Ω ( ( log log n log n ) 2 ) .
Theorem 3.1 gives the formal statement; § 2.1 specifies the randomness and cost conventions.
Pătrașcu [Păt10] conjectured a polynomial lower bound for the multiphase problem when m = n 1 + Ω ( 1 ) m=n^{1+\Omega(1)} m = n 1 + Ω ( 1 ) and showed that Disjointness serves as a common source of hardness for several natural dynamic problems. Our theorem does not resolve that conjecture, but reaches the quadratic-logarithmic scale already in the regime m = n m=n m = n . Ko [31 ] and Koucký, Loff, Molli and Saks [30 ] discuss barriers to going beyond this scale with current techniques. We next give two consequences.
Corollary I: dynamic problems. Applying Pătrașcu’s reduction gives a quadratic-logarithmic lower bound for incremental directed reachability, improving the bound of Larsen and Yu [36 ] .
Corollary 1.2 (Directed reachability, informal). Every zero-error cell-probe data structure for incremental directed reachability on N N N vertices, starting with no edges, with word size w = Θ ( log N ) w = \Theta(\log N) w = Θ ( log N ) , worst-case insertion time t u t_u t u and expected query time t q t_q t q , satisfies
t q = Ω ( ( log N log ( t u w ) ) 2 ) ; t_q = \Omega\left(\left(\frac{\log N}{\log(t_u w)}\right)^2\right); t q = Ω ( ( log ( t u w ) log N ) 2 ) ; in particular,
max ( t u , t q ) = Ω ( ( log N log log N ) 2 ) . \max(t_u,t_q) = \Omega\left(\left(\frac{\log N}{\log\log N}\right)^2\right). max ( t u , t q ) = Ω ( ( log log N log N ) 2 ) . This holds already on depth-2 DAGs whose queries ask whether a fixed sink is reachable.
Theorem A.2 gives the formal statement. The bound trivially applies to fully dynamic directed reachability, since a fully dynamic data structure must handle insertion-only sequences.
The same Ω ( log N / log log N ) 2 \Omega(\log N/\log\log N)^2 Ω ( log N / log log N ) 2 lower bound on max ( t u , t q ) \max(t_u,t_q) max ( t u , t q ) follows for the dynamic problems in Table 1, which describes the tasks and gives representative references to prior work. The existing web of reductions gives these consequences their breadth, and we expect further applications beyond this list. Each consequence is an unconditional lower bound for its target problem, obtained by transferring proved hardness from Disjointness.
Table 1. Dynamic applications: brief descriptions and representative prior work.
These consequences follow from known reductions or simple adaptations of published constructions; for completeness and reader convenience, Appendix § 6 gives the reductions and verifies their applicability to our precise model. The problem names in Table 1 link to their constructions, and Table 2 records the precise trade-offs. All statements use the zero-error model, worst-case update time, and per-input expected query time of Theorem 1.2, and many hold already under insertion-only updates. A reduction that answers the source query with target queries alone bounds t q t_q t q ; one that also needs a constant number of target updates bounds t u + t q t_u+t_q t u + t q (Theorem 1.1 ).
Table 2 : The bounds of this appendix. Each listed quantity is Ω ( L N ) \Omega(L_N) Ω ( L N ) , so in every case max ( t u , t q ) = Ω ( ( log N / log log N ) 2 ) \max(t_u,t_q)=\Omega((\log N/\log\log N)^2) max ( t u , t q ) = Ω (( log N / log log N ) 2 ) .
Table 2.
Corollary II: streaming membership, amortized versus worst case. Our theorem also bounds the worst-case time per symbol of streaming regular-expression membership, a basic streaming task [7 DGGS22] . For each query set S i S_i S i , let Γ i \Gamma_i Γ i be the alternation of the alphabet symbols
corresponding to elements outside S i S_i S i , and consider the regular expression
⋃ i ( # Γ i ∗ c i ) \bigcup_i \left(\#\Gamma_i^*c_i\right) i ⋃ ( # Γ i ∗ c i )
where ∪ \cup ∪ denotes alternation and the final symbol c i c_i c i selects the query; when S i = [ n ] S_i=[n] S i = [ n ] , the i i i th branch is simply # c i \#c_i # c i . Data symbols can be recorded in constant time, keeping only their first occurrence, while on the final selector one scans the resulting list of distinct symbols. Consequently, this family admits deterministic O ( 1 ) O(1) O ( 1 ) amortized processing time per arriving symbol on every input stream.
A matcher with small worst-case processing time per symbol would yield a multiphase data structure with the same update and query bounds. Writes performed while processing the final selector can be simulated in temporary workspace, since no later operation follows.
Corollary 1.3 (Streaming regular-expression membership, informal). There is a family of regular expressions of maximum length M M M over a polynomial-size alphabet for which streaming membership, with an answer after every symbol, can be solved in deterministic O ( 1 ) O(1) O ( 1 ) amortized time per arriving symbol on every input stream, but every zero-error cell-probe algorithm with word size w = Θ ( log M ) w=\Theta(\log M) w = Θ ( log M ) requires
Ω ( ( log M log log M ) 2 ) \Omega\left(\left(\frac{\log M}{\log\log M}\right)^2\right) Ω ( ( log log M log M ) 2 ) worst-case processing time on some symbol.
Binary encoding gives a weaker Ω ( log M / ( log log M ) 2 ) \Omega(\log M/(\log\log M)^2) Ω ( log M / ( log log M ) 2 ) bound per bit. The symbols in the original alphabet occupy O ( 1 ) O(1) O ( 1 ) words each. Section A.7 gives both statements, their reductions, and a comparison with earlier separations.
Proof overview
We sketch the proof of Theorem 1.1 , which follows the framework of [31 ] and works in two layers. The outer layer is the Chronogram method of Fredman and Saks [21 ] : we split the insertions into Θ ( log n / log ( t u w ) ) \Theta(\log n/\log(t_u w)) Θ ( log n / log ( t u w )) epochs, and show that a query must probe Ω ( log n / log ( t u w ) ) \Omega(\log n/\log(t_u w)) Ω ( log n / log ( t u w )) cells written in each of a constant fraction of them. The inner layer proves this bound for a single epoch, following [31 ] : if a query probes fewer cells of the epoch, we turn the data structure into a 2.5-round protocol whose probability of answering “disjoint” contradicts a communication lower bound. § 3 gives the details.
The outer layer: the Chronogram method
The Chronogram method [21 ] divides the insertions into ℓ \ell ℓ epochs whose sizes grow geometrically going back in time. We number the epochs ℓ , ℓ − 1 , … , 1 \ell,\ell-1,\ldots,1 ℓ , ℓ − 1 , … , 1 in the order in which they occur, so that the larger epochs come first and epoch 1 is the most recent. The main observation of Fredman and Saks is that we can decompose the cells by the epoch of their last write: let C i C_i C i be the set of cells last written in epoch i i i . Each probe goes to at most one of the disjoint sets C 1 , … , C ℓ C_1,\ldots,C_\ell C 1 , … , C ℓ , so for most epochs i i i , a random query probes only O ( t q / ℓ ) O(t_q/\ell) O ( t q / ℓ ) cells of C i C_i C i in expectation. We show that for a constant fraction of the epochs i i i , a random query must probe Ω ( log n / log ( t u w ) ) \Omega(\log n/\log(t_u w)) Ω ( log n / log ( t u w )) cells of C i C_i C i . With ℓ = Θ ( log n / log ( t u w ) ) \ell=\Theta(\log n/\log(t_u w)) ℓ = Θ ( log n / log ( t u w )) , this gives t q = Ω ( ( log n / log ( t u w ) ) 2 ) t_q=\Omega((\log n/\log(t_u w))^2) t q = Ω (( log n / log ( t u w ) ) 2 ) .
The hard distribution. Recall that in multiphase Disjointness (Problem 1), the query sets S 1 , … , S m S_1,\ldots,S_m S 1 , … , S m arrive first, the elements of X X X are then inserted, and finally a query asks whether S q ∩ X = ∅ S_q \cap X = \varnothing S q ∩ X = ∅ . We choose disjoint blocks B 1 , … , B ℓ B_1,\ldots,B_\ell B 1 , … , B ℓ in [ n ] [n] [ n ] and leave any remaining coordinates unused. In epoch i i i , s i = ( t u w ) 2 i s_i=(t_u w)^{2i} s i = ( t u w ) 2 i random elements of B i B_i B i are inserted, and every query set has s i s_i s i random elements in B i B_i B i . In other words, this is the hard distribution of Babai, Frankl and Simon [4 ] for Disjointness, two independent random sets of size about the square root of the universe, spread across the epochs: each block carries one copy of it, made slightly sparser so that the ℓ \ell ℓ copies together meet with constant probability. Two features of this distribution matter.
Recent epochs cannot record older ones. The epoch sizes are geometric: going back in time, they grow by a factor ( t u w ) 2 (t_u w)^2 ( t u w ) 2 . So the insertions after epoch i i i number at most s i − 1 + s i − 2 + ⋯ + s 1 ≤ 2 s i − 1 = 2 s i / ( t u w ) 2 s_{i-1}+s_{i-2}+\cdots+s_1 \le2s_{i-1}=2s_i/(t_u w)^2 s i − 1 + s i − 2 + ⋯ + s 1 ≤ 2 s i − 1 = 2 s i / ( t u w ) 2 , and since each insertion writes at most t u t_u t u cells of w w w bits, they write only O ( s i / ( t u w ) ) O(s_i/(t_u w)) O ( s i / ( t u w )) bits. This is far too few to describe the s i s_i s i elements inserted in epoch i i i , so a query that needs these elements must read cells of C i C_i C i . This is the key property of the Chronogram method.
Every epoch matters. Block B i B_i B i has ℓ s i 2 \ell s_i^2 ℓ s i 2 elements. By the birthday paradox, two random sets of size s i s_i s i in a universe of size ℓ s i 2 \ell s_i^2 ℓ s i 2 meet with probability about 1 / ℓ 1/\ell 1/ ℓ . So the answer is “disjoint” with constant probability, and each block can change it.
The inner layer: the 2.5-round game
Suppose, for contradiction, that t q = o ( ( log n / log ( t u w ) ) 2 ) t_q=o((\log n/\log(t_u w))^2) t q = o (( log n / log ( t u w ) ) 2 ) , and fix an epoch i i i in which a random query probes only k = O ( t q / ℓ ) k=O(t_q/\ell) k = O ( t q / ℓ ) cells of C i C_i C i in expectation. The idea of cell sampling, introduced to the Chronogram method by Larsen [34 ] , is that a small random sample of C i C_i C i then already suffices to answer a nontrivial fraction of the queries. If each cell of C i C_i C i is sampled independently with probability p = Θ ( 1 / ( t u w ) ) p=\Theta(1/(t_u w)) p = Θ ( 1/ ( t u w )) , then all k k k cells of C i C_i C i probed by a query are sampled with probability about p k p^k p k . Both 1 / ℓ 1/\ell 1/ ℓ and log ( 1 / p ) \log(1/p) log ( 1/ p ) contribute a factor of log ( t u w ) \log(t_u w) log ( t u w ) , so
p k ≥ exp ( − O ( t q log 2 ( t u w ) log n ) ) = n − o ( 1 ) . p^k \ge\exp\left(-O\left(\frac{t_q\log^2(t_u w)}{\log n}\right)\right)=n^{-o(1)}. p k ≥ exp ( − O ( log n t q log 2 ( t u w ) ) ) = n − o ( 1 ) .
This is the source of the quadratic form of the bound. To exploit it, we use the following variant of the 2.5-round multiphase communication game of [31 ] . Alice holds the query sets S 1 , … , S m S_1,\ldots,S_m S 1 , … , S m , Bob holds X X X , and an omniscient adviser, Merlin, holds both. Merlin follows the prescribed message rule, supplying advice determined by the inputs.
Round 0 (Merlin to Bob). Merlin sends Bob a message U U U .
Round 0.5 (Bob to Alice). Bob sends Alice a message Φ \Phi Φ , which may depend on U U U , X X X and his private randomness, but not on the query.
Round 1 (Alice to Bob). A random query index Q ∈ [ m ] Q\in[m] Q ∈ [ m ] is revealed to Alice only, and she sends Bob a message A Q A_Q A Q .
Round 2 (Bob). Bob outputs whether S Q ∩ X = ∅ S_Q\cap X=\varnothing S Q ∩ X = ∅ , or FAIL.
Protocol 1: The 2.5-round multiphase communication game (cf. [31 ] , Protocol 3)
This game is a restriction of Pătraşcu’s multiphase communication game, in which Alice and Bob both know the query and may then communicate freely. The required lower bound for Pătraşcu’s game remains open, while known bounds for more restricted games [CEEP16, KW20, DL20] do not imply lower bounds for general data structures. The 2.5-round game sits in between. Bob’s message Φ \Phi Φ does not depend on the query, which makes the game amenable to information-theoretic analysis, and yet the game can still simulate a data structure.
Simulation. We turn the data structure into a protocol for the game as follows (Step 1, § 3.2 ).
Merlin’s message U U U is the list of all cells written in epochs i , … , 1 i,\ldots,1 i , … , 1 , with their final contents.
Bob’s message Φ \Phi Φ consists of the elements of X X X outside B i B_i B i , the contents of all cells written after epoch i i i , and each cell of C i C_i C i independently with probability p = ε / ( 32 t u w ) p=\varepsilon/(32tuw) p = ε / ( 32 t u w ) , for a small constant ε > 0 \varepsilon>0 ε > 0 . With Φ \Phi Φ , Alice knows the whole memory except the unsampled cells of C i C_i C i .
Alice’s message A Q A_Q A Q is her simulation of query Q Q Q on the memory she knows.
Bob checks A Q A_Q A Q against U U U . Alice’s simulation can only go wrong on unsampled cells of C i C_i C i , which are listed in U U U , so Bob detects every mistake. He outputs Alice’s answer if A Q A_Q A Q is consistent with U U U , and FAIL otherwise.
Every non-FAIL answer is therefore correct. Moreover, Alice’s simulation is correct whenever all k k k cells of C i C_i C i that the query probes are sampled, which happens with probability about p k = n − o ( 1 ) p^k=n^{-o(1)} p k = n − o ( 1 ) .
Verification is what distinguishes this protocol from the one-way games behind earlier bounds [34 , 36 ] . There, Alice answers on her own and cannot tell whether her simulation is correct, since an unsampled cell of C i C_i C i looks to her like a cell that was not written in epoch i i i at all; a failed simulation is indistinguishable from a successful one. Here, Bob knows exactly when the simulation fails.
The protocol nevertheless reveals little about block i i i . Bob’s message reveals at most ε s i / 4 \varepsilon s_i/4 ε s i /4 bits about X ∩ B i X\cap B_i X ∩ B i , a small fraction of its entropy, and Alice’s simulation has O ( t q w ) O(tqw) O ( tq w ) bits. Merlin’s list U U U is long, but it is shared by all m m m query sets, so it reveals little about the random query set S Q S_Q S Q . Yet Bob learns, with probability n − o ( 1 ) n^{-o(1)} n − o ( 1 ) , that S Q S_Q S Q and X X X are disjoint. The communication lower bound rules out this combination of small information loss and substantial probability of a certified “disjoint” answer.
From discrepancy to one-sided corruption
In [31 ] , Bob outputs a random guess when verification fails, and the contradiction comes from the protocol’s advantage over random guessing. After conditioning on suitable message values and smoothing, the inputs have nearly full min-entropy and are nearly independent. For Inner Product the proof ends with a discrepancy bound: under every product distribution with nearly full min-entropy, the answer is nearly unbiased. That discrepancy property does not hold for Disjointness under the distributions needed here.
Verification allows us to use a weaker, one-sided property. [31 Remark 3.4] already relates detected failure to the protocol’s acceptance probability. We exploit the certified answer itself: Bob outputs FAIL instead of guessing, and we condition on his returning “disjoint”. Every answer he returns is correct. We therefore need only that every product distribution with nearly full min-entropy puts noticeable mass on intersecting pairs. This one-sided corruption bound does hold for Disjointness: for sets of size N \sqrt{N} N in a universe of size N N N , it is the classic rectangle bound of Babai, Frankl and Simon [4 ] , which we extend to our sparser sets in § 4 . Thus a one-sided corruption bound compatible with the epoch distribution replaces discrepancy. Extending the argument to another block function would also require a suitable product hard distribution with constant probability of the accepted global answer.
The complete argument
Our proof proceeds in four steps. As in [31 ] , the first is a simulation, and the other three prove a communication lower bound.
Simulation (§ 3.2 ). A data structure violating the proposed bound yields a protocol for the game of Protocol 1 in which Bob outputs “disjoint” with probability n − o ( 1 ) n^{-o(1)} n − o ( 1 ) , and every answer he outputs is correct.
A monochromatic near-rectangle (§ 3.3 ). Among runs on which Bob returns “disjoint”, choose a suitable value of the messages and auxiliary conditioning variables. Then restrict S Q ∩ B i S_Q \cap B_i S Q ∩ B i to an event of constant conditional probability. After this smoothing step, the two block inputs have nearly full min-entropy and small mutual information. They are always disjoint because Bob’s answer is certified.
A nearly monochromatic rectangle (Theorem 3.11). By Pinsker’s inequality, replacing this distribution by the product of its marginals changes it little in total variation distance. The resulting rectangle therefore assigns little mass to intersecting pairs.
Corruption (Theorem 3.12). Every product of two distributions on sparse subsets of B i B_i B i with nearly full min-entropy puts mass Ω ( 1 / ℓ ) \Omega(1/\ell) Ω ( 1/ ℓ ) on intersecting pairs, a contradiction.
The data structure may also be randomized, with expected query time, as in [36 ] : we fix its coins, and Alice stops each simulation after 8 t q 8t_q 8 t q probes, which costs only a constant factor.
Organization. § 2 gives the model conventions and information-theoretic preliminaries. § 3 proves the main theorem using the sparse-set corruption bound established in § 4 . Appendix § 6 contains the dynamic reductions and the streaming application.
Preliminaries
Cell-probe conventions
Cells and addresses have w w w bits. Computation and temporary workspace within an operation are free; all input-dependent information retained between operations resides in memory and is accessed through charged probes. Preprocessing is unrestricted and uncharged. As in [36 ] , a random tape is drawn independently of the input, correctness holds for every input and tape, update time is worst case over inputs and tapes, and query time is expected over the tape for each fixed valid input history. We normalize t u , t q ≥ 1 t_u,t_q \ge1 t u , t q ≥ 1 , take t u t_u t u to be an integer, and state asymptotic bounds for sufficiently large instances.
Information theory
We collect the information-theoretic facts used in the proof; see [16 ] for background. Logarithms are base 2 unless written ln \ln ln .
Definition 2.1 (Entropy, mutual information, divergence). The entropy of a random variable X X X is H ( X ) : = ∑ x Pr [ X = x ] log 1 Pr [ X = x ] H(X) := \sum_x \Pr[X=x]\log\frac{1}{\Pr[X=x]} H ( X ) := ∑ x Pr [ X = x ] log P r [ X = x ] 1 , and the conditional entropy is H ( X ∣ Y ) : = E y ∼ Y [ H ( X ∣ Y = y ) ] H(X\mid Y) := \mathbb{E}_{y\sim Y}[H(X\mid Y=y)] H ( X ∣ Y ) := E y ∼ Y [ H ( X ∣ Y = y )] . The mutual information between X X X and Y Y Y , conditioned on Z Z Z , is I ( X ; Y ∣ Z ) : = H ( X ∣ Z ) − H ( X ∣ Y , Z ) I(X;Y\mid Z) := H(X\mid Z)-H(X\mid Y,Z) I ( X ; Y ∣ Z ) := H ( X ∣ Z ) − H ( X ∣ Y , Z ) ;
when we need to specify the distribution μ \mu μ of ( X , Y ) (X,Y) ( X , Y ) , we write I μ ( X ; Y ) I_\mu(X;Y) I μ ( X ; Y ) . The KL divergence and the total variation distance between two distributions P P P and Q Q Q are
D ( P ∥ Q ) : = ∑ x P ( x ) log P ( x ) Q ( x ) and ∥ P − Q ∥ T V : = 1 2 ∥ P − Q ∥ 1 . D(P\mathbin{\|}Q) := \sum_x P(x)\log\frac{P(x)}{Q(x)}
\qquad\text{and}\qquad
\lVert P-Q\rVert_{TV} := \frac{1}{2}\lVert P-Q\rVert_1. D ( P ∥ Q ) := x ∑ P ( x ) log Q ( x ) P ( x ) and ∥ P − Q ∥ T V := 2 1 ∥ P − Q ∥ 1 .
For a random variable X X X and an event E E E , we write X ∣ E X|_E X ∣ E for the distribution of X X X conditioned on E E E , for instance X ∣ Y = y X|_{Y=y} X ∣ Y = y . A random variable in place of a distribution, as in D ( X ∥ Y ) D(X\mathbin{\|}Y) D ( X ∥ Y ) , stands for its distribution.
Fact 2.2 (Basic properties). For any random variables A A A , B B B , C C C and D D D :
(a) If A A A takes at most 2 λ 2^\lambda 2 λ values, then H ( A ) ≤ λ H(A)\leq\lambda H ( A ) ≤ λ . Moreover, 0 ≤ H ( A ∣ B ) ≤ H ( A ) 0\leq H(A|B)\leq H(A) 0 ≤ H ( A ∣ B ) ≤ H ( A ) .
(b) I ( A ; B ∣ C ) = I ( B ; A ∣ C ) I(A;B|C)=I(B;A|C) I ( A ; B ∣ C ) = I ( B ; A ∣ C ) and 0 ≤ I ( A ; B ∣ C ) ≤ H ( A ∣ C ) 0\leq I(A;B|C)\leq H(A|C) 0 ≤ I ( A ; B ∣ C ) ≤ H ( A ∣ C ) . If A A A and B B B are independent given C C C , for instance if A A A is a function of C C C , then I ( A ; B ∣ C ) = 0 I(A;B|C)=0 I ( A ; B ∣ C ) = 0 .
(c) I ( A ; B ∣ C ) = E c ∼ C [ I ( A ; B ∣ C = c ) ] I(A;B|C)=\mathbb{E}_{c\sim C}[I(A;B|C=c)] I ( A ; B ∣ C ) = E c ∼ C [ I ( A ; B ∣ C = c )] .
(d) D ( P ∥ Q ) ≥ 0 D(P\mathbin{\|}Q)\geq0 D ( P ∥ Q ) ≥ 0 for any two distributions P P P and Q Q Q .
(e) If B ′ B' B ′ is a function of B B B , then I ( A ; B ′ ∣ C ) ≤ I ( A ; B ∣ C ) I(A;B'|C)\leq I(A;B|C) I ( A ; B ′ ∣ C ) ≤ I ( A ; B ∣ C ) .
(f) If D D D is independent of ( A , B , C ) (A,B,C) ( A , B , C ) , then I ( A ; B ∣ C , D ) = I ( A ; B ∣ C ) I(A;B|C,D)=I(A;B|C) I ( A ; B ∣ C , D ) = I ( A ; B ∣ C ) .
Fact 2.3 (Chain rules). (a) For any random variables A 1 , … , A k A_1,\ldots,A_k A 1 , … , A k , B B B and C C C ,
I ( A 1 ⋯ A k ; B ∣ C ) = ∑ j = 1 k I ( A j ; B ∣ C A 1 ⋯ A j − 1 ) . I(A_1\cdots A_k;B|C)=\sum_{j=1}^{k} I(A_j;B|CA_1\cdots A_{j-1}). I ( A 1 ⋯ A k ; B ∣ C ) = j = 1 ∑ k I ( A j ; B ∣ C A 1 ⋯ A j − 1 ) . (b) For any two pairs of random variables ( X , Y ) (X,Y) ( X , Y ) and ( X ′ , Y ′ ) (X',Y') ( X ′ , Y ′ ) ,
D ( X Y ∥ X ′ Y ′ ) = D ( X ∥ X ′ ) + E x ∼ X [ D ( Y ∣ X = x ∥ Y ′ ∣ X ′ = x ) ] . D(XY\mathbin{\|}X'Y')=D(X\mathbin{\|}X')+\mathbb{E}_{x\sim X}\left[D(Y|_{X=x}\mathbin{\|}Y'|_{X'=x})\right]. D ( X Y ∥ X ′ Y ′ ) = D ( X ∥ X ′ ) + E x ∼ X [ D ( Y ∣ X = x ∥ Y ′ ∣ X ′ = x ) ] .
Fact 2.4. For any random variables A A A , B B B , C C C and D D D , if I ( B ; D ∣ A C ) = 0 I(B;D|AC)=0 I ( B ; D ∣ A C ) = 0 , then I ( A ; B ∣ C D ) ≤ I ( A ; B ∣ C ) I(A;B|CD)\leq I(A;B|C) I ( A ; B ∣ C D ) ≤ I ( A ; B ∣ C ) .
Proof. By the chain rule (Theorem 2.3(a)) and Theorem 2.2(b),
I ( A ; B ∣ C D ) ≤ I ( A D ; B ∣ C ) = I ( A ; B ∣ C ) + I ( B ; D ∣ A C ) = I ( A ; B ∣ C ) . I(A;B|CD)\leq I(AD;B|C)=I(A;B|C)+I(B;D|AC)=I(A;B|C). I ( A ; B ∣ C D ) ≤ I ( A D ; B ∣ C ) = I ( A ; B ∣ C ) + I ( B ; D ∣ A C ) = I ( A ; B ∣ C ) .
Fact 2.5 (KL divergence and mutual information). For any random variables A A A and B B B , I ( A ; B ) = E b ∼ B [ D ( A ∣ B = b ∥ A ) ] I(A;B)=\mathbb{E}_{b\sim B}[D(A|_{B=b}\mathbin{\|}A)] I ( A ; B ) = E b ∼ B [ D ( A ∣ B = b ∥ A )] .
Fact 2.6 (Pinsker’s inequality). For any two distributions P P P and Q Q Q ,
∥ P − Q ∥ T V ≤ ln 2 2 D ( P ∥ Q ) . \lVert P-Q\rVert_{TV}\leq\sqrt{\frac{\ln2}{2}D(P\mathbin{\|}Q)}. ∥ P − Q ∥ T V ≤ 2 ln 2 D ( P ∥ Q ) .
Min-entropy
The min-entropy of a random variable A A A is H ∞ ( A ) : = − log max a Pr [ A = a ] H_{\infty}(A) := - \log\max_a \Pr[A = a] H ∞ ( A ) := − log max a Pr [ A = a ] , and for a distribution ν \nu ν we write H ∞ ( ν ) H_{\infty}(\nu) H ∞ ( ν ) likewise. We use the average min-entropy of [20 ] ,
H ~ ∞ ( A ∣ B ) : = − log E b ∼ B [ max a Pr [ A = a ∣ B = b ] ] . \widetilde{H}_{\infty}(A|B) := -\log\mathbb{E}_{b\sim B}\left[\max_a \Pr[A = a|B = b]\right]. H ∞ ( A ∣ B ) := − log E b ∼ B [ a max Pr [ A = a ∣ B = b ] ] .
Fact 2.7 ([20 ] ). Let A A A , B B B , C C C be random variables.
(a) If B B B has at most 2 λ 2^\lambda 2 λ possible values, then H ~ ∞ ( A ∣ B , C ) ≥ H ~ ∞ ( A ∣ C ) − λ \widetilde{H}_{\infty}(A|B,C) \ge\widetilde{H}_{\infty}(A|C) - \lambda H ∞ ( A ∣ B , C ) ≥ H ∞ ( A ∣ C ) − λ .
(b) For every r > 0 r > 0 r > 0 , Pr b ∼ B [ H ∞ ( A ∣ B = b ) ≥ H ~ ∞ ( A ∣ B ) − r ] ≥ 1 − 2 − r \Pr_{b\sim B}\left[H_{\infty}(A|B = b) \ge\widetilde{H}_{\infty}(A|B) - r\right] \ge1 - 2^{-r} Pr b ∼ B [ H ∞ ( A ∣ B = b ) ≥ H ∞ ( A ∣ B ) − r ] ≥ 1 − 2 − r .
(c) If B ′ B' B ′ is a function of B B B , then H ~ ∞ ( A ∣ B ′ ) ≥ H ~ ∞ ( A ∣ B ) \widetilde{H}_{\infty}(A|B') \ge\widetilde{H}_{\infty}(A|B) H ∞ ( A ∣ B ′ ) ≥ H ∞ ( A ∣ B ) .
Fact 2.8. Let E ∈ { 0 , 1 } E \in\{0,1\} E ∈ { 0 , 1 } be a random variable with Pr [ E = 1 ] > 0 \Pr[E = 1] > 0 Pr [ E = 1 ] > 0 . Then H ~ ∞ ( X ∣ Y , E = 1 ) ≥ H ~ ∞ ( X ∣ Y ) − log ( 1 / Pr [ E = 1 ] ) \widetilde{H}_{\infty}(X|Y,E=1) \ge\widetilde{H}_{\infty}(X|Y) - \log(1/\Pr[E = 1]) H ∞ ( X ∣ Y , E = 1 ) ≥ H ∞ ( X ∣ Y ) − log ( 1/ Pr [ E = 1 ]) , where the left side is with respect to the distribution conditioned on E = 1 E = 1 E = 1 .
Proof. For every y y y with Pr [ E = 1 ∣ Y = y ] > 0 \Pr[E = 1|Y = y] > 0 Pr [ E = 1∣ Y = y ] > 0 , we have Pr [ X = x ∣ Y = y , E = 1 ] ≤ Pr [ X = x ∣ Y = y ] / Pr [ E = 1 ∣ Y = y ] \Pr[X = x|Y = y,E = 1] \le\Pr[X = x|Y = y]/\Pr[E = 1|Y = y] Pr [ X = x ∣ Y = y , E = 1 ] ≤ Pr [ X = x ∣ Y = y ] / Pr [ E = 1∣ Y = y ] and, by Bayes’ rule, Pr [ Y = y ∣ E = 1 ] / Pr [ E = 1 ∣ Y = y ] = Pr [ Y = y ] / Pr [ E = 1 ] \Pr[Y = y|E = 1]/\Pr[E = 1|Y = y] = \Pr[Y = y]/\Pr[E = 1] Pr [ Y = y ∣ E = 1 ] / Pr [ E = 1∣ Y = y ] = Pr [ Y = y ] / Pr [ E = 1 ] . Summing over such y y y , and then over all y y y ,
E y ∼ Y ∣ E = 1 max x Pr [ X = x ∣ Y = y , E = 1 ] ≤ ∑ y Pr [ Y = y ] max x Pr [ X = x ∣ Y = y ] Pr [ E = 1 ] = 2 − H ~ ∞ ( X ∣ Y ) Pr [ E = 1 ] . \mathbb{E}_{y\sim Y|E=1}\max_x \Pr[X = x|Y = y,E = 1] \le\sum_y \frac{\Pr[Y = y]\max_x\Pr[X = x|Y = y]}{\Pr[E = 1]} = \frac{2^{-\widetilde{H}_{\infty}(X|Y)}}{\Pr[E = 1]}. E y ∼ Y ∣ E = 1 x max Pr [ X = x ∣ Y = y , E = 1 ] ≤ y ∑ Pr [ E = 1 ] Pr [ Y = y ] max x Pr [ X = x ∣ Y = y ] = Pr [ E = 1 ] 2 − H ∞ ( X ∣ Y ) .
Fact 2.9 (Conditioning on one side). Let A A A , B B B be random variables, and let E ∈ { 0 , 1 } E \in\{0,1\} E ∈ { 0 , 1 } be a function of A A A with π : = Pr [ E = 1 ] > 0 \pi:= \Pr[E = 1] > 0 π := Pr [ E = 1 ] > 0 . Then
I ( A ; B ∣ E = 1 ) ≤ I ( A ; B ) π and H ∞ ( B ∣ E = 1 ) ≥ H ∞ ( B ) − log 1 π , I(A;B|E=1) \le\frac{I(A;B)}{\pi}
\qquad\text{and}\qquad
H_{\infty}(B|E=1) \ge H_{\infty}(B) - \log\frac{1}{\pi}, I ( A ; B ∣ E = 1 ) ≤ π I ( A ; B ) and H ∞ ( B ∣ E = 1 ) ≥ H ∞ ( B ) − log π 1 , where the left sides are with respect to the distribution conditioned on E = 1 E = 1 E = 1 .
Proof. Since E E E is a function of A A A , I ( B ; E ∣ A ) = 0 I(B;E|A) = 0 I ( B ; E ∣ A ) = 0 , so Theorem 2.4 and Theorem 2.2(b) and (c) give
I ( A ; B ) ≥ I ( A ; B ∣ E ) ≥ π ⋅ I ( A ; B ∣ E = 1 ) . I(A;B) \ge I(A;B|E) \ge\pi\cdot I(A;B|E=1). I ( A ; B ) ≥ I ( A ; B ∣ E ) ≥ π ⋅ I ( A ; B ∣ E = 1 ) .
For the second bound, Pr [ B = b ∣ E = 1 ] ≤ Pr [ B = b ] / π \Pr[B = b|E = 1] \le\Pr[B = b]/\pi Pr [ B = b ∣ E = 1 ] ≤ Pr [ B = b ] / π for every b b b .
The next two facts relate min-entropy to flat distributions and Shannon entropy. For a finite set S S S , U S U_S U S denotes the uniform distribution on S S S ; thus D ( μ ∥ U S ) = log ∣ S ∣ − H ( μ ) D(\mu\mathbin\Vert U_S) = \log|S| - H(\mu) D ( μ ∥ U S ) = log ∣ S ∣ − H ( μ ) .
Fact 2.10 (Flat decomposition; folklore, see e.g. [42 Lemma 6.10] ). If H ∞ ( μ ) ≥ log K H_{\infty}(\mu) \ge\log K H ∞ ( μ ) ≥ log K for an integer K ≥ 1 K \ge1 K ≥ 1 , then μ \mu μ is a convex combination of uniform distributions U T U_T U T on K K K -element sets T T T .
Fact 2.11 (Smoothing [28 ] ; see [31 Claim 2.16] ). If D ( μ ∥ U S ) ≤ t D(\mu\mathbin\Vert U_S) \le t D ( μ ∥ U S ) ≤ t with t > 1 t > 1 t > 1 , then for every α ≥ 4 \alpha\ge4 α ≥ 4 there exists an event E E E such that μ ( E ) ≥ 1 − 1 / α \mu(E) \ge1 - 1/\alpha μ ( E ) ≥ 1 − 1/ α and H ∞ ( μ ∣ E ) ≥ log ∣ S ∣ − 2 α t H_{\infty}(\mu|E) \ge\log|S| - 2\alpha t H ∞ ( μ ∣ E ) ≥ log ∣ S ∣ − 2 α t .
Rectangles
We express the size of a combinatorial rectangle A × B A \times B A × B through min-entropy. This lets us treat product distributions and distributions that are close to products in a common notation.
Definition 2.12 (Deficit). Let S S S be a finite family of sets. The deficit of a distribution ν \nu ν on S S S is
log ∣ S ∣ − H ∞ ( ν ) . \log|S| - H_{\infty}(\nu). log ∣ S ∣ − H ∞ ( ν ) .
The deficit is zero exactly for the uniform distribution on S S S , and the uniform distribution on a subfamily A ⊆ S A \subseteq S A ⊆ S has deficit log ( ∣ S ∣ / ∣ A ∣ ) \log(|S| / |A|) log ( ∣ S ∣/∣ A ∣ ) . A deficit bound of d d d therefore limits the mass of every point to 2 d / ∣ S ∣ 2^d / |S| 2 d /∣ S ∣ . It measures how much the distribution can concentrate relative to uniform. Below, ( A , B ) ∼ μ (A, B) \sim\mu ( A , B ) ∼ μ for a distribution μ \mu μ on S × S S \times S S × S with marginals μ A , μ B \mu^A, \mu^B μ A , μ B .
Definition 2.13 (Rectangles, near-rectangles, monochromatic). Let d , κ , δ ≥ 0 d, \kappa, \delta\ge0 d , κ , δ ≥ 0 .
(a) μ \mu μ is a d d d -rectangle if μ = μ A ⊗ μ B \mu= \mu^A \otimes\mu^B μ = μ A ⊗ μ B and both marginals have deficit at most d d d . That is,
H ∞ ( μ A ) ≥ log ∣ S ∣ − d and H ∞ ( μ B ) ≥ log ∣ S ∣ − d . H_{\infty}(\mu^A) \ge\log|S| - d \qquad\text{and}\qquad H_{\infty}(\mu^B) \ge\log|S| - d. H ∞ ( μ A ) ≥ log ∣ S ∣ − d and H ∞ ( μ B ) ≥ log ∣ S ∣ − d . (b) μ \mu μ is a ( d , κ ) (d, \kappa) ( d , κ ) -near-rectangle if both marginals have deficit at most d d d and I μ ( A ; B ) ≤ κ I_\mu(A; B) \le\kappa I μ ( A ; B ) ≤ κ .
(c) μ \mu μ is δ \delta δ -monochromatic if Pr μ [ A ∩ B ≠ ∅ ] ≤ δ \Pr_\mu[A \cap B \ne\varnothing] \le\delta Pr μ [ A ∩ B = ∅ ] ≤ δ , and monochromatic if it is 0 0 0 -monochromatic, i.e. supported on disjoint pairs.
A d d d -rectangle is the distributional analog of a large combinatorial rectangle. For A , B ⊆ S A, B \subseteq S A , B ⊆ S , the uniform distribution U A × B = U A ⊗ U B U_{A \times B} = U_A \otimes U_B U A × B = U A ⊗ U B is a d d d -rectangle if and only if ∣ A ∣ , ∣ B ∣ ≥ 2 − d ∣ S ∣ |A|, |B| \ge2^{-d}|S| ∣ A ∣ , ∣ B ∣ ≥ 2 − d ∣ S ∣ , since U A U_A U A has deficit log ( ∣ S ∣ / ∣ A ∣ ) \log(|S| / |A|) log ( ∣ S ∣/∣ A ∣ ) . Conversely, every d d d -rectangle is a convex combination of uniform distributions on combinatorial rectangles of almost this size.
Corollary 2.14 (Flat decomposition of rectangles). Let μ \mu μ be a d d d -rectangle on S × S S \times S S × S , and let K K K be an integer with 1 ≤ K ≤ 2 − d ∣ S ∣ 1 \le K \le2^{-d}|S| 1 ≤ K ≤ 2 − d ∣ S ∣ . Then there are subfamilies A j , B k ⊆ S A_j, B_k \subseteq S A j , B k ⊆ S of size K K K and weights p j , q k ≥ 0 p_j, q_k \ge0 p j , q k ≥ 0 with ∑ j p j = ∑ k q k = 1 \sum_j p_j = \sum_k q_k = 1 ∑ j p j = ∑ k q k = 1 such that
μ = ∑ j , k p j q k U A j × B k . \mu= \sum_{j,k} p_j q_k U_{A_j \times B_k}. μ = j , k ∑ p j q k U A j × B k .
Proof. Both marginals of μ \mu μ have min-entropy at least log ∣ S ∣ − d ≥ log K \log|S| - d \ge\log K log ∣ S ∣ − d ≥ log K . So by Theorem 2.10, μ A = ∑ j p j U A j \mu^A = \sum_j p_j U_{A_j} μ A = ∑ j p j U A j and μ B = ∑ k q k U B k \mu^B = \sum_k q_k U_{B_k} μ B = ∑ k q k U B k for such subfamilies and weights. Therefore
μ = μ A ⊗ μ B = ∑ j , k p j q k U A j ⊗ U B k . \mu= \mu^A \otimes\mu^B = \sum_{j,k} p_j q_k U_{A_j} \otimes U_{B_k}. μ = μ A ⊗ μ B = j , k ∑ p j q k U A j ⊗ U B k .
A near-rectangle relaxes the product condition: its two sides may be correlated, and κ \kappa κ bounds their mutual information. In particular, a d d d -rectangle is a ( d , 0 ) (d, 0) ( d , 0 ) -near-rectangle. Replacing a near-rectangle by the product of its marginals gives a rectangle that is close in total variation distance (see, e.g., [31 ] ).
Lemma 2.15 (From near-rectangles to rectangles). If μ \mu μ is a δ \delta δ -monochromatic ( d , κ ) (d, \kappa) ( d , κ ) -near-rectangle, then μ A ⊗ μ B \mu^A \otimes\mu^B μ A ⊗ μ B is a ( δ + ( ln 2 / 2 ) κ ) (\delta+ \sqrt{(\ln2/2)\kappa}) ( δ + ( ln 2/2 ) κ ) -monochromatic d d d -rectangle.
Proof. Let R : = μ A ⊗ μ B R := \mu^A \otimes\mu^B R := μ A ⊗ μ B . It has the same marginals as μ \mu μ , so it is a d d d -rectangle. By the chain rule for KL divergence (Theorem 2.3(b)) and Theorem 2.5, D ( μ ∥ R ) = E b ∼ μ B [ D ( μ ( A ∣ B = b ) ∥ μ A ) ] = I μ ( A ; B ) ≤ κ D(\mu\mathbin\Vert R) = \mathbb{E}_{b\sim\mu^B}[D(\mu(A\mid B=b)\mathbin\Vert\mu^A)] = I_\mu(A;B) \le\kappa D ( μ ∥ R ) = E b ∼ μ B [ D ( μ ( A ∣ B = b ) ∥ μ A )] = I μ ( A ; B ) ≤ κ , so ∥ μ − R ∥ T V ≤ ( ln 2 / 2 ) κ \lVert\mu-R\rVert_{TV} \le\sqrt{(\ln2/2)\kappa} ∥ μ − R ∥ T V ≤ ( ln 2/2 ) κ by Theorem 2.6. Therefore
Pr ( A , B ) ∼ R [ A ∩ B ≠ ∅ ] ≤ Pr ( A , B ) ∼ μ [ A ∩ B ≠ ∅ ] + ∥ μ − R ∥ T V ≤ δ + ( ln 2 / 2 ) κ . \Pr_{(A,B)\sim R}[A \cap B \ne\varnothing] \le\Pr_{(A,B)\sim\mu}[A \cap B \ne\varnothing] + \lVert\mu-R\rVert_{TV} \le\delta+ \sqrt{(\ln2/2)\kappa}. ( A , B ) ∼ R Pr [ A ∩ B = ∅ ] ≤ ( A , B ) ∼ μ Pr [ A ∩ B = ∅ ] + ∥ μ − R ∥ T V ≤ δ + ( ln 2/2 ) κ .
Main proof
In this section, we prove our main theorem, the formal version of Theorem 1.1 .
Theorem 3.1 (Main theorem). Every zero-error cell-probe data structure for insert-only multiphase Disjointness with m = n m=n m = n query sets, word size w = Θ ( log n ) w=\Theta(\log n) w = Θ ( log n ) , worst-case update time t u t_u t u and expected query time t q t_q t q has
t q = Ω ( ( log n log ( t u w ) ) 2 ) . t_q=\Omega\left(\left(\frac{\log n}{\log(t_uw)}\right)^2\right). t q = Ω ( ( log ( t u w ) log n ) 2 ) . In particular, max ( t u , t q ) = Ω ( ( log n / log log n ) 2 ) \max(t_u,t_q)=\Omega((\log n/\log\log n)^2) max ( t u , t q ) = Ω (( log n / log log n ) 2 ) .
We follow the outline in § 1.3 . After defining the hard distribution, we turn a data structure violating the bound into a 2.5-round protocol (§ 3.2 ). The communication lower bound in § 3.3 rules out this protocol, using the corruption bound proved in § 4 .
The hard distribution
Let β : = ( t u w ) 4 \beta:= (t_uw)^4 β := ( t u w ) 4 , and choose the largest integer ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 such that ℓ ∑ i = 1 ℓ β i ≤ n \ell\sum_{i=1}^{\ell}\beta^i \le n ℓ ∑ i = 1 ℓ β i ≤ n . The bound is trivial when t u w > n 1 / 95 t_uw > n^{1/95} t u w > n 1/95 , so we work in the complementary regime; in particular, such an ℓ \ell ℓ exists. Choose pairwise disjoint blocks B 1 , … , B ℓ ⊆ [ n ] B_1,\ldots,B_\ell\subseteq[n] B 1 , … , B ℓ ⊆ [ n ] with
∣ B i ∣ = n i : = ℓ β i , and let s i : = n i / ℓ = β i / 2 . |B_i|=n_i:=\ell\beta^i,\qquad\text{and let}\qquad s_i:=\sqrt{n_i/\ell}=\beta^{i/2}. ∣ B i ∣ = n i := ℓ β i , and let s i := n i / ℓ = β i /2 .
The remaining coordinates occur in neither the query sets nor X X X . We keep m = n m=n m = n query sets. Since t u t_u t u and w w w are integers, all block and set sizes are integers. Epochs are indexed backward in time: epoch ℓ \ell ℓ comes first and epoch 1 comes last. Under the distribution D D D of ( S ⃗ , X ) (\vec{S},X) ( S , X ) , independently:
each query set S j S_j S j , j ∈ [ m ] j\in[m] j ∈ [ m ] , consists of s i s_i s i uniformly random elements of each block B i B_i B i ; write S j ( i ) : = S j ∩ B i S_j^{(i)}:=S_j\cap B_i S j ( i ) := S j ∩ B i and S ⃗ : = ( S 1 , … , S m ) \vec{S}:=(S_1,\ldots,S_m) S := ( S 1 , … , S m ) ;
in epoch i i i , s i s_i s i uniformly random elements of B i B_i B i are inserted into X X X , in increasing order. We write X ( i ) : = X ∩ B i X^{(i)}:=X\cap B_i X ( i ) := X ∩ B i for the set inserted in epoch i i i , X ( > i ) : = X ∩ ( B i + 1 ∪ ⋯ ∪ B ℓ ) X^{(>i)}:=X\cap(B_{i+1}\cup\cdots\cup B_\ell) X ( > i ) := X ∩ ( B i + 1 ∪ ⋯ ∪ B ℓ ) , and X ( ≠ i ) : = X ∖ B i X^{(\ne i)}:=X\setminus B_i X ( = i ) := X ∖ B i .
The query index Q Q Q is uniform in [ m ] [m] [ m ] and independent of ( S ⃗ , X ) (\vec{S},X) ( S , X ) . We write Pr D , Q \Pr_{D,Q} Pr D , Q and E D , Q \mathbb{E}_{D,Q} E D , Q for probability and expectation over ( S ⃗ , X ) ∼ D (\vec{S},X)\sim D ( S , X ) ∼ D and Q Q Q . In each block, S Q S_Q S Q and X X X share s i 2 / n i = 1 / ℓ s_i^2/n_i=1/\ell s i 2 / n i = 1/ ℓ elements in expectation over D D D and Q Q Q ; since the blocks are independent, S Q S_Q S Q and X X X are disjoint with probability at least 1 / 4 1/4 1/4 (Theorem 3.2 (d) and Figure 2 ). The Chronogram epochs are I : = { i ∈ [ ℓ ] : i ≥ 2 ( ℓ + 2 ) / 3 } \mathcal{I}:=\{i\in[\ell]:i\ge2(\ell+2)/3\} I := { i ∈ [ ℓ ] : i ≥ 2 ( ℓ + 2 ) /3 } ; any range of Ω ( ℓ ) \Omega(\ell) Ω ( ℓ ) epochs with s i ≥ n Ω ( 1 ) s_i\ge n^{\Omega(1)} s i ≥ n Ω ( 1 ) would do.
Figure 2. The hard distribution (not to scale), with X X X and S Q S_Q S Q written as characteristic vectors. The ones of X X X in block B i B_i B i are inserted during epoch i i i . Block sizes grow by a factor β = ( t u w ) 4 \beta=(t_u w)^4 β = ( t u w ) 4 going back in time. In each block, the expected number of common ones is s i 2 / n i = 1 / ℓ s_i^2/n_i=1/\ell s i 2 / n i = 1/ ℓ , so S Q S_Q S Q and X X X are disjoint with constant probability.
The following bounds summarize the parameters of the hard distribution.
Claim 3.2 (Parameters). The hard distribution has the following properties.
(a) ℓ = Θ ( log n / log ( t u w ) ) \ell=\Theta(\log n/\log(t_uw)) ℓ = Θ ( log n / log ( t u w )) , ℓ ≥ 20 \ell\ge20 ℓ ≥ 20 , and ∣ I ∣ ≥ ( ℓ − 4 ) / 3 |\mathcal{I}|\ge(\ell-4)/3 ∣ I ∣ ≥ ( ℓ − 4 ) /3 .
(b) For i ∈ I i\in\mathcal{I} i ∈ I : s i ≥ n 1 / 3 s_i\ge n^{1/3} s i ≥ n 1/3 .
(c) s i / s i − 1 = β = ( t u w ) 2 s_i/s_{i-1}=\sqrt{\beta}=(t_uw)^2 s i / s i − 1 = β = ( t u w ) 2 , ∑ j < i s j ≤ 2 s i − 1 \sum_{j<i}s_j\le2s_{i-1} ∑ j < i s j ≤ 2 s i − 1 , and s ℓ ≤ n s_\ell\le\sqrt{n} s ℓ ≤ n .
(d) E D , Q [ ∣ S Q ( i ) ∩ X ( i ) ∣ ] = s i 2 / n i = 1 / ℓ \mathbb{E}_{D,Q}[|S_Q^{(i)}\cap X^{(i)}|]=s_i^2/n_i=1/\ell E D , Q [ ∣ S Q ( i ) ∩ X ( i ) ∣ ] = s i 2 / n i = 1/ ℓ for every i i i , and Pr D , Q [ S Q ∩ X = ∅ ] ≥ ( 1 − 1 / ℓ ) ℓ ≥ 1 / 4 \Pr_{D,Q}[S_Q\cap X=\varnothing]\ge(1-1/\ell)^\ell\ge1/4 Pr D , Q [ S Q ∩ X = ∅ ] ≥ ( 1 − 1/ ℓ ) ℓ ≥ 1/4 for ℓ ≥ 2 \ell\ge2 ℓ ≥ 2 .
Proof. We verify the parameter bounds, including the unused coordinates.
(a) By maximality of ℓ \ell ℓ and β ≥ 2 \beta\ge2 β ≥ 2 ,
ℓ β ℓ ≤ n < ( ℓ + 1 ) ∑ j = 1 ℓ + 1 β j ≤ 2 ( ℓ + 1 ) β ℓ + 1 . \ell\beta^\ell\le n < (\ell+1)\sum_{j=1}^{\ell+1}\beta^j \le2(\ell+1)\beta^{\ell+1}. ℓ β ℓ ≤ n < ( ℓ + 1 ) j = 1 ∑ ℓ + 1 β j ≤ 2 ( ℓ + 1 ) β ℓ + 1 .
Thus ℓ ≤ log n \ell\le\log n ℓ ≤ log n , and ℓ = Θ ( log n / log β ) \ell=\Theta(\log n/\log\beta) ℓ = Θ ( log n / log β ) . Also ∣ I ∣ ≥ ℓ − 2 ( ℓ + 2 ) / 3 = ( ℓ − 4 ) / 3 |\mathcal{I}|\ge\ell-2(\ell+2)/3=(\ell-4)/3 ∣ I ∣ ≥ ℓ − 2 ( ℓ + 2 ) /3 = ( ℓ − 4 ) /3 . Since t u w ≤ n 1 / 95 t_u w\le n^{1/95} t u w ≤ n 1/95 , we have log β ≤ ( 4 / 95 ) log n \log\beta\le(4/95)\log n log β ≤ ( 4/95 ) log n and
ℓ > log n − log ( 2 ( ℓ + 1 ) ) log β − 1 ≥ 95 4 ( 1 − log ( 2 ( log n + 1 ) ) log n ) − 1 ≥ 20. \ell>\frac{\log n-\log(2(\ell+1))}{\log\beta}-1\ge\frac{95}{4}\left(1-\frac{\log(2(\log n+1))}{\log n}\right)-1\ge20. ℓ > log β log n − log ( 2 ( ℓ + 1 )) − 1 ≥ 4 95 ( 1 − log n log ( 2 ( log n + 1 )) ) − 1 ≥ 20.
(b) Since w = Θ ( log n ) w=\Theta(\log n) w = Θ ( log n ) and ℓ ≤ log n \ell\le\log n ℓ ≤ log n , we have β ≥ 2 ( ℓ + 1 ) \beta\ge2(\ell+1) β ≥ 2 ( ℓ + 1 ) . For i ≥ 2 ( ℓ + 2 ) / 3 i\ge2(\ell+2)/3 i ≥ 2 ( ℓ + 2 ) /3 , s i = β i / 2 ≥ ( β ℓ + 2 ) 1 / 3 > ( β n / ( 2 ( ℓ + 1 ) ) ) 1 / 3 ≥ n 1 / 3 s_i=\beta^{i/2}\ge(\beta^{\ell+2})^{1/3}>(\beta n/(2(\ell+1)))^{1/3}\ge n^{1/3} s i = β i /2 ≥ ( β ℓ + 2 ) 1/3 > ( β n / ( 2 ( ℓ + 1 )) ) 1/3 ≥ n 1/3 .
(c) The ratio is immediate; ∑ j < i s j ≤ s i − 1 ∑ r ≥ 0 β − r / 2 ≤ 2 s i − 1 \sum_{j<i}s_j\le s_{i-1}\sum_{r\ge0}\beta^{-r/2}\le2s_{i-1} ∑ j < i s j ≤ s i − 1 ∑ r ≥ 0 β − r /2 ≤ 2 s i − 1 since β ≥ 4 \beta\ge4 β ≥ 4 ; and s ℓ 2 = n ℓ / ℓ ≤ n s_\ell^2=n_\ell/\ell\le n s ℓ 2 = n ℓ / ℓ ≤ n .
(d) Each element of B i B_i B i lies in S Q ( i ) S_Q^{(i)} S Q ( i ) with probability s i / n i s_i/n_i s i / n i and in X ( i ) X^{(i)} X ( i ) with probability s i / n i s_i/n_i s i / n i , independently, so the expectation is n i ( s i / n i ) 2 = 1 / ℓ n_i(s_i/n_i)^2=1/\ell n i ( s i / n i ) 2 = 1/ ℓ . By Markov, block i i i is disjoint with probability at least 1 − 1 / ℓ 1-1/\ell 1 − 1/ ℓ , and the blocks are independent.
Setup. Fix the random tape by averaging over the hard distribution. We may assume that t u w ≤ n 1 / 95 t_u w\le n^{1/95} t u w ≤ n 1/95 and t q ≤ log 2 n t_q\le\log^2 n t q ≤ log 2 n , since otherwise the bound is trivial. So the data structure is deterministic, with zero error and worst-case update time t u t_u t u , and the number T ( q ) T(q) T ( q ) of cells read by a query q ∈ [ m ] q\in[m] q ∈ [ m ] is a function of ( S , X ) (S,X) ( S , X ) with E D , Q [ T ( Q ) ] ≤ t q \operatorname{E}_{D,Q}[T(Q)]\le t_q E D , Q [ T ( Q )] ≤ t q . By Theorem 3.2 , ℓ ≥ 20 \ell\ge20 ℓ ≥ 20 and s i ≥ n 1 / 3 s_i\ge n^{1/3} s i ≥ n 1/3 for i ∈ I i\in\mathcal{I} i ∈ I . Since w = Θ ( log n ) w=\Theta(\log n) w = Θ ( log n ) , also t u w ≥ 64 / ε t_u w\ge64/\varepsilon t u w ≥ 64/ ε , where ε = 1 / 40 \varepsilon=1/40 ε = 1/40 is the constant of Theorem 4.1.
Epochs. The updates are processed in decreasing order of the epoch index, so the larger epochs come first. We follow the notation and the setup of [36 ] . For i ∈ I i\in\mathcal{I} i ∈ I , let M > i M_{>i} M > i be the memory after Phase I and epochs ℓ , … , i + 1 \ell,\ldots,i+1 ℓ , … , i + 1 ; it is a function of ( S , X ( > i ) ) (S,X^{(>i)}) ( S , X ( > i ) ) . For j ∈ [ ℓ ] j\in[\ell] j ∈ [ ℓ ] , let C j C_j C j be the set of cells last written in epoch j j j , and let C < j : = ⋃ j ′ < j C j ′ C_{<j}:=\bigcup_{j'<j}C_{j'} C < j := ⋃ j ′ < j C j ′ be the set of cells written after epoch j j j . The sets C 1 , … , C ℓ C_1,\ldots,C_\ell C 1 , … , C ℓ are pairwise disjoint. Let t j ( q ) t_j(q) t j ( q ) be the number of distinct cells of C j C_j C j read by query q q q , so that
∑ j ∈ [ ℓ ] t j ( q ) ≤ T ( q ) , and let τ j : = E D , Q [ t j ( Q ) ] . \sum_{j\in[\ell]}t_j(q)\le T(q),\qquad\text{and let}\qquad\tau_j:=\operatorname{E}_{D,Q}[t_j(Q)]. j ∈ [ ℓ ] ∑ t j ( q ) ≤ T ( q ) , and let τ j := E D , Q [ t j ( Q )] .
Simulation theorem
The following theorem converts a data structure into a protocol for the 2.5-round game of Protocol 1 (cf. [31 Protocol 3] ), in which Bob verifies Alice’s simulation of the query against the actual memory. We adapt the protocol of [31 Protocol 4] and the analysis of [31 Theorem 3.2] ; numbered references to that work use arXiv version 2. The main difference is Bob’s output when the simulation fails: in [31 ] , he outputs FAIL together with an independent random guess, while here he outputs only FAIL. In addition, the epoch i i i is fixed in advance rather than chosen by Merlin, Merlin’s message lists only the cells written in epochs i , … , 1 i,\ldots,1 i , … , 1 rather than all updates, Bob sends Alice all elements of X X X outside B i B_i B i , and, since t q t_q t q bounds the query time only on average, Alice stops her simulation after 8 t q 8t_q 8 t q probes.
Let U U U consist of two lists, of the cells of C i C_i C i and of the cells of C < i C_{<i} C < i , each cell with its final content, that is, its content after Phase II. Let p : = ε / ( 32 t u w ) p := \varepsilon/(32t_uw) p := ε / ( 32 t u w ) . Bob’s private randomness R B o b R_{\mathrm{Bob}} R Bob consists of an independent bit R a R_a R a with Pr [ R a = 1 ] = p \Pr[R_a = 1] = p Pr [ R a = 1 ] = p for every cell a a a , and ( S ⃗ , X ) (\vec{S}, X) ( S , X ) , Q Q Q and R B o b R_{\mathrm{Bob}} R Bob are mutually independent. The length ∣ ⋅ ∣ |\cdot| ∣ ⋅ ∣ of a message is measured in bits, padded to a fixed length, so that a message of length λ \lambda λ takes at most 2 λ 2^\lambda 2 λ values.
Theorem 3.3 (Simulation theorem). For every i ∈ I i \in\mathcal{I} i ∈ I there is a 2.5-round protocol G i G_i G i for the game of Protocol 1, in which Merlin sends U U U and Bob’s message has the form Φ = ( X ( ≠ i ) , Ψ ) \Phi= (X^{(\ne i)},\Psi) Φ = ( X ( = i ) , Ψ ) , with the following properties, where B Q B_Q B Q is the indicator that Bob outputs “disjoint” and ρ 1 : = Pr D , R B o b , Q [ B Q = 1 ] \rho_1 := \Pr_{D,R_{\mathrm{Bob}},Q}[B_Q = 1] ρ 1 := Pr D , R Bob , Q [ B Q = 1 ] .
(a) (Zero error) If Bob does not output FAIL, his output is the correct answer. In particular, B Q = 1 B_Q = 1 B Q = 1 implies S Q ∩ X = ∅ S_Q \cap X = \varnothing S Q ∩ X = ∅ .
(b) (Lengths of U U U and Ψ \Psi Ψ ) ∣ U ∣ ≤ 5 t u w s i |U| \le5t_uws_i ∣ U ∣ ≤ 5 t u w s i and ∣ Ψ ∣ ≤ ε s i / 4 |\Psi| \le\varepsilon s_i/4 ∣Ψ∣ ≤ ε s i /4 .
(c) (Length of Alice’s messages) ∣ A q ∣ ≤ 17 t q w |A_q| \le17t_qw ∣ A q ∣ ≤ 17 t q w for every q ∈ [ m ] q \in[m] q ∈ [ m ] .
(d) (Probability of answering disjoint) ρ 1 ≥ 1 8 δ σ i − e − n 1 / 4 / 3 \rho_1 \ge\frac{1}{8}\delta^{\sigma_i} - e^{-n^{1/4}/3} ρ 1 ≥ 8 1 δ σ i − e − n 1/4 /3 .
(e) (Structure) Ψ \Psi Ψ is a function of ( U , R B o b ) (U,R_{\mathrm{Bob}}) ( U , R Bob ) , each A q A_q A q is a function of ( S ⃗ , Φ ) (\vec{S},\Phi) ( S , Φ ) , and B Q B_Q B Q is a function of ( Ψ , A Q , U ) (\Psi,A_Q,U) ( Ψ , A Q , U ) .
Proof. We simulate the data structure by the 2.5-round protocol G i G_i G i of Protocol 2. A verified transcript may have either answer; B Q = 1 B_Q = 1 B Q = 1 denotes only a verified “disjoint” answer. Part (e) is immediate from Protocol 2: Bob computes Ψ \Psi Ψ from U U U and R B o b R_{\mathrm{Bob}} R Bob , Alice computes A q A_q A q from S ⃗ \vec{S} S and Φ \Phi Φ , and Bob’s decision reads only Ψ \Psi Ψ , which records whether he aborted, A Q A_Q A Q , which records whether the run finished and its output, and the final contents listed in U U U .
Cost of the protocol. Each cell is encoded by its w w w -bit address and w w w -bit content. We encode list lengths and the abort flag using O ( w ) O(w) O ( w ) additional bits, and pad messages to fixed lengths. Merlin’s message U U U lists the cells of C i C_i C i and of C < i C_{<i} C < i . Here ∣ C i ∣ ≤ t u s i |C_i| \le t_us_i ∣ C i ∣ ≤ t u s i , since each of the s i s_i s i insertions of epoch i i i writes at most t u t_u t u cells, and similarly ∣ C < i ∣ ≤ t u ∑ j < i s j ≤ 2 t u s i − 1 |C_{<i}| \le t_u\sum_{j<i}s_j \le2t_us_{i-1} ∣ C < i ∣ ≤ t u ∑ j < i s j ≤ 2 t u s i − 1 by Theorem 3.2 (c). Bob’s list Ψ \Psi Ψ has at most ∣ C < i ∣ + 2 p t u s i |C_{<i}| + 2pt_us_i ∣ C < i ∣ + 2 p t u s i cells. Since s i − 1 = s i / ( t u w ) 2 s_{i-1} = s_i/(t_uw)^2 s i − 1 = s i / ( t u w ) 2 and t u w ≥ 64 / ε t_uw \ge64/\varepsilon t u w ≥ 64/ ε ,
∣ U ∣ ≤ 2 w ( ∣ C i ∣ + ∣ C < i ∣ ) + O ( w ) ≤ 2 w ( t u s i + 2 t u s i − 1 ) + O ( w ) ≤ 5 t u w s i , ∣ Ψ ∣ ≤ 2 w ( 2 t u s i − 1 + 2 p t u s i ) + O ( w ) = 4 s i t u w + ε s i 8 + O ( w ) ≤ ε s i 4 . \begin{aligned}
|U| &\le2w\bigl(|C_i|+|C_{<i}|\bigr)+O(w) \le2w(t_us_i+2t_us_{i-1})+O(w) \le5t_uws_i,\\
|\Psi| &\le2w(2t_us_{i-1}+2pt_us_i)+O(w) = \frac{4s_i}{t_uw}+\frac{\varepsilon s_i}{8}+O(w) \le\frac{\varepsilon s_i}{4}.
\end{aligned} ∣ U ∣ ∣Ψ∣ ≤ 2 w ( ∣ C i ∣ + ∣ C < i ∣ ) + O ( w ) ≤ 2 w ( t u s i + 2 t u s i − 1 ) + O ( w ) ≤ 5 t u w s i , ≤ 2 w ( 2 t u s i − 1 + 2 p t u s i ) + O ( w ) = t u w 4 s i + 8 ε s i + O ( w ) ≤ 4 ε s i .
As the 0.5-round message, Bob lets C ~ i : = { a ∈ C i : R a = 1 } \widetilde{C}_i := \{a \in C_i : R_a = 1\} C i := { a ∈ C i : R a = 1 } . If ∣ C ~ i ∣ > 2 p t u s i |\widetilde{C}_i| > 2pt_u s_i ∣ C i ∣ > 2 p t u s i , Bob aborts: he sets Ψ : = ⊥ \Psi:= \perp Ψ :=⊥ , and outputs FAIL at the end. Otherwise Ψ \Psi Ψ lists the cells of C < i ∪ C ~ i C_{<i} \cup\widetilde{C}_i C < i ∪ C i with their final contents. Bob sends Φ : = ( X ( ≠ i ) , Ψ ) \Phi:= (X^{(\ne i)}, \Psi) Φ := ( X ( = i ) , Ψ ) to Alice. The message depends on U U U , X X X and R B o b R_{\mathrm{Bob}} R Bob , but not on the query Q Q Q .
The query Q ∈ [ m ] Q \in[m] Q ∈ [ m ] is then revealed to Alice. Alice computes M > i M_{>i} M > i from S ⃗ \vec{S} S and X ( > i ) X^{(>i)} X ( > i ) , and runs the query algorithm on Q Q Q . She answers a probe to a cell listed in Ψ \Psi Ψ with its listed content, and a probe to any other cell with its content in M > i M_{>i} M > i . She stops the run if it has not finished after ⌊ 8 t q ⌋ \lfloor8t_q\rfloor ⌊ 8 t q ⌋ probes. She sends the transcript
A Q : = ( ( a 1 , c 1 ) , … , ( a r , c r ) , z o u t ) , r ≤ ⌊ 8 t q ⌋ , A_Q := ((a_1,c_1),\ldots,(a_r,c_r),z_{\mathrm{out}}), \qquad r \le\lfloor8t_q\rfloor, A Q := (( a 1 , c 1 ) , … , ( a r , c r ) , z out ) , r ≤ ⌊ 8 t q ⌋ ,
where a k a_k a k is the k k k -th probed cell, c k c_k c k the content she used, and z o u t z_{\mathrm{out}} z out the output, or a mark that the run was stopped.
Bob verifies A Q A_Q A Q if (i) he did not abort, (ii) the run recorded in A Q A_Q A Q finished, and (iii) c k c_k c k is the final content of a k a_k a k for every k k k with a k ∈ C i ∪ C < i a_k \in C_i \cup C_{<i} a k ∈ C i ∪ C < i ; he reads these final contents off U U U . If verification succeeds, he outputs z o u t z_{\mathrm{out}} z out ; otherwise he outputs FAIL.
Protocol 2: Simulation protocol G i G_i G i (cf. [31 Protocol 4] )
Alice’s transcript records at most 8 t q 8t_q 8 t q probes, together with the number of probes and the output or the stop mark, so
∣ A q ∣ ≤ 16 t q w + ⌈ log ( ⌊ 8 t q ⌋ + 1 ) ⌉ + 2 ≤ 17 t q w . |A_q| \le16t_qw + \lceil\log(\lfloor8t_q\rfloor+ 1)\rceil+ 2 \le17t_qw. ∣ A q ∣ ≤ 16 t q w + ⌈ log (⌊ 8 t q ⌋ + 1 )⌉ + 2 ≤ 17 t q w .
The header costs are absorbed since s i ≥ n 1 / 3 s_i \ge n^{1/3} s i ≥ n 1/3 and w = Θ ( log n ) w = \Theta(\log n) w = Θ ( log n ) . This proves (b) and (c).
Verification and disjoint answers. We first prove that verification certifies the true execution and succeeds when the sampled cells cover that execution, provided Bob does not abort and the query finishes within the probe limit. We then restrict to disjoint inputs to prove (d).
Claim 3.4 (Verification). Fix ( S ⃗ , X ) (\vec{S}, X) ( S , X ) and q ∈ [ m ] q \in[m] q ∈ [ m ] . In (b) and (c), the probability is over R B o b R_{\mathrm{Bob}} R Bob .
(a) If Bob verifies A q A_q A q , then A q A_q A q is the true execution of query q q q . In particular, its output is DISJ ( S q , X ) \operatorname{DISJ}(S_q, X) DISJ ( S q , X ) .
(b) Pr R B o b [ Bob aborts ] ≤ e − n 1 / 4 / 3 \Pr_{R_{\mathrm{Bob}}}[\text{Bob aborts}] \le e^{-n^{1/4}/3} Pr R Bob [ Bob aborts ] ≤ e − n 1/4 /3 .
(c) If T ( q ) ≤ 8 t q T(q) \le8t_q T ( q ) ≤ 8 t q , then Pr R B o b [ Bob verifies A q ] ≥ p t i ( q ) − e − n 1 / 4 / 3 \Pr_{R_{\mathrm{Bob}}}[\text{Bob verifies } A_q] \ge p^{t_i(q)} - e^{-n^{1/4}/3} Pr R Bob [ Bob verifies A q ] ≥ p t i ( q ) − e − n 1/4 /3 .
Proof. (a) If Bob verifies A q A_q A q , then every content Alice used is the final content. For a cell of C i ∪ C < i C_i \cup C_{<i} C i ∪ C < i , Bob checked this. Any other cell is not listed in Ψ \Psi Ψ and is not written during epochs i , … , 1 i,\ldots,1 i , … , 1 , so Alice used its content in M > i M_{>i} M > i , which is final. Hence her run is the true execution of query q q q , and its output is DISJ ( S q , X ) \operatorname{DISJ}(S_q, X) DISJ ( S q , X ) .
(b) ∣ C ~ i ∣ |\widetilde{C}_i| ∣ C i ∣ is a sum of ∣ C i ∣ ≤ t u s i |C_i| \le t_u s_i ∣ C i ∣ ≤ t u s i independent indicators with mean p p p each. By the Chernoff bound, applied with the upper bound p t u s i pt_u s_i p t u s i on the mean,
Pr R B o b [ ∣ C ~ i ∣ > 2 p t u s i ] ≤ e − p t u s i / 3 , \Pr_{R_{\mathrm{Bob}}}\left[|\widetilde{C}_i| > 2pt_u s_i\right] \le e^{-pt_u s_i/3}, R Bob Pr [ ∣ C i ∣ > 2 p t u s i ] ≤ e − p t u s i /3 ,
and p t u s i = ε s i / ( 32 w ) ≥ n 1 / 4 p_{t_u s_i} = \varepsilon s_i/(32w) \ge n^{1/4} p t u s i = ε s i / ( 32 w ) ≥ n 1/4 .
(c) Let P q ⊆ C i P_q \subseteq C_i P q ⊆ C i be the set of the t i ( q ) t_i(q) t i ( q ) cells of C i C_i C i probed by the true execution of query q q q . If Bob does not abort and P q ⊆ C ~ i P_q \subseteq\widetilde{C}_i P q ⊆ C i , then every cell that the true execution probes is either listed in Ψ \Psi Ψ or outside C i ∪ C < i C_i \cup C_{<i} C i ∪ C < i , so Alice reproduces the true execution, which finishes within T ( q ) ≤ 8 t q T(q) \le8t_q T ( q ) ≤ 8 t q probes, and verification succeeds. Since Pr R B o b [ P q ⊆ C ~ i ] = p t i ( q ) \Pr_{R_{\mathrm{Bob}}}[P_q \subseteq\widetilde{C}_i] = p^{t_i(q)} Pr R Bob [ P q ⊆ C i ] = p t i ( q ) , a union bound with (b) gives (c).
Part (a) of the theorem follows from Theorem 3.4(a), since Bob outputs FAIL unless he verifies A Q A_Q A Q . It remains to show (d). Let F F F be the event that S Q ∩ X = ∅ S_Q \cap X = \varnothing S Q ∩ X = ∅ and T ( Q ) ≤ 8 t q T(Q) \le8t_q T ( Q ) ≤ 8 t q ; it is determined by ( S ⃗ , X , Q ) (\vec{S},X,Q) ( S , X , Q ) . By Markov’s inequality, Pr D , Q [ T ( Q ) > 8 t q ] ≤ 1 / 8 \Pr_{D,Q}[T(Q) > 8t_q] \le1/8 Pr D , Q [ T ( Q ) > 8 t q ] ≤ 1/8 , and by Theorem 3.2 (d), Pr D , Q [ S Q ∩ X = ∅ ] ≥ 1 / 4 \Pr_{D,Q}[S_Q \cap X = \varnothing] \ge1/4 Pr D , Q [ S Q ∩ X = ∅ ] ≥ 1/4 , so Pr D , Q [ F ] ≥ 1 / 8 \Pr_{D,Q}[F] \ge1/8 Pr D , Q [ F ] ≥ 1/8 . If F F F holds and Bob verifies A Q A_Q A Q , then the recorded output is “disjoint” by Theorem 3.4(a), so B Q = 1 B_Q = 1 B Q = 1 . Since R B o b R_{\mathrm{Bob}} R Bob is independent of ( S ⃗ , X , Q ) (\vec{S},X,Q) ( S , X , Q ) , Theorem 3.4(c), applied for each fixed ( S ⃗ , X , Q ) (\vec{S},X,Q) ( S , X , Q ) , and then the convexity of x ↦ p x x \mapsto p^x x ↦ p x (with Jensen’s inequality) give
ρ 1 ≥ E D , Q [ 1 F ⋅ ( p t i ( Q ) − e − n 1 / 4 / 3 ) ] ≥ Pr D , Q [ F ] ⋅ p E D , Q [ t i ( Q ) ∣ F ] − e − n 1 / 4 / 3 . \rho_1 \ge\mathbb{E}_{D,Q}\left[1_F \cdot\left(p^{t_i(Q)} - e^{-n^{1/4}/3}\right)\right] \ge\Pr_{D,Q}[F] \cdot p^{\mathbb{E}_{D,Q}[t_i(Q)\mid F]} - e^{-n^{1/4}/3}. ρ 1 ≥ E D , Q [ 1 F ⋅ ( p t i ( Q ) − e − n 1/4 /3 ) ] ≥ D , Q Pr [ F ] ⋅ p E D , Q [ t i ( Q ) ∣ F ] − e − n 1/4 /3 .
Since t i ≥ 0 t_i \ge0 t i ≥ 0 , E D , Q [ t i ( Q ) ∣ F ] ≤ τ i / Pr D , Q [ F ] ≤ 8 τ i \mathbb{E}_{D,Q}[t_i(Q)\mid F] \le\tau_i/\Pr_{D,Q}[F] \le8\tau_i E D , Q [ t i ( Q ) ∣ F ] ≤ τ i / Pr D , Q [ F ] ≤ 8 τ i , which gives (d).
As in [31 Remark 3.4] , the protocol detects simulation failure: whenever Bob does not output FAIL, he has verified Alice’s transcript against U U U , and his output is correct. The remaining runs play no role in the argument: Steps 2–4 use only the event B Q = 1 B_Q = 1 B Q = 1 , on which the answer is “disjoint” with certainty.
The next corollary quantifies the probability of answering “disjoint” when a query reads few cells from epoch i i i .
Corollary 3.5 (Choice of parameters). If τ i = o ( log n / log ( t u w ) ) \tau_i = o(\log n/\log(t_u w)) τ i = o ( log n / log ( t u w )) , then ρ 1 ≥ n − o ( 1 ) \rho_1 \ge n^{-o(1)} ρ 1 ≥ n − o ( 1 ) .
Proof. Since t u w ≥ 64 / ε t_u w \ge64/\varepsilon t u w ≥ 64/ ε , log ( 1 / p ) = log ( 32 t u w / ε ) ≤ 2 log ( t u w ) \log(1/p) = \log(32t_u w/\varepsilon) \le2\log(t_u w) log ( 1/ p ) = log ( 32 t u w / ε ) ≤ 2 log ( t u w ) , so p 8 τ i ≥ 2 − 16 τ i log ( t u w ) = n − o ( 1 ) p^{8\tau_i} \ge2^{-16\tau_i\log(t_u w)} = n^{-o(1)} p 8 τ i ≥ 2 − 16 τ i l o g ( t u w ) = n − o ( 1 ) . By Theorem 3.3 (d), ρ 1 ≥ 1 8 n − o ( 1 ) − e − n 1 / 4 / 3 ≥ n − o ( 1 ) \rho_1 \ge\frac{1}{8}n^{-o(1)} - e^{-n^{1/4}/3} \ge n^{-o(1)} ρ 1 ≥ 8 1 n − o ( 1 ) − e − n 1/4 /3 ≥ n − o ( 1 ) .
Communication lower bound
We prove that ρ 1 < n − 1 / 6 \rho_1 < n^{-1/6} ρ 1 < n − 1/6 for every i ∈ I i \in\mathcal{I} i ∈ I (Theorem 3.13). Following [31 , 33 ] , we collect the relevant messages and auxiliary variables into Z Z Z , including Bob’s output B Q B_Q B Q . If disjoint answers occur too often, we can choose a value Z = ( z , 1 ) Z = (z,1) Z = ( z , 1 ) and then restrict the query-side input S Q ( i ) S_Q^{(i)} S Q ( i ) to an event E E E of constant conditional probability. Under this joint conditioning, both block inputs have nearly full min-entropy and their mutual information is small. The smoothing event E E E depends only on the query-side input once z z z is fixed.
Every pair in the resulting distribution is disjoint, by Theorem 3.3 (a). Thus it is a monochromatic near-rectangle (Theorem 2.13). The one-sided corruption bound rules out this distribution after we pass to the product of its marginals; this replaces the discrepancy step for Inner Product in [31 ] .
Fix i ∈ I i \in\mathcal{I} i ∈ I with ρ 1 > 0 \rho_1 > 0 ρ 1 > 0 . Following [31 ] , we take
Z : = ( Z a l i c e , B Q ) , Z a l i c e : = ( Φ , A a l l , Q , S < Q ) . Z := (Z_{\mathrm{alice}}, B_Q), \qquad Z_{\mathrm{alice}} := (\Phi, A_{\mathrm{all}}, Q, S_{<Q}). Z := ( Z alice , B Q ) , Z alice := ( Φ , A all , Q , S < Q ) .
where S < Q : = ( S 1 , … , S Q − 1 ) S_{<Q} := (S_1,\ldots,S_{Q-1}) S < Q := ( S 1 , … , S Q − 1 ) , and A a l l : = ( A 1 , … , A m ) A_{\mathrm{all}} := (A_1,\ldots,A_m) A all := ( A 1 , … , A m ) with A q A_q A q the transcript that Alice sends when the query is q q q . The vector A a l l A_{\mathrm{all}} A all is never transmitted; it is an analysis variable that permits direct sum over the query sets. The prefix S < Q S_{<Q} S < Q supplies the conditioning required by the chain rule. As in [31 ] , Z Z Z includes these transcripts but not Merlin’s message U U U . By Theorem 3.3 (e), A a l l A_{\mathrm{all}} A all is function of ( S ⃗ , Φ ) (\vec{S},\Phi) ( S , Φ ) , and B Q B_Q B Q is a function of ( Z A l i c e , U ) (Z_{\mathrm{Alice}},U) ( Z Alice , U ) , since Ψ \Psi Ψ is part of Φ \Phi Φ and A Q A_Q A Q is determined by A a l l A_{\mathrm{all}} A all and Q Q Q . We only consider values of Z Z Z with B Q = 1 B_Q=1 B Q = 1 , and write them as ( z , 1 ) (z,1) ( z , 1 ) , where z z z is a value of Alice.
We use two facts throughout. First, Merlin’s message is short compared to the number m = n m=n m = n of query sets: by Theorem 3.3 (b) and Theorem 2.2(a),
H ( U ) ≤ 5 t U w s i ≤ n 3 / 5 , (1) H(U) \le5t_Uw\,s_i \le n^{3/5}, \tag*{(1)} H ( U ) ≤ 5 t U w s i ≤ n 3/5 , (1)
since s i ≤ s ℓ ≤ n s_i \le s_\ell\le\sqrt{n} s i ≤ s ℓ ≤ n (Theorem 3.2 (c)) and t U w ≤ n 1 / 95 t_Uw \le n^{1/95} t U w ≤ n 1/95 . Second, the following standard direct-sum identity holds.
Claim 3.6 (Direct sum). For any random variables V V V and W W W that are functions of ( S ⃗ , X , R B o b ) (\vec{S},X,R_{\mathrm{Bob}}) ( S , X , R Bob ) ,
I ( S Q ; W ∣ V , Q , S < Q ) = 1 m I ( S ⃗ ; W ∣ V ) . I(S_Q;W\mid V,Q,S_{<Q})=\frac{1}{m}I(\vec{S};W\mid V). I ( S Q ; W ∣ V , Q , S < Q ) = m 1 I ( S ; W ∣ V ) . Proof. Since Q Q Q is uniform and independent of ( S ⃗ , X , R B o b ) (\vec{S},X,R_{\mathrm{Bob}}) ( S , X , R Bob ) , Theorem 2.2(c) and the chain rule (Theorem 2.3(a)) give
I ( S Q ; W ∣ V , Q , S < Q ) = 1 m ∑ q ∈ [ m ] I ( S q ; W ∣ V , S < q ) = 1 m I ( S ⃗ ; W ∣ V ) . I(S_Q;W\mid V,Q,S_{<Q})=\frac{1}{m}\sum_{q\in[m]}I(S_q;W\mid V,S_{<q})=\frac{1}{m}I(\vec{S};W\mid V). I ( S Q ; W ∣ V , Q , S < Q ) = m 1 q ∈ [ m ] ∑ I ( S q ; W ∣ V , S < q ) = m 1 I ( S ; W ∣ V ) .
We first bound the divergence of the conditional query-side distribution from uniform, and then obtain high min-entropy by smoothing. Although Z A l i c e Z_{\mathrm{Alice}} Z Alice contains all m m m Alice transcripts, they carry only O ( t U w ) O(t_Uw) O ( t U w ) bits about a random S Q S_Q S Q on average. As in [31 ] , this yields a high-min-entropy distribution after restricting S Q ( i ) S_Q^{(i)} S Q ( i ) to a likely event E E E .
Proposition 3.7 (The query side). If ρ 1 ≥ n − 1 / 6 \rho_1\ge n^{-1/6} ρ 1 ≥ n − 1/6 , then
Pr z ∼ Z A l i c e ∣ B Q = 1 [ ∃ E ⊆ ( B i s i ) : Pr [ S Q ( i ) ∈ E ∣ Z = ( z , 1 ) ] ≥ 3 4 a n d H ∞ ( S Q ( i ) ∣ Z = ( z , 1 ) , S Q ( i ) ∈ E ) ≥ log ( n i s i ) − 32 n 1 / 5 ] ≥ 3 4 . \Pr_{z\sim Z_{\mathrm{Alice}}\mid B_Q=1}\left[
\exists E\subseteq\binom{B_i}{s_i}:
\Pr\left[S_Q^{(i)}\in E\mid Z=(z,1)\right]\ge\frac{3}{4}
\ \mathbin{\mathrm{and}}\
H_\infty\left(S_Q^{(i)}\mid Z=(z,1),S_Q^{(i)}\in E\right)\ge\log\binom{n_i}{s_i}-32n^{1/5}
\right]\ge\frac{3}{4}. z ∼ Z Alice ∣ B Q = 1 Pr [ ∃ E ⊆ ( s i B i ) : Pr [ S Q ( i ) ∈ E ∣ Z = ( z , 1 ) ] ≥ 4 3 and H ∞ ( S Q ( i ) ∣ Z = ( z , 1 ) , S Q ( i ) ∈ E ) ≥ log ( s i n i ) − 32 n 1/5 ] ≥ 4 3 . Proof. First we upper bound I ( S Q ( i ) ; Z A l i c e , B Q ) I(S_Q^{(i)};Z_{\mathrm{Alice}},B_Q) I ( S Q ( i ) ; Z Alice , B Q ) . Since S Q ( i ) S_Q^{(i)} S Q ( i ) is part of S Q S_Q S Q , and S Q S_Q S Q is independent of ( Q , S < Q ) (Q,S_{<Q}) ( Q , S < Q ) , the chain rule (Theorem 2.3) gives
I ( S Q ( i ) ; Z A l i c e , B Q ) ≤ I ( S Q ; Φ , A a l l , Q , S < Q , B Q ) = I ( S Q ; Φ , A a l l , B Q ∣ Q , S < Q ) . I(S_Q^{(i)};Z_{\mathrm{Alice}},B_Q)\le I(S_Q;\Phi,A_{\mathrm{all}},Q,S_{<Q},B_Q)=I(S_Q;\Phi,A_{\mathrm{all}},B_Q\mid Q,S_{<Q}). I ( S Q ( i ) ; Z Alice , B Q ) ≤ I ( S Q ; Φ , A all , Q , S < Q , B Q ) = I ( S Q ; Φ , A all , B Q ∣ Q , S < Q ) . Since B Q B_Q B Q is a function of ( Φ , A a l l , Q , U ) (\Phi,A_{\mathrm{all}},Q,U) ( Φ , A all , Q , U ) , the chain rule and Theorem 3.6 (with V V V constant) give
I ( S Q ; Φ , A a l l , B Q ∣ Q , S < Q ) ≤ I ( S Q ; Φ , A a l l , U ∣ Q , S < Q ) = 1 m I ( S ⃗ ; Φ , A a l l , U ) . I(S_Q;\Phi,A_{\mathrm{all}},B_Q\mid Q,S_{<Q})\le I(S_Q;\Phi,A_{\mathrm{all}},U\mid Q,S_{<Q})=\frac{1}{m}I(\vec{S};\Phi,A_{\mathrm{all}},U). I ( S Q ; Φ , A all , B Q ∣ Q , S < Q ) ≤ I ( S Q ; Φ , A all , U ∣ Q , S < Q ) = m 1 I ( S ; Φ , A all , U ) . By the chain rule and Theorem 2.2,
I ( S ⃗ ; Φ , A a l l , U ) = I ( S ⃗ ; Φ , U ) + I ( S ⃗ ; A a l l ∣ Φ , U ) ≤ H ( U ) + H ( A a l l ) , I(\vec{S};\Phi,A_{\mathrm{all}},U)=I(\vec{S};\Phi,U)+I(\vec{S};A_{\mathrm{all}}\mid\Phi,U)\le H(U)+H(A_{\mathrm{all}}), I ( S ; Φ , A all , U ) = I ( S ; Φ , U ) + I ( S ; A all ∣ Φ , U ) ≤ H ( U ) + H ( A all ) , where I ( S ⃗ ; Φ , U ) ≤ I ( S ⃗ ; X ( ≠ i ) , R B o b , U ) = I ( S ⃗ ; U ∣ X ( ≠ i ) , R B o b ) ≤ H ( U ) I(\vec{S};\Phi,U)\le I(\vec{S};X^{(\ne i)},R_{\mathrm{Bob}},U)=I(\vec{S};U\mid X^{(\ne i)},R_{\mathrm{Bob}})\le H(U) I ( S ; Φ , U ) ≤ I ( S ; X ( = i ) , R Bob , U ) = I ( S ; U ∣ X ( = i ) , R Bob ) ≤ H ( U ) by Theorem 2.2(e) and the chain rule, since Ψ \Psi Ψ is a function of ( U , R B o b ) (U,R_{\mathrm{Bob}}) ( U , R Bob ) (Theorem 3.3 (e)) and S ⃗ \vec{S} S is independent of
( X ( ≠ i ) , R B o b ) (X^{(\ne i)}, R_{\mathrm{Bob}}) ( X ( = i ) , R Bob ) . By (1) and m = n m=n m = n , H ( U ) / m ≤ n − 2 / 5 H(U)/m \le n^{-2/5} H ( U ) / m ≤ n − 2/5 , and by Theorem 3.3 (c) and Theorem 2.2(a), H ( A a l l ) / m ≤ 17 t q w H(A_{\mathrm{all}})/m \le17t_qw H ( A all ) / m ≤ 17 t q w . Since t q ≤ log 2 n t_q \le\log^2 n t q ≤ log 2 n and w = Θ ( log n ) w=\Theta(\log n) w = Θ ( log n ) ,
I ( S Q ( i ) ; Z a l i c e , B Q ) ≤ n − 2 / 5 + 17 t q w = O ( log 3 n ) . I(S_Q^{(i)}; Z_{\mathrm{alice}}, B_Q) \le n^{-2/5}+17t_qw=O(\log^3 n). I ( S Q ( i ) ; Z alice , B Q ) ≤ n − 2/5 + 17 t q w = O ( log 3 n ) .
Next we condition on B Q = 1 B_Q=1 B Q = 1 , an event of probability ρ 1 \rho_1 ρ 1 . Let U U U be the uniform distribution on ( B i s i ) \binom{B_i}{s_i} ( s i B i ) , which is the distribution of S Q ( i ) S_Q^{(i)} S Q ( i ) . By Theorem 2.5, and since divergence is nonnegative (Theorem 2.2(d)),
I ( S Q ( i ) ; Z a l i c e , B Q ) = E ( z , b ) ∼ ( Z a l i c e , B Q ) [ D ( S Q ( i ) ∣ Z = ( z , b ) ∥ U ) ] ≥ ρ 1 ⋅ E z ∼ Z a l i c e ∣ B Q = 1 [ D ( S Q ( i ) ∣ Z = ( z , 1 ) ∥ U ) ] . \begin{aligned}
I(S_Q^{(i)};Z_{\mathrm{alice}},B_Q)
=
\mathop{\mathbb{E}}_{(z,b)\sim(Z_{\mathrm{alice}},B_Q)}
\left[D\left(S_Q^{(i)}\mid Z=(z,b)\mathbin{\|}U\right)\right] \\
&\ge\rho_1\cdot
\mathop{\mathbb{E}}_{z\sim Z_{\mathrm{alice}}\mid B_Q=1}
\left[D\left(S_Q^{(i)}\mid Z=(z,1)\mathbin{\|}U\right)\right].
\end{aligned} I ( S Q ( i ) ; Z alice , B Q ) = E ( z , b ) ∼ ( Z alice , B Q ) [ D ( S Q ( i ) ∣ Z = ( z , b ) ∥ U ) ] ≥ ρ 1 ⋅ E z ∼ Z alice ∣ B Q = 1 [ D ( S Q ( i ) ∣ Z = ( z , 1 ) ∥ U ) ] .
Hence, since ρ 1 ≥ n − 1 / 6 \rho_1\ge n^{-1/6} ρ 1 ≥ n − 1/6 ,
E z ∼ Z a l i c e ∣ B Q = 1 [ D ( S Q ( i ) ∣ Z = ( z , 1 ) ∥ U ) ] ≤ O ( log 3 n ) ρ 1 ≤ n 1 / 5 . \mathop{\mathbb{E}}_{z\sim Z_{\mathrm{alice}}\mid B_Q=1}
\left[D\left(S_Q^{(i)}\mid Z=(z,1)\mathbin{\|}U\right)\right]
\le\frac{O(\log^3 n)}{\rho_1}\le n^{1/5}. E z ∼ Z alice ∣ B Q = 1 [ D ( S Q ( i ) ∣ Z = ( z , 1 ) ∥ U ) ] ≤ ρ 1 O ( log 3 n ) ≤ n 1/5 .
Finally, by Markov’s inequality, D ( S Q ( i ) ∣ Z = ( z , 1 ) ∥ U ) ≤ 4 n 1 / 5 D(S_Q^{(i)}\mid Z=(z,1)\mathbin{\|}U)\le4n^{1/5} D ( S Q ( i ) ∣ Z = ( z , 1 ) ∥ U ) ≤ 4 n 1/5 with probability at least 3 / 4 3/4 3/4 over z ∼ Z a l i c e ∣ B Q = 1 z\sim Z_{\mathrm{alice}}\mid B_Q=1 z ∼ Z alice ∣ B Q = 1 . For such z z z , Theorem 2.11, applied to the distribution of S Q ( i ) S_Q^{(i)} S Q ( i ) given Z = ( z , 1 ) Z=(z,1) Z = ( z , 1 ) with S = ( B i s i ) S=\binom{B_i}{s_i} S = ( s i B i ) , t = 4 n 1 / 5 t=4n^{1/5} t = 4 n 1/5 and α = 4 \alpha=4 α = 4 , gives the desired set E E E .
Information about X X X
Next, we show that conditioning on Z = ( z , 1 ) Z=(z,1) Z = ( z , 1 ) costs little min-entropy of X ( i ) X^{(i)} X ( i ) . The only information about X ( i ) X^{(i)} X ( i ) in Z a l i c e Z_{\mathrm{alice}} Z alice is Bob’s message Ψ \Psi Ψ , which is short, and conditioning on B Q = 1 B_Q=1 B Q = 1 costs log ( 1 / ρ 1 ) \log(1/\rho_1) log ( 1/ ρ 1 ) more bits.
Proposition 3.8 (The update side).
Pr z ∼ Z a l i c e ∣ B Q = 1 [ H ∞ ( X ( i ) ∣ Z = ( z , 1 ) ) ≥ log ( n i s i ) − ε s i 4 − log 1 ρ 1 − 2 ] ≥ 3 4 . \Pr_{z\sim Z_{\mathrm{alice}}\mid B_Q=1}\left[
H_\infty(X^{(i)}\mid Z=(z,1))
\ge\log\binom{n_i}{s_i}-\frac{\varepsilon s_i}{4}-\log\frac{1}{\rho_1}-2
\right]\ge\frac{3}{4}. z ∼ Z alice ∣ B Q = 1 Pr [ H ∞ ( X ( i ) ∣ Z = ( z , 1 )) ≥ log ( s i n i ) − 4 ε s i − log ρ 1 1 − 2 ] ≥ 4 3 .
Proof. First we lower bound H ~ ∞ ( X ( i ) ∣ Z a l i c e ) \widetilde{H}_\infty(X^{(i)}\mid Z_{\mathrm{alice}}) H ∞ ( X ( i ) ∣ Z alice ) . The set X ( i ) X^{(i)} X ( i ) is uniform on ( B i s i ) \binom{B_i}{s_i} ( s i B i ) and independent of ( S ~ , X ( ≠ i ) , Q ) (\widetilde{S},X^{(\ne i)},Q) ( S , X ( = i ) , Q ) , and Z a l i c e Z_{\mathrm{alice}} Z alice is a function of ( Ψ , S ~ , X ( ≠ i ) , Q ) (\Psi,\widetilde{S},X^{(\ne i)},Q) ( Ψ , S , X ( = i ) , Q ) by Theorem 3.3 (e). By Theorem 2.7(c), and then (a) with ∣ Ψ ∣ ≤ ε s i / 4 |\Psi|\le\varepsilon s_i/4 ∣Ψ∣ ≤ ε s i /4 (Theorem 3.3 (b)),
H ~ ∞ ( X ( i ) ∣ Z a l i c e ) ≥ H ~ ∞ ( X ( i ) ∣ Ψ , S ~ , X ( ≠ i ) , Q ) ≥ log ( n i s i ) − ε s i 4 . \widetilde{H}_\infty(X^{(i)}\mid Z_{\mathrm{alice}})
\ge
\widetilde{H}_\infty(X^{(i)}\mid\Psi,\widetilde{S},X^{(\ne i)},Q)
\ge\log\binom{n_i}{s_i}-\frac{\varepsilon s_i}{4}. H ∞ ( X ( i ) ∣ Z alice ) ≥ H ∞ ( X ( i ) ∣ Ψ , S , X ( = i ) , Q ) ≥ log ( s i n i ) − 4 ε s i .
Next we condition on B Q = 1 B_Q=1 B Q = 1 , an event of probability ρ 1 \rho_1 ρ 1 . By Theorem 2.8,
H ~ ∞ ( X ( i ) ∣ Z a l i c e , B Q = 1 ) ≥ H ~ ∞ ( X ( i ) ∣ Z a l i c e ) − log 1 ρ 1 ≥ log ( n i s i ) − ε s i 4 − log 1 ρ 1 , \widetilde{H}_\infty(X^{(i)}\mid Z_{\mathrm{alice}},B_Q=1)
\ge\widetilde{H}_\infty(X^{(i)}\mid Z_{\mathrm{alice}})-\log\frac{1}{\rho_1}
\ge\log\binom{n_i}{s_i}-\frac{\varepsilon s_i}{4}-\log\frac{1}{\rho_1}, H ∞ ( X ( i ) ∣ Z alice , B Q = 1 ) ≥ H ∞ ( X ( i ) ∣ Z alice ) − log ρ 1 1 ≥ log ( s i n i ) − 4 ε s i − log ρ 1 1 ,
where the left side is the average min-entropy with respect to the distribution conditioned on B Q = 1 B_Q=1 B Q = 1 :
H ~ ∞ ( X ( i ) ∣ Z a l i c e , B Q = 1 ) = − log E z ∼ Z a l i c e ∣ B Q = 1 [ 2 − H ∞ ( X ( i ) ∣ Z = ( z , 1 ) ) ] . \widetilde{H}_\infty(X^{(i)}\mid Z_{\mathrm{alice}},B_Q=1)
=
-\log\mathop{\mathbb{E}}_{z\sim Z_{\mathrm{alice}}\mid B_Q=1}
\left[2^{-H_\infty(X^{(i)}\mid Z=(z,1))}\right]. H ∞ ( X ( i ) ∣ Z alice , B Q = 1 ) = − log E z ∼ Z alice ∣ B Q = 1 [ 2 − H ∞ ( X ( i ) ∣ Z = ( z , 1 )) ] .
Finally, by Theorem 2.7(b) with r = 2 r=2 r = 2 , applied to this distribution, H ∞ ( X ( i ) ∣ Z = ( z , 1 ) ) H_\infty(X^{(i)}\mid Z=(z,1)) H ∞ ( X ( i ) ∣ Z = ( z , 1 )) is at least the left side minus 2 with probability at least 1 − 2 − 2 = 3 / 4 1-2^{-2}=3/4 1 − 2 − 2 = 3/4 over z ∼ Z a l i c e ∣ B Q = 1 z\sim Z_{\mathrm{alice}}\mid B_Q=1 z ∼ Z alice ∣ B Q = 1 .
Correlation between S Q S_Q S Q and X X X
Finally, we show that S Q ( i ) S_Q^{(i)} S Q ( i ) and X ( i ) X^{(i)} X ( i ) are weakly correlated after conditioning on Z = ( z , 1 ) Z=(z,1) Z = ( z , 1 ) . Merlin’s message U U U is long, but it is shared by all m m m query sets, so it reveals little about the random query set S Q S_Q S Q . Since B Q B_Q B Q is a function of ( Z a l i c e , U ) (Z_{\mathrm{alice}},U) ( Z alice , U ) , conditioning on it adds no correlation beyond what U U U already carries. This is again a standard technique from [33 ] and [31 ] .
Proposition 3.9 (Correlation on disjoint answers).
E z ∼ Z a l i c e ∣ B Q = 1 [ I ( S Q ( i ) ; X ( i ) ∣ Z = ( z , 1 ) ) ] ≤ n − 2 / 5 ρ 1 . \mathop{\mathbb{E}}_{z\sim Z_{\mathrm{alice}}\mid B_Q=1}\left[I\left(S_Q^{(i)};X^{(i)}\mid Z=(z,1)\right)\right]\leq\frac{n^{-2/5}}{\rho_1}. E z ∼ Z alice ∣ B Q = 1 [ I ( S Q ( i ) ; X ( i ) ∣ Z = ( z , 1 ) ) ] ≤ ρ 1 n − 2/5 .
Proof. We first bound the correlation before conditioning on B Q B_Q B Q . Since S Q ( i ) S_Q^{(i)} S Q ( i ) is part of S Q S_Q S Q , the chain rule Theorem 2.3 and Theorem 3.6 give
I ( S Q ( i ) ; X ( i ) , U ∣ Z a l i c e ) ≤ I ( S Q ; X ( i ) , U ∣ Φ , A a l l , Q , S < Q ) = 1 m I ( S ⃗ ; X ( i ) , U ∣ Φ , A a l l ) . I\left(S_Q^{(i)};X^{(i)},U\mid Z_{\mathrm{alice}}\right)\leq I\left(S_Q;X^{(i)},U\mid\Phi,A_{\mathrm{all}},Q,S_{<Q}\right)=\frac{1}{m}I\left(\vec{S};X^{(i)},U\mid\Phi,A_{\mathrm{all}}\right). I ( S Q ( i ) ; X ( i ) , U ∣ Z alice ) ≤ I ( S Q ; X ( i ) , U ∣ Φ , A all , Q , S < Q ) = m 1 I ( S ; X ( i ) , U ∣ Φ , A all ) .
Since A a l l A_{\mathrm{all}} A all is a function of ( S ⃗ , Φ ) (\vec{S},\Phi) ( S , Φ ) , Theorem 2.4 lets us drop it from the conditioning:
I ( S ⃗ ; X ( i ) , U ∣ Φ , A a l l ) ≤ I ( S ⃗ ; X ( i ) , U ∣ Φ ) . I\left(\vec{S};X^{(i)},U\mid\Phi,A_{\mathrm{all}}\right)\leq I\left(\vec{S};X^{(i)},U\mid\Phi\right). I ( S ; X ( i ) , U ∣ Φ , A all ) ≤ I ( S ; X ( i ) , U ∣ Φ ) .
Recall that Φ = ( X ( ≠ i ) , Ψ ) \Phi=(X^{(\ne i)},\Psi) Φ = ( X ( = i ) , Ψ ) , where Ψ \Psi Ψ is a function of ( U , R B o b ) (U,R_{\mathrm{Bob}}) ( U , R Bob ) (Theorem 3.3 (e)). Since S ⃗ \vec{S} S is independent of X X X , and R B o b R_{\mathrm{Bob}} R Bob is independent of ( S ⃗ , X ) (\vec{S},X) ( S , X ) , the chain rule and Theorem 2.2(e) and (f) give
I ( S ⃗ ; X ( i ) , U ∣ X ( ≠ i ) , Ψ ) ≤ I ( S ⃗ ; X ( i ) , U , R B o b ∣ X ( ≠ i ) ) = I ( S ⃗ ; U ∣ X ( i ) , X ( ≠ i ) ) ≤ H ( U ) . I\left(\vec{S};X^{(i)},U\mid X^{(\ne i)},\Psi\right)\leq I\left(\vec{S};X^{(i)},U,R_{\mathrm{Bob}}\mid X^{(\ne i)}\right)=I\left(\vec{S};U\mid X^{(i)},X^{(\ne i)}\right)\leq H(U). I ( S ; X ( i ) , U ∣ X ( = i ) , Ψ ) ≤ I ( S ; X ( i ) , U , R Bob ∣ X ( = i ) ) = I ( S ; U ∣ X ( i ) , X ( = i ) ) ≤ H ( U ) .
By (1) , we conclude that I ( S Q ( i ) ; X ( i ) , U ∣ Z a l i c e ) ≤ H ( U ) / m ≤ n − 2 / 5 I(S_Q^{(i)};X^{(i)},U\mid Z_{\mathrm{alice}})\leq H(U)/m\leq n^{-2/5} I ( S Q ( i ) ; X ( i ) , U ∣ Z alice ) ≤ H ( U ) / m ≤ n − 2/5 , since m = n m=n m = n . Next we condition on B Q B_Q B Q . Since B Q B_Q B Q is a function of ( Z a l i c e , U ) (Z_{\mathrm{alice}},U) ( Z alice , U ) , the chain rule gives
I ( S Q ( i ) ; X ( i ) ∣ Z a l i c e , B Q ) ≤ I ( S Q ( i ) ; X ( i ) , U , B Q ∣ Z a l i c e ) = I ( S Q ( i ) ; X ( i ) , U ∣ Z a l i c e ) ≤ n − 2 / 5 . I\left(S_Q^{(i)};X^{(i)}\mid Z_{\mathrm{alice}},B_Q\right)\leq I\left(S_Q^{(i)};X^{(i)},U,B_Q\mid Z_{\mathrm{alice}}\right)=I\left(S_Q^{(i)};X^{(i)},U\mid Z_{\mathrm{alice}}\right)\leq n^{-2/5}. I ( S Q ( i ) ; X ( i ) ∣ Z alice , B Q ) ≤ I ( S Q ( i ) ; X ( i ) , U , B Q ∣ Z alice ) = I ( S Q ( i ) ; X ( i ) , U ∣ Z alice ) ≤ n − 2/5 .
Finally, by Theorem 2.2(b) and (c),
I ( S Q ( i ) ; X ( i ) ∣ Z a l i c e , B Q ) = E ( z , b ) ∼ ( Z a l i c e , B Q ) [ I ( S Q ( i ) ; X ( i ) ∣ Z = ( z , b ) ) ] ≥ ρ 1 ⋅ E z ∼ Z a l i c e ∣ B Q = 1 [ I ( S Q ( i ) ; X ( i ) ∣ Z = ( z , 1 ) ) ] . \begin{aligned}
I\left(S_Q^{(i)};X^{(i)}\mid Z_{\mathrm{alice}},B_Q\right)
&=\mathop{\mathbb{E}}_{(z,b)\sim(Z_{\mathrm{alice}},B_Q)}\left[I\left(S_Q^{(i)};X^{(i)}\mid Z=(z,b)\right)\right]\\
&\geq\rho_1\cdot\mathop{\mathbb{E}}_{z\sim Z_{\mathrm{alice}}\mid B_Q=1}\left[I\left(S_Q^{(i)};X^{(i)}\mid Z=(z,1)\right)\right].
\end{aligned} I ( S Q ( i ) ; X ( i ) ∣ Z alice , B Q ) = E ( z , b ) ∼ ( Z alice , B Q ) [ I ( S Q ( i ) ; X ( i ) ∣ Z = ( z , b ) ) ] ≥ ρ 1 ⋅ E z ∼ Z alice ∣ B Q = 1 [ I ( S Q ( i ) ; X ( i ) ∣ Z = ( z , 1 ) ) ] .
The main contradiction
Combining the three bounds gives a monochromatic near-rectangle after conditioning S Q ( i ) S_Q^{(i)} S Q ( i ) on an event of constant probability.
Lemma 3.10 (A monochromatic near-rectangle). If ρ 1 ≥ n − 1 / 6 \rho_1\geq n^{-1/6} ρ 1 ≥ n − 1/6 , then there are a value ( z , 1 ) (z,1) ( z , 1 ) of Z Z Z and a set E ⊆ ( B i s i ) E\subseteq\binom{B_i}{s_i} E ⊆ ( s i B i ) with Pr [ S Q ( i ) ∈ E ∣ Z = ( z , 1 ) ] ≥ 3 / 4 \Pr\left[S_Q^{(i)}\in E\mid Z=(z,1)\right]\geq3/4 Pr [ S Q ( i ) ∈ E ∣ Z = ( z , 1 ) ] ≥ 3/4 such that, writing E \mathcal{E} E for the event that Z = ( z , 1 ) Z=(z,1) Z = ( z , 1 ) and S Q ( i ) ∈ E S_Q^{(i)}\in E S Q ( i ) ∈ E ,
H ∞ ( S Q ( i ) ∣ E ) ≥ log ( n i s i ) − ε s i 2 and H ∞ ( X ( i ) ∣ E ) ≥ log ( n i s i ) − ε s i 2 , H_\infty\left(S_Q^{(i)}\mid\mathcal{E}\right)\geq\log\binom{n_i}{s_i}-\frac{\varepsilon s_i}{2}
\qquad\text{and}\qquad
H_\infty\left(X^{(i)}\mid\mathcal{E}\right)\geq\log\binom{n_i}{s_i}-\frac{\varepsilon s_i}{2}, H ∞ ( S Q ( i ) ∣ E ) ≥ log ( s i n i ) − 2 ε s i and H ∞ ( X ( i ) ∣ E ) ≥ log ( s i n i ) − 2 ε s i ,
(ii) I ( S Q ( i ) ; X ( i ) ∣ E ) ≤ n − 1 / 5 I(S_Q^{(i)}; X^{(i)} \mid\mathcal{E}) \le n^{-1/5} I ( S Q ( i ) ; X ( i ) ∣ E ) ≤ n − 1/5 .
In particular, the distribution of ( S Q ( i ) , X ( i ) ) (S_Q^{(i)}, X^{(i)}) ( S Q ( i ) , X ( i ) ) given E \mathcal{E} E is a monochromatic ( ε s i / 2 , n − 1 / 5 ) (\varepsilon s_i/2, n^{-1/5}) ( ε s i /2 , n − 1/5 ) -near-rectangle on ( B i s i ) × ( B i s i ) \binom{B_i}{s_i} \times\binom{B_i}{s_i} ( s i B i ) × ( s i B i ) .
Proof. Draw z ∼ Z a l i c e ∣ B Q = 1 z \sim\mathcal{Z}_{\mathrm{alice}\mid B_Q=1} z ∼ Z alice ∣ B Q = 1 . Each of the following fails with probability at most 1 / 4 1/4 1/4 :
(a) there is a set E E E as in Theorem 3.7;
(b) H ∞ ( X ( i ) ∣ Z = ( z , 1 ) ) ≥ log ( n i s i ) − ε s i / 4 − log ( 1 / ρ 1 ) − 2 H_\infty(X^{(i)}\mid Z=(z,1)) \ge\log\binom{n_i}{s_i} - \varepsilon s_i/4 - \log(1/\rho_1) - 2 H ∞ ( X ( i ) ∣ Z = ( z , 1 )) ≥ log ( s i n i ) − ε s i /4 − log ( 1/ ρ 1 ) − 2 , by Theorem 3.8;
(c) I ( S Q ( i ) ; X ( i ) ∣ Z = ( z , 1 ) ) ≤ 4 n − 2 / 5 / ρ 1 ≤ 4 n − 7 / 30 I(S_Q^{(i)}; X^{(i)}\mid Z=(z,1)) \le4n^{-2/5}/\rho_1 \le4n^{-7/30} I ( S Q ( i ) ; X ( i ) ∣ Z = ( z , 1 )) ≤ 4 n − 2/5 / ρ 1 ≤ 4 n − 7/30 , by Theorem 3.9 and Markov’s inequality.
So some z z z satisfies all three. Fix such z z z and E E E , and let E \mathcal{E} E be the event that Z = ( z , 1 ) Z=(z,1) Z = ( z , 1 ) and S Q ( i ) ∈ E S_Q^{(i)} \in E S Q ( i ) ∈ E . Given Z = ( z , 1 ) Z=(z,1) Z = ( z , 1 ) , the event S Q ( i ) ∈ E S_Q^{(i)} \in E S Q ( i ) ∈ E is a function of S Q ( i ) S_Q^{(i)} S Q ( i ) and has probability at least 3 / 4 3/4 3/4 , so Theorem 2.9 applies to it.
Min-entropy of S Q ( i ) S_Q^{(i)} S Q ( i ) . By (a), H ∞ ( S Q ( i ) ∣ E ) ≥ log ( n i s i ) − 32 n 1 / 5 ≥ log ( n i s i ) − ε s i / 2 H_\infty(S_Q^{(i)}\mid\mathcal{E}) \ge\log\binom{n_i}{s_i} - 32n^{1/5} \ge\log\binom{n_i}{s_i} - \varepsilon s_i/2 H ∞ ( S Q ( i ) ∣ E ) ≥ log ( s i n i ) − 32 n 1/5 ≥ log ( s i n i ) − ε s i /2 , since s i ≥ n 1 / 3 s_i \ge n^{1/3} s i ≥ n 1/3 .
Min-entropy of X ( i ) X^{(i)} X ( i ) . By (b) and Theorem 2.9, H ∞ ( X ( i ) ∣ E ) ≥ log ( n i s i ) − ε s i / 4 − log ( 1 / ρ 1 ) − 3 ≥ log ( n i s i ) − ε s i / 2 H_\infty(X^{(i)}\mid\mathcal{E}) \ge\log\binom{n_i}{s_i} - \varepsilon s_i/4 - \log(1/\rho_1) - 3 \ge\log\binom{n_i}{s_i} - \varepsilon s_i/2 H ∞ ( X ( i ) ∣ E ) ≥ log ( s i n i ) − ε s i /4 − log ( 1/ ρ 1 ) − 3 ≥ log ( s i n i ) − ε s i /2 , since log ( 1 / ρ 1 ) ≤ ( log n ) / 6 \log(1/\rho_1) \le(\log n)/6 log ( 1/ ρ 1 ) ≤ ( log n ) /6 .
Correlation. By (c) and Theorem 2.9, I ( S Q ( i ) ; X ( i ) ∣ E ) ≤ 4 3 ⋅ 4 n − 7 / 30 ≤ n − 1 / 5 I(S_Q^{(i)}; X^{(i)}\mid\mathcal{E}) \le\frac{4}{3}\cdot4n^{-7/30} \le n^{-1/5} I ( S Q ( i ) ; X ( i ) ∣ E ) ≤ 3 4 ⋅ 4 n − 7/30 ≤ n − 1/5 .
Finally, by Theorem 3.3 (a), S Q ∩ X = ∅ S_Q \cap X=\varnothing S Q ∩ X = ∅ whenever B Q = 1 B_Q=1 B Q = 1 , so the distribution of ( S Q ( i ) , X ( i ) ) (S_Q^{(i)}, X^{(i)}) ( S Q ( i ) , X ( i ) ) given E \mathcal{E} E is supported on disjoint pairs.
Passing to a product distribution. As in [31 ] , we replace this distribution by the product of its two marginals and apply Theorem 2.15.
Corollary 3.11 (A nearly monochromatic rectangle). If ρ 1 ≥ n − 1 / 6 \rho_1 \ge n^{-1/6} ρ 1 ≥ n − 1/6 , let E \mathcal{E} E be the event of Theorem 3.10. Then
R : = S Q ( i ) ∣ E ⊗ X ( i ) ∣ E R := S_Q^{(i)}\mid\mathcal{E} \otimes X^{(i)}\mid\mathcal{E} R := S Q ( i ) ∣ E ⊗ X ( i ) ∣ E is an ( ε s i / 2 ) (\varepsilon s_i/2) ( ε s i /2 ) -rectangle on ( B i s i ) × ( B i s i ) \binom{B_i}{s_i} \times\binom{B_i}{s_i} ( s i B i ) × ( s i B i ) , and
Pr ( S , X ) ∼ R [ S ∩ X ≠ ∅ ] ≤ n − 1 / 10 . \Pr_{(S,X)\sim R}[S\cap X\ne\varnothing] \le n^{-1/10}. ( S , X ) ∼ R Pr [ S ∩ X = ∅ ] ≤ n − 1/10 . Proof. By Theorem 3.10, the distribution of ( S Q ( i ) , X ( i ) ) (S_Q^{(i)}, X^{(i)}) ( S Q ( i ) , X ( i ) ) given E \mathcal{E} E is a monochromatic ( ε s i / 2 , n − 1 / 5 ) (\varepsilon s_i/2, n^{-1/5}) ( ε s i /2 , n − 1/5 ) -near-rectangle, and its marginals are S Q ( i ) ∣ E S_Q^{(i)}\mid\mathcal{E} S Q ( i ) ∣ E and X ( i ) ∣ E X^{(i)}\mid\mathcal{E} X ( i ) ∣ E . By Theorem 2.15 with δ = 0 \delta=0 δ = 0 , R R R is an ( ε s i / 2 ) (\varepsilon s_i/2) ( ε s i /2 ) -rectangle with
Pr ( S , X ) ∼ R [ S ∩ X ≠ ∅ ] ≤ ln 2 2 n − 1 / 5 ≤ n − 1 / 10 . \Pr_{(S,X)\sim R}[S\cap X\ne\varnothing] \le\sqrt{\frac{\ln2}{2}n^{-1/5}} \le n^{-1/10}. ( S , X ) ∼ R Pr [ S ∩ X = ∅ ] ≤ 2 ln 2 n − 1/5 ≤ n − 1/10 .
Applying the corruption bound. A corruption bound shows that no such rectangle exists: two independent sparse sets with high min-entropy intersect with noticeable probability. For sets of size N \sqrt{N} N in a universe of size N N N , this is the rectangle bound of Babai, Frankl and Simon [4 ] . We need it for sparser sets, and prove it in § 4 .
Corollary 3.12 (High min-entropy rectangles are not monochromatic). Let ε : = 1 / 40 \varepsilon:= 1/40 ε := 1/40 and c : = 1 / 100 c := 1/100 c := 1/100 . Let s ≥ 200 s \ge200 s ≥ 200 , let N N N be a multiple of s 2 s^2 s 2 , let S : = ( [ N ] s ) \mathcal{S} := \binom{[N]}{s} S := ( s [ N ] ) , and let ν A , ν B \nu_A,\nu_B ν A , ν B be distributions on S \mathcal{S} S with
H ∞ ( ν A ) , H ∞ ( ν B ) ≥ log ∣ S ∣ − ( ε s − 1 ) . H_\infty(\nu_A), H_\infty(\nu_B) \ge\log|\mathcal{S}| - (\varepsilon s - 1). H ∞ ( ν A ) , H ∞ ( ν B ) ≥ log ∣ S ∣ − ( ε s − 1 ) . Then Pr a ∼ ν A , b ∼ ν B [ a ∩ b ≠ ∅ ] ≥ c s 2 / N \Pr_{a\sim\nu_A,b\sim\nu_B}[a \cap b \ne\varnothing] \ge cs^2/N Pr a ∼ ν A , b ∼ ν B [ a ∩ b = ∅ ] ≥ c s 2 / N .
The following lemma completes the proof of the communication lower bound.
Lemma 3.13 (Communication lower bound). For every i ∈ I i \in\mathcal{I} i ∈ I , the protocol G i G_i G i of Theorem 3.3 has ρ 1 < n − 1 / 6 \rho_1 < n^{-1/6} ρ 1 < n − 1/6 .
Proof. Suppose, for contradiction, that ρ 1 ≥ n − 1 / 6 \rho_1 \ge n^{-1/6} ρ 1 ≥ n − 1/6 . By Theorem 3.11, R R R is an ( ε s i / 2 ) (\varepsilon s_i/2) ( ε s i /2 ) -rectangle on ( B i s i ) × ( B i s i ) \binom{B_i}{s_i} \times\binom{B_i}{s_i} ( s i B i ) × ( s i B i ) that puts mass at most n − 1 / 10 n^{-1/10} n − 1/10 on intersecting pairs. On the other hand, apply Theorem 3.12 with N : = n i N := n_i N := n i and s : = s i s := s_i s := s i , identifying B i B_i B i with [ n i ] [n_i] [ n i ] ; this is allowed since n i = ℓ s i 2 n_i = \ell s_i^2 n i = ℓ s i 2 , s i ≥ n 1 / 3 ≥ 200 s_i \ge n^{1/3} \ge200 s i ≥ n 1/3 ≥ 200 and ε s i / 2 ≤ ε s i − 1 \varepsilon s_i/2 \le\varepsilon s_i - 1 ε s i /2 ≤ ε s i − 1 . So R R R puts mass at least c s i 2 / n i = c / ℓ ≥ c / log n > n − 1 / 10 cs_i^2/n_i = c/\ell\ge c/\log n > n^{-1/10} c s i 2 / n i = c / ℓ ≥ c / log n > n − 1/10 on intersecting pairs, a contradiction. □ \square □
Proof of Theorem 3.1 . Recall that ℓ = Θ ( log n / log ( t u w ) ) \ell= \Theta(\log n/\log(t_u w)) ℓ = Θ ( log n / log ( t u w )) by Theorem 3.2 (a). Let c 0 : = 1 / 192 c_0 := 1/192 c 0 := 1/192 , and suppose, for contradiction, that t q ≤ c 0 ℓ 2 t_q \le c_0\ell^2 t q ≤ c 0 ℓ 2 . Since t u w ≤ n 1 / 95 t_u w \le n^{1/95} t u w ≤ n 1/95 , Theorem 3.2 (a) gives ℓ ≥ 20 \ell\ge20 ℓ ≥ 20 , and hence ∣ I ∣ ≥ ( ℓ − 4 ) / 3 ≥ ℓ / 4 |\mathcal{I}| \ge(\ell- 4)/3 \ge\ell/4 ∣ I ∣ ≥ ( ℓ − 4 ) /3 ≥ ℓ /4 . Hence, using ∑ i ∈ I τ i ≤ E D , Q [ T ( Q ) ] ≤ t q \sum_{i\in\mathcal{I}} \tau_i \le\mathbb{E}_{D,Q}[T(Q)] \le t_q ∑ i ∈ I τ i ≤ E D , Q [ T ( Q )] ≤ t q , some i ∈ I i \in\mathcal{I} i ∈ I satisfies τ i ≤ 4 c 0 ℓ \tau_i \le4c_0\ell τ i ≤ 4 c 0 ℓ .
As in Theorem 3.5 , log ( 1 / p ) ≤ 2 log ( t u w ) \log(1/p) \le2\log(t_u w) log ( 1/ p ) ≤ 2 log ( t u w ) , and therefore
p 8 τ i ≥ 2 − 16 τ i log ( t u w ) ≥ 2 − 64 c 0 ℓ log ( t u w ) ≥ n − 16 c 0 = n − 1 / 12 , p^{8\tau_i} \ge2^{-16\tau_i\log(t_u w)} \ge2^{-64c_0\ell\log(t_u w)} \ge n^{-16c_0} = n^{-1/12}, p 8 τ i ≥ 2 − 16 τ i l o g ( t u w ) ≥ 2 − 64 c 0 ℓ l o g ( t u w ) ≥ n − 16 c 0 = n − 1/12 ,
where the last inequality uses 4 ℓ log ( t u w ) = ℓ log β ≤ log n 4\ell\log(t_u w) = \ell\log\beta\le\log n 4 ℓ log ( t u w ) = ℓ log β ≤ log n . By Theorem 3.3 (d),
ρ 1 ≥ 1 8 n − 1 / 12 − e − n 1 / 4 / 3 > n − 1 / 6 , \rho_1 \ge\frac{1}{8}n^{-1/12} - e^{-n^{1/4}/3} > n^{-1/6}, ρ 1 ≥ 8 1 n − 1/12 − e − n 1/4 /3 > n − 1/6 ,
contradicting Theorem 3.13. Thus t q > c 0 ℓ 2 t_q > c_0\ell^2 t q > c 0 ℓ 2 , and Theorem 3.2 (a) gives the claimed Ω ( ( log n / log ( t u w ) ) 2 ) \Omega((\log n/\log(t_u w))^2) Ω (( log n / log ( t u w ) ) 2 ) bound. For the bound on max ( t u , t q ) \max(t_u,t_q) max ( t u , t q ) , if t u ≥ log 2 n t_u \ge\log^2 n t u ≥ log 2 n there is nothing to prove; otherwise log ( t u w ) = O ( log log n ) \log(t_u w) = O(\log\log n) log ( t u w ) = O ( log log n ) . □ \square □
A corruption bound for sparse sets
We prove a combinatorial bound: two independent sparse sets, each drawn from a sufficiently large family, intersect with noticeable probability. The case N = s 2 N = s^2 N = s 2 is the rectangle bound of Babai, Frankl and Simon [4 ] . We extend their argument to s s s -sets in a universe of size N N N , where N N N is a multiple of s 2 s^2 s 2 .
Write S : = ( [ N ] s ) \mathcal{S} := \binom{[N]}{s} S := ( s [ N ] ) , let A , B ⊆ S \mathcal{A},\mathcal{B} \subseteq\mathcal{S} A , B ⊆ S , and let U A \mathcal{U}_{\mathcal{A}} U A and U B \mathcal{U}_{\mathcal{B}} U B be the uniform distributions on these families. We write U \mathcal{U} U for the uniform distribution on S \mathcal{S} S .
Lemma 4.1 (Corruption for sparse sets). Let ε : = 1 / 40 \varepsilon:= 1/40 ε := 1/40 and c : = 1 / 100 c := 1/100 c := 1/100 . Let s ≥ 200 s \ge200 s ≥ 200 , and let N N N be a multiple of s 2 s^2 s 2 . If A , B ⊆ S \mathcal{A},\mathcal{B} \subseteq\mathcal{S} A , B ⊆ S satisfy ∣ A ∣ , ∣ B ∣ ≥ 2 − ε s ∣ S ∣ |\mathcal{A}|,|\mathcal{B}| \ge2^{-\varepsilon s}|\mathcal{S}| ∣ A ∣ , ∣ B ∣ ≥ 2 − ε s ∣ S ∣ , then
Pr a ∼ U A b ∼ U B [ a ∩ b ≠ ∅ ] ≥ c ⋅ s 2 N \Pr_{\substack{a\sim\mathcal{U}_{\mathcal{A}}\\ b\sim\mathcal{U}_{\mathcal{B}}}}[a\cap b\ne\varnothing] \ge c\cdot\frac{s^2}{N} a ∼ U A b ∼ U B Pr [ a ∩ b = ∅ ] ≥ c ⋅ N s 2
First we derive the min-entropy form used in Step 4 (Theorem 3.12) by applying the flat decomposition in Theorem 2.14. We restate the corollary for convenience.
Corollary 3.12. Let s ≥ 200 s \ge200 s ≥ 200 , let N N N be a multiple of s 2 s^2 s 2 , and let ν A , ν B \nu_A,\nu_B ν A , ν B be distributions on S \mathcal{S} S with
H ∞ ( ν A ) , H ∞ ( ν B ) ≥ log ∣ S ∣ − ( ε s − 1 ) . H_\infty(\nu_A), H_\infty(\nu_B) \ge\log|\mathcal{S}| - (\varepsilon s - 1). H ∞ ( ν A ) , H ∞ ( ν B ) ≥ log ∣ S ∣ − ( ε s − 1 ) . Then Pr a ∼ ν A , b ∼ ν B [ a ∩ b ≠ ∅ ] ≥ c s 2 / N \Pr_{a\sim\nu_A,\,b\sim\nu_B}[a \cap b \ne\varnothing] \ge cs^2/N Pr a ∼ ν A , b ∼ ν B [ a ∩ b = ∅ ] ≥ c s 2 / N .
Proof. The product ν A ⊗ ν B \nu_A \otimes\nu_B ν A ⊗ ν B is an ( ε s − 1 ) (\varepsilon s-1) ( ε s − 1 ) -rectangle. Since ∣ S ∣ ≥ 2 ε s |\mathcal{S}| \ge2^{\varepsilon s} ∣ S ∣ ≥ 2 ε s , some integer K K K satisfies 2 − ε s ∣ S ∣ ≤ K ≤ 2 1 − ε s ∣ S ∣ 2^{-\varepsilon s}|\mathcal{S}| \le K \le2^{1-\varepsilon s}|\mathcal{S}| 2 − ε s ∣ S ∣ ≤ K ≤ 2 1 − ε s ∣ S ∣ . By Theorem 2.14 with this K K K , the product is a convex combination of uniform distributions on combinatorial rectangles A × B A \times B A × B with ∣ A ∣ = ∣ B ∣ = K ≥ 2 − ε s ∣ S ∣ |A|=|B|=K \ge2^{-\varepsilon s}|\mathcal{S}| ∣ A ∣ = ∣ B ∣ = K ≥ 2 − ε s ∣ S ∣ . By Theorem 4.1, each of them puts mass at least c s 2 / N cs^2/N c s 2 / N on intersecting pairs. Linearity gives the same bound for ν A ⊗ ν B \nu_A \otimes\nu_B ν A ⊗ ν B .
The one-sided formulation is essential: an analogous lower bound on the probability of disjointness is false. If log ( N / s ) ≤ ε s \log(N/s) \le\varepsilon s log ( N / s ) ≤ ε s , as in our application, then the family A \mathcal{A} A of sets that contain a fixed element has ∣ A ∣ = ( s / N ) ∣ S ∣ ≥ 2 − ε s ∣ S ∣ |\mathcal{A}|=(s/N)|\mathcal{S}| \ge2^{-\varepsilon s}|\mathcal{S}| ∣ A ∣ = ( s / N ) ∣ S ∣ ≥ 2 − ε s ∣ S ∣ , but all pairs in A × A \mathcal{A}\times\mathcal{A} A × A intersect. This is why the main proof uses only runs whose answer is “disjoint”.
Counting facts
We use the following counting estimates, as in [4 ] . Write H b ( α ) : = − α log α − ( 1 − α ) log ( 1 − α ) H_b(\alpha):=-\alpha\log\alpha-(1-\alpha)\log(1-\alpha) H b ( α ) := − α log α − ( 1 − α ) log ( 1 − α ) for the binary entropy function.
Fact 4.2 (Binomial estimates). For all integers u ≥ 0 u \ge0 u ≥ 0 and k ≥ 1 k \ge1 k ≥ 1 ,
( u k ) ≤ ( e u k ) k . \binom{u}{k} \le\left(\frac{eu}{k}\right)^k. ( k u ) ≤ ( k e u ) k . For every integer g ≥ 1 g \ge1 g ≥ 1 and every 0 < α ≤ 1 / 2 0 < \alpha\le1/2 0 < α ≤ 1/2 ,
∑ 0 ≤ h ≤ α g ( g h ) ≤ 2 H b ( α ) g . \sum_{0\le h\le\alpha g}\binom{g}{h} \le2^{H_b(\alpha)g}. 0 ≤ h ≤ α g ∑ ( h g ) ≤ 2 H b ( α ) g .
For a ∼ U a\sim\mathcal{U} a ∼ U , the probability that a a a contains a fixed set or avoids a fixed set is expressed by binomial coefficients. For T , V ⊆ [ N ] T,V\subseteq[N] T , V ⊆ [ N ] with ∣ T ∣ = k ≤ s |T|=k\le s ∣ T ∣ = k ≤ s ,
Pr a ∼ U [ T ⊆ a ] = ( N − k s − k ) / ( N s ) = ∏ h = 0 k − 1 s − h N − h ≤ ( s N ) k , \Pr_{a\sim\mathcal{U}}[T\subseteq a]=\binom{N-k}{s-k}/\binom{N}{s}=\prod_{h=0}^{k-1}\frac{s-h}{N-h}\le\left(\frac{s}{N}\right)^k, a ∼ U Pr [ T ⊆ a ] = ( s − k N − k ) / ( s N ) = h = 0 ∏ k − 1 N − h s − h ≤ ( N s ) k ,
Pr a ∼ U [ a ∩ V = ∅ ] = ( N − ∣ V ∣ s ) / ( N s ) = ∏ h = 0 s − 1 N − ∣ V ∣ − h N − h ≤ ( 1 − ∣ V ∣ N ) s , \Pr_{a\sim\mathcal{U}}[a\cap V=\varnothing]=\binom{N-|V|}{s}/\binom{N}{s}=\prod_{h=0}^{s-1}\frac{N-|V|-h}{N-h}\le\left(1-\frac{|V|}{N}\right)^s, a ∼ U Pr [ a ∩ V = ∅ ] = ( s N − ∣ V ∣ ) / ( s N ) = h = 0 ∏ s − 1 N − h N − ∣ V ∣ − h ≤ ( 1 − N ∣ V ∣ ) s ,
and Pr a ∼ U [ T ⊆ a ] = 0 \Pr_{a\sim\mathcal{U}}[T\subseteq a]=0 Pr a ∼ U [ T ⊆ a ] = 0 if ∣ T ∣ > s |T|>s ∣ T ∣ > s . We use the following two consequences.
Claim 4.3 (Two counting facts). Let 1 ≤ s ≤ N 1\le s\le N 1 ≤ s ≤ N .
(a) For every P ⊆ [ N ] P\subseteq[N] P ⊆ [ N ] and every integer k ≥ 1 k\ge1 k ≥ 1 ,
Pr a ∼ U [ ∣ a ∩ P ∣ ≥ k ] ≤ ( ∣ P ∣ k ) ( s N ) k ≤ ( e ∣ P ∣ s k N ) k . \Pr_{a\sim\mathcal{U}}[|a\cap P|\ge k]\le\binom{|P|}{k}\left(\frac{s}{N}\right)^k\le\left(\frac{e|P|s}{kN}\right)^k. a ∼ U Pr [ ∣ a ∩ P ∣ ≥ k ] ≤ ( k ∣ P ∣ ) ( N s ) k ≤ ( k N e ∣ P ∣ s ) k . (b) For every V ⊆ [ N ] V\subseteq[N] V ⊆ [ N ] ,
Pr a ∼ U [ a ∩ V = ∅ ] ≤ ( 1 − ∣ V ∣ N ) s ≤ e − s ∣ V ∣ / N . \Pr_{a\sim\mathcal{U}}[a\cap V=\varnothing]\le\left(1-\frac{|V|}{N}\right)^s\le e^{-s|V|/N}. a ∼ U Pr [ a ∩ V = ∅ ] ≤ ( 1 − N ∣ V ∣ ) s ≤ e − s ∣ V ∣/ N .
Proof. (a) If ∣ a ∩ P ∣ ≥ k |a\cap P|\ge k ∣ a ∩ P ∣ ≥ k , then a a a contains some T ⊆ P T\subseteq P T ⊆ P with ∣ T ∣ = k |T|=k ∣ T ∣ = k . By a union bound over the ( ∣ P ∣ k ) \binom{|P|}{k} ( k ∣ P ∣ ) choices of T T T , the bound Pr [ T ⊆ a ] ≤ ( s / N ) k \Pr[T\subseteq a]\le(s/N)^k Pr [ T ⊆ a ] ≤ ( s / N ) k , and Fact 4.2 ,
Pr a ∼ U [ ∣ a ∩ P ∣ ≥ k ] ≤ Pr a ∼ U [ ∃ T ⊆ P with ∣ T ∣ = k and T ⊆ a ] ≤ ∑ T ⊆ P ∣ T ∣ = k Pr a ∼ U [ T ⊆ a ] ≤ ( ∣ P ∣ k ) ( s N ) k ≤ ( e ∣ P ∣ s k N ) k . \begin{aligned}
\Pr_{a\sim\mathcal{U}}[|a\cap P|\ge k]\le\Pr_{a\sim\mathcal{U}}[\exists T\subseteq P\text{ with }|T|=k\text{ and }T\subseteq a]\le\sum_{\substack{T\subseteq P\\|T|=k}}\Pr_{a\sim\mathcal{U}}[T\subseteq a] \\
&\le\binom{|P|}{k}\left(\frac{s}{N}\right)^k\le\left(\frac{e|P|s}{kN}\right)^k.
\end{aligned} a ∼ U Pr [ ∣ a ∩ P ∣ ≥ k ] ≤ a ∼ U Pr [ ∃ T ⊆ P with ∣ T ∣ = k and T ⊆ a ] ≤ T ⊆ P ∣ T ∣ = k ∑ a ∼ U Pr [ T ⊆ a ] ≤ ( k ∣ P ∣ ) ( N s ) k ≤ ( k N e ∣ P ∣ s ) k .
(b) If N − ∣ V ∣ < s N-|V|<s N − ∣ V ∣ < s , the avoidance probability is zero and the bound follows. Otherwise, all factors below are nonnegative and satisfy N − ∣ V ∣ − h N − h ≤ 1 − ∣ V ∣ N \frac{N-|V|-h}{N-h}\le1-\frac{|V|}{N} N − h N − ∣ V ∣ − h ≤ 1 − N ∣ V ∣ . Using 1 − x ≤ e − x 1-x\le e^{-x} 1 − x ≤ e − x ,
Pr a ∼ U [ a ∩ V = ∅ ] = ( N − ∣ V ∣ s ) ( N s ) = ∏ h = 0 s − 1 N − ∣ V ∣ − h N − h ≤ ( 1 − ∣ V ∣ N ) s ≤ e − s ∣ V ∣ / N . \begin{aligned}
\Pr_{a\sim\mathcal{U}}\left[a\cap V=\emptyset\right]=\frac{\binom{N-|V|}{s}}{\binom{N}{s}}=\prod_{h=0}^{s-1}\frac{N-|V|-h}{N-h} \\
&\le\left(1-\frac{|V|}{N}\right)^s\le e^{-s|V|/N}.
\end{aligned} a ∼ U Pr [ a ∩ V = ∅ ] = ( s N ) ( s N − ∣ V ∣ ) = h = 0 ∏ s − 1 N − h N − ∣ V ∣ − h ≤ ( 1 − N ∣ V ∣ ) s ≤ e − s ∣ V ∣/ N .
Proof of the corruption bound
For N = s 2 N=s^2 N = s 2 , Theorem 4.1 is the rectangle bound behind the Ω ( N ) \Omega(\sqrt{N}) Ω ( N ) lower bound for Disjointness of [4 ] (see also [15 Section 3.2, proof of Theorem 6] ). We first recall their argument before explaining the changes needed for sparser sets. Suppose that A × B \mathcal{A}\times\mathcal{B} A × B is large and nearly disjoint.
A disjoint chain in A \mathcal{A} A : Since A \mathcal{A} A is large, it contains rows a 1 , … , a t a_1,\ldots,a_t a 1 , … , a t with t = Θ ( s ) t=\Theta(s) t = Θ ( s ) , each of which has at least ⌈ s / 2 ⌉ \lceil s/2\rceil ⌈ s /2 ⌉ elements outside the earlier rows. These pieces of new elements are pairwise disjoint and together cover a constant fraction of [ N ] [N] [ N ] .
Columns of B \mathcal{B} B avoid the chain: A typical row meets few columns of B \mathcal{B} B , so a typical column of B \mathcal{B} B meets few of the pieces. That is, it lies in the complement of all but a few of the pieces.
Few sets avoid the chain: A uniform s s s -set meets each piece with constant probability. A union bound over which pieces it meets shows that only a 2 − Ω ( s ) 2^{-\Omega(s)} 2 − Ω ( s ) fraction of all s s s -sets meet so few pieces. Hence B \mathcal{B} B is small, a contradiction.
For sparser sets, i.e. when N N N is a multiple of s 2 s^2 s 2 , we make two changes.
A longer chain: We take t = ( N / s 2 ) ⌊ s / 6 ⌋ = Θ ( N / s ) t=(N/s^2)\lfloor s/6\rfloor=\Theta(N/s) t = ( N / s 2 ) ⌊ s /6 ⌋ = Θ ( N / s ) rows. The t t t rows cover at most N / 6 N/6 N /6 elements, so another row with many new elements can still be found, while the disjoint pieces cover a constant fraction of the universe.
Grouping the pieces: We group the t t t pieces into g = ⌊ s / 6 ⌋ g=\lfloor s/6\rfloor g = ⌊ s /6 ⌋ groups of N / s 2 N/s^2 N / s 2 pieces each, and apply the union bound to groups instead of pieces. Each group has Θ ( N / s ) \Theta(N/s) Θ ( N / s ) elements, so a uniform s s s -set meets it with constant probability, just as it meets a single piece when N = s 2 N=s^2 N = s 2 . For N = s 2 N=s^2 N = s 2 , every group is a single piece.
Proof of Theorem 4.1. For brevity set δ : = c s 2 / N \delta:=cs^2/N δ := c s 2 / N . Recall that ∣ A ∣ , ∣ B ∣ ≥ 2 − ε s ∣ S ∣ |\mathcal{A}|,|\mathcal{B}|\ge2^{-\varepsilon s}|\mathcal{S}| ∣ A ∣ , ∣ B ∣ ≥ 2 − ε s ∣ S ∣ . Suppose, for contradiction, that
Pr a ∼ U A , b ∼ U B [ a ∩ b ≠ ∅ ] < δ . \Pr_{a\sim\mathcal{U}_{\mathcal{A}},\,b\sim\mathcal{U}_{\mathcal{B}}}[a\cap b\ne\emptyset]<\delta. a ∼ U A , b ∼ U B Pr [ a ∩ b = ∅ ] < δ .
We show that ∣ B ∣ < 2 − ε s ∣ S ∣ |\mathcal{B}|<2^{-\varepsilon s}|\mathcal{S}| ∣ B ∣ < 2 − ε s ∣ S ∣ .
Good rows. Let A ′ : = { a ∈ A : Pr b ∼ U B [ a ∩ b ≠ ∅ ] ≤ 2 δ } \mathcal{A}':=\{a\in\mathcal{A}:\Pr_{b\sim\mathcal{U}_{\mathcal{B}}}[a\cap b\ne\emptyset]\le2\delta\} A ′ := { a ∈ A : Pr b ∼ U B [ a ∩ b = ∅ ] ≤ 2 δ } . By Markov’s inequality, ∣ A ′ ∣ ≥ ∣ A ∣ / 2 ≥ 2 − ε s − 1 ∣ S ∣ |\mathcal{A}'|\ge|\mathcal{A}|/2\ge2^{-\varepsilon s-1}|\mathcal{S}| ∣ A ′ ∣ ≥ ∣ A ∣/2 ≥ 2 − ε s − 1 ∣ S ∣ .
A chain of rows with new elements. Put r : = N / s 2 r:=N/s^2 r := N / s 2 , k : = ⌈ s / 2 ⌉ k:=\lceil s/2\rceil k := ⌈ s /2 ⌉ , g : = ⌊ s / 6 ⌋ g:=\lfloor s/6\rfloor g := ⌊ s /6 ⌋ , and t : = r g t:=rg t := r g . These are positive integers. We select t t t rows in A ′ \mathcal{A}' A ′ , each of which brings at least k k k new elements.
Claim 4.4 (A chain of rows with new elements). There are a 1 , … , a t ∈ A ′ a_1,\ldots,a_t\in\mathcal{A}' a 1 , … , a t ∈ A ′ and sets D 1 , … , D t D_1,\ldots,D_t D 1 , … , D t such that, for every j ∈ [ t ] j\in[t] j ∈ [ t ] ,
D j ⊆ a j ∖ ( a 1 ∪ ⋯ ∪ a j − 1 ) and ∣ D j ∣ = k . D_j\subseteq a_j\setminus(a_1\cup\cdots\cup a_{j-1}) \qquad\text{and}\qquad|D_j|=k. D j ⊆ a j ∖ ( a 1 ∪ ⋯ ∪ a j − 1 ) and ∣ D j ∣ = k . In particular, D 1 , … , D t D_1,\ldots,D_t D 1 , … , D t are pairwise disjoint.
Proof. We choose a 1 , a 2 , … a_1,a_2,\ldots a 1 , a 2 , … greedily. Let 1 ≤ j ≤ t 1 \le j \le t 1 ≤ j ≤ t , suppose that a 1 , … , a j − 1 a_1,\ldots,a_{j-1} a 1 , … , a j − 1 have been chosen, and let P j : = a 1 ∪ ⋯ ∪ a j − 1 P_j := a_1 \cup\cdots\cup a_{j-1} P j := a 1 ∪ ⋯ ∪ a j − 1 (so P 1 = ∅ P_1 = \varnothing P 1 = ∅ ). It suffices to find a j ∈ A ′ a_j \in\mathcal{A}' a j ∈ A ′ with ∣ a j ∩ P j ∣ < k |a_j \cap P_j| < k ∣ a j ∩ P j ∣ < k . Then ∣ a j ∖ P j ∣ ≥ s − k + 1 ≥ k |a_j \setminus P_j| \ge s-k+1 \ge k ∣ a j ∖ P j ∣ ≥ s − k + 1 ≥ k , so we can choose D j D_j D j to contain k k k new elements. Each earlier row has s s s elements, so ∣ P j ∣ ≤ ( j − 1 ) s < t s ≤ N / 6 |P_j| \le(j-1)s < ts \le N/6 ∣ P j ∣ ≤ ( j − 1 ) s < t s ≤ N /6 . By Theorem 4.3(a), using k ≥ s / 2 k \ge s/2 k ≥ s /2 ,
Pr a ∼ U [ ∣ a ∩ P j ∣ ≥ k ] ≤ ( e ∣ P j ∣ s k N ) k ≤ ( e / 3 ) k ≤ ( e / 3 ) s / 2 ≤ 2 − 0.071 s . \mathop{\Pr}_{a\sim\mathcal{U}}\left[|a\cap P_j|\ge k\right]\le\left(\frac{e|P_j|s}{kN}\right)^k\le(e/3)^k\le(e/3)^{s/2}\le2^{-0.071s}. Pr a ∼ U [ ∣ a ∩ P j ∣ ≥ k ] ≤ ( k N e ∣ P j ∣ s ) k ≤ ( e /3 ) k ≤ ( e /3 ) s /2 ≤ 2 − 0.071 s .
Since ∣ A ′ ∣ ≥ 2 − ε s − 1 ∣ S ∣ > 2 − 0.071 s ∣ S ∣ |\mathcal{A}'| \ge2^{-\varepsilon s-1}|\mathcal{S}| > 2^{-0.071s}|\mathcal{S}| ∣ A ′ ∣ ≥ 2 − ε s − 1 ∣ S ∣ > 2 − 0.071 s ∣ S ∣ , some a j ∈ A ′ a_j \in\mathcal{A}' a j ∈ A ′ has ∣ a j ∩ P j ∣ < k |a_j \cap P_j| < k ∣ a j ∩ P j ∣ < k . Finally, D j ⊆ a j ∖ P j D_j \subseteq a_j \setminus P_j D j ⊆ a j ∖ P j is disjoint from D 1 , … , D j − 1 ⊆ P j D_1,\ldots,D_{j-1} \subseteq P_j D 1 , … , D j − 1 ⊆ P j .
Grouping the pieces. Partition [ t ] [t] [ t ] into g g g sets Γ 1 , … , Γ g \Gamma_1,\ldots,\Gamma_g Γ 1 , … , Γ g , each of size r = N / s 2 r=N/s^2 r = N / s 2 . For u ∈ [ g ] u \in[g] u ∈ [ g ] , let
E u : = ⋃ j ∈ Γ u D j . E_u := \bigcup_{j\in\Gamma_u}D_j. E u := j ∈ Γ u ⋃ D j .
The sets E 1 , … , E g E_1,\ldots,E_g E 1 , … , E g are pairwise disjoint, and each has r k ≥ N / ( 2 s ) rk \ge N/(2s) r k ≥ N / ( 2 s ) elements.
Most columns miss most of the groups. Since every a j a_j a j lies in A ′ \mathcal{A}' A ′ ,
E b ∼ U B [ ∣ { j ∈ [ t ] : a j ∩ b ≠ ∅ } ∣ ] = ∑ j = 1 t Pr b ∼ U B [ a j ∩ b ≠ ∅ ] ≤ 2 δ t , \mathop{\mathbb{E}}_{b\sim\mathcal{U}_{\mathcal{B}}}\left[\left|\{j\in[t]:a_j\cap b\ne\varnothing\}\right|\right]=\sum_{j=1}^{t}\mathop{\Pr}_{b\sim\mathcal{U}_{\mathcal{B}}}[a_j\cap b\ne\varnothing]\le2\delta t, E b ∼ U B [ ∣ { j ∈ [ t ] : a j ∩ b = ∅ } ∣ ] = j = 1 ∑ t Pr b ∼ U B [ a j ∩ b = ∅ ] ≤ 2 δ t ,
so by Markov’s inequality the set B ′ \mathcal{B}' B ′ of b ∈ B b\in\mathcal{B} b ∈ B that meet at most 4 δ t 4\delta t 4 δ t of the rows a j a_j a j satisfies ∣ B ′ ∣ ≥ ∣ B ∣ / 2 |\mathcal{B}'|\ge|\mathcal{B}|/2 ∣ B ′ ∣ ≥ ∣ B ∣/2 . If b b b meets E u E_u E u , then it meets a j ⊇ D j a_j\supseteq D_j a j ⊇ D j for some j ∈ Γ u j\in\Gamma_u j ∈ Γ u , and the sets Γ u \Gamma_u Γ u are disjoint. So every b ∈ B ′ b\in\mathcal{B}' b ∈ B ′ meets at most 4 δ t 4\delta t 4 δ t of the sets E u E_u E u , and by our choice of parameters
4 δ t = 4 ⋅ c s 2 N ⋅ N s 2 g = 4 c g = g 25 . 4\delta t=4\cdot\frac{cs^2}{N}\cdot\frac{N}{s^2}g=4cg=\frac{g}{25}. 4 δ t = 4 ⋅ N c s 2 ⋅ s 2 N g = 4 c g = 25 g .
Counting B ′ \mathcal{B}' B ′ . If b ∈ B ′ b\in\mathcal{B}' b ∈ B ′ meets h ≤ g / 25 h\le g/25 h ≤ g /25 groups, it avoids the union V V V of the other g − h g-h g − h groups. Since ∣ V ∣ = ( g − h ) r k ≥ ( g − h ) N / ( 2 s ) |V|=(g-h)rk\ge(g-h)N/(2s) ∣ V ∣ = ( g − h ) r k ≥ ( g − h ) N / ( 2 s ) ,
s ∣ V ∣ N ≥ g − h 2 ≥ 12 g 25 . \frac{s|V|}{N}\ge\frac{g-h}{2}\ge\frac{12g}{25}. N s ∣ V ∣ ≥ 2 g − h ≥ 25 12 g .
For each choice of the groups met, Theorem 4.3(b) bounds the number of such sets by e − 12 g / 25 ∣ S ∣ e^{-12g/25}|\mathcal{S}| e − 12 g /25 ∣ S ∣ . A union bound and Theorem 4.2 give
∣ B ′ ∣ ≤ ∑ 0 ≤ h ≤ g / 25 ( g h ) e − 12 g / 25 ∣ S ∣ ≤ 2 H b ( 1 / 25 ) g e − 12 g / 25 ∣ S ∣ ≤ 2 − 0.45 g ∣ S ∣ , |\mathcal{B}'|\le\sum_{0\le h\le g/25}\binom{g}{h}e^{-12g/25}|\mathcal{S}|
\le2^{H_b(1/25)g}e^{-12g/25}|\mathcal{S}|
\le2^{-0.45g}|\mathcal{S}|, ∣ B ′ ∣ ≤ 0 ≤ h ≤ g /25 ∑ ( h g ) e − 12 g /25 ∣ S ∣ ≤ 2 H b ( 1/25 ) g e − 12 g /25 ∣ S ∣ ≤ 2 − 0.45 g ∣ S ∣ ,
because H b ( 1 / 25 ) ≤ 0.2423 H_b(1/25)\le0.2423 H b ( 1/25 ) ≤ 0.2423 and 12 / ( 25 ln 2 ) > 0.69249 12/(25\ln2)>0.69249 12/ ( 25 ln 2 ) > 0.69249 . As g ≥ s / 6 − 1 g\ge s/6-1 g ≥ s /6 − 1 and s ≥ 200 s\ge200 s ≥ 200 ,
∣ B ∣ ≤ 2 ∣ B ′ ∣ ≤ 2 − 0.075 s + 1.45 ∣ S ∣ < 2 − s / 40 ∣ S ∣ , |\mathcal{B}|\le2|\mathcal{B}'|\le2^{-0.075s+1.45}|\mathcal{S}|<2^{-s/40}|\mathcal{S}|, ∣ B ∣ ≤ 2∣ B ′ ∣ ≤ 2 − 0.075 s + 1.45 ∣ S ∣ < 2 − s /40 ∣ S ∣ ,
contradicting the assumed size of B \mathcal{B} B . □
AI methodology
Claude Opus 5.5 assisted in developing the proof of Theorem 4.1, following the author’s proposal to adapt the argument of Babai, Frankl and Simon [4 ] to sparser sets. The modifications are a longer chain of rows and a union bound over groups of pieces. AI tools also assisted with the adaptations and exposition of the published reductions in Appendix § 6 . The applications other than those originally in [Păţ10] were found with the assistance of ChatGPT (GPT-6.0 Astra). For applications based on published reductions, the tool served as an aid to searching the literature. AI tools assisted with application writeups, independent logical checks, and editorial revisions. The author is responsible for the final manuscript.
Reductions to other problems
For completeness and reader convenience, we collect the reductions yielding the applications of Theorem 3.1. Each construction identifies its published source and any adaptations. Theorem A.1 gives the common simulation, Table 2 indexes the bounds, and Section A.7 proves the streaming separation.
Conventions. Let S 1 , … , S m ⊆ [ n ] S_1,\ldots,S_m \subseteq[n] S 1 , … , S m ⊆ [ n ] be the preprocessed sets, X ⊆ [ n ] X \subseteq[n] X ⊆ [ n ] the evolving set, and q ∈ [ m ] q \in[m] q ∈ [ m ] the final query. Sets are indexed by i i i and elements by j j j . We write M i j : = 1 j ∈ S i M_{ij} := 1_{j \in S_i} M ij := 1 j ∈ S i , x j : = 1 j ∈ X x_j := 1_{j \in X} x j := 1 j ∈ X and c i : = ∣ S i ∩ X ∣ c_i := \lvert S_i \cap X\rvert c i := ∣ S i ∩ X ∣ , so that S q ∩ X = ∅ S_q \cap X = \varnothing S q ∩ X = ∅ exactly when c q = 0 c_q = 0 c q = 0 , and we take m = n m = n m = n . The data structures we build keep the characteristic vector of X X X and ignore repeated insertions, so every inserted element is new. The initial target instance is built during Phase I, which is not charged. Every target instance has size N = n Θ ( 1 ) N = n^{\Theta(1)} N = n Θ ( 1 ) ; padding with parts that no query sees, such as isolated vertices, extends it to every larger size with log N = Θ ( log n ) \log N = \Theta(\log n) log N = Θ ( log n ) , and we discuss the padding only when it needs care. Fixed thresholds may depend on N N N but are chosen before updates. Numbered references to [2 HKNS15, 1 vdBNS19, 18 , 29 ] are to the full versions listed in the bibliography, unless stated otherwise.
For a target data structure on instances of size N N N , in the model of § 2.1 , with word size w = Θ ( log N ) w = \Theta(\log N) w = Θ ( log N ) , worst-case update time t u t_u t u and expected query time t q t_q t q , let
L N : = ( log N log ( t u w ) ) 2 . \mathcal{L}_N := \left(\frac{\log N}{\log(t_u w)}\right)^2 . L N := ( log ( t u w ) log N ) 2 .
Lemma A.1 (Transfer). Consider a reduction from insert-only multiphase Disjointness with m = n m = n m = n to a dynamic problem on instances of size N = n Θ ( 1 ) N = n^{\Theta(1)} N = n Θ ( 1 ) . The initial target instance depends only on S 1 , … , S m S_1,\ldots,S_m S 1 , … , S m , and the reduction has the following properties.
(i) Each insertion into X X X is simulated by O ( 1 ) O(1) O ( 1 ) target updates, and the query q q q by O ( 1 ) O(1) O ( 1 ) target updates and target queries, in some order. Each source operation also probes O ( 1 ) O(1) O ( 1 ) further cells, and the answer to q q q is determined by the answers to the target queries and the contents of these cells.
(ii) The target operations form a valid operation sequence for the target problem, determined by S 1 , … , S m S_1,\ldots,S_m S 1 , … , S m , the sequence of insertions and q q q , and each of their arguments occupies O ( 1 ) O(1) O ( 1 ) words.
Then every zero-error target data structure satisfies t u + t q = Ω ( L N ) t_u + t_q = \Omega(\mathcal{L}_N) t u + t q = Ω ( L N ) , and even t q = Ω ( L N ) t_q = \Omega(\mathcal{L}_N) t q = Ω ( L N ) if the query q q q is simulated without target updates. In either case, max ( t u , t q ) = Ω ( log N log log N ) \max(t_u,t_q) = \Omega\left(\frac{\log N}{\log\log N}\right) max ( t u , t q ) = Ω ( l o g l o g N l o g N ) .
Proof. We build a data structure for insert-only multiphase Disjointness. It stores the memory of the target data structure and O ( 1 ) O(1) O ( 1 ) auxiliary tables, such as the characteristic vector of X X X , in disjoint address ranges, which changes the word size by at most a constant factor; so each insertion probes O ( t u ) O(t_u) O ( t u ) cells. During the query, it keeps every write of the simulated target operations, including writes by target queries, in temporary workspace, from which it answers later reads of the same cells. This reproduces the target execution while leaving the memory unchanged, as Problem 1 requires and § 2.1 allows. By (ii), each target query runs on an operation sequence that does not depend on the random tape, so it probes at most t q t_q t q cells in expectation. Hence the query probes O ( t u + t q ) O(t_u+t_q) O ( t u + t q ) cells in expectation, and O ( t q ) O(t_q) O ( t q ) if it uses no target updates. Since log N = Θ ( log n ) \log N = \Theta(\log n) log N = Θ ( log n ) , Theorem 3.1 gives the first two bounds. For the last one, if t u ≥ log 2 N t_u \ge\log^2 N t u ≥ log 2 N there is nothing to prove; otherwise log ( t u w ) = O ( log log N ) \log(t_u w) = O(\log\log N) log ( t u w ) = O ( log log N ) . □
Graph problems
Here N N N is the number of vertices. Except in subgraph connectivity and in Section A.1.3, the graph initially has no edges, and an update inserts an edge.
In directed reachability , queries test whether one vertex reaches another; s s s -t t t reachability fixes both vertices, and #SSR counts vertices other than a fixed source reachable from it. Strong-connectivity queries test a pair, count strongly connected components, or report the largest component’s size [2 , 25 ] . Cycle detection tests for a directed cycle [25 , 13 ] , and triangle detection for an undirected triangle. Undirected shortest-path queries return a distance d d d , or an approximation in [ d , α d ] [d,\alpha d] [ d , α d ] , preserving d = ∞ d=\infty d = ∞ ; the s s s -t t t version fixes both vertices. In subgraph connectivity , updates turn on vertices of a fixed undirected graph, and queries test connectivity in the induced subgraph of vertices that are on.
The reduction. The reductions for reachability, shortest paths and subgraph connectivity are those of Pătraşcu [Păţ10, Appendix A]. Let G G G be the graph with vertices u 1 , … , u m u_1,\ldots,u_m u 1 , … , u m , v 1 , … , v n v_1,\ldots,v_n v 1 , … , v n and t t t , and with the edges { u i , v j } \{u_i,v_j\} { u i , v j } for j ∈ S i j\in S_i j ∈ S i , inserted in Phase I, and { v j , t } \{v_j,t\} { v j , t } for j ∈ X j\in X j ∈ X : inserting j j j into X X X inserts { v j , t } \{v_j,t\} { v j , t } . In the directed problems, these edges are directed from u i u_i u i to v j v_j v j and from v j v_j v j to t t t , so G G G is a DAG of depth 2. For subgraph connectivity, the fixed graph has the edges { u i , v j } \{u_i,v_j\} { u i , v j } for j ∈ S i j\in S_i j ∈ S i and { v j , t } \{v_j,t\} { v j , t } for all j j j ; initially exactly the u i u_i u i and t t t are on, and inserting j j j into X X X turns v j v_j v j on. (Pătraşcu instead turns on only the queried vertex v q v_q v q , in the final phase.)
Queries without an update. The out-neighbors of u q u_q u q are the v j v_j v j with j ∈ S q j \in S_q j ∈ S q , and v j v_j v j has an edge to t t t exactly when j ∈ X j \in X j ∈ X , so t t t is reachable from u q u_q u q exactly when S q ∩ X ≠ ∅ S_q \cap X \ne\varnothing S q ∩ X = ∅ . Reversing all edges gives the version with the fixed source t t t . In the undirected graph, the distance between u q u_q u q and t t t is 2 in this case, and at least 4 otherwise, since G G G is bipartite with u q u_q u q and t t t on the same side; so an approximation within any factor α < 2 \alpha< 2 α < 2 tells the two cases apart. In subgraph connectivity, the neighbors of u q u_q u q that are on are the v j v_j v j with j ∈ S q ∩ X j \in S_q \cap X j ∈ S q ∩ X , and each of them is adjacent to t t t , so u q u_q u q and t t t are connected exactly when S q ∩ X ≠ ∅ S_q \cap X \ne\varnothing S q ∩ X = ∅ .
Queries with one update.
s s s -t t t reachability, #SSR and s s s -t t t shortest paths. The directed cases are selector variants of Pătrașcu’s reduction, and the undirected case specializes Henzinger, Krinninger, Nanongkai and Saranurak [HKNS15, Lemma 3.2] to a single set. Add a vertex r r r , isolated in Phases I and II, as the fixed source, with the fixed target t t t . The query q q q inserts the edge ( r , u q ) (r,u_q) ( r , u q ) , or { r , u q } \{r,u_q\} { r , u q } in the undirected case. In the directed case, t t t is reachable from r r r exactly when S q ∩ X ≠ ∅ S_q \cap X \ne\varnothing S q ∩ X = ∅ , and the number of vertices other than r r r that are reachable from r r r is ∣ S q ∣ + 1 + 1 S q ∩ X ≠ ∅ |S_q| + 1 + 1_{S_q\cap X\ne\varnothing} ∣ S q ∣ + 1 + 1 S q ∩ X = ∅ , which determines the answer since we store ∣ S q ∣ |S_q| ∣ S q ∣ . In the undirected case, the distance between r r r and t t t is 3 if S q ∩ X ≠ ∅ S_q \cap X \ne\varnothing S q ∩ X = ∅ , and at least 5 otherwise, so an approximation within any factor α < 5 / 3 \alpha< 5/3 α < 5/3 tells the two cases apart.
Strong connectivity and cycle detection. The query q q q inserts the edge ( t , u q ) (t,u_q) ( t , u q ) . Since G G G is acyclic, every cycle uses this edge, so a cycle exists exactly when t t t is reachable from u q u_q u q in G G G , that is, when S q ∩ X ≠ ∅ S_q \cap X \ne\varnothing S q ∩ X = ∅ . In that case u q u_q u q , t t t and some v j v_j v j lie in one strongly connected component; otherwise every strongly connected component is a single vertex. So each of the three strong-connectivity queries tells the two cases apart.
Triangle detection. This specializes [HKNS15, Lemma 3.3] to a single set. The query q q q inserts the edge { u q , t } \{u_q,t\} { u q , t } . Since G G G is bipartite with u q u_q u q and t t t on the same side, every triangle consists of u q u_q u q , t t t and some v j v_j v j with j ∈ S q ∩ X j \in S_q \cap X j ∈ S q ∩ X .
Corollary A.2 (Dynamic graph problems). Consider a zero-error cell-probe data structure on N N N vertices with word size w = Θ ( log N ) w = \Theta(\log N) w = Θ ( log N ) , worst-case update time t u t_u t u and expected query time t q t_q t q .
(a) For incremental directed reachability, incremental undirected shortest paths, exact or within any factor α < 2 \alpha< 2 α < 2 , and incremental subgraph connectivity, t q = Ω ( L N ) t_q = \Omega(L_N) t q = Ω ( L N ) . For directed reachability, this holds already on depth-2 DAGs whose queries ask whether a fixed sink is reachable, or whether a vertex is reachable from a fixed source. For undirected shortest paths, it holds already for distances from a fixed source.
(b) For incremental s s s -t t t reachability, #SSR, undirected s s s -t t t shortest paths, exact or within any factor α < 5 / 3 \alpha< 5/3 α < 5/3 , strong connectivity in each of the three forms above, cycle detection, and triangle detection, t u + t q = Ω ( L N ) t_u + t_q = \Omega(L_N) t u + t q = Ω ( L N ) .
In particular, max ( t u , t q ) = Ω ( ( log N / log log N ) 2 ) \max(t_u,t_q) = \Omega((\log N/\log\log N)^2) max ( t u , t q ) = Ω (( log N / log log N ) 2 ) for all of these problems.
Proof. The graph has at most 2 n + 2 2n+2 2 n + 2 vertices. Each insertion into X X X is simulated by one update, and the query by one query, preceded by one update in (b). So Theorem A.1 gives the bounds. □ \square □
Bipartite matching
The graph is bipartite and unweighted, an update inserts an edge, and a query asks for the size of a maximum matching, or whether a perfect matching exists. We specialize the reduction from reachability to bipartite matching of Abboud and Vassilevska Williams [2 Lemma 6.2] . The two sides are
L = { s L } ∪ { u i , L : i ∈ [ n ] } ∪ { v j , L : j ∈ [ n ] } , R = { t R } ∪ { u i , R : i ∈ [ n ] } ∪ { v j , R : j ∈ [ n ] } . L = \{s_L\} \cup\{u_{i,L} : i \in[n]\} \cup\{v_{j,L} : j \in[n]\}, \qquad R = \{t_R\} \cup\{u_{i,R} : i \in[n]\} \cup\{v_{j,R} : j \in[n]\}. L = { s L } ∪ { u i , L : i ∈ [ n ]} ∪ { v j , L : j ∈ [ n ]} , R = { t R } ∪ { u i , R : i ∈ [ n ]} ∪ { v j , R : j ∈ [ n ]} .
In Phase I, insert the edges { u i , L , u i , R } \{u_{i,L}, u_{i,R}\} { u i , L , u i , R } and { v j , L , v j , R } \{v_{j,L}, v_{j,R}\} { v j , L , v j , R } , and the edges { u i , L , v j , R } \{u_{i,L}, v_{j,R}\} { u i , L , v j , R } for j ∈ S i j \in S_i j ∈ S i . Inserting j j j into X X X inserts { v j , L , t R } \{v_{j,L}, t_R\} { v j , L , t R } . The query q q q inserts { s L , u q , R } \{s_L, u_{q,R}\} { s L , u q , R } , and asks whether there is a perfect matching.
The edges { u i , L , u i , R } \{u_{i,L}, u_{i,R}\} { u i , L , u i , R } and { v j , L , v j , R } \{v_{j,L}, v_{j,R}\} { v j , L , v j , R } form a matching of size 2 n 2n 2 n , which leaves exactly s L s_L s L and t R t_R t R unmatched, and its augmenting paths are exactly
s L , u q , R , u q , L , v j , R , v j , L , t R ( j ∈ S q ∩ X ) . s_L,\ u_{q,R},\ u_{q,L},\ v_{j,R},\ v_{j,L},\ t_R \qquad(j \in S_q \cap X). s L , u q , R , u q , L , v j , R , v j , L , t R ( j ∈ S q ∩ X ) .
So a perfect matching, of size 2 n + 1 2n + 1 2 n + 1 , exists exactly when S q ∩ X ≠ ∅ S_q \cap X \ne\emptyset S q ∩ X = ∅ , and otherwise the maximum matching has size 2 n 2n 2 n . The graph has 4 n + 2 4n + 2 4 n + 2 vertices. For perfect matching, take even N N N and pad with disjoint edges; for maximum matching size, an isolated vertex also permits odd N N N . Each insertion into X X X is one update, and the query is one update and one query, so Theorem A.1 gives t u + t q = Ω ( L N ) t_u + t_q = \Omega(\mathcal{L}_N) t u + t q = Ω ( L N ) .
Exact densest subgraph
The density of a nonempty vertex set U U U is ∣ E ( G [ U ] ) ∣ / ∣ U ∣ |E(G[U])| / |U| ∣ E ( G [ U ]) ∣/∣ U ∣ . The graph is simple and unweighted, an update inserts an edge, and a query asks for the maximum density ρ ∗ ( G ) \rho^*(G) ρ ∗ ( G ) over all nonempty U U U , or whether ρ ∗ ( G ) ≥ θ \rho^*(G) \ge\theta ρ ∗ ( G ) ≥ θ for a threshold θ \theta θ fixed in advance. We specialize the reduction of Henzinger, Krinninger, Nanongkai and Saranurak [HKNS15, Section 3.6, Theorems 3.23 and 3.25], whose vector-matrix-vector formulation we use with the row vector e q e_q e q , supplied in the final phase.
Let k : = 6 n k := 6n k := 6 n . For each i ∈ [ n ] i \in[n] i ∈ [ n ] , the graph has a triple R i R_i R i of vertices with a designated vertex r i ∈ R i r_i \in R_i r i ∈ R i , and for each j ∈ [ n ] j \in[n] j ∈ [ n ] , a triple Y j Y_j Y j with a designated vertex y j ∈ Y j y_j \in Y_j y j ∈ Y j . For each ( i , j ) ∈ [ n ] 2 (i,j) \in[n]^2 ( i , j ) ∈ [ n ] 2 , it has a set P i j P_{ij} P ij of k k k further vertices with two distinct endpoints a i j a_{ij} a ij and b i j b_{ij} b ij . In Phase I, insert the edges r i a i j r_i a_{ij} r i a ij and b i j y j b_{ij} y_j b ij y j for all i , j i,j i , j , and, if M i j = 1 M_{ij} = 1 M ij = 1 , a path from a i j a_{ij} a ij to b i j b_{ij} b ij through all vertices of P i j P_{ij} P ij . A triple is active if its vertices form a triangle. Inserting j j j into X X X inserts the three edges of a triangle on Y j Y_j Y j . The query q q q inserts the three edges of a triangle on R q R_q R q , and asks whether ρ ∗ ( G ) ≥ θ \rho^*(G) \ge\theta ρ ∗ ( G ) ≥ θ , where
θ : = k + 7 k + 6 . \theta:= \frac{k + 7}{k + 6}. θ := k + 6 k + 7 .
The graph has k n 2 + 6 n = 6 n 3 + 6 n kn^2 + 6n = 6n^3 + 6n k n 2 + 6 n = 6 n 3 + 6 n vertices, and isolated vertices pad it without changing ρ ∗ ( G ) \rho^*(G) ρ ∗ ( G ) .
Lemma A.3. After the query inserts the triangle on R q R_q R q , we have ρ ∗ ( G ) ≥ θ \rho^*(G) \ge\theta ρ ∗ ( G ) ≥ θ if and only if S q ∩ X ≠ ∅ S_q \cap X \ne\emptyset S q ∩ X = ∅ .
Proof. If j ∈ S q ∩ X j \in S_q \cap X j ∈ S q ∩ X , then R q ∪ P q j ∪ Y j R_q \cup P_{qj} \cup Y_j R q ∪ P q j ∪ Y j has k + 6 k + 6 k + 6 vertices and induces ( k − 1 ) + 2 + 3 + 3 = k + 7 (k - 1) + 2 + 3 + 3 = k + 7 ( k − 1 ) + 2 + 3 + 3 = k + 7 edges, so its density is θ \theta θ .
Conversely, suppose that S q ∩ X = ∅ S_q \cap X = \emptyset S q ∩ X = ∅ , and that some nonempty U U U has Φ ( U ) : = ∣ E ( G [ U ] ) ∣ − θ ∣ U ∣ ≥ 0 \Phi(U) := |E(G[U])| - \theta|U| \ge0 Φ ( U ) := ∣ E ( G [ U ]) ∣ − θ ∣ U ∣ ≥ 0 . We modify U U U in the following steps, each of which strictly increases Φ ( U ) \Phi(U) Φ ( U ) ; in particular, U U U never becomes empty, since Φ ( ∅ ) = 0 \Phi(\emptyset) = 0 Φ ( ∅ ) = 0 .
For each ( i , j ) (i,j) ( i , j ) , remove every component of G [ U ∩ P i j ] G[U \cap P_{ij}] G [ U ∩ P ij ] , unless it is all of P i j P_{ij} P ij , M i j = 1 M_{ij} = 1 M ij = 1 , and r i , y j ∈ U r_i, y_j \in U r i , y j ∈ U . A removed component with v v v vertices spans at most v − 1 v - 1 v − 1 edges and has at most one edge to r i r_i r i or y j y_j y j , so its removal deletes at most v v v edges and increases Φ ( U ) \Phi(U) Φ ( U ) by at least $(\theta - 1)v > 0.
For each triple, if it is not active, remove its vertices other than its designated vertex; they are isolated. If it is active and its designated vertex is not in U U U , remove its remaining vertices, which span at most one edge. If it is active and its designated vertex is in U U U , add its missing vertices: adding one vertex adds two edges, and adding two vertices adds three edges, so Φ ( U ) \Phi(U) Φ ( U ) increases since θ < 3 / 2 \theta< 3/2 θ < 3/2 . These steps do not create new edges to the sets P i j P_{ij} P ij , since only designated vertices have such edges.
Now let π \pi π be the number of sets P i j ⊆ U P_{ij} \subseteq U P ij ⊆ U , τ \tau τ the number of active triples contained in U U U , and δ \delta δ the number of designated vertices of inactive triples in U U U . Then G [ U ] G[U] G [ U ] has v = k π + 3 τ + δ v = k\pi+ 3\tau+ \delta v = k π + 3 τ + δ vertices and e = ( k + 1 ) π + 3 τ e = (k + 1)\pi+ 3\tau e = ( k + 1 ) π + 3 τ edges. The only active triple R i R_i R i is R q R_q R q , and the triples Y j Y_j Y j with j ∈ S q j \in S_q j ∈ S q are inactive, since S q ∩ X = ∅ S_q \cap X = \varnothing S q ∩ X = ∅ ; so each P i j ⊆ U P_{ij} \subseteq U P ij ⊆ U has an endpoint adjacent to the designated vertex of an inactive triple in U U U . Every designated vertex is adjacent to at most n n n of the sets P i j P_{ij} P ij , so π ≤ n δ \pi\le n\delta π ≤ n δ . Moreover τ + δ > 0 \tau+ \delta> 0 τ + δ > 0 , since U U U is nonempty and every P i j ⊆ U P_{ij} \subseteq U P ij ⊆ U comes with r i , y j ∈ U r_i, y_j \in U r i , y j ∈ U . Using k = 6 n k = 6n k = 6 n ,
( k + 7 ) v − ( k + 6 ) e = 3 τ + ( k + 7 ) δ − 6 π ≥ 3 τ + 7 δ > 0 , (k + 7)v - (k + 6)e = 3\tau+ (k + 7)\delta- 6\pi\ge3\tau+ 7\delta> 0, ( k + 7 ) v − ( k + 6 ) e = 3 τ + ( k + 7 ) δ − 6 π ≥ 3 τ + 7 δ > 0 ,
so e / v < θ e/v < \theta e / v < θ , which contradicts Φ ( U ) ≥ 0 \Phi(U) \ge0 Φ ( U ) ≥ 0 . □ \square □
Each insertion into X X X is three updates, and the query is three updates and one query, so Theorem A.1 gives t u + t q = Ω ( L N ) t_u + t_q = \Omega(L_N) t u + t q = Ω ( L N ) . The numerator and denominator of θ \theta θ have O ( log n ) O(\log n) O ( log n ) bits. The bound concerns exact densities: θ \theta θ tends to 1, so it does not extend to constant-factor approximation.
Nearest marked vertex
The graph is fixed, undirected and unweighted, and every vertex is marked or unmarked. An update marks a vertex, and a query asks for the distance d ( v ) d(v) d ( v ) from a given vertex v v v to the nearest marked vertex, or for a one-sided approximation d ^ ( v ) \widehat{d}(v) d ( v ) with d ( v ) ≤ d ^ ( v ) ≤ α d ( v ) d(v) \le\widehat{d}(v) \le\alpha d(v) d ( v ) ≤ d ( v ) ≤ α d ( v ) , where 1 ≤ α < 3 1 \le\alpha< 3 1 ≤ α < 3 . We adapt the incidence-graph construction of Henzinger, Krinninger, Nanongkai and Saranurak [HKNS15, Lemma 3.7] to marking only, adding a sentinel and hubs so that the graph is connected and all distances are finite.
The graph has vertices r 1 , … , r n r_1, \ldots, r_n r 1 , … , r n , v 1 , … , v n v_1, \ldots, v_n v 1 , … , v n , a a a , b b b and z z z , and the edges r i v j r_i v_j r i v j for j ∈ S i j \in S_i j ∈ S i , and r i a r_i a r i a , a b ab ab , b z bz b z and b v j bv_j b v j for all i i i and j j j . It is connected and bipartite, with sides { r 1 , … , r n , b } \{r_1, \ldots, r_n, b\} { r 1 , … , r n , b } and { v 1 , … , v n , a , z } \{v_1, \ldots, v_n, a, z\} { v 1 , … , v n , a , z } . Initially only z z z is marked. Inserting j j j into X X X marks v j v_j v j , and the query q q q asks for d ( r q ) d(r_q) d ( r q ) .
The marked vertices are z z z and the v j v_j v j with j ∈ X j \in X j ∈ X . So r q r_q r q has a marked neighbor, and d ( r q ) = 1 d(r_q) = 1 d ( r q ) = 1 , exactly when S q ∩ X ≠ ∅ S_q \cap X \ne\varnothing S q ∩ X = ∅ . Otherwise all marked vertices lie on the other side of the bipartition and are not adjacent to r q r_q r q , so their distance from r q r_q r q is odd and at least 3, and the path r q , a , b , z r_q, a, b, z r q , a , b , z shows that d ( r q ) = 3 d(r_q) = 3 d ( r q ) = 3 . So the test d ^ ( r q ) < 3 \widehat{d}(r_q) < 3 d ( r q ) < 3 tells the two cases apart. The graph has 2 n + 3 2n + 3 2 n + 3 vertices, and unmarked leaves attached to b b b pad it without changing these distances. The costs are one update per insertion and one query, so Theorem A.1 gives t q = Ω ( L N ) t_q = \Omega(L_N) t q = Ω ( L N ) .
Planar graph problems
Here N N N is the number of vertices, an update inserts an edge, and every graph that arises is planar. The reductions adapt the two-grid construction of Abboud and Dahlgaard [1 Definition 1, Corollary 1, and Sections 3 and 6] and their selectors for diameter and girth. We add a permanent dummy connection and choose positive connector lengths, so that all updates are insertions. A local shortcut first encodes one matrix entry in a grid distance; a second grid and the connectors turn these entry tests into an OR over the inserted elements.
The grid. For a Boolean p × p p \times p p × p matrix B B B with p ≥ 2 p \ge2 p ≥ 2 , the grid G ( B ) G(B) G ( B ) has vertices u r c u_{rc} u r c , v r c v_{rc} v r c , w r c w_{rc} w r c and x r c x_{rc} x r c for r , c ∈ [ p ] r,c \in[p] r , c ∈ [ p ] , top terminals a c a_c a c , right terminals b r b_r b r , and the following edges.
Table 1 (PDF p. 37).
When B r c = 0 B_{rc}=0 B r c = 0 , the vertex x r c x_{rc} x r c is a leaf, which does not affect distances between terminals; so G ( B ) G(B) G ( B ) has 4 p 2 + 2 p 4p^2+2p 4 p 2 + 2 p vertices for every B B B .
Lemma A.4 (Grid distances). For every Boolean p × p p \times p p × p matrix B B B with p ≥ 2 p \ge2 p ≥ 2 and all q , j ∈ [ p ] q,j \in[p] q , j ∈ [ p ] ,
d G ( B ) ( a q , b j ) = 2 p ( p − q + 1 ) + 2 q j − B j q , d_{G(B)}(a_q,b_j)=2p(p-q+1)+2qj-B_{jq}, d G ( B ) ( a q , b j ) = 2 p ( p − q + 1 ) + 2 q j − B j q , which is attained by the path down column q q q and then right along row j j j , through x j q x_{jq} x j q if $B_{jq}=1.
Proof. Compressing each cell. Identify each vertex u r c u_{rc} u r c with the corner ( r , c ) (r,c) ( r , c ) , the top terminal a c a_c a c with ( 0 , c ) (0,c) ( 0 , c ) , and the right terminal b r b_r b r with ( r , p + 1 ) (r,p+1) ( r , p + 1 ) . The cell { v r c , w r c , x r c } \{v_{rc},w_{rc},x_{rc}\} { v r c , w r c , x r c } meets the rest of the graph only at the three corners ( r − 1 , c ) (r-1,c) ( r − 1 , c ) , ( r , c ) (r,c) ( r , c ) and ( r , c + 1 ) (r,c+1) ( r , c + 1 ) . Within the cell, the distances from ( r − 1 , c ) (r-1,c) ( r − 1 , c ) to ( r , c ) (r,c) ( r , c ) , from ( r , c ) (r,c) ( r , c ) to ( r , c + 1 ) (r,c+1) ( r , c + 1 ) , and from ( r − 1 , c ) (r-1,c) ( r − 1 , c ) to ( r , c + 1 ) (r,c+1) ( r , c + 1 ) are 2 c 2c 2 c , 2 p 2p 2 p and 2 c + 2 p − B r c 2c+2p-B_{rc} 2 c + 2 p − B r c : the edge x r c w r c x_{rc}w_{rc} x r c w r c saves one unit only between the first and third corners. Replace the cell by the triangle on its three corners with these edge lengths. Since the cells are disjoint, this preserves all distances between corners. The compressed graph has a vertical, a horizontal and a diagonal edge for every r , c ∈ [ p ] r,c \in[p] r , c ∈ [ p ] , and no horizontal edges on row 0.
A lower-bound potential. Fix q , j q,j q , j , and let β : = B j q \beta:=B_{jq} β := B j q and z r : = max { j − r , 0 } z_r:=\max\{j-r,0\} z r := max { j − r , 0 } . Define
F ( r , c ) : = 2 q j + 2 p ( c − q ) − 2 min { c , q } z r + η ( r , c ) , η ( r , c ) : = { 1 , r < j , c < q , − 1 , r < j , c > q , − β , r ≥ j , c > q , 0 , otherwise . F(r,c):=2qj+2p(c-q)-2\min\{c,q\}z_r+\eta(r,c),\qquad
\eta(r,c):=
\begin{cases}
1, & r<j,\ c<q,\\
-1, & r<j,\ c>q,\\
-\beta, & r\ge j,\ c>q,\\
0, & \text{otherwise}.
\end{cases} F ( r , c ) := 2 q j + 2 p ( c − q ) − 2 min { c , q } z r + η ( r , c ) , η ( r , c ) := ⎩ ⎨ ⎧ 1 , − 1 , − β , 0 , r < j , c < q , r < j , c > q , r ≥ j , c > q , otherwise .
Let V r c : = F ( r , c ) − F ( r − 1 , c ) V_{rc}:=F(r,c)-F(r-1,c) V r c := F ( r , c ) − F ( r − 1 , c ) , H r c : = F ( r , c + 1 ) − F ( r , c ) H_{rc}:=F(r,c+1)-F(r,c) H r c := F ( r , c + 1 ) − F ( r , c ) and D r c : = V r c + H r c D_{rc}:=V_{rc}+H_{rc} D r c := V r c + H r c be the increments along the vertical, horizontal and diagonal edges. Direct subtraction gives 0 ≤ V r c ≤ 2 c 0\le V_{rc}\le2c 0 ≤ V r c ≤ 2 c and 0 ≤ H r c ≤ 2 p 0\le H_{rc}\le2p 0 ≤ H r c ≤ 2 p ; for the lower bound on H r c H_{rc} H r c , use r ≥ 1 r\ge1 r ≥ 1 , so that z r ≤ p − 1 z_r\le p-1 z r ≤ p − 1 and the smallest possible value is 2 p − 2 z r − 1 ≥ 1 2p-2z_r-1\ge1 2 p − 2 z r − 1 ≥ 1 . The diagonal increments are as follows, with an upper bound in the top-left entry and equality elsewhere:
So 0 ≤ D r c ≤ 2 p + 2 c − 1 0\le D_{rc}\le2p+2c-1 0 ≤ D r c ≤ 2 p + 2 c − 1 for ( r , c ) ≠ ( j , q ) (r,c)\ne(j,q) ( r , c ) = ( j , q ) , and D j q = 2 p + 2 q − β D_{jq}=2p+2q-\beta D j q = 2 p + 2 q − β . Since B B B is Boolean, every diagonal increment is at most the length 2 p + 2 c − B r c 2p+2c-B_{rc} 2 p + 2 c − B r c of its edge. Hence the potential changes by at most the length of each compressed edge, in either direction.
Attaining the bound. Since F ( 0 , q ) = 0 F(0,q)=0 F ( 0 , q ) = 0 and F ( j , p + 1 ) = 2 q j + 2 p ( p − q + 1 ) − β F(j,p+1)=2qj+2p(p-q+1)-\beta F ( j , p + 1 ) = 2 q j + 2 p ( p − q + 1 ) − β , every path from a q a_q a q to b j b_j b j has at least the claimed length. The path consisting of j − 1 j-1 j − 1 vertical edges in column q q q , the diagonal edge of cell ( j , q ) (j,q) ( j , q ) , and p − q p-q p − q horizontal edges in row j j j has exactly this length, and expanding its edges gives the stated path.
The core. Let p : = n + 1 p:=n+1 p := n + 1 , pad M M M with a zero row and a zero column, and let B : = M T B:=M^{\mathsf T} B := M T ; so the rows of B B B are indexed by elements and its columns by sets, and row p p p of B B B is zero. To the right of G ( B ) G(B) G ( B ) , place a horizontally reflected copy of G ( 0 ) G(0) G ( 0 ) , with terminals b 1 ′ , … , b p ′ b'_1,\ldots,b'_p b 1 ′ , … , b p ′ facing b 1 , … , b p b_1,\ldots,b_p b 1 , … , b p and top terminals a 1 ′ , … , a p ′ a'_1,\ldots,a'_p a 1 ′ , … , a p ′ , and let r q : = a p − q + 1 ′ r_q:=a'_{p-q+1} r q := a p − q + 1 ′ . By Theorem A.4, applied to G ( 0 ) G(0) G ( 0 ) , the distance from b j ′ b'_j b j ′ to r q r_q r q in the copy is 2 p q + 2 ( p − q + 1 ) j 2pq+2(p-q+1)j 2 pq + 2 ( p − q + 1 ) j . Let
H : = 4 p ( p + 1 ) , λ j : = H + 2 ( p + 1 ) ( p − j ) , D : = 2 H . H:=4p(p+1),\qquad\lambda_j:=H+2(p+1)(p-j),\qquad D:=2H. H := 4 p ( p + 1 ) , λ j := H + 2 ( p + 1 ) ( p − j ) , D := 2 H .
For j ∈ [ p ] j\in[p] j ∈ [ p ] , the connector of j j j is an edge b j b j ′ b_jb'_j b j b j ′ of length λ j \lambda_j λ j ; the connectors join facing terminals, so they do not cross. The connector of p p p is present from the start, and the connector of j ∈ [ n ] j\in[n] j ∈ [ n ] is inserted when j j j is inserted into X X X . The core has 8 p 2 + 4 p 8p^2+4p 8 p 2 + 4 p vertices, and every edge length is at most λ 1 = 6 p 2 + 4 p − 2 < D \lambda_1=6p^2+4p-2<D λ 1 = 6 p 2 + 4 p − 2 < D .
A path from a q a_q a q to r q r_q r q that uses the connector of j j j once, and shortest paths in the two grids (Figure 3 ), has length
Figure 3. The planar core, with cell interiors suppressed (p = 4 p=4 p = 4 , q = 2 q=2 q = 2 , X = { 1 , 3 } X=\{1,3\} X = { 1 , 3 } ). The highlighted path uses the cell ( j , q ) (j,q) ( j , q ) and the connector of j = 3 j=3 j = 3 ; its length is D − B j q D-B_{jq} D − B j q . The second grid and connector length cancel the dependence on j j j . Solid connectors are present; the dashed connector is absent. The dummy connector guarantees distance at most D D D .
( 2 p ( p − q + 1 ) + 2 q j − B j q ) + λ j + ( 2 p q + 2 ( p − q + 1 ) j ) = D − B j q . (2p(p-q+1)+2qj-B_{jq})+\lambda_j+(2pq+2(p-q+1)j)=D-B_{jq}. ( 2 p ( p − q + 1 ) + 2 q j − B j q ) + λ j + ( 2 pq + 2 ( p − q + 1 ) j ) = D − B j q .
A path from one grid to the other uses an odd number of connectors, and a path that uses at least three of them has length at least 3 H > D 3H>D 3 H > D , while the connector of p p p gives a path of length D D D . Hence
d ( a q , r q ) = D − f q , where f q : = max j ∈ X ∪ { p } B j q = 1 S q ∩ X ≠ ∅ . (2) d(a_q,r_q)=D-f_q,\qquad\text{where}\qquad f_q:=\max_{j\in X\cup\{p\}} B_{jq}=\mathbf{1}_{S_q\cap X\ne\varnothing}. \tag*{(2)} d ( a q , r q ) = D − f q , where f q := j ∈ X ∪ { p } max B j q = 1 S q ∩ X = ∅ . (2)
Distance
A query asks for the distance between two vertices. The query q q q asks for d ( a q , r q ) d(a_q,r_q) d ( a q , r q ) , which by (2) is at most D − 1 D-1 D − 1 exactly when S q ∩ X ≠ ∅ S_q\cap X\ne\varnothing S q ∩ X = ∅ ; so the bound holds already for this threshold query.
For unit weights, subdivide every edge of the two grids into edges of length 1 1 1 , and replace the connector of j j j by a path of length λ j \lambda_j λ j from b j b_j b j to b j ′ b'_j b j ′ . The path of p p p is present from the start, and the path of j ∈ [ n ] j \in[n] j ∈ [ n ] is present from the start except for its edge at b j b_j b j , which is inserted when j j j is inserted into X X X . The incomplete paths hang from the right grid, so the graph stays connected, and (2) still holds. Subdividing a grid adds its total edge length 3 p 3 + 2 p 2 + ∑ r , c B r c 3p^3 + 2p^2 + \sum_{r,c} B_{rc} 3 p 3 + 2 p 2 + ∑ r , c B r c , minus its number of edges 5 p 2 + ∑ r , c B r c 5p^2 + \sum_{r,c} B_{rc} 5 p 2 + ∑ r , c B r c , to its 4 p 2 + 2 p 4p^2 + 2p 4 p 2 + 2 p vertices, giving 3 p 3 + p 2 + 2 p 3p^3 + p^2 + 2p 3 p 3 + p 2 + 2 p vertices; the connector paths add ∑ j ( λ j − 1 ) = 5 p 3 + 4 p 2 − 2 p \sum_j (\lambda_j - 1) = 5p^3 + 4p^2 - 2p ∑ j ( λ j − 1 ) = 5 p 3 + 4 p 2 − 2 p vertices. So the graph has 11 p 3 + 6 p 2 + 2 p 11p^3 + 6p^2 + 2p 11 p 3 + 6 p 2 + 2 p vertices, for every B B B .
In both versions, pendant leaves pad the graph, each insertion into X X X is one update, and the query is one query, so Theorem A.1 gives t q = Ω ( L N ) t_q = \Omega(L_N) t q = Ω ( L N ) .
Directed girth
A query asks for the length of a shortest directed cycle. As in [1 Section 6] , direct the horizontal grid edges to the right, the vertical edges of the left grid downwards and those of the right grid upwards, each path v r c x r c w r c v_{rc}x_{rc}w_{rc} v r c x r c w r c from v r c v_{rc} v r c to w r c w_{rc} w r c , the remaining leaf edges away from the grids, and each connector from b j b_j b j to b j ′ b'_j b j ′ . Then both grids are acyclic, and all connectors go from the left grid to the right one, so the core is acyclic. The paths that attain the distances of Theorem A.4 in the two grids respect these directions, and directing the edges cannot shorten paths, so the directed distance from a q a_q a q to r q r_q r q is still D − f q D - f_q D − f q .
The query q q q inserts an edge of length 1 from r q r_q r q to a q a_q a q , which can be drawn in the outer face, and asks for the girth g g g . Every cycle uses this edge, so g = D + 1 − f q g = D + 1 - f_q g = D + 1 − f q , and g ≤ D g \le D g ≤ D exactly when S q ∩ X ≠ ∅ S_q \cap X \ne\varnothing S q ∩ X = ∅ . This holds for positive weights and, after the subdivision of Section A.2.1, with each path directed like the edge it replaces, for unit weights. Directed leaves pad the graph. Each insertion into X X X is one update, and the query is one update and one query, so Theorem A.1 gives t u + t q = Ω ( L N ) t_u + t_q = \Omega(L_N) t u + t q = Ω ( L N ) .
Diameter
The graph is connected and has positive integer weights, and a query asks for the largest distance between two vertices. We add to the undirected core the selectors of [1 Section 6] , with permanent fallback edges that keep the graph connected. Let L : = 64 p 3 L := 64p^3 L := 64 p 3 . For each c ∈ [ p ] c \in[p] c ∈ [ p ] , add vertices z c z_c z c and z c ′ z'_c z c ′ with edges z c a c z_ca_c z c a c and z c ′ r c z'_cr_c z c ′ r c of length 1, and add vertices s s s and t t t with edges s z c sz_c s z c and t z c ′ tz'_c t z c ′ of length 3 L 3L 3 L . These two fans lie in the outer face, next to the two grids, and the edges s a c sa_c s a c and t r c tr_c t r c that a query may insert can be drawn next to the paths s z c a c sz_ca_c s z c a c and t z c ′ r c tz'_cr_c t z c ′ r c ; so the graph stays planar. It has 8 p 2 + 6 p + 2 8p^2 + 6p + 2 8 p 2 + 6 p + 2 vertices. Let C C C be the graph without s s s and t t t . Even with all connectors present, the total edge length of C C C is at most 11 p 3 + 9 p 2 + p < 16 p 3 11p^3 + 9p^2 + p < 16p^3 11 p 3 + 9 p 2 + p < 16 p 3 . To pad, attach leaves to C C C ; fewer than 16 p + 14 16p + 14 16 p + 14 are needed between consecutive values of p p p , so the total edge length of C C C stays below L / 2 L/2 L /2 , and any two vertices of C C C are at distance less than L / 2 L/2 L /2 .
The query q q q inserts the edges s a q sa_q s a q and t r q tr_q t r q , of length L L L each, and asks for the diameter. A path between two vertices of C C C through s s s or t t t has length at least 2 L 2L 2 L , so it does not shorten their distance in C C C . A path from s s s to t t t that uses an edge s z c sz_c s z c or t z c ′ tz'_c t z c ′ has length at least 4 L 4L 4 L , while the two new edges give a path of length at most 2 L + D < 3 L 2L + D < 3L 2 L + D < 3 L ; so
d ( s , t ) = 2 L + d C ( a q , r q ) = 2 L + D − f q . d(s,t) = 2L + d_C(a_q,r_q) = 2L + D - f_q. d ( s , t ) = 2 L + d C ( a q , r q ) = 2 L + D − f q .
Every other distance is less than 2 L 2L 2 L : it is less than L / 2 L/2 L /2 within C C C , and less than L + L / 2 L + L/2 L + L /2 between s s s or t t t and a vertex of C C C . So the diameter is 2 L + D − f q 2L + D - f_q 2 L + D − f q , which is at most 2 L + D − 1 2L + D - 1 2 L + D − 1 exactly when S q ∩ X ≠ ∅ S_q \cap X \ne\varnothing S q ∩ X = ∅ . The largest weight is 3 L = O ( n 3 ) 3L = O(n^3) 3 L = O ( n 3 ) ; we do not subdivide the selector edges, which would change the diameter. Each insertion into X X X is one update, and the query is two updates and one query, so Theorem A.1 gives t u + t q = Ω ( L N ) t_u + t_q = \Omega(L_N) t u + t q = Ω ( L N ) .
Maximum-weight bipartite matching
The graph is bipartite and has positive integer weights, and a query asks for the maximum weight of a matching. We adapt the vertex-splitting and weight-complement construction of Abboud and Dahlgaard [1 Section 4] to the directed core of Section A.2.2, without the edge from r q r_q r q to a q a_q a q . Let N c o r e : = 8 p 2 + 4 p N_{\mathrm{core}} := 8p^2 + 4p N core := 8 p 2 + 4 p be the number of vertices of the core, and let K : = D + 1 K := D + 1 K := D + 1 . Replace each vertex v v v of the core by two vertices v i n v^{\mathrm{in}} v in and v o u t v^{\mathrm{out}} v out , joined by an edge of weight K K K , and each directed edge from u u u to v v v of length ℓ \ell ℓ by an edge u o u t v i n u^{\mathrm{out}}v^{\mathrm{in}} u out v in of weight K − ℓ K-\ell K − ℓ , which is positive since ℓ < D \ell< D ℓ < D . The graph is bipartite, with the vertices v o u t v^{\mathrm{out}} v out on one side and the vertices v i n v^{\mathrm{in}} v in on the other. At each vertex of the core, the incoming and the outgoing edges occupy two contiguous sectors: in the left grid, the incoming edges come from the north and west and the outgoing edges leave to the south and east, and analogously in the right grid. So splitting the vertices preserves planarity, as in [1 ] . Add a vertex σ \sigma σ on the side of the vertices v o u t v^{\mathrm{out}} v out and a vertex τ \tau τ on the other side, isolated in Phases I and II. Inserting j j j into X X X inserts the edge that replaces the connector of j j j . The query q q q inserts the edges σ a q i n \sigma a_q^{\mathrm{in}} σ a q in and r q o u t τ r_q^{\mathrm{out}}\tau r q out τ , of weight K K K each, which can be drawn in the outer face, and asks for the maximum weight of a matching.
Compare a perfect matching with the matching that consists of the N c o r e N_{\mathrm{core}} N core edges v i n v o u t v^{\mathrm{in}}v^{\mathrm{out}} v in v out . Their symmetric difference consists of an alternating path from σ \sigma σ to τ \tau τ , which corresponds to a directed path from a q a_q a q to r q r_q r q in the core, and of alternating cycles, which would correspond to directed cycles and hence do not exist. Conversely, every directed path from a q a_q a q to r q r_q r q gives a perfect matching in this way, and if the path has length d d d , then the perfect matching has weight ( N c o r e + 1 ) K − d (N_{\mathrm{core}}+1)K-d ( N core + 1 ) K − d . Since d ( a q , r q ) ≤ D d(a_q,r_q) \le D d ( a q , r q ) ≤ D , some perfect matching has weight at least ( N c o r e + 1 ) K − D = N c o r e K + 1 (N_{\mathrm{core}}+1)K-D = N_{\mathrm{core}}K+1 ( N core + 1 ) K − D = N core K + 1 , while a matching that is not perfect has at most N c o r e N_{\mathrm{core}} N core edges, each of weight at most K K K . So the maximum weight of a matching is
( N c o r e + 1 ) K − ( D − f q ) = N c o r e K + 1 + f q , (N_{\mathrm{core}}+1)K-(D-f_q)=N_{\mathrm{core}}K+1+f_q, ( N core + 1 ) K − ( D − f q ) = N core K + 1 + f q ,
which is at least N c o r e K + 2 N_{\mathrm{core}}K+2 N core K + 2 exactly when S q ∩ X ≠ ∅ S_q \cap X \ne\varnothing S q ∩ X = ∅ . The graph has 2 N c o r e + 2 2N_{\mathrm{core}}+2 2 N core + 2 vertices and weights O ( n 2 ) O(n^2) O ( n 2 ) , and isolated vertices pad it. Each insertion into X X X is one update, and the query is two updates and one query, so Theorem A.1 gives t u + t q = Ω ( L N ) t_u+t_q=\Omega(L_N) t u + t q = Ω ( L N ) .
Set and array problems
Pătrașcu [Păt10] reduced the multiphase problem to Langerman’s, Pagh’s and Erickson’s problems, and Chan, Durocher, Larsen, Morrison and Wilkinson [9 ] reduced it to range mode. For set disjointness and Pagh’s problem, N N N is the size of the universe, and the instances have O ( N ) O(N) O ( N ) sets; for the other problems, N N N bounds the number of array or matrix entries, and the constructions use Θ ( n 2 ) \Theta(n^2) Θ ( n 2 ) entries.
Set disjointness
A family of subsets of [ N ] [N] [ N ] is maintained under insertions of elements into its sets, and a query asks whether two sets of the family are disjoint [32 ] . This problem contains multiphase Disjointness directly: the family consists of S 1 , … , S m S_1,\ldots,S_m S 1 , … , S m and X X X , inserting an element into X X X is an update, and the query q q q asks whether S q S_q S q and X X X are disjoint.
Langerman’s problem
An array of integers is maintained under updates that assign a value to an entry, and a query asks whether some nonempty prefix has sum zero. The reduction is Pătrașcu’s [Păt10, Appendix A].
The array consists of A [ 1 ] A[1] A [ 1 ] , initially 1 1 1 , followed by a block for each j ∈ [ n ] j \in[n] j ∈ [ n ] : a head h j h_j h j , then a pair ( a j , i , b j , i ) (a_{j,i}, b_{j,i}) ( a j , i , b j , i ) for each i ∈ [ m ] i \in[m] i ∈ [ m ] , and then a tail t j t_j t j . In Phase I, set ( a j , i , b j , i ) : = ( 1 , 1 ) (a_{j,i}, b_{j,i}) := (1,1) ( a j , i , b j , i ) := ( 1 , 1 ) if j ∈ S i j \in S_i j ∈ S i and ( 2 , 0 ) (2,0) ( 2 , 0 ) otherwise, and ( h j , t j ) : = ( 0 , − 2 m ) (h_j,t_j) := (0,-2m) ( h j , t j ) := ( 0 , − 2 m ) . Inserting j j j into X X X sets ( h j , t j ) : = ( − 2 m , 0 ) (h_j,t_j) := (-2m,0) ( h j , t j ) := ( − 2 m , 0 ) . The query q q q sets A [ 1 ] : = 2 ( m − q ) + 1 A[1] := 2(m-q)+1 A [ 1 ] := 2 ( m − q ) + 1 , and asks whether some prefix sum is zero.
Every block sums to zero, so a prefix that ends at A [ 1 ] A[1] A [ 1 ] or at a tail has sum A [ 1 ] > 0 A[1] > 0 A [ 1 ] > 0 . A prefix that ends at the head or at a pair entry of block j j j has sum A [ 1 ] + h j + y A[1] + h_j + y A [ 1 ] + h j + y , where y ∈ [ 0 , 2 m ] y \in[0,2m] y ∈ [ 0 , 2 m ] is the sum of the pair entries of block j j j in the prefix; y y y is even, or y = 2 i − 1 y = 2i-1 y = 2 i − 1 for some i i i with j ∈ S i j \in S_i j ∈ S i . If j ∉ X j \notin X j ∈ / X , then h j = 0 h_j = 0 h j = 0 , and this sum is positive. If j ∈ X j \in X j ∈ X , then it equals y − ( 2 q − 1 ) y-(2q-1) y − ( 2 q − 1 ) , which is zero exactly when y = 2 q − 1 y=2q-1 y = 2 q − 1 , and block j j j has such a prefix exactly when j ∈ S q j \in S_q j ∈ S q . So some prefix sum is zero exactly when S q ∩ X ≠ ∅ S_q \cap X \ne\varnothing S q ∩ X = ∅ .
Pagh's problem
A family of subsets of a universe is maintained under updates that add the intersection of two sets of the family to the family, and a query asks whether a given element belongs to a given set of the family. The reduction is Pătraşcu’s [Păt10, Appendix A], with the universe added to the initial family to handle X = ∅ X=\varnothing X = ∅ . The universe is [ m ] [m] [ m ] , and the initial family consists of Y 0 : = [ m ] Y_0 := [m] Y 0 := [ m ] and Y j : = { i ∈ [ m ] : j ∉ S i } Y_j := \{i \in[m] : j \notin S_i\} Y j := { i ∈ [ m ] : j ∈ / S i } for j ∈ [ n ] j \in[n] j ∈ [ n ] . We keep the index of a current set C C C , initially Y 0 Y_0 Y 0 . Inserting j j j into X X X adds C ∩ Y j C \cap Y_j C ∩ Y j to the family and makes it the current set. Then C = { i ∈ [ m ] : S i ∩ X = ∅ } C = \{i \in[m] : S_i \cap X = \varnothing\} C = { i ∈ [ m ] : S i ∩ X = ∅ } , so the query q q q asks whether q ∈ C q \in C q ∈ C .
Erickson's problem
A matrix of integers is maintained under updates that increment all entries of a row or of a column, and a query asks for the largest entry. The reduction is Pătraşcu’s [Păt10, Section 1.2, proof of Theorem 2]. Initially the matrix is ( M i j ) i ∈ [ m ] , j ∈ [ n ] (M_{ij})_{i \in[m],j \in[n]} ( M ij ) i ∈ [ m ] , j ∈ [ n ] . Inserting j j j into X X X increments column j j j , and the query q q q increments row q q q and asks for the largest entry. The entry in row i i i and column j j j is then M i j + x j + 1 i = q M_{ij} + x_j + 1_{i=q} M ij + x j + 1 i = q , so the largest entry is 3 3 3 exactly when S q ∩ X ≠ ∅ S_q \cap X \ne\varnothing S q ∩ X = ∅ . A quadratic-logarithmic lower bound for a counting version of this problem, whose query asks for the parity of the number of largest entries, is proved in [31 Corollary 1.2] .
Range mode
An array is maintained under updates that assign a value to an entry, and a query asks for a mode, that is, a most frequent value, of a given subarray. We adapt the reduction in [9 Section 9.2] , using a returned mode instead of its frequency. The array consists of m + 1 m+1 m + 1 chunks of n n n entries each. In Phase I, chunk i ∈ [ m ] i \in[m] i ∈ [ m ] lists the elements of [ n ] ∖ S i [n] \setminus S_i [ n ] ∖ S i followed by those of S i S_i S i , and the last chunk consists of zeros; we also store the sizes ∣ S i ∣ |S_i| ∣ S i ∣ and the entries M i j M_{ij} M ij . When j j j is inserted into X X X as its k k k -th element, set A [ m n + k ] : = j A[mn+k] := j A [ mn + k ] := j ; we also keep ∣ X ∣ |X| ∣ X ∣ . If S q = ∅ S_q = \varnothing S q = ∅ , the query q q q answers “disjoint”. Otherwise it asks for a mode z z z of A [ q n − ∣ S q ∣ + 1 : m n + ∣ X ∣ ] A[qn-|S_q|+1:mn+|X|] A [ q n − ∣ S q ∣ + 1 : mn + ∣ X ∣ ] , and answers “disjoint” exactly when z ∉ S q ∩ X z \notin S_q \cap X z ∈ / S q ∩ X .
The queried subarray consists of the elements of S q S_q S q , then m − q m-q m − q chunks that are each a permutation of [ n ] [n] [ n ] , and then the elements of X X X . So each j ∈ [ n ] j \in[n] j ∈ [ n ] occurs ( m − q ) + M q j + x j (m-q)+M_{qj}+x_j ( m − q ) + M q j + x j times in it, and no other value occurs. If S q ∩ X ≠ ∅ S_q \cap X \ne\varnothing S q ∩ X = ∅ , the modes are exactly the elements of S q ∩ X S_q \cap X S q ∩ X , each with m − q + 2 m-q+2 m − q + 2 occurrences. So z ∈ S q ∩ X z \in S_q \cap X z ∈ S q ∩ X exactly when S q ∩ X ≠ ∅ S_q \cap X \ne\varnothing S q ∩ X = ∅ .
Costs. Each insertion into X X X is at most two updates. The query is one query for set disjointness, Pagh’s problem and range mode, and one update and one query for Langerman’s and Erickson’s problems. So Theorem A.1 gives t q = Ω ( L N ) t_q = \Omega(\mathcal{L}_N) t q = Ω ( L N ) for the former three problems, and t u + t q = Ω ( L N ) t_u + t_q = \Omega(\mathcal{L}_N) t u + t q = Ω ( L N ) for the latter two.
Matrix problems
Here N N N is the dimension of a matrix over a prime field, which is maintained under updates that change a single entry. The reductions specialize van den Brand, Nanongkai and Saranurak [vdBNS19, Theorems C.1 and C.3]; our choice of the field prevents cancellation and keeps the matrices nonsingular. We work over F p \mathbb{F}_p F p for a prime p > n + 1 p > n + 1 p > n + 1 with p = Θ ( n ) p = \Theta(n) p = Θ ( n ) , so that field elements occupy Θ ( log n ) \Theta(\log n) Θ ( log n ) bits. Let d : = 2 n + 1 d := 2n + 1 d := 2 n + 1 , and for x = ( x j ) j ∈ [ n ] x = (x_j)_{j \in[n]} x = ( x j ) j ∈ [ n ] , let
A ( x ) : = ( I n M 0 0 I n x 0 0 1 ) , so that A ( x ) − 1 = ( I n − M M x 0 I n − x 0 0 1 ) . A(x) := \begin{pmatrix} I_n & M & 0 \\ 0 & I_n & x \\ 0 & 0 & 1 \end{pmatrix}, \qquad\text{so that} \qquad A(x)^{-1} = \begin{pmatrix} I_n & -M & Mx \\ 0 & I_n & -x \\ 0 & 0 & 1 \end{pmatrix}. A ( x ) := I n 0 0 M I n 0 0 x 1 , so that A ( x ) − 1 = I n 0 0 − M I n 0 M x − x 1 .
In Phase I, the matrix is A ( 0 ) A(0) A ( 0 ) , and inserting j j j into X X X changes the entry ( n + j , d ) (n + j,d) ( n + j , d ) from 0 to 1. So the matrix is always A ( x ) A(x) A ( x ) , which has entries in { 0 , 1 } \{0,1\} { 0 , 1 } and is unit upper triangular.
Field size. The bounds below hold for every family of prime fields with p = Θ ( N ) p = \Theta(N) p = Θ ( N ) : take the largest n n n with 2 n + 1 ≤ N 2n + 1 \le N 2 n + 1 ≤ N and n + 2 ≤ p n + 2 \le p n + 2 ≤ p , which is Θ ( N ) \Theta(N) Θ ( N ) , and pad the matrix to dimension N N N by a direct sum with an identity matrix. This preserves the queried entries of the inverse, the determinant, and nonsingularity.
Inverse-entry zero testing
The matrix is always nonsingular, and a query asks whether a given entry of its inverse is zero. The query q q q asks whether the entry ( q , d ) (q,d) ( q , d ) of A ( x ) − 1 A(x)^{-1} A ( x ) − 1 is zero. This entry is c q ∈ [ 0 , n ] c_q \in[0,n] c q ∈ [ 0 , n ] , which is zero in F p \mathbb{F}_p F p exactly when c q = 0 c_q = 0 c q = 0 , since p > n p > n p > n . The costs are one update per insertion and one query, so Theorem A.1 gives t q = Ω ( L N ) t_q = \Omega(\mathcal{L}_N) t q = Ω ( L N ) , also for queries that return the entry itself.
Determinant
A query asks for the determinant, or whether it equals one. As in [vdBNS19, Equation (11)]`, the query q q q changes the entry ( d , q ) (d,q) ( d , q ) from 0 to 1, and asks for the determinant of the resulting matrix A ( x ) + e d e q T A(x) + e_d e_q^{\mathsf{T}} A ( x ) + e d e q T . By the matrix determinant lemma det ( A + u v T ) = det ( A ) ( 1 + v T A − 1 u ) \det(A + uv^{\mathsf{T}}) = \det(A)(1 + v^{\mathsf{T}}A^{-1}u) det ( A + u v T ) = det ( A ) ( 1 + v T A − 1 u ) , which follows by factoring out A A A and expanding det ( I + A − 1 u v T ) \det(I + A^{-1}uv^{\mathsf{T}}) det ( I + A − 1 u v T ) ,
det ( A ( x ) + e d e q T ) = 1 + ( A ( x ) − 1 ) q , d = 1 + c q . \det\left(A(x) + e_d e_q^{\mathsf{T}}\right) = 1 + \left(A(x)^{-1}\right)_{q,d} = 1 + c_q. det ( A ( x ) + e d e q T ) = 1 + ( A ( x ) − 1 ) q , d = 1 + c q .
Since 1 ≤ 1 + c q ≤ n + 1 < p 1 \le1 + c_q \le n + 1 < p 1 ≤ 1 + c q ≤ n + 1 < p , the matrix is nonsingular, and its determinant is one exactly when c q = 0 c_q = 0 c q = 0 . Each insertion into X X X is one update, and the query is one update and one query, so Theorem A.1 gives t u + t q = Ω ( L N ) t_u + t_q = \Omega(\mathcal{L}_N) t u + t q = Ω ( L N ) . Testing whether the determinant is zero does not tell the two cases apart.
Geometric problems
Here N N N bounds the number of points, which are inserted one at a time, and all coordinates are integers of O ( log N ) O(\log N) O ( log N ) bits. Each construction has O ( n 2 ) O(n^2) O ( n 2 ) points, so we take n = Θ ( N ) n = \Theta(\sqrt{N}) n = Θ ( N ) .
Convex-hull vertex counting
A query asks for the number of vertices of the convex hull of the current points in R 3 \mathbb{R}^3 R 3 . The construction is that of Dallant and Iacono [18 ESA version, Section 3, Theorem 10 and Lemma 11] . Their fully dynamic version deletes the blockers of a supplied set J J J ; as in their incremental version, we start without blockers and insert the blockers of the elements of X X X , so that J = [ n ] ∖ X J = [n] \setminus X J = [ n ] ∖ X . The points lie on n n n columns, one for each element. A blocker hides its column, and a selector hides all levels above a cutoff, so two consecutive selectors isolate the surviving points of row q q q . Let n ≥ 5 n \ge5 n ≥ 5 , and let
H : = 2 n + 1 , R : = 4 n 4 , e j : = ( cos ( 2 π j / n ) , sin ( 2 π j / n ) ) , v j ( h ) : = ( ( R − h 2 ) e j , h ) . H := 2n + 1,\qquad R := 4n^4,\qquad e_j := (\cos(2\pi j/n),\sin(2\pi j/n)),\qquad v_j(h) := ((R - h^2)e_j,h). H := 2 n + 1 , R := 4 n 4 , e j := ( cos ( 2 π j / n ) , sin ( 2 π j / n )) , v j ( h ) := (( R − h 2 ) e j , h ) .
In Phase I, insert the points
g i , j : = v j ( 2 i + 1 ) ( 0 ≤ i ≤ n , j ∈ [ n ] ) , p i , j : = v j ( 2 i ) ( i ∈ [ n ] , j ∈ S i ) . g_{i,j} := v_j(2i+1)\qquad(0 \le i \le n,\ j \in[n]),\qquad p_{i,j} := v_j(2i)\qquad(i \in[n],\ j \in S_i). g i , j := v j ( 2 i + 1 ) ( 0 ≤ i ≤ n , j ∈ [ n ]) , p i , j := v j ( 2 i ) ( i ∈ [ n ] , j ∈ S i ) .
The points that may be inserted later are the blockers and the selectors
b j : = ( ( R − 1 ) e j , H + 1 ) ( j ∈ [ n ] ) , t a : = ( 0 , 0 , T 2 a − 1 ) ( a ∈ [ n + 1 ] ) , b_j := ((R-1)e_j,H+1)\qquad(j \in[n]),\qquad t_a := (0,0,T_{2a-1})\qquad(a \in[n+1]), b j := (( R − 1 ) e j , H + 1 ) ( j ∈ [ n ]) , t a := ( 0 , 0 , T 2 a − 1 ) ( a ∈ [ n + 1 ]) ,
where
T s : = R + s 2 2 s . T_s := \frac{R+s^2}{2s}. T s := 2 s R + s 2 .
Lemma A.5. Add any set of blockers b j b_j b j and any set of selectors t a t_a t a to the points inserted in Phase I, and let a a a be the least index of an added selector, or n + 2 n+2 n + 2 if there is none. Then the vertices of the convex hull are exactly
the points g 0 , j g_{0,j} g 0 , j and the added blockers;
the selector t a t_a t a , if a selector was added;
the points g i , j g_{i,j} g i , j and the present points p i , j p_{i,j} p i , j with 1 ≤ i < a 1 \le i < a 1 ≤ i < a whose blocker b j b_j b j was not added.
This classification is unchanged if every point is moved by Euclidean distance at most 1 / R 2 1/R^2 1/ R 2 . Consequently, all the points can be replaced by integer points with coordinates of absolute value O ( n 12 ) O(n^{12}) O ( n 12 ) .
Proof. Write points as ( x , z ) (x,z) ( x , z ) with x ∈ R 2 x \in\mathbb{R}^2 x ∈ R 2 and z ∈ R z \in\mathbb{R} z ∈ R . All radii R − h 2 R-h^2 R − h 2 with 1 ≤ h ≤ H 1 \le h \le H 1 ≤ h ≤ H are positive, T s T_s T s decreases for s ∈ [ 1 , H ] s \in[1,H] s ∈ [ 1 , H ] , and T H > H + 1 T_H > H+1 T H > H + 1 .
Exposed vertices. The functional e j ⋅ x − z e_j \cdot x-z e j ⋅ x − z uniquely exposes g 0 , j g_{0,j} g 0 , j , and e j ⋅ x + z / 2 e_j \cdot x+z/2 e j ⋅ x + z /2 uniquely exposes an added blocker b j b_j b j . The highest added selector uniquely maximizes z z z . For a point v j ( h ) v_j(h) v j ( h ) with h > 1 h>1 h > 1 below the cutoff whose blocker was not added, use
L j , h ( x , z ) : = e j ⋅ x + ( 2 h − 1 2 ) z . L_{j,h}(x,z) := e_j \cdot x + \left(2h-\frac{1}{2}\right)z. L j , h ( x , z ) := e j ⋅ x + ( 2 h − 2 1 ) z .
The deficit of another point v ℓ ( h ′ ) v_\ell(h') v ℓ ( h ′ ) inserted in Phase I, relative to v j ( h ) v_j(h) v j ( h ) , is
( h ′ − h ) 2 + h ′ − h 2 + ( R − h ′ 2 ) ( 1 − e j ⋅ e ℓ ) > 0 ; (h'-h)^2+\frac{h'-h}{2}+(R-h'^2)(1-e_j\cdot e_\ell)>0; ( h ′ − h ) 2 + 2 h ′ − h + ( R − h ′2 ) ( 1 − e j ⋅ e ℓ ) > 0 ;
here h h h and h ′ h' h ′ are integers, and equality is possible only for the same point. A blocker in another column also has smaller value: since
1 − cos ( 2 π / n ) ≥ 8 n 2 and R − H 2 ≥ R / 2 , 1-\cos(2\pi/n)\ge\frac{8}{n^2}\qquad\text{and}\qquad R-H^2\ge R/2, 1 − cos ( 2 π / n ) ≥ n 2 8 and R − H 2 ≥ R /2 ,
its deficit is at least ( R − 1 ) ( 1 − cos ( 2 π / n ) ) − ( H + 1 ) 2 + 1 > 1 (R-1)(1-\cos(2\pi/n))-(H+1)^2+1>1 ( R − 1 ) ( 1 − cos ( 2 π / n )) − ( H + 1 ) 2 + 1 > 1 . Every added selector has a parameter s ≥ h s\ge h s ≥ h , and its deficit is
( s − h ) ( R / s − h ) + 1 2 ( T s − h ) > 0. (s-h)(R/s-h)+\frac{1}{2}(T_s-h)>0. ( s − h ) ( R / s − h ) + 2 1 ( T s − h ) > 0.
These calculations also show that every other point is at Euclidean distance at least 1 / ( 10 n ) 1/(10n) 1/ ( 10 n ) from the exposing plane of each claimed vertex. For the highest selector, consecutive possible heights differ by more than one, since
T s − T s ′ = ( s ′ − s ) ( R − s s ′ ) 2 s s ′ > 1 ( 1 ≤ s < s ′ ≤ H , s , s ′ odd ) . T_s-T_{s'}=\frac{(s'-s)(R-ss')}{2ss'}>1 \qquad(1\le s<s'\le H,\ s,s'\text{ odd}). T s − T s ′ = 2 s s ′ ( s ′ − s ) ( R − s s ′ ) > 1 ( 1 ≤ s < s ′ ≤ H , s , s ′ odd ) .
Points hidden by a selector. We show next that every remaining point is strictly interior. If a selector with parameter s = 2 a − 1 s=2a-1 s = 2 a − 1 is present, the cone with apex t a t_a t a and base conv { g a − 1 , j : j ∈ [ n ] } \operatorname{conv}\{g_{a-1,j}:j\in[n]\} conv { g a − 1 , j : j ∈ [ n ]} contains every point v j ( h ) v_j(h) v j ( h ) inserted in Phase I with h > s h>s h > s in its interior. Indeed, its cross-section at height h h h is the regular polygon with vertices
( ( R + s 2 − 2 s h ) e j , h ) = ( ( R − h 2 + ( h − s ) 2 ) e j , h ) , \bigl((R+s^2-2sh)e_j,h\bigr)=\bigl((R-h^2+(h-s)^2)e_j,h\bigr), ( ( R + s 2 − 2 s h ) e j , h ) = ( ( R − h 2 + ( h − s ) 2 ) e j , h ) ,
and v j ( h ) v_j(h) v j ( h ) lies strictly between its center and the corresponding vertex. More quantitatively, if u u u is the outward unit normal of an edge of the base polygon and c : = cos ( π / n ) c:=\cos(\pi/n) c := cos ( π / n ) , the corresponding side face has the equation
u ⋅ x + 2 s c z = c ( R + s 2 ) . u\cdot x+2scz=c(R+s^2). u ⋅ x + 2 scz = c ( R + s 2 ) .
At v j ( h ) v_j(h) v j ( h ) , the slack is at least c ( h − s ) 2 c(h-s)^2 c ( h − s ) 2 , so the distance of v j ( h ) v_j(h) v j ( h ) from every side face is at least 1 / ( 10 n ) 1/(10n) 1/ ( 10 n ) , and its distance from the base is at least one. A lower selector is likewise strictly interior to the cone with apex t a t_a t a and base conv { g 0 , j : j ∈ [ n ] } \operatorname{conv}\{g_{0,j}:j\in[n]\} conv { g 0 , j : j ∈ [ n ]} : its distance from the base is greater than one, and its distance from each side face is greater than 1 / 2 1/2 1/2 .
Points hidden by a blocker. Suppose that b j b_j b j is present. Rotate the coordinates so that e j = ( 1 , 0 ) e_j=(1,0) e j = ( 1 , 0 ) , and let
c ′ : = cos ( 2 π / n ) , d : = ( R − H 2 ) sin ( 2 π / n ) , D : = R − 1 − c ′ ( R − H 2 ) . c':=\cos(2\pi/n),\qquad d:=(R-H^2)\sin(2\pi/n),\qquad D:=R-1-c'(R-H^2). c ′ := cos ( 2 π / n ) , d := ( R − H 2 ) sin ( 2 π / n ) , D := R − 1 − c ′ ( R − H 2 ) .
The tetrahedron with vertices g 0 , j g_{0,j} g 0 , j , b j b_j b j , g n , j − 1 g_{n,j-1} g n , j − 1 and g n , j + 1 g_{n,j+1} g n , j + 1 , with column indices modulo n n n , contains every v j ( h ) v_j(h) v j ( h ) with 2 ≤ h ≤ H 2\le h\le H 2 ≤ h ≤ H in its interior. To see this, let λ : = ( h 2 − 1 ) / D \lambda:=(h^2-1)/D λ := ( h 2 − 1 ) / D . The barycentric weights of v j ( h ) v_j(h) v j ( h ) are λ / 2 \lambda/2 λ /2 for each of g n , j − 1 g_{n,j-1} g n , j − 1 and g n , j + 1 g_{n,j+1} g n , j + 1 , and
h − 1 − λ ( H − 1 ) H and H + 1 − h − λ H \frac{h-1-\lambda(H-1)}{H}
\qquad\text{and}\qquad
\frac{H+1-h-\lambda}{H} H h − 1 − λ ( H − 1 ) and H H + 1 − h − λ
for b j b_j b j and g 0 , j g_{0,j} g 0 , j , respectively. All of them are positive, since D > H 2 − 1 D>H^2-1 D > H 2 − 1 . Quantitatively, D ≤ 2 R D\le2R D ≤ 2 R and
1 − H 2 − 1 D = ( 1 − c ′ ) ( R − H 2 ) D ≥ 2 n 2 , 1-\frac{H^2-1}{D}=\frac{(1-c')(R-H^2)}{D}\ge\frac{2}{n^2}, 1 − D H 2 − 1 = D ( 1 − c ′ ) ( R − H 2 ) ≥ n 2 2 ,
so every weight is at least 3 / ( 4 R ) 3/(4R) 3/ ( 4 R ) . The absolute value of the determinant of the tetrahedron is 2 H D d > 32 R 2 / n 2 2HDd>32R^2/n^2 2 H D d > 32 R 2 / n 2 , while the cross product of the edge vectors of every face has norm at most 12 R 2 12R^2 12 R 2 . So every altitude is at least 8 / ( 3 n 2 ) 8/(3n^2) 8/ ( 3 n 2 ) , and v j ( h ) v_j(h) v j ( h ) is at distance at least 2 / ( R n 2 ) > 2 / R 2 2/(Rn^2)>2/R^2 2/ ( R n 2 ) > 2/ R 2 from every face.
Rounding. All the separation and interior margins above exceed 2 / R 2 2/R^2 2/ R 2 . Moving a point and all vertices of a witnessing hull by at most 1 / R 2 1/R^2 1/ R 2 preserves strict separation and strict interior containment, since the support function of the hull changes by at most 1 / R 2 1/R^2 1/ R 2 in every unit direction. This proves the perturbation statement. Round every coordinate to the nearest multiple of 1 / ( 2 R 2 ) 1/(2R^2) 1/ ( 2 R 2 ) , which moves every point by at most 3 / ( 4 R 2 ) < 1 / R 2 \sqrt{3}/(4R^2)<1/R^2 3 / ( 4 R 2 ) < 1/ R 2 , and multiply all coordinates by 2 R 2 2R^2 2 R 2 . The resulting coordinates are integers of absolute value at most 2 R 3 + 1 = O ( n 12 ) 2R^3+1=O(n^{12}) 2 R 3 + 1 = O ( n 12 ) , and scaling preserves the vertex counts. All these coordinates are fixed in Phase I.
Inserting j j j into X X X inserts the blocker b j b_j b j . The query q q q inserts t q + 1 t_{q+1} t q + 1 and asks for the number κ \kappa κ of hull vertices, and then inserts t q t_q t q and asks for the number κ ′ \kappa' κ ′ . By Theorem A.5,
κ = n + ∣ X ∣ + 1 + ∑ i = 1 q ( ∣ J ∣ + ∣ S i ∩ J ∣ ) , κ ′ = n + ∣ X ∣ + 1 + ∑ i = 1 q − 1 ( ∣ J ∣ + ∣ S i ∩ J ∣ ) . \kappa= n + |X| + 1 + \sum_{i=1}^{q} (|J| + |S_i \cap J|), \qquad\kappa' = n + |X| + 1 + \sum_{i=1}^{q-1} (|J| + |S_i \cap J|). κ = n + ∣ X ∣ + 1 + i = 1 ∑ q ( ∣ J ∣ + ∣ S i ∩ J ∣ ) , κ ′ = n + ∣ X ∣ + 1 + i = 1 ∑ q − 1 ( ∣ J ∣ + ∣ S i ∩ J ∣ ) .
so ∣ S q ∩ X ∣ = ∣ S q ∣ + ∣ J ∣ − ( κ − κ ′ ) |S_q \cap X| = |S_q| + |J| - (\kappa- \kappa') ∣ S q ∩ X ∣ = ∣ S q ∣ + ∣ J ∣ − ( κ − κ ′ ) , which we compute from the stored ∣ S q ∣ |S_q| ∣ S q ∣ and ∣ X ∣ |X| ∣ X ∣ . There are at most 2 n 2 + 2 n + 2 2n^2 + 2n + 2 2 n 2 + 2 n + 2 points. Each insertion into X X X is one update, and the query is two updates and two queries, which do not depend on the answer to the first query; so Theorem A.1 gives t u + t q = Ω ( L N ) t_u + t_q = \Omega(\mathcal{L}_N) t u + t q = Ω ( L N ) .
Maximal-point counting
A point is maximal if no other point is at least as large in every coordinate, and a query asks for the number of maximal points among the current points in R 3 \mathbb{R}^3 R 3 . Up to the order of the coordinates and of the columns, the construction is the incremental version of the reduction of Dallant and Iacono [18 Theorem 14] ; Jin and Xu [29 Section 5.1, proof of Theorem 1.10] use the same structure, with k = 2 k = 2 k = 2 and infinitesimal coordinates, for a stronger conditional bound. In Phase I, insert the points
p i , j : = ( 4 n j − i , n − j , i ) ( i ∈ [ n ] , j ∈ S i ) . p_{i,j} := (4nj - i, n - j, i) \qquad(i \in[n],\ j \in S_i). p i , j := ( 4 nj − i , n − j , i ) ( i ∈ [ n ] , j ∈ S i ) .
Inserting j j j into X X X inserts the blocker b j : = ( 4 n j , n − j , n + 1 ) b_j := (4nj, n - j, n + 1) b j := ( 4 nj , n − j , n + 1 ) , and for 0 ≤ r ≤ n 0 \le r \le n 0 ≤ r ≤ n , let t r : = ( 4 n ( n + 1 ) , n + 1 , r ) t_r := (4n(n + 1), n + 1, r) t r := ( 4 n ( n + 1 ) , n + 1 , r ) . The query q q q inserts t q − 1 t_{q-1} t q − 1 and asks for the number κ \kappa κ of maximal points, and then inserts t q t_q t q and asks for the number κ ′ \kappa' κ ′ .
The points p i , j p_{i,j} p i , j are pairwise incomparable: if p i ′ , j ′ p_{i',j'} p i ′ , j ′ dominates p i , j p_{i,j} p i , j , then the second coordinate forces j ′ ≤ j j' \le j j ′ ≤ j , and the first forces j ′ ≥ j j' \ge j j ′ ≥ j , since ∣ i − i ′ ∣ < 4 n |i-i'| < 4n ∣ i − i ′ ∣ < 4 n ; so j ′ = j j' = j j ′ = j , and then the first and third coordinates force i ′ = i i' = i i ′ = i . The blocker b j b_j b j dominates exactly the points p i , j p_{i,j} p i , j in column j j j : the second coordinate forces their column to be at least j j j , and the first forces it to be at most j j j . The blockers are pairwise incomparable; their third coordinate prevents the selectors and the points p i , j p_{i,j} p i , j from dominating them, and their first coordinate prevents them from dominating the selectors. Finally, t r t_r t r dominates exactly the points p i , j p_{i,j} p i , j with i ≤ r i \le r i ≤ r , and t q t_q t q dominates t q − 1 t_{q-1} t q − 1 . Hence
κ = ∣ X ∣ + 1 + ∑ i = q n ∣ S i ∖ X ∣ , κ ′ = ∣ X ∣ + 1 + ∑ i = q + 1 n ∣ S i ∖ X ∣ . \kappa= |X| + 1 + \sum_{i=q}^{n} |S_i \setminus X|, \qquad\kappa' = |X| + 1 + \sum_{i=q+1}^{n} |S_i \setminus X|. κ = ∣ X ∣ + 1 + i = q ∑ n ∣ S i ∖ X ∣ , κ ′ = ∣ X ∣ + 1 + i = q + 1 ∑ n ∣ S i ∖ X ∣.
so κ − κ ′ = ∣ S q ∖ X ∣ \kappa- \kappa' = |S_q \setminus X| κ − κ ′ = ∣ S q ∖ X ∣ , and S q ∩ X = ∅ S_q \cap X = \varnothing S q ∩ X = ∅ exactly when κ − κ ′ = ∣ S q ∣ \kappa- \kappa' = |S_q| κ − κ ′ = ∣ S q ∣ . There are at most n 2 + n + 2 n^2 + n + 2 n 2 + n + 2 points, with coordinates of absolute value O ( n 2 ) O(n^2) O ( n 2 ) . Each insertion into X X X is one update, and the query is two updates and two queries, which do not depend on the answer to the first query; so Theorem A.1 gives t u + t q = Ω ( L N ) t_u + t_q = \Omega(\mathcal{L}_N) t u + t q = Ω ( L N ) .
Distinct-color counting
Colored points in the plane are inserted, and a query asks for the number of distinct colors among the points in a given axis-parallel rectangle. The reduction specializes the construction of Jin and Xu [29 Section 3.4, proof of Theorem 1.8] to one family of sets and one inserted set; we use dominance queries and recover the intersection by inclusion–exclusion. Let W : = 4 n + 4 W := 4n + 4 W := 4 n + 4 . In Phase I, insert the point ( W i + j , W ( n + 1 − i ) ) (Wi + j, W(n + 1 - i)) ( W i + j , W ( n + 1 − i )) with color j j j for each i ∈ [ n ] i \in[n] i ∈ [ n ] and j ∈ S i j \in S_i j ∈ S i . Inserting j j j into X X X inserts the point ( j , 0 ) (j, 0) ( j , 0 ) with color j j j ; we keep ∣ X ∣ |X| ∣ X ∣ . The query q q q asks for the number C q C_q C q of colors in [ 0 , W q + n ] × [ 0 , W ( n + 1 − q ) ] [0, Wq + n] \times[0, W(n + 1 - q)] [ 0 , W q + n ] × [ 0 , W ( n + 1 − q )] . The bound on the second coordinate excludes the points of rows i < q i<q i < q , and the bound on the first coordinate excludes those of rows i > q i>q i > q , since W ( q + 1 ) + 1 > W q + n W(q+1)+1>Wq+n W ( q + 1 ) + 1 > W q + n . So the rectangle contains exactly the points of row q q q and the inserted points, whose colors form S q ∪ X S_q\cup X S q ∪ X , and ∣ S q ∩ X ∣ = ∣ S q ∣ + ∣ X ∣ − C q |S_q\cap X|=|S_q|+|X|-C_q ∣ S q ∩ X ∣ = ∣ S q ∣ + ∣ X ∣ − C q . All coordinates are nonnegative, so the rectangle is a dominance range. There are at most n 2 + n n^2+n n 2 + n points, with coordinates O ( n 2 ) O(n^2) O ( n 2 ) ; to keep Θ ( n 2 ) \Theta(n^2) Θ ( n 2 ) points at all times, add points of a new color to the right of all queried rectangles. The costs are one update per insertion and one query, so Theorem A.1 gives t q = Ω ( L N ) t_q=\Omega(\mathcal{L}_N) t q = Ω ( L N ) .
String problems
Here N N N bounds the total length of the texts and patterns. All constructions have size Θ ( n 2 ) \Theta(n^2) Θ ( n 2 ) , so we take n = Θ ( N ) n=\Theta(\sqrt{N}) n = Θ ( N ) .
Internal dictionary matching
A text T T T is fixed. Patterns, each given by the endpoints of an occurrence in T T T , are inserted into a dictionary that is initially empty, and a query Exists ( ℓ , r ) \operatorname{Exists}(\ell,r) Exists ( ℓ , r ) asks whether some pattern of the dictionary occurs in T [ ℓ : r ] T[\ell:r] T [ ℓ : r ] . The reduction is from [14 Theorem 24] , with a suffix added to T T T so that every pattern occurs in T T T . Over the alphabet { 0 , 1 , … , n } \{0,1,\ldots,n\} { 0 , 1 , … , n } , the text consists of the blocks T [ ( i − 1 ) n + 1 : i n ] T[(i-1)n+1:in] T [( i − 1 ) n + 1 : in ] for i ∈ [ n ] i\in[n] i ∈ [ n ] , where T [ ( i − 1 ) n + j ] : = j T[(i-1)n+j]:=j T [( i − 1 ) n + j ] := j if j ∈ S i j\in S_i j ∈ S i and T [ ( i − 1 ) n + j ] : = 0 T[(i-1)n+j]:=0 T [( i − 1 ) n + j ] := 0 otherwise, followed by the suffix 1 2 ⋯ n 1\,2\cdots n 1 2 ⋯ n ; so ∣ T ∣ = n 2 + n |T|=n^2+n ∣ T ∣ = n 2 + n . Inserting j j j into X X X inserts the one-symbol pattern j j j , given by its occurrence at position n 2 + j n^2+j n 2 + j . The query q q q asks Exists ( ( q − 1 ) n + 1 , q n ) \operatorname{Exists}((q-1)n+1,qn) Exists (( q − 1 ) n + 1 , q n ) . The block of q q q contains the symbol j ∈ [ n ] j\in[n] j ∈ [ n ] exactly when j ∈ S q j\in S_q j ∈ S q , the dictionary contains it exactly when j ∈ X j\in X j ∈ X , and the symbol 0 0 0 is never in the dictionary; so the answer is yes exactly when S q ∩ X ≠ ∅ S_q\cap X\ne\varnothing S q ∩ X = ∅ . The costs are one update per insertion and one query, so Theorem A.1 gives t q = Ω ( L N ) t_q=\Omega(\mathcal{L}_N) t q = Ω ( L N ) .
Hamming-distance threshold
A binary text T T T is fixed, and a binary pattern P P P is maintained under updates that change one of its bits. A query asks whether the Hamming distance between P P P and the substring of T T T of length ∣ P ∣ |P| ∣ P ∣ that starts at a given position is at most k k k , for a threshold k k k fixed in advance. The reduction combines the construction of Clifford, Grøn-lund, Larsen and Starikovskaya [CGLS18, Theorem 15], which concatenates the rows of the matrix, with their binary encoding [CGLS18, Lemma 11]. Let L : = n 2 L:=n^2 L := n 2 . Before the encoding, let T 0 T_0 T 0 be the concatenation of the rows M i 1 ⋯ M i n M_{i1}\cdots M_{in} M i 1 ⋯ M in for i ∈ [ n ] i\in[n] i ∈ [ n ] , followed by 0 L 0^L 0 L , and let P 0 : = x 1 ⋯ x n 0 L − n P_0:=x_1\cdots x_n0^{L-n} P 0 := x 1 ⋯ x n 0 L − n ; so ∣ T 0 ∣ = 2 L |T_0|=2L ∣ T 0 ∣ = 2 L and ∣ P 0 ∣ = L |P_0|=L ∣ P 0 ∣ = L . Encode the symbols of the pattern and of the text by
f ( 0 ) : = 010 , f ( 1 ) : = 111 , and g ( 0 ) : = 100 , g ( 1 ) : = 111 , f(0):=010,\qquad f(1):=111,\qquad\text{and}\qquad g(0):=100,\qquad g(1):=111, f ( 0 ) := 010 , f ( 1 ) := 111 , and g ( 0 ) := 100 , g ( 1 ) := 111 ,
respectively, and let P : = f ( P 0 ) P:=f(P_0) P := f ( P 0 ) and T : = g ( T 0 ) T:=g(T_0) T := g ( T 0 ) . For all a , b ∈ { 0 , 1 } a,b\in\{0,1\} a , b ∈ { 0 , 1 } , the Hamming distance between f ( a ) f(a) f ( a ) and g ( b ) g(b) g ( b ) is 2 − 2 a b 2-2ab 2 − 2 ab . Initially x = 0 n x=0^n x = 0 n , and inserting j j j into X X X changes the codeword of x j x_j x j from 010 010 010 to 111 111 111 , by two updates. The query q q q compares P P P with the substring of T T T that starts at position 3 ( q − 1 ) n + 1 3(q-1)n+1 3 ( q − 1 ) n + 1 , which fits in T T T since 3 ( q − 1 ) n + 3 L ≤ 6 L = ∣ T ∣ 3(q-1)n+3L\le6L=|T| 3 ( q − 1 ) n + 3 L ≤ 6 L = ∣ T ∣ . There, the first n n n codewords of P P P are compared with row q q q , and each of the other L − n L-n L − n codewords of P P P encodes 0 0 0 and contributes exactly two mismatches, whatever the aligned text symbol. So the Hamming distance is
2 L − 2 ∑ j = 1 n M q j x j = 2 L − 2 C q 2L-2\sum_{j=1}^{n}M_{qj}x_j=2L-2C_q 2 L − 2 j = 1 ∑ n M q j x j = 2 L − 2 C q
and the threshold k : = 2 L − 1 = 2 ∣ P ∣ / 3 − 1 k := 2L - 1 = 2|P|/3 - 1 k := 2 L − 1 = 2∣ P ∣/3 − 1 detects whether c q > 0 c_q > 0 c q > 0 . Each insertion into X X X is two updates and the query is one query, so Theorem A.1 gives t q = Ω ( L N ) t_q = \Omega(\mathcal{L}_N) t q = Ω ( L N ) , also for queries that return the Hamming distance. The threshold grows with the length of the pattern; we do not claim a bound for a constant threshold or for constant-factor approximation.
Active-document existence
A collection of documents is fixed, and every document is active or inactive. An update activates a document, and a query asks whether some active document contains two given patterns. The reduction specializes the document construction of Jin and Xu [29 Section 3.3, proof of Theorem 1.7] : one of the two patterns is a marker that every document contains, and all updates are activations. Over the alphabet [ n ] ∪ { # , $ } [n] \cup\{\#, \$\} [ n ] ∪ { # , $ } , the document of j ∈ [ n ] j \in[n] j ∈ [ n ] is
D j : = # d 1 j ⋯ d n j , where d i j : = { i , j ∈ S i , $ , j ∉ S i . D_j := \# d_{1j} \cdots d_{nj}, \qquad\text{where} \qquad d_{ij} := \begin{cases} i, & j \in S_i, \\ \$, & j \notin S_i. \end{cases} D j := # d 1 j ⋯ d nj , where d ij := { i , $ , j ∈ S i , j ∈ / S i .
All documents are initially inactive, and their total length is n ( n + 1 ) n(n+1) n ( n + 1 ) . Inserting j j j into X X X activates D j D_j D j , and the query q q q asks whether some active document contains both q q q and # \# # . Every document contains # \# # , and D j D_j D j contains q q q exactly when j ∈ S q j \in S_q j ∈ S q ; so the answer is yes exactly when S q ∩ X ≠ ∅ S_q \cap X \ne\varnothing S q ∩ X = ∅ . The same holds for the query with the single pattern q q q . The costs are one update per insertion and one query, so Theorem A.1 gives t q = Ω ( L N ) t_q = \Omega(\mathcal{L}_N) t q = Ω ( L N ) .
Streaming regular-expression membership: amortized versus worst case
In streaming regular-expression membership, an expression R R R is preprocessed, and a text then arrives one symbol at a time; after each symbol, the algorithm reports whether the text read so far belongs to L ( R ) L(R) L ( R ) , without knowing which symbol is the last one. Bille and Thorup [7 ] and Dudek, Gawrychowski, Gourdel and Starikovskaya [DGGS22] give algorithms for this problem. Here we give a direct encoding of Disjointness with constant amortized cost. We count the cell probes made while processing each symbol, including its report; preprocessing is not charged, the space is polynomial, and the conventions of § 2.1 apply.
The expression family. Fix sets S 1 , … , S m ⊆ [ n ] S_1,\ldots,S_m \subseteq[n] S 1 , … , S m ⊆ [ n ] . The alphabet consists of the symbol # \# # , the data symbols a 1 , … , a n a_1,\ldots,a_n a 1 , … , a n and the selectors c 1 , … , c m c_1,\ldots,c_m c 1 , … , c m , and we write ∪ \cup ∪ for the union (alternation) operator of regular expressions. For each i ∈ [ m ] i \in[m] i ∈ [ m ] with S i ≠ [ n ] S_i \ne[n] S i = [ n ] , let
Γ i : = ⋃ j ∈ [ n ] ∖ S i a j \Gamma_i := \bigcup_{j \in[n]\setminus S_i} a_j Γ i := j ∈ [ n ] ∖ S i ⋃ a j
be the alternation of the data symbols of the elements outside S i S_i S i , and let the i i i -th branch be # Γ i ∗ c i \#\Gamma_i^*c_i # Γ i ∗ c i ; if S i = [ n ] S_i = [n] S i = [ n ] , let the i i i -th branch be # c i \#c_i # c i . Let R S ⃗ R_{\vec S} R S be the union of the m m m branches, an ordinary regular expression that uses only union, concatenation and Kleene star. For every q ∈ [ m ] q \in[m] q ∈ [ m ] and every sequence j 1 , … , j k ∈ [ n ] j_1,\ldots,j_k \in[n] j 1 , … , j k ∈ [ n ] , in any order and possibly with repetitions,
# a j 1 ⋯ a j k c q ∈ L ( R S ⃗ ) ⟺ S q ∩ { j 1 , … , j k } = ∅ . (3) \#a_{j_1}\cdots a_{j_k}c_q \in L(R_{\vec S}) \qquad\Longleftrightarrow\qquad S_q \cap\{j_1,\ldots,j_k\} = \varnothing. \tag*{(3)} # a j 1 ⋯ a j k c q ∈ L ( R S ) ⟺ S q ∩ { j 1 , … , j k } = ∅ . (3)
Indeed, the final selector c q c_q c q forces the q q q -th branch, which accepts exactly when every preceding data symbol is a j a_j a j for some j ∉ S q j \notin S_q j ∈ / S q .
Constant amortized time. In preprocessing, store the incidence table of the sets S i S_i S i , a bit seen [ j ] = 0 \operatorname{seen}[j] = 0 seen [ j ] = 0 for each j ∈ [ n ] j \in[n] j ∈ [ n ] , an empty list, and the parser state. After the initial # \# # , when a j a_j a j arrives, append j j j to the list if seen [ j ] = 0 \operatorname{seen}[j] = 0 seen [ j ] = 0 , and set seen [ j ] : = 1 \operatorname{seen}[j] := 1 seen [ j ] := 1 . When the first selector c q c_q c q arrives, scan the list, report “yes” exactly when none of its indices belongs to S q S_q S q , and enter a terminal state. All earlier reports are “no”. An initial symbol other than # \# # , a second # \# # , or any symbol after a selector causes permanent rejection, at constant cost per later symbol. The scan examines at most as many indices as there are preceding data symbols, so every prefix of length L L L costs O ( L ) O(L) O ( L ) in total, also for malformed texts. The expression has length m ≤ M = O ( m n ) m \le M = O(mn) m ≤ M = O ( mn ) . For m = n m = n m = n , we have log M = Θ ( log n ) \log M = \Theta(\log n) log M = Θ ( log n ) , the alphabet has 2 n + 1 2n + 1 2 n + 1 symbols, and the O ( n 2 ) O(n^2) O ( n 2 ) -bit incidence table and the O ( n ) O(n) O ( n ) auxiliary words use polynomial space.
Theorem A.6 (Streaming membership: amortized versus worst case). Let R n : = { R S ⃗ : S 1 , … , S n ⊆ [ n ] } R_n := \{R_{\vec S} : S_1, \ldots, S_n \subseteq[n]\} R n := { R S : S 1 , … , S n ⊆ [ n ]} , and let M n : = max R ∈ R n ∣ R ∣ = Θ ( n 2 ) M_n := \max_{R \in R_n} |R| = \Theta(n^2) M n := max R ∈ R n ∣ R ∣ = Θ ( n 2 ) . Streaming membership for this family has a deterministic algorithm with O ( 1 ) O(1) O ( 1 ) amortized time per symbol on every input stream.
Consider a zero-error cell-probe algorithm for streaming membership for all of R n R_n R n , with word size w = Θ ( log M n ) w = \Theta(\log M_n) w = Θ ( log M n ) and arbitrary preprocessing of the given expression, which stores all information retained between symbols in its memory. Let t a t_a t a be its worst-case cost on a data symbol, over all expressions, texts and random tapes, and let t c t_c t c be an upper bound on its expected cost on a selector, for every expression and every text that ends with this selector. Then
t c = Ω ( ( log M n log ( t a w ) ) 2 ) . t_c = \Omega\left(\left(\frac{\log M_n}{\log(t_a w)}\right)^2\right). t c = Ω ( ( log ( t a w ) log M n ) 2 ) . In particular, the worst-case time on some symbol, for some expression in the family and some text, is Ω ( ( log M n / log log M n ) 2 ) \Omega((\log M_n/\log\log M_n)^2) Ω (( log M n / log log M n ) 2 ) .
Proof. The algorithm above gives the upper bound. For the lower bound, given an instance S 1 , … , S n S_1,\ldots,S_n S 1 , … , S n of insert-only multiphase Disjointness, preprocess R S ⃗ R_{\vec S} R S and process the symbol # \# # during Phase I. Inserting j j j into X X X feeds the symbol a j a_j a j , and the query q q q feeds the selector c q c_q c q ; by (3) , the report on c q c_q c q answers the query. Keeping the writes made while processing c q c_q c q in temporary workspace, as in Theorem A.1 , we obtain a zero-error data structure with worst-case update time t a t_a t a and expected query time t c t_c t c . Since log M n = Θ ( log n ) \log M_n = \Theta(\log n) log M n = Θ ( log n ) , Theorem 3.1 gives the bound on t c t_c t c . For the last statement, let t t t be the worst-case time on all symbols, so that t a , t c ≤ t t_a,t_c \le t t a , t c ≤ t . If t ≥ log 2 M n t \ge\log^2 M_n t ≥ log 2 M n there is nothing to prove; otherwise log ( t a w ) = O ( log log M n ) \log(t_a w) = O(\log\log M_n) log ( t a w ) = O ( log log M n ) , so t ≥ t c = Ω ( ( log M n / log log M n ) 2 ) t \ge t_c = \Omega((\log M_n/\log\log M_n)^2) t ≥ t c = Ω (( log M n / log log M n ) 2 ) . □
Binary alphabet. Encode the symbols by distinct codewords of length b = Θ ( log n ) b = \Theta(\log n) b = Θ ( log n ) . The maximum expression length becomes M n b i n = O ( n 2 log n ) M_n^{\mathrm{bin}} = O(n^2 \log n) M n bin = O ( n 2 log n ) , with log M n b i n = Θ ( log n ) \log M_n^{\mathrm{bin}} = \Theta(\log n) log M n bin = Θ ( log n ) ; take w = Θ ( log M n b i n ) w = \Theta(\log M_n^{\mathrm{bin}}) w = Θ ( log M n bin ) . Decoding preserves constant amortized time per bit: report “no” within incomplete codewords and reject invalid codewords permanently. A matcher with worst-case cost t t t per bit yields source update and query costs at most b t bt b t . If t > log M n b i n t > \log M_n^{\mathrm{bin}} t > log M n bin , the bound below is immediate. Otherwise log ( b t w ) = O ( log log M n b i n ) \log(btw) = O(\log\log M_n^{\mathrm{bin}}) log ( b tw ) = O ( log log M n bin ) , so Theorem 3.1 gives b t = Ω ( ( log M n b i n / log log M n b i n ) 2 ) bt = \Omega((\log M_n^{\mathrm{bin}}/\log\log M_n^{\mathrm{bin}})^2) b t = Ω (( log M n bin / log log M n bin ) 2 ) . Since b = Θ ( log M n b i n ) b = \Theta(\log M_n^{\mathrm{bin}}) b = Θ ( log M n bin ) ,
t = Ω ( log M n b i n ( log log M n b i n ) 2 ) . t = \Omega\left(\frac{\log M_n^{\mathrm{bin}}}{(\log\log M_n^{\mathrm{bin}})^2}\right). t = Ω ( ( log log M n bin ) 2 log M n bin ) .
Related separations. Union–find admits amortized Θ ( α ( n ) ) \Theta(\alpha(n)) Θ ( α ( n )) time [41 , 21 ] but requires Θ ( log n / log log n ) \Theta(\log n/\log\log n) Θ ( log n / log log n ) worst-case time [6 , 21 ] . Cohen, Duffield, Kaplan, Lund and Thorup [CDK^{+}11][8 ] obtain O ( log log k ) O(\log\log k) O ( log log k ) amortized time and an Ω ( log k / log log k ) \Omega(\log k/\log\log k) Ω ( log k / log log k ) worst-case cell-probe bound for variance-optimal reservoir sampling in their finite-precision model. Streaming k k k -mismatch has conditional bounds from combinatorial Boolean matrix multiplication [22 GU18] .