logic-zig targets Zig 0.16. Install from ziglang.org or your package manager / Nix flake, then confirm:
zig version # expect 0.16.xgit clone https://github.com/SMC17/logic-zig.git
cd logic-zig
zig build test
zig build
./zig-out/bin/logic-zig doctordoctor runs a short end-to-end smoke suite (prop, CDCL, AIGER, PDR, k-liveness,
write/read). Exit status 0 means the core stack is healthy on your machine.
# Museum index + agent-trust surface (not a SAT-solver tour)
./zig-out/bin/logic-zig taxonomy
./zig-out/bin/logic-zig api-info
./zig-out/bin/logic-agent profile
# Propositional SAT (substrate)
./zig-out/bin/logic-zig sat 'a | !a' # tautological shape → sat
./zig-out/bin/logic-zig sat 'a & !a' # unsat
./zig-out/bin/logic-zig sat --file corpus/simple_unsat.cnf --proof
# Sequential demos
./zig-out/bin/logic-zig bmc-demo --bound 3
./zig-out/bin/logic-zig pdr-demo --frames 12
./zig-out/bin/logic-zig klive-demo --max-k 4 # infinite justice proof vs lasso CEX
# AIGER
./zig-out/bin/logic-zig aiger corpus/and2.aag
./zig-out/bin/logic-zig aiger-write corpus/and2.aag /tmp/out.aagPoint a dependent build.zig at this package (git URL or path) and import the
logic module the same way this repository’s executable does:
const logic = @import("logic");Public entry points live in src/root.zig.
- ARCHITECTURE.md — data flow
- ENGINES.md — contracts per engine
- ../STATUS.md — what is unit-tested vs residual