def universe(initial_state=None)
A kettle stalls at boiling; a closure swallows its own memory; a grammar asks which states border Hawaii. Everything called a state is a temporary truce with change.
At zero degrees Celsius, put heat into a bowl of melting ice and the thermometer refuses to budge. The energy does not disappear; it goes entirely into breaking lattice bonds, turning solid into liquid while the dial sits mute at zero. Chemists call this latent heat. It is the cleanest portrait we have of how a state actually behaves: long stretches where nothing on the gauge appears to move, followed by a sudden collapse into a different form of matter whose spacing obeys new laws.
def universe(initial_state=None):
state = essence(initial_state)
def evolve(transformation):
nonlocal state
state = transformation(state)
return universe(state["reflect"]())
return {**state, "evolve": evolve}
From a 2024 notebook sketch: a universe modelled as a recursive Python closure that evolves only by consuming and reflecting its own prior dictionary.
Programmers dread state for the exact reason diplomats covet it: state is memory with consequences. A stateless function is polite, forgetful and easy to scale; feed it the same input on Tuesday and Friday and it gives the same innocent answer. Introduce mutable state and suddenly history matters. Distributed-systems engineers spend careers inventing conflict-free replicated data types so two distant laptops can edit the same document offline and converge cleanly later without electing a king to arbitrate which state is real.
Diplomats do not have CRDTs. In international law, a state exists, for practical purposes, when enough other states agree to answer its telephone and stamp its passports. A formal grammar benchmark once asked a parser, in complete seriousness, what states border Hawaii? The grammar dutifully compiled answer(state(next_to_2(stateid('hawaii')))) and returned the empty set. Geography did not care that the syntax was valid.
A patient in a stable state is not necessarily well; it only means the chart has stopped moving for the moment.
Psychologists draw a sharp hairline between a state and a trait: anxiety before a flight is a state that passes once the wheels touch down, whereas neuroticism is a trait that unpacks its suitcase and moves in. Yet even the sharpest questionnaire struggles at the threshold where a state repeated every Tuesday for ten years hardens quietly into character. And in a courtroom, the bailiff turns the noun into a verb and asks the witness to state her name for the record, as though speaking a thing slowly under oath could freeze it like ice.
Solid, liquid, gas: three rows of the same five letters, with only the spacing between them altered. Raise the temperature a notch and the letters drift past the margin of the page. Call it sovereignty, session memory, or weather, a state is never the substance itself. It is only how tightly the pieces are holding hands right now.
Desk draft for the state number of WORD BANK. Written prior to visiting a physical chemist, a distributed-systems programmer, a diplomat, a psychologist and a hospital ward.