propositional-logic

Installation
SKILL.md

Propositional Logic

When to Use

Use this skill when working on propositional-logic problems in mathematical logic.

Decision Tree

  1. Identify Formula Structure

    • Classify: tautology, contradiction, or contingent?
    • Main connective: AND, OR, IMPLIES, NOT, IFF?
    • z3_solve.py sat "formula" to check satisfiability
  2. Truth Table Method

    • For small formulas (<=4 variables): enumerate all valuations
    • sympy_compute.py truthtable "p & (p -> q) -> q"
    • Tautology = all T, Contradiction = all F
Related skills
Installs
1
GitHub Stars
3.8K
First Seen
Apr 5, 2026