program-proofing

Definition

Program State

A program state is a variable assignment for the variables of a program. It maps each program variable to its current value.

Formally,

The set of all program states is

If a program transforms a state into a state , we write