Infrastructure · Data Structures

Variable

Mutable value

Definition

Mechanism

A named container whose contents can change while the name continues to refer to the same thing. A dimension of freedom in the problem space: what varies is the contents, not the identity.

Invariants

  1. The name denotes the same variable before and after its contents change.
  2. A reported value carries when it was read.

Risks

Failure modes

  1. Stale read treated as current, so a clock difference is attributed to the parties.

  2. Identity reused

    one name rebound to something that is not a later state of the same quantity.

Relationships

Root pattern: builds on nothing in this library.

Used by

References

Correlation

Normalized statistical association; no causal conclusion by itself

Mind

Uncertain

Epistemic status: genuinely don't know

Reference

Data schema

{
  "type": "object",
  "required": [
    "name",
    "value",
    "type"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Variable identifier"
    },
    "value": {
      "description": "Current state"
    },
    "type": {
      "type": "string",
      "description": "Data type definition"
    },
    "history": {
      "type": "array",
      "description": "Previous values (optional)"
    }
  }
}

Identity

Ref
Variable#5333
Sema ID
sema:Variable#mh:SHA-256:5333c0009a269825753bf5470554844285c46920c32e3d46ed71403090224dc7
Ring
1
Tier
1
Updated
2026-11-11
Supersedes
  • sema:Variable#mh:SHA-256:f488e278141238c50584777b751863d84b094229e4568205e9ba54a9121c3aa5