Should Tables Be Sorted? Revisited with a Large Language Model
Abstract
We revisit the implicit membership problem in Yao's full-table model [Yao, 1981] and obtain, to our knowledge, the first quantitative improvements to his 45-year-old Ramsey bounds, most notably reducing the two-probe bound from tower-type to polynomial. In this model, an -set is stored as a permutation in an -cell table, and queries decide whether . Let be the largest universe size admitting a -probe membership scheme for all -sets. Yao determined the one-probe case exactly, proving for , but the behavior for remained wide open. Fiat and Naor [1993] constructed schemes for universes of size for some constant and sufficiently large constant . For the first adaptive case, , we prove . For every fixed integer , we show that is at most a tower of height with top ; in particular, . The two-probe proof avoids Ramsey theory altogether; for larger fixed , we use Ramsey theory only to make the first probes follow a fixed pattern, and then handle the last probe by the same non-Ramsey argument. Somewhat surprisingly, for each fixed , we also show that implicit membership is as hard as implicit search up to a polynomial loss in universe size. Implicit search must return the cell containing when present and reject otherwise. For the analogous search threshold , we prove for every . Thus, for every fixed , one threshold is at most if and only if the other is. The proofs were first generated by ChatGPT 5.5 Pro without mathematical hints; the membership-search equivalence emerged while pursuing an improved four-probe bound. The authors have validated and edited the proofs and assume responsibility for all content.
Create a lesson
Related papers
Language Generation Beyond Adversarial Examples
Shared title terminologycs.DSDebmalya Panigrahi, Fan Wei, Ian Zhang
List coloring in hereditary classes of ordered graphs, revisited
Shared title terminologycs.DSPaweł Rafał Bieliński, Michał Dębski, Marta Piecyk et al.
Counting Maximal Bicliques in Large Sparse Bipartite Graphs by Degeneracy-Anchored Enumeration
Shared title terminologycs.DSLu Chen, Chengfei Liu, Rui Zhou et al.
Tight Comparison Bounds for Stable Sorting with Predicted Repetitions and Bounded Lookahead
Shared title terminologycs.DSShunqi Lu
Robust large-scale approximate solutions of the constrained Kemeny aggregation ranking problem
Shared title terminologycs.DSXuan Kien Phung, Sylvie Hamel
Large-Scale Trade-Off Curve Computation for Incentive Allocation with Cardinality and Matroid Constraints
Shared title terminologycs.DSYu Cong, Chao Xu, Yi Zhou