---
library: "bootstrap"
slug: "LatticeCommit"
name: "LatticeCommit"
ref: "LatticeCommit#488a"
hash: "sema:LatticeCommit#mh:SHA-256:488aef6c5b623b424066249025e3d9fd441e6d232467ad8d5862337f6f092ba7"
type: "Protocols"
layer: "Society"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/LatticeCommit"
---

# LatticeCommit

Geometric neighbor consensus

Society · Protocols

## Mechanism

Agents are arranged in a virtual lattice. A [StateTransition](https://semahash.org/vocabularies/bootstrap/patterns/StateTransition.md) is only valid if it is cryptographically signed by the agent AND its immediate geometric neighbors (Up, Down, Left, Right). [Quorum](https://semahash.org/vocabularies/bootstrap/patterns/Quorum.md) is local, not global. It requires a localized [Quorum](https://semahash.org/vocabularies/bootstrap/patterns/Quorum.md) of geometric neighbors to validate [StateTransition](https://semahash.org/vocabularies/bootstrap/patterns/StateTransition.md)s.

## Invariants

- Local [Quorum](https://semahash.org/vocabularies/bootstrap/patterns/Quorum.md): Commit requires signatures from defined Geometric Neighbors
- Progress must be monotonic - no backtracking.
- [Topology](https://semahash.org/vocabularies/bootstrap/patterns/Topology.md) [Check](https://semahash.org/vocabularies/bootstrap/patterns/Check.md): Node degree must match Lattice definition (e.g. 4 for 2D grid)

## Preconditions

- Network topology is static/known

## Failure modes

- Fracture of the lattice isolates clusters.

## Where this came from

—

## Builds on

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

## Related

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

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: LatticeCommit#488a
- Hash: sema:LatticeCommit#mh:SHA-256:488aef6c5b623b424066249025e3d9fd441e6d232467ad8d5862337f6f092ba7

## Links

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