mcpbeat

Propositional Logic

parcadei/propositional-logic

Problem-solving strategies for propositional logic in mathematical logic

409 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
1
copies elsewhere
how many repositories repackaged it
3880
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/parcadei/Continuous-Claude-v3 --skill propositional-logic

The instruction itself

9 sections, as written by the author

Propositional Logic

When to Use

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

Decision Tree

  • Identify Formula Structure
  • Classify: tautology, contradiction, or contingent?
  • Main connective: AND, OR, IMPLIES, NOT, IFF?
  • z3_solve.py sat "formula" to check satisfiability
  • 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
  • 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)"
  • 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.

Repackaged in 1 other repositories

same content, different owner
foryourhealth111-pixel/Vibe-Skills open on GitHub →

How to use it

Copy the folder

Take parcadei/propositional-logic from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.