You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the inspiring products you’re building, particularly ChatGPT and Codex. As a small contribution in return, I’d like to share a concept that your work has helped motivate.
I lead an AI Lab at Swiss Railways, and we’re currently building a software factory ourselves. We’re exploring how to combine AI-generated software with formal verification to improve reliability and reduce the tokens spent on repeated AI reviews.
The proposed workflow uses AI to generate formal specifications, code and proof annotations. Formal tools then check the specifications against reusable criteria and verify the code against technical safety rules and the specified behaviour.
Counterexamples and unresolved proofs feed back into clarification and revision, with AI review added where useful. The aim is to make mathematical verification the acceptance mechanism for defined properties, while reserving LLM computation for work that benefits from it.
I’ve attached a self-contained HTML document outlining the concept and workflow. Stronger assurance is the main objective; reducing token consumption in suitable verification steps is an additional benefit.
I’d welcome the Codex team’s perspective on this approach.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hi OpenAI team,
Thank you for the inspiring products you’re building, particularly ChatGPT and Codex. As a small contribution in return, I’d like to share a concept that your work has helped motivate.
I lead an AI Lab at Swiss Railways, and we’re currently building a software factory ourselves. We’re exploring how to combine AI-generated software with formal verification to improve reliability and reduce the tokens spent on repeated AI reviews.
The proposed workflow uses AI to generate formal specifications, code and proof annotations. Formal tools then check the specifications against reusable criteria and verify the code against technical safety rules and the specified behaviour.
Counterexamples and unresolved proofs feed back into clarification and revision, with AI review added where useful. The aim is to make mathematical verification the acceptance mechanism for defined properties, while reserving LLM computation for work that benefits from it.
I’ve attached a self-contained HTML document outlining the concept and workflow. Stronger assurance is the main objective; reducing token consumption in suitable verification steps is an additional benefit.
I’d welcome the Codex team’s perspective on this approach.
Best,
Sid
formal-verification-software-factory-en.html
All reactions