Back to browse
GitHub Repository

Your TLA+ spec and your TypeScript code drift apart. This kit makes that impossible.

104 starsTypeScript

TLA PreCheck – TS DSL that proves state machines via TLA+

by bootoshi·Mar 17, 2026·7 points·0 comments

AI Analysis

●●●BangerBig BrainWizardry

TLA+ model checking without learning TLA+ — build fails if spec and code diverge.

Strengths
  • Bit-identical state graph verification between TLA+ spec and TypeScript interpreter
  • Generates Postgres DDL for database-level state enforcement
  • Catches invariant violations at compile time, not runtime
Weaknesses
  • Restricted TypeScript DSL limits flexibility for complex business logic
  • TLA+ learning curve still exists for debugging failed proofs
Target Audience

Backend developers building complex stateful systems

Similar To

TLA+ · Alloy · P language

Similar Projects