Propositional Logic

SkillAI & models

Gives your agent strategies for solving propositional logic problems.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Propositional Logic skill

About this capability

Problem-solving strategies for propositional logic in mathematical logic

What this skill tells your AI

The instructions your AI receives, as published by parcadei/continuous-claude-v3 in .claude/skills/math/mathematical-logic/propositional-logic/SKILL.md and read by ahel’s review.

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
  3. Natural Deduction

    • Apply inference rules: Modus Ponens, Modus Tollens
    • Conditional proof: assume antecedent, derive consequent
    • z3_solve.py prove "Implies(And(p, Implies(p,q)), q)"
  4. Semantic Tableaux

    • Build tree by decomposing formula
    • Closed branches = contradictions
    • All branches closed = valid argument

Tool Commands

Z3_Sat

uv run python -m runtime.harness scripts/z3_solve.py sat "And(p, Implies(p, q), Not(q))"

Z3_Tautology

uv run python -m runtime.harness scripts/z3_solve.py prove "Implies(And(p, Implies(p, q)), q)"

Sympy_Truthtable

uv run python -m runtime.harness scripts/sympy_compute.py truthtable "p & (p >> q) >> q"

Z3_Modus_Ponens

uv run python -m runtime.harness scripts/z3_solve.py prove "Implies(And(p, Implies(p,q)), q)"

Cognitive Tools Reference

See .claude/skills/math-mode/SKILL.md for full tool documentation.

Signals

GitHub stars
4k
Forks
300
Last commit
Jan 2026
Advanced
Catalog kind
skill
Gateway key
propositional-logic-parcadei
Source
github.com/parcadei/continuous-claude-v3