---
library: "bootstrap"
slug: "Overlap"
name: "Overlap"
ref: "Overlap#c701"
hash: "sema:Overlap#mh:SHA-256:c7019daf2905344a1f3ca2232d74eea272fd284fbe14523e5aa33caa1b46c18e"
type: "Data Structures"
layer: "Infrastructure"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/Overlap"
---

# Overlap

Accept-set intersection protocol with commit-reveal for interest-based negotiation

Infrastructure · Data Structures

## Mechanism

Before stating positions, each agent declares their ACCEPT-SET: all outcomes they can live with. Sets are hash-committed before reveal (commit-reveal protocol). Compute intersection. If non-empty, select from intersection. If empty, both agents EXPAND accept-sets by one step and recompute. Repeat until overlap found or expansion-limit hit. It employs [MECE](https://semahash.org/vocabularies/bootstrap/patterns/MECE.md) partitioning to cleanly identify the intersection of distinct accept-sets.

## Invariants

- Accept-sets are hash-committed before any is revealed.
- Selection is from the intersection only.
- Expansion is bounded; at the expansion limit the protocol ends without agreement.

## Preconditions

- Two parties, each able to declare an accept-set

## Postconditions

- Intersection identified

## Failure modes

- Strategic minimal accept-sets (mitigated but not eliminated by commit-reveal).
- Expansion limit hit with no overlap.
- Accept-sets too abstract to intersect meaningfully.
- Requires both agents to support commit-reveal protocol.

## Where this came from

—

## Builds on

- [MECE](https://semahash.org/vocabularies/bootstrap/patterns/MECE.md) (references)

## Used by

- [Yield](https://semahash.org/vocabularies/bootstrap/patterns/Yield.md) (references)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: Overlap#c701
- Hash: sema:Overlap#mh:SHA-256:c7019daf2905344a1f3ca2232d74eea272fd284fbe14523e5aa33caa1b46c18e

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/Overlap
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/Overlap.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
