Skip to main content

Module lawful_subtraction

Module lawful_subtraction 

Source
Expand description

P16 — Lawful subtraction, compaction, and invariant-preserving reduction.

Subtraction is the dual of accumulation: removal/compaction must preserve declared invariants and emit receipts.

Structs§

CompactionReceiptV1
Receipt emitted after a compaction operation.
InvariantBudgetV1
Budget for what can be lost during subtraction.
RemovalFrontierV1
Minimal removal that breaks an invariant. Used for dry-run checking.
SubtractionPlanV1
A plan for a subtractive operation. Declares what will be removed and what invariants must be preserved.
SupportCoreV1
Minimal retained support preserving an invariant.

Enums§

BudgetType
Types of invariant budgets.
SubtractionOperation
Type of subtractive operation.