Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
parcadei avatar

Propositional Logic

  • 1 installs
  • 3.9k repo stars
  • Updated January 26, 2026
  • parcadei/continuous-claude-v3

Guides Claude through propositional-logic problems by classifying formulas and checking satisfiability via z3 and truth tables.

About

A decision-tree skill for propositional logic, classifying tautologies and contingencies and checking satisfiability. A developer uses it when they want Claude to analyze formulas with z3 or truth tables.

  • Formula classification by main connective
  • z3 satisfiability and truth-table methods

Propositional Logic by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #1,803 of 2,064 Data Science & ML skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/parcadei/continuous-claude-v3 --skill propositional-logic

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars3.9k
Last updatedJanuary 26, 2026
Repositoryparcadei/continuous-claude-v3

What it does

Guides Claude through propositional-logic problems by classifying formulas and checking satisfiability via z3 and truth tables.

Files

SKILL.mdMarkdownGitHub ↗

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

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.

Related skills

Data Science & MLagentsresearch

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.