Verified Transpilation with Claude
We can check correctness of a TLA+ specification using the TLC model checker, which will exhaustively explore a spec’s reachable states to check that a specified property (i.e. an invariant) holds. TLC was originally developed over 20 years ago and has had a lot of development effort put into it. It is a mature and performant tool, but it is written in Java and it is essentially a dynamic interpreter for the TLA+ language. So, it is still likely unable to reach a theoretical upper limit of performance for checking finite, explicit-state system models, meaning there are still performance gains to be had by moving to a lower-level representation for model checking. This is basically the approach taken by other state-of-the-art model checkers within their domain like SPIN i.e. they generate C code for model checking that can be compiled and run natively, rather than dynamically interpreting the model code.
William Schultz