Chiasmus serves as an MCP server, providing Large Language Models (LLMs) access to mathematically certain formal verification. It translates natural language problems into formal logic using a template-based pipeline, leveraging Z3 (SMT solver) and Tau Prolog to verify results with high assurance. Beyond verification, Chiasmus integrates tree-sitter for deep source code analysis, enabling LLMs to reason about call graphs, identify dead code, assess impact, and check reachability across various programming languages. It offers a structured workflow for LLMs to formalize problems, verify solutions, and conduct comprehensive code reviews, bridging the gap between natural language understanding and rigorous formal methods.
