A model used in computer science to represent systems and applications.
Blockchains can be modeled as a Trustless state-machine whereby the correct rule of a transition is defined as the state transition function, or STF.
One of the 3 main ways to model a blockchain, as explained in Blockchain Models.
graph LR y(("$$y$$")) -->|"$$F(x_1,y)$$"| yp(("$$y\prime$$")) -->|"$$F(x_2,y\prime)$$"| ypp(("$$y\prime\prime$$"))
In the above, ,, and are different states. The whole state machine can at any point in time be in either of the states. is the state transition function and and are the inputs.
In our simple visualizations, the state machine seems to always go forward, but this is not necessarily the case. Normal state machines often involve loops. Even in a blockchain, when a Fork occurs and is eventually discarded, the blockchain state machine might revert back to a previous state.