Monday, July 24, 2023

Show HN: TLA+ AutoRepair (with GPT-4) to fix formal specs and understand them https://ift.tt/EjyJItT

Show HN: TLA+ AutoRepair (with GPT-4) to fix formal specs and understand them TLA+ is a language for formal specification. It can be used to formally verify algorithms and mathematical theorems. Companies like AWS use it for verifying mission-critical parts of systems like S3. The challenge is that TLA+ and formal specifications have a steep learning curve. This tool can aid in overcoming this obstacle at the outset. TLA+ AutoRepair is used to repair/self-heal formal specifications with GPT-4 in a loop, with or without human intervention. Given a TLA+ specification (.tla file) and a model to check (.cfg), the application will go through each error, send it to GPT-4 (or specified model), and fix all errors. Finally, it will document the code to make it more readable. Example Command: python3 autorepair.py Test_Specs/Counter.tla --model=gpt-4 https://ift.tt/kshD6MO July 24, 2023 at 11:13PM

No comments:

Show HN: Run Your Own ChatGPT Agent on Cloudflare Containers https://ift.tt/AB0c8Kd

Show HN: Run Your Own ChatGPT Agent on Cloudflare Containers Hi HN! I was disappointed when the ChatGPT Agent announcement came with the not...