nw-tlaplus-verification
SolidTLA+ formal verification for design correctness and PBT pipeline integration
AI & Automation 526 stars
55 forks Updated 1 weeks ago MIT
Install
Quality Score: 95/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# TLA+ / Formal Verification
When and how to use TLA+ for design verification. Complements PBT (which verifies implementation).
## Decision Tree: When to Use TLA+ vs PBT vs Both
```
Is the risk in the DESIGN or the IMPLEMENTATION?
|
+-- Design risk (protocol correctness, distributed coordination, concurrency)
| -> Does the system involve concurrent or distributed state?
| Yes -> Use TLA+ for design verification
| Then use PBT to verify implementation matches design
| No -> PBT alone is likely sufficient
|
+-- Implementation risk (edge cases, serialization, data transforms)
| -> Use PBT alone
|
+-- Both
-> TLA+ validates design, PBT validates implementation
```
### Use TLA+ When:
- Design bug would cause data loss or significant customer impact
- System involves concurrent or distributed state manipulation
- Subtle interactions between components are hard to reason about informally
- Informal reasoning or testing has already failed to prevent bugs
### Skip TLA+ When:
- Simple CRUD with straightforward business logic
- UI/UX behavior
- Performance optimization (TLA+ models correctness, not performance)
- Design is well-understood; risk is only in implementation bugs
- Rapid prototyping where design changes frequently
## TLA+ in 60 Seconds
TLA+ describes **what** a system should do, not how. A specification consists of:
- **Variables**: State components
- **Init**: Valid starting states
- **Next**: How sys...
Details
- Author
- nWave-ai
- Repository
- nWave-ai/nWave
- Created
- 3 months ago
- Last Updated
- 1 weeks ago
- Language
- Python
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
nw-formal-verification-tlaplus
TLA+ and PlusCal for specifying distributed system invariants. Decision heuristics for when formal verification adds value, key patterns, state explosion management, and alternatives comparison.
526 Updated 1 weeks ago
nWave-ai AI & Automation Solid
tla-plus-generator
Generate and analyze TLA+ specifications for distributed systems verification
1,160 Updated today
a5c-ai AI & Automation Solid
nw-pbt-stateful
Stateful property-based testing patterns, model-based testing, and anti-patterns
526 Updated 1 weeks ago
nWave-ai AI & Automation Solid
formal-verification
Formal property verification and model checking skill for FPGA designs
1,160 Updated today
a5c-ai Code & Development Listed
tla-review
Comprehensive TLA+ specification review with checklist and automated validation
43 Updated 3 months ago
diegosouzapw