Validates program correctness and logical consistency using bidirectional type checking for dependent types.
The Type Checker skill provides a robust formal verification framework within Claude Code, specifically designed for topological computing and complex type systems. By implementing bidirectional type checking, it distinguishes between type inference and verification modes to catch subtle logic errors at compile time. It handles advanced constructs such as Pi and Sigma types, manages universe levels to prevent logical paradoxes, and incorporates unique GF(3) conservation verification to ensure programs remain balanced and compositionally coherent.
Key Features
01Normalizes types using beta-reduction for equality checking
028 GitHub stars
03Bidirectional type checking for inference and verification modes
04Detailed error reporting with context-aware suggestions
05GF(3) trit-based conservation and balance verification
06Support for dependent types including Pi and Sigma types
Use Cases
01Automating static analysis in topological chemputer environments
02Formally verifying Move smart contracts for balance and safety
03Developing type-safe functional programs with indexed data structures