Skip to content
Back to skills

Propositional Logic

ASecurity

Problem-solving strategies for propositional logic in mathematical logic

  • 3,935 stars
  • 0 votes
  • 1 copy
  • 5 views
  • Added February 7, 2026
researchpythonbashdocumentation

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add parcadei/Continuous-Claude-v3 --skill propositional-logic --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Propositional Logic?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Propositional Logic
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/parcadei-propositional-logic/badge)](https://www.skillsdirectory.com/skills/parcadei-propositional-logic)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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
```bash
uv run python -m runtime.harness scripts/z3_solve.py sat "And(p, Implies(p, q), Not(q))"
```

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

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

### Z3_Modus_Ponens
```bash
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…