Упрощение логических формул через Z3

★ 6.5 · vibe-coding

simplify is a Claude Code skill that reduces formula complexity using Z3 tactic chains, applying them in sequence to produce an equivalent but simpler SMT-LIB2 expression. The skill invokes simplify.py and supports configurable pipelines covering boolean, arithmetic, and bitvector transformations — available tactics include constant folding, equality propagation, context-dependent simplification, elimination of unconstrained variables, bit-blast for bitvector reduction, and Tseitin CNF conversion. Input can be provided as an inline formula with variable declarations or as a .smt2 file; the default tactic chain is simplify, propagate-values, ctx-simplify, with bit-blast recommended for bitvector formulas. Every run is logged to z3agent.db for experiment tracking. The skill is especially useful for debugging tactic selection, shrinking formulas before passing them to solve or prove, and inspecting what Z3 sees after preprocessing.