← All repos

comparator

Browse cluster: Lean4 Formal Verification & Cryptography
110commits
9contributors
2languages

Tech stack & purpose

Comparator is a verification tool for Lean 4 proof assistants that validates whether a proposed proof solution matches a challenge specification and adheres to axiom constraints. The tool operates in the formal methods domain, ensuring that theorems in a solution file prove the same statements as those in a challenge file, use only permitted axioms, and are accepted by the Lean kernel. It is built around the Lean 4 ecosystem and relies on external binaries including `landrun` for sandboxing, `lean4export` for environment extraction, and optionally `nanoda` for additional kernel verification, with the comparator itself written in a Lean-compatible environment. Comparator was originally developed by Lean FRO with support from the AIMO team for use in trustworthy LLM evaluation on the Kaggle platform.

Languages

Lean
95.8%
Shell
4.2%

Contributors