[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tlaplus] Foundational TLA+ tooling?
Given the increased adoption of TLA+ in general, and TLAPS in particular, driven by agents in recent months, I think we also need to address the known soundness issues in TLAPS v1 while a foundational successor (e.g., built on Lean) is still in its early stages.
We've already closed several soundness issues, but some remain:
* https://github.com/tlaplus/tlapm/issues/338
* https://github.com/tlaplus/tlapm/issues?q=state%3Aopen%20label%3A%22soundness%22
The main bottleneck to merging fixes is reviewing changes to the OCaml implementation. OCaml expertise is not strictly required to contribute, though. Those with TLA+ and/or TLAPS expertise can help by reviewing and contributing regression and soundness tests for the known issues. We could really use more involvement from the community to make progress on this.
This work also benefits any future foundational TLAPS implementation. A more robust TLAPS v1 and, in particular, its regression and soundness test suite would provide a valuable baseline for testing a successor.
M.
> On Nov 12, 2026, at 10:32 AM, Stephan Merz <stephan.merz@xxxxxxxxx> wrote:
>
> Hi Giuliano,
>
> thanks for your message. Indeed, I am starting to look at developing an alternative proof assistant for TLA+ that would be hosted in Lean. The objective would be to support the standard TLA+ formalism, including its proof language, but to rely on the foundation of the Lean kernel and the automation available in Lean. But it’s very early days, for the moment we are mainly trying to recreate the logic of TLA+ set theory in Lean.
>
> Best,
> Stephan
>
>> On 12 Nov 2026, at 18:34, Giuliano <giuliano.losa@xxxxxxxxx> wrote:
>>
>> Hi all,
>>
>> LLMs are quite good at proving things, but they're not trustworthy and might exploit unsoundness bugs to complete their proving tasks. So, to harness the proving power of LLMs, it is crucial to have tooling that remains reliable in the face of "users" (the LLMs) that are prone to cheating. Ideally, as much as possible should be checked by a minimal trusted kernel, like in so-called foundational provers like Isabelle, Lean, Rocq, etc.
>>
>> TLAPM is far from foundational, and it has several known soundness bugs. Morevoer, it doesn't seem like an approach with such a large trusted code-based can work.
>>
>> My question is: is there a plan to develop, or even shift focus, to foundational tooling? This seems critical to the success of TLA+.
>>
>> Isabelle/TLA+ (the object logic) might be a good starting point. I believe it covers only the constant fragment of TLA+ at the moment. Embedding TLA+ in another logic, like in Isabelle/TLA*, may be another option. But in this case we loose the unique set-theoric ergonomics of TLA+, which I think is a big loss.
>>
>> --
>> You received this message because you are subscribed to the Google Groups "tlaplus" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to tlaplus+unsubscribe@xxxxxxxxxxxxxxxx.
>> To view this discussion visit https://groups.google.com/d/msgid/tlaplus/b4cb39af-d81b-4159-91d0-b399d12ff2afn%40googlegroups.com.
>
> --
> You received this message because you are subscribed to the Google Groups "tlaplus" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to tlaplus+unsubscribe@xxxxxxxxxxxxxxxx.
> To view this discussion visit https://groups.google.com/d/msgid/tlaplus/407502C2-C4E1-4906-B147-433C66202631%40gmail.com.
--
You received this message because you are subscribed to the Google Groups "tlaplus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tlaplus+unsubscribe@xxxxxxxxxxxxxxxx.
To view this discussion visit https://groups.google.com/d/msgid/tlaplus/25A97575-1FA0-465B-AC0F-0674CAC036A3%40lemmster.de.