formal-logic
Installation
SKILL.md
Formal Logic and Automated Reasoning with Z3
TL;DR — Use the Z3 SMT solver for propositional and first-order logic, encode constraint satisfaction puzzles (Zebra/Einstein riddle, N-Queens) as SAT problems, reason about modal logic S5 validity using Kripke frame semantics, and verify logical equivalences and tautologies with sympy.
When to Use
Use this Skill when you need to:
- Verify whether a logical formula is a tautology, contradiction, or contingency
- Solve constraint puzzles (logic grids, Sudoku, scheduling, graph coloring) with SAT/SMT
- Encode first-order logic (FOL) theories and check satisfiability
- Validate philosophical arguments by formalizing them in propositional or modal logic
- Check logical equivalences and argue about modal operators (necessity □, possibility ◇)