Problem 58: Signatures for Set Equality

From Open Problems in Sublinear Algorithms
Revision as of 02:10, 12 December 2012 by Andoni (talk | contribs) (Created page with "{{Header |title=Signatures for set equality |source=dortmund12 |who=Rasmus Pagh }} Given $S\subseteq\{1,..n\}$, we would like to construct a fingerprint so that later, given f...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Suggested by Rasmus Pagh
Source Dortmund 2012
Short link https://sublinear.info/58

Given $S\subseteq\{1,..n\}$, we would like to construct a fingerprint so that later, given fingerprints of two sets, we can check the equality of the two sets.

There are (at least) two possible solutions to the problem:

  • $h(S)=\sum_{i\in S} x^i\mod p$ for random $x\in \Z_p$. Update time would be roughly $\log p=\Omega(\log n)$. One would like to obtain a better update time.
  • $h(S)=\prod_{i\in S} (x-i) \mod p$, and random $x$. Insertion can be done in constant time. But the fingerprint is not linear.

Question: Can we construct a fingerprint that achieves constant update time and is linear, while using $O(\log n)$ random bits? Ideally updates would include insertions and deletions.