propositional-logic
SolidProblem-solving strategies for propositional logic in mathematical logic
AI & Automation 2,210 stars
164 forks Updated 1 weeks ago Apache-2.0
Install
Quality Score: 92/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# 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.
Details
- Author
- foryourhealth111-pixel
- Repository
- foryourhealth111-pixel/Vibe-Skills
- Created
- 3 months ago
- Last Updated
- 1 weeks ago
- Language
- Python
- License
- Apache-2.0
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Listed
propositional-logic
Problem-solving strategies for propositional logic in mathematical logic
3,795 Updated 4 months ago
parcadei AI & Automation Solid
propositional-logic
Problem-solving strategies for propositional logic in mathematical logic
496 Updated 1 months ago
vibeeval AI & Automation Listed
predicate-logic
Problem-solving strategies for predicate logic in mathematical logic
3,795 Updated 4 months ago
parcadei AI & Automation Solid
predicate-logic
Problem-solving strategies for predicate logic in mathematical logic
496 Updated 1 months ago
vibeeval AI & Automation Listed
proof-theory
Problem-solving strategies for proof theory in mathematical logic
3,795 Updated 4 months ago
parcadei