---
library: "bootstrap"
slug: "LazyConsensus"
name: "LazyConsensus"
ref: "LazyConsensus#76f5"
hash: "sema:LazyConsensus#mh:SHA-256:76f5f9d3c8e5301625d4732cc79aaacf4174d411ff1fd81c0fe67f8f78382789"
type: "Coordination"
layer: "Society"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/LazyConsensus"
---

# LazyConsensus

Optimistic execution, retroactive verification

Society · Coordination

## Mechanism

Agents execute transactions immediately without waiting for global consensus, assuming everything is valid. If a conflict is detected later, they use a deterministic rollback rule (e.g., 'highest ID wins'). Maximizes speed over safety. It bypasses the blocking [Quorum](https://semahash.org/vocabularies/bootstrap/patterns/Quorum.md), executing immediately and using the [TimeWarpLog](https://semahash.org/vocabularies/bootstrap/patterns/TimeWarpLog.md) to resolve conflicts retroactively.

## Invariants

- Conflict resolution is pure: the same inputs always pick the same winner.
- Reverting a transaction cannot corrupt unrelated state.
- Applies only to reversible or low-stakes actions.
- Conflicts are actively detected, not merely handled if noticed.

## Preconditions

- Target operations are internally reversible (no irreversible external side-effects)
- Conflict detection mechanism is active

## Postconditions

- Transaction applied optimistically
- Conflict resolution triggered if divergence detected

## Failure modes

- Cascading rollbacks.
- Applied to irreversible external action (email sent, funds transferred, API called)—rollback impossible, inconsistency permanent.

## Where this came from

—

## Builds on

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

## Used by

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

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: LazyConsensus#76f5
- Hash: sema:LazyConsensus#mh:SHA-256:76f5f9d3c8e5301625d4732cc79aaacf4174d411ff1fd81c0fe67f8f78382789

## Links

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