Logical expression Generator Intended for TLA+ with Artificial Intelligence
Transforming natural language requirements into formally verified TLA+ specifications using the power of AI and automated model checking.
VARIABLES state, queue Init == /\ state = "idle" /\ queue = <<>> Next == \/ (* Process request *) /\ state = "idle" /\ state' = "processing" \/ (* Complete *) /\ state = "processing" /\ state' = "idle"
Bridging the gap between requirements and formal verification
At SanDisk, quality is paramount. To enhance design assurance, this initiative formally specifies designs using PlusCal and TLA+ (Temporal Logic of Actions), enabling rigorous formal verification through model checking.
LeGIT/AI automates the challenging process of converting informal natural language requirements (from NVMe and PCIe specifications) into mathematically rigorous TLA+ formal specifications that can be verified by the TLC model checker.
Streamlining formal specification development
Extract requirements context from NVMe and PCIe standard specification documents automatically.
Leverage GitHub Copilot Agent Mode to generate TLA+ definitions and formulas from natural language.
Seamlessly edit and refine generated TLA+ specifications within the familiar VS Code IDE.
Automatically verify drafts with TLC model checker for immediate feedback on inconsistencies.
Build a global dictionary of VARIABLES and CONSTANTS for consistent cross-specification references.
Produce exhaustively model-checked TLA+ specifications ensuring correctness across all scenarios.
From requirements to verified specifications
Load NVMe/PCIe specification PDFs
Extract feature context via AI Agent
Create specification drafts & CFG files
Model check and refine until verified
The minds behind LegitCode
Team Member
Northern Arizona University
Team Member
Northern Arizona University
Team Member
Northern Arizona University
Industry partnership with SanDisk Corporation
Senior Technologist
Tools & Infrastructure
Engineering & Product Management
Vice President
Tools & Infrastructure
Engineering & Product Management
TLA+ was invented by Leslie Lamport, ACM Turing Award recipient. It is used by major companies including AWS, Microsoft, Oracle, Google, LinkedIn, MongoDB, Intel, ARM, Nvidia, and many more for formal verification of distributed systems.
Project resources and presentations
Our full technological feasibility analysis for LeGIT/AI.
View DocumentComing soon.
Upload pending