Skip to content
Automation
Skill

/propositional-logic

Problem-solving strategies for propositional logic in mathematical logic

From plugin
vibe-skills
2.7k200 skills8 agents3 commands
Install
$ npx -y skills add foryourhealth111-pixel/Vibe-Skills --skill propositional-logic --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/propositional-logic

Context preview

The summary Claude sees to decide when to auto-load this skill.

Problem-solving strategies for propositional logic in mathematical logic

SKILL.md

propositional-logic.SKILL.md
name: propositional-logic
description: "Problem-solving strategies for propositional logic in mathematical logic"
allowed-tools: [Bash, Read]

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.

Read more
Ships withvibe-skills

VibeSkills is a general-purpose Skill that automatically routes local Skills and intelligently orchestrates harness workflows.

Get the whole plugin

Other skills on vibe-skills.