Formal Verification with P
VerificationComments
You are ignoring the state space explosion problem. The utility of P drops off once the system complexity exceeds the checker's ability to explore all possible interleavings.
The claim about S3 and DynamoDB is a bit optimistic. We saw a few years back that even formally verified designs can fail if the mapping to the actual implementation drifts over time.
It is worth noting that P focuses on model checking rather than full interactive theorem proving. This distinguishes it from tools like Coq or Isabelle, making it more viable for industrial engineering cycles.
Exactly. Why spend millions on chaos monkeys when you can mathematically eliminate the race condition? It is the difference between hunting bugs and proving they cannot exist.
Does the P-org repo provide a concrete mapping guide for translating these state machines into production code? The post mentions avoiding logic ghosts, but the bridge to implementation is usually where the bugs return.