---
library: "bootstrap"
slug: "Budget"
name: "Budget"
ref: "Budget#4e3e"
hash: "sema:Budget#mh:SHA-256:4e3e536c9ecec8c1b0af017cfd0a26ba00e9f96047de4a690bf9d3db7f3720ef"
type: "Primitives"
layer: "Infrastructure"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/Budget"
---

# Budget

Resource allocation limit

Infrastructure · Primitives

## Mechanism

A quantified allocation of resources (compute, time, energy) that bounds execution against a finite pool. Whether the bound is enforced strictly or admits overdraft is a descendant concern; what Budget fixes is that consumption is accounted for rather than merely permitted.

## Invariants

- [Conservation](https://semahash.org/vocabularies/bootstrap/patterns/Conservation.md) of account: every change to Remaining corresponds to a recorded consumption or refund.

## Preconditions

- Total budget defined

## Postconditions

- Budget decremented by cost

## Where this came from

—

## Builds on

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

## Used by

- [Bid](https://semahash.org/vocabularies/bootstrap/patterns/Bid.md) (references)
- [BoundedTask](https://semahash.org/vocabularies/bootstrap/patterns/BoundedTask.md) (references)
- [BreadthGovernor](https://semahash.org/vocabularies/bootstrap/patterns/BreadthGovernor.md) (references)
- [CapacityPressure](https://semahash.org/vocabularies/bootstrap/patterns/CapacityPressure.md) (references)
- [ComputeBudget](https://semahash.org/vocabularies/bootstrap/patterns/ComputeBudget.md) (references)
- [EmpathySim](https://semahash.org/vocabularies/bootstrap/patterns/EmpathySim.md) (references)
- [Estimate](https://semahash.org/vocabularies/bootstrap/patterns/Estimate.md) (references)
- [ExploreExploit](https://semahash.org/vocabularies/bootstrap/patterns/ExploreExploit.md) (references)
- [HeuristicSnap](https://semahash.org/vocabularies/bootstrap/patterns/HeuristicSnap.md) (references)
- [Limitlisten](https://semahash.org/vocabularies/bootstrap/patterns/Limitlisten.md) (references)
- [MarginalValueRule](https://semahash.org/vocabularies/bootstrap/patterns/MarginalValueRule.md) (references)
- [OpportunityCost](https://semahash.org/vocabularies/bootstrap/patterns/OpportunityCost.md) (references)
- [Realizable](https://semahash.org/vocabularies/bootstrap/patterns/Realizable.md) (references)
- [RealizationProtocol](https://semahash.org/vocabularies/bootstrap/patterns/RealizationProtocol.md) (references)
- [Resource](https://semahash.org/vocabularies/bootstrap/patterns/Resource.md) (references)
- [RootSolver](https://semahash.org/vocabularies/bootstrap/patterns/RootSolver.md) (references)
- [SolverNode](https://semahash.org/vocabularies/bootstrap/patterns/SolverNode.md) (references)
- [SolverTree](https://semahash.org/vocabularies/bootstrap/patterns/SolverTree.md) (references)
- [TimeboxThink](https://semahash.org/vocabularies/bootstrap/patterns/TimeboxThink.md) (references)
- [Work](https://semahash.org/vocabularies/bootstrap/patterns/Work.md) (references)

## Related

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

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: Budget#4e3e
- Hash: sema:Budget#mh:SHA-256:4e3e536c9ecec8c1b0af017cfd0a26ba00e9f96047de4a690bf9d3db7f3720ef

## Links

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