AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
Verity is a formally verified smart contract compiler for Ethereum, written in Lean 4. Write the spec, write the implementation, and prove they agree. Every claim is machine-checked at compile time, a
Developer toolsLean · PythonGitHub @lfglabs-devOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Formally verified smart contracts gives mathematical certainty across all inputs and execution paths. We bet that agents will make full formal verification practical.
Taken from the repository README
Loading the full README. The saved excerpt is shown below.
A formally verified smart contract compiler for Ethereum, written in Lean 4.
Documentation: veritylang.com · Paper: verity.pdf · Built by LFG Labs
Verity is a formally verified smart contract compiler written in Lean 4. You write contracts in an embedded DSL, state what they should do, prove those properties hold, and compile to EVM bytecode. The compiler itself is proven to preserve semantics across three verified layers. Full documentation lives at veritylang.com.Read the full README ↗A formally verified smart contract compiler for Ethereum, written in Lean 4. Write a contract in an embedded DSL (or import it from Solidity), prove properties about it, and compile it to EVM bytecode through a compiler whose layers are themselves proved. Documentation: veritylang.com · Paper: verity.pdf · MIT licensed.
CompilationModel): per-contract bridge theorems.CompilationModel → IR): a generic whole-contract theorem covers the supported fragment with zero axioms.The compiler proof stack carries 0 axioms and no sorry. Yul → bytecode is
done by pinned solc and is trusted. Verification is scoped: the proved
fragment and everything trusted are listed in the trust documents below.
lake build # check every proof
make check # repository checks run in CI (no Lean build)
make test-foundry
| Path | Contents |
|---|---|
Verity/ | The DSL (verity_contract), its semantics and proof library |
Compiler/ | The compiler and its correctness proofs |
Compiler/SolidityImport/ | Solidity → CompilationModel importer (docs) |
Contracts/ | Example and smoke contracts with their proofs |
docs/ | Trust boundary, axioms, verification status, design notes |
scripts/, test/, artifacts/ | CI checks, Foundry tests, generated reports |
Contributions: see CONTRIBUTING.md.