awesome-rust-formalized-reasoning
An exhaustive list of all Rust resources regarding automated or semi-automated formalization efforts in any area, constructive mathematics, formal algorithms, and program verification.
https://github.com/newca12/awesome-rust-formalized-reasoning
Last synced: 1 day ago
JSON representation
Books code
- logic-rs - πβπ€ - parser of relational predicate logic & truth tree solver
- plar-rs - ππ€π» - exploring John Harrison's Handbook of Practical Logic and Automated Reasoning.
- tapl - π€ - implementation of TAPL.
- TAPL in Rust - βπ€ - collection of implementations of TAPL (Chap 3-10,17,25).
- The Little Prover - π - transpiled J-Bob assistant & GUI frontend.
- the-little-typer - π - a Rust take on D.Friedman's book.
- tnt - ππ¦ - implementation of Hofstader's "Typographical Number Theory" from the book GΓΆdel, Escher & Bach.
- types-and-programming-languages - βπ€ - Exercises from TAPL textbook + extras! (Chap 5-7,9-10)
- TAPL Implementations - collection of implementations of TAPL (Chap 3-7,9,11,13-14,19,22).
- program-proofs-prusti - π - examples and exercises from the book Program Proofs by K. Rustan M. Leino.
- harrison-rust - πβ - library for SAT solving and automated theorem proving derived from the book.
Kanren
- Canrun - π¦β - logic programming library inspired by the *Kanren family of language DSLs.
- miniKANREN - π¦π€ - miniKANREN as a DSL.
- rslogic - π¦βπ€ - logic programming framework for Rust inspired by Β΅Kanren.
- rust-kanren - βπ€ - loose interpretation of miniKanren and cKanren.
- Β΅Kanren-rs - π¦β - implementation of Β΅Kanren.
Lambda Calculus
- lambda_calc - π¦β»οΈ - command-line untyped lambda calculus interpreter.
-
lalrpop-lambda
- π¦β - Ξ»-calculus grammar/interpretor written using LALRPOP and
Ξ»!. - blc - π¦π€ - implementation of the binary lambda calculus.
- Closure Calculus - π¦π₯Όπ€ - library for Barry Jay's Closure Calculus.
- lam - lambda calculus evaluator.
- Lamb - π¦π - implementation of the pure untyped lambda calculus in modern, safe Rust.
- lambash - π¦π€ - Ξ»-calculus shell.
- lambda_calculus - π¦β - simple, zero-dependency implementation of pure lambda calculus in safe Rust.
- lambda_calculus - π€ - lambda calculus with antlr grammar.
- lambdacube - π§π€ - implementation of the lambda cube (and other type stuff).
- Lambda Shell - π¦ - simple REPL shell for untyped lambda expressions.
- Lambdascript - educational tool illustrating beta reduction of untyped lamba terms.
- Lamcal - π¦π¦π€ - lambda calculus parser and evaluator and a separate command line REPL.
- Pun Calculus - π¦ - variant of Typed Lambda Calculus with generalized variable punning (ad-hoc polymorphism).
- RLCI - β - Overly-documented Lambda Calculus Interpreter.
- type-theory - β - typed Ξ»-calculus.
Programming Language
- beta - dependently-typed programming language, aiming to support a cubical interpretation of univalence.
- egglog - π¦βπ₯Ό - language that combines the benefits of equality saturation and datalog.
- Fathom - π¦βπ§ - declarative data definition language for formally specifying binary data formats.
- isotope-prover-experiments - π₯Όπ₯Όπ - experimental dependently typed language supporting borrow checking.
- Kind - π¦β - next-gen functional language and proof assistant.
- Last Order Logic - π¦ - experimental logical language.
- minihl - formal methods playgorund for MiniHeapLang language.
- minitt-rs - π¦π¦βπ - became Voile.
- Narc - π¦βπ€ - dependently-typed programming language with Agda style dependent pattern matching.
- Pika - βπ§ - small, performance-oriented, dependently typed ML with algebraic effects and unboxed types..
- Pikelet - π¦βπ€ - small, functional, dependently typed programming language.
- proto-vulcan - π¦π¦ - miniKanren-family relational logic programming language.
- Rust pi-forall - π₯Ό - partial re-implementation of pi-forall.
- Scryer Prolog - π¦β - modern Prolog implementation.
- SMT-language - π¦ - Sat Modulo Theory Language.
- stupid-see - π€π€ - symbolic execution engine. Mainly targeted at the verification course in THU.
- tako - experimental programming language for ergonomic software verification.
- TIP - π€π€ - programming language aimed at teaching fundamental concepts of static program analysis.
- Untyped Concatenative Calculus - π€ - toy programming language and prototype for Dawn.
- Untyped Multistack Concatenative Calculus - toy programming language and prototype for Dawn.
- Voile - π¦π¦βπ€ - became Narc.
- zz - π¦βπ - zymbolic verifier and tranzpiler to bare metal C.
- rooc - πβ - a language for compiling formal mathematical models into static models.
- Interaction Calculus - π¦β - programming language (fit the optimal Ξ»-calculus reduction algorithm perfectly).
- norem-lang - pure functional programming language with automatic verification and effect system.
- reckon - β - programming language designed for reasoning tasks, proof checking, and logical inferencing.
- Logicaffeine - π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦π¦β - compiles your words into programs, proofs, and formal systems.
- Lean-Claude - rewrite Lean4 Compiler in Rust, using only Claude Code.
- High-order Virtual Machine (HVM) - β - massively parallel, optimal functional runtime.
Projects
Libraries
- mm0-rs - π¦π¦π¦βπ₯Όπ₯Ό - MM0/MM1 server and utilities.
- rust-unify - π¦ β»οΈπ₯Ό - unification algorithum implementation.
- lpsolve - π¦π¦π€ - high-level lpsolve wrapper.
- CNF Parser - π¦π€ - efficient and customizable parser for the .cnf file format.
- coq-rs - this program can parse Coq .vo files.
- DIMACS Parser - π¦ - utilities to parse files in DIMACS .cnf or .sat file format.
- Exec-SAT - π¦π€ - provides routines to parse SAT solver output and to execute SAT solver.
- Flussab CNF - π¦ - parsing and writing of the DIMACS CNF file format.
- FRAT-rs - π₯Ό - toolchain for processing and transforming files in the FRAT format.
- Lambda Calculus Parser - Ξ»-calculus parser.
- Lambda Term Parsing - explores different parser designs for a simple lambda term grammar.
- lp_parser_rs - π¦ - LP file parser.
- mmb-parser - π¦ - parser for the Metamath Zero binary proof format.
- mps - π¦ - fast MPS parser.
- olean-rs - π€ - parser/viewer for olean files.
- RustLogic - π¦ - parsing and handling simple logical expressings.
- smt2 - π¦ - SMT-LIB 2 parsing library.
- tptp - π¦βπ€ - parse the TPTP format.
- boolector - π¦ - safe high-level bindings for the Boolector SMT solver.
- bitwuzla-sys - π¦ - low-level bindings for the Bitwuzla SMT solver.
- boolector-sys - π¦ - low-level bindings for the Boolector SMT solver.
- cadical-rs - π¦ - bindings for the CaDiCaL SAT solver.
- cat_solver - π¦ - bindings for the Kissat SAT solver.
- cryptominisat-rs - π¦π€ - bindings for CryptoMiniSat.
- falcon-z3 - π¦ - bindings for Z3.
- highs - π¦ - safe rust bindings for the HiGHS linear programming solver.
- highs-sys - π¦ - bindings for the HiGHS linear programming solver.
- IPASIR - π¦π€ - FFI bindings for the IPASIR incremental SAT solver interface.
- isabelle-client - π¦ - client to interact with an Isabelle server.
- Kissat-rs - π¦ - bindings for the Kissat SAT solver.
- libsmt.rs - π€ - bindings for SMTLIB2.
- logicng-open-wbo-sys - π¦ - low-level LogicNG bindings for the MaxSAT solver Open-WBO.
- maxpre-rs - π¦ - bindings for the (multi-objective) MaxSAT preprocessor MaxPre.
- pblib-rs - π¦ - safe bindings for pblib.
- rplex - π€ - bindings for CPLEX.
- rsmt2 - π¦π¦βπ€ - generic library to interact with SMT-LIB 2 compliant solvers.
- russcip - π¦β - safe Rust interface for SCIP.
- Rust-SMT-LIB-API - π¦βπ - generic high-level API for interacting with SMT solvers.
- rust_z3prover - π€ - use Z3 SMT solver from rust.
- rustproof-libsmt - π¦π€ - fork of libsmt.rs.
- SAT Nexus - interfaces and wrappers for SAT solvers.
- scip-sys - π¦ - raw rust bindings to SCIP.
- smt_sb-rs - π¦ - Z3 SMT Simple Binding.
- smtlib - π¦π¦π¦ - high-level API for interacting with SMT solvers.
- vipers - crates for interacting with the Viper verification infrastructure.
- Yices2 - π¦π¦ - low and high-level bindings to the Yices2 SMT solver.
- z3 - π¦π¦βπ₯ - high-level and low-level Rust bindings for the Z3 solver.
- z3-rust - π¦ π€ - high level bindings for the Microsoft's Z3 SMT solver.
- Z3D - π¦π€ - Z3 DSL interface.
- anthem - π¦π₯ - translate answer set programs to first-order theorem prover language (v2, complete rewrite).
- bool2dimacs - π¦ - transfer boolean expression to dimacs directly.
- CNFGEN - π¦ - create boolean formulae from boolean expressions and integer expressions.
- Cnfpack - π¦ - converts between DIMACS CNF file format and the compressed binary Cnfpack format.
- hz-to-mm0 - π€ - translator from HOL Zero / Common HOL to Metamath Zero.
- Metamath hammer - tool for automatically proving Metamath theorems using ATPs.
- rust-smt-ir - π¦π¦β - intermediate representation (IR) in Rust for SMT-LIB queries.
- AbsoluteUnity - π€ - think Prolog, but less capable.
- Alice_rs - π₯Όπ₯Όπ€ - implementation of a decision procedure for A Decidable Fragment of Separation Logic.
- auto - π₯Ό - decision procedure for intuitionistic logic.
- Avatar Hypergraph Rewriting - π¦π€ - hypergraph rewriting system with avatars for symbolic distinction.
- coc - π€ - the calculus of constructions.
- compiler - π¦π€π€ - trivial compiler framework for Metamath Zero binary proofs.
- discrimination-tree - π¦ - discrimination tree term indexing.
- easy-smt - π¦β - easy SMT solver interaction (Inspired by the simple-smt haskell package.).
- egg - π¦β - flexible, high-performance e-graph library.
- epilog - π¦π€ - collection of Prolog-like tools for inference logic.
- FALL - π¦π€ - easily embeddable, futures-friendly logic engine.
- foliage - π¦π€ - first-order logic with integer arithmetics.
- fuzzylogic - π¦ - provides operations and inference for fuzzy set theory.
- Joker Calculus - π¦ - implementation of Joker Calculus in Rust.
- Kravanenn - βπ€ - set of tools for Coq.
- logic-lang - π¦ - structural logic based on equivalence graphs.
- logical_solver - π¦π€ - library for solving and parsing logical equations.
- LogRu - π¦ - small, embeddable and fast interpreter for a subset of Prolog.
- mmb-binutils - π€ - utility tools for Metamath Zero binary proof files.
- mmb-types - π¦π€ - library containing the definitions of the opcodes in the Metamath Zero binary proof files.
- moniker - π¦π¦βπ€ - automagical variable binding library.
- nanoda - βπ - became nanoda-lib.
- nanoda_lib - β - type inference/checking functionality based on the Lean theorem prover.
- nnf - π¦ - Negation Normal Form manipulation library.
- polytype - π¦β - Hindley-Milner polymorphic typing system.
- program-induction - π¦β - library for program induction and learning representations.
- ruler - β¦οΈβπ₯Ό - rewrite rule inference using equality saturation.
- Rust First Order Logic - π¦ - syntax of First Order Logic with self-consistent logical assertions.
- rust-nbe-for-mltt - β - normalization by evaluation for Martin-LΓΆf Type Theory with dependent records.
- rust-smt-strings - π¦ - library for strings as defined in the SMT-LIB theory of strings.
- RustSAT - π¦π¦π¦π¦π¦π¦π¦π¦π¦β - provide elements commonly used in satisfiability solving software.
- Rusty Razor - π¦π¦π¦βπ€ - tool for constructing finite models for first-order theories.
- sat_toasty_helper - π¦ - convenient way to write and solve SAT constraints.
- Satoxid - π¦ - library to help with encoding SAT problems.
- smt2utils - π¦π¦π¦π¦π - libraries and tools for the SMT-LIB-2 standard.
- smtlib-syntax - π¦ - syntactic types the for the SMT-LIB 2.6 spec. Meant for code generation, not parsing.
- term-rewriting-rs - π¦βπ€ - representing, parsing, and computing with first-order term rewriting systems.
- tribool - π¦π€ - three-valued logic.
- The Trivial Metamath Zero kernel - π¦π€ - Metamath Zero kernel for Trivial.
- Whisper - βπ€ - logic Programming DSL.
- clingo-rs - π¦π¦π¦β - idiomatic bindings to the clingo library.
- Patronus - π¦π§ - btor2 parser, wip hardware bug-finding toolkit.
- isabelle export tool - parser for isabelle database files.
- rssat - π¦π - bindings for multiple popular SAT solvers, superseded by satgalaxy-rs.
- Decdnnf-rs - π¦ - translating formulas generated by d4 into the format generated by c2d.
- cadical-sys - π¦ - almost complete safe and unsafe bindings for the CaDiCal SAT solver.
- EasyZ3 - π¦ - simplified API to get started with the z3 SAT solver.
- lean-sys - π¦β - bindings to Lean 4's C API.
- satgalaxy-rs - π¦ - FFI bindings for satgalaxy-core bringing high-performance SAT solving to Rust.
- pindakaas - π¦π¦π¦π¦π¦π¦ - transform integer and pseudo Boolean constraints into conjunctive normal form.
- rsmaxsat - π¦ - bindings for EvalMaxSAT .
- Espresso Logic Minimizer - π¦π¦ - bindings to the Espresso heuristic logic minimiser from UC Berkeley.
- CNFGEN 2 - π¦ - newer version of CNFGEN - DIMACS CNF generator.
- smt-str - π¦ - data structures and utilities to parse, manipulate, and reason about SMT-LIB strings.
- vampire-rs - π¦π¦ - safe Rust bindings to the Vampire theorem prover for first-order logic with equality.
- Yaspar - π¦ - a parser for the SMT-LIB 2.7 language generated by the LARLPOP parser generator.
- Logician - π¦ - type-safe SMT solver driver.
- sat-interface - π¦ - abstraction interface for SAT solvers.
- sat-solvers - π¦ - unified Rust interface to multiple SAT solvers with automatic source compilation.
- Yaspar-IR - π¦ - provides a few representations of SMT scripts and other functionalities.
- Leo3 - π¦π¦π¦π¦ - safe, ergonomic Rust bindings to the Lean4 theorem prover, inspired by PyO3's architecture.
- cvc5-rs - π¦π¦ - safe, high-level Rust bindings for the cvc5 SMT solver.
- xmt-lib - π¦ - grounder for SMT solvers.
- logic-form - π¦π€ - library for representing Cube, Clause, CNF and DNF.
- cplex-rs - π¦π¦ - safe rust bindings for CPLEX.
- logic-parser - π¦π - library for lexing, parsing and visualizing logical expressions.
Provers and Solvers
- cobalt - β»οΈπ» - a wip minimal proof assistant.
- Proost - simple proof assistant.
- CoP - π¦ - reimplement automated theorem provers of the leanCoP family, such as leanCoP and nanoCoP.
- lazyCoP - βπ€ - automatic theorem prover for first-order logic with equality.
- lerna - π - proves theorems.
- lickety - π€ - prototype system for linear resolution with splitting.
- Serkr - βπ» - automated theorem prover for first order logic with equality.
- theorem-prover-rs - rewrite of theorem-prover-kt a sequent-style automated theorem prover.
- BatSat - π¦β - solver forked from ratsat, a reimplementation of MiniSat.
- Colombini-SAT - simple 3-SAT solver.
- CreuSAT - β - formally verified SAT solver verified with Creusot.
- Debug-SAT - π¦π€ - debuggable automatic theorem prover for boolean satisfiability problems (SAT).
- dpll-sat - π€ - naΓ―ve SAT solver implementing the classic DPLL algorithm.
- DRSAT - Daniel's Rusty SAT solver.
- lutrix - π€ - SAT/SMT Solver.
- minisat-rust - βπ€ - experimental minisat SAT solver.
- msat - π¦π - MaxSAT Solver.