---
slug: "Compress"
name: "Compress"
type: "Primitives"
layer: "Infrastructure"
ref: "Compress#b585"
sema_id: "sema:Compress#mh:SHA-256:b585b8c462691d24d55deee575c5ade6d6510d9f99f9c59c38d2ff025ad3721c"
tags: ["Infrastructure","Primitives"]
updated: 2026-11-11
mindscape: "bootstrap"
index_url: https://mindscape.pages.dev/bootstrap/index.json
url: https://mindscape.pages.dev/bootstrap/Compress/
related: ["ChunkMerge","ContextCompress","Summarize","Taper"]
---

# Compress

Lossy or lossless reduction

Layer: Infrastructure · Category: Primitives

## Mechanism

Reducing the size of information while preserving the meaning that matters to its consumer. Which meaning matters is the caller's to state; whether the reduction can be undone is the compressor's to declare. No coder shrinks every input.

## Invariants

- States whether exact reconstruction of its input is available.
- Where reconstruction is declared available, Inverse(Output) == Input bit-for-bit.
- A compressor that cannot reduce an input reports that rather than emitting an expanded output as compressed.

## Failure modes

—

## Builds on

—

## Used by

- [ChunkMerge](https://mindscape.pages.dev/bootstrap/ChunkMerge.md) (Mind; References)
- [ContextCompress](https://mindscape.pages.dev/bootstrap/ContextCompress.md) (Mind; References)
- [Summarize](https://mindscape.pages.dev/bootstrap/Summarize.md) (Mind; References)
- [Taper](https://mindscape.pages.dev/bootstrap/Taper.md) (Society; References)

## Identity

- Sema ID: `sema:Compress#mh:SHA-256:b585b8c462691d24d55deee575c5ade6d6510d9f99f9c59c38d2ff025ad3721c`
- Ref: `Compress#b585`
- Supersedes:
  - `sema:Compress#mh:SHA-256:b50f42b2837d2df77577a11ff9b068f1d06ea32bcde75d0d2751351d62d82627`

## Links

- [Pattern page](https://mindscape.pages.dev/bootstrap/Compress/)
- [View in the interactive graph](https://mindscape.pages.dev/bootstrap/#Compress)
- [JSON](https://mindscape.pages.dev/bootstrap/Compress.json)
- [Index of all patterns](https://mindscape.pages.dev/bootstrap/index.json)
