Three Progressively Challenging Exercises for Exam Preparation
Write your answers in the text areas provided under each question. Your work will be automatically saved in your browser as you type. You can export all your answers at the end of the exercise.
Purpose: These exercises are designed to test your ability to synthesize multiple concepts in propositional logic reasoning - not just apply formulaic steps.
Skills Tested:
Recommended For:
Instructions: Each exercise builds on the previous one. Work through them in order and click "Show Answer" to see detailed solutions with step-by-step reasoning.
Difficulty: Intermediate | Points: 10
Knowledge Base (KB):
Tasks:
Before jumping into the solution, understand the strategy:
Key Insight: Modus Ponens is like following a chain of "if-then" statements. Resolution is more powerful - it can prove anything that's true.
Modus Ponens Rule: From α → β and α, we can infer β
Step 1: Convert KB to CNF
Convert implications (α → β ≡ ¬α ∨ β):
CNF Clauses:
Step 2: Prove T using Resolution
To prove KB ⊨ T, we assume ¬T and derive a contradiction.
Soundness:
Completeness:
Difficulty: Advanced | Points: 10
Knowledge Base (KB):
Tasks:
Think of consistency checking like solving a puzzle - can all pieces fit together?
Key Insight: If sentences force different values for the same variable, you have an inconsistency. Resolution will expose this by deriving {} (empty clause).
Initial Clauses (already in CNF):
Apply Resolution Systematically:
Contradiction Chain Analysis:
Direct Contradicting Pairs:
Why no model exists:
Verification by attempting to build a model:
Difficulty: Expert | Points: 15
Scenario: Home Security Agent
A simple home security agent uses propositional logic to reason about whether to sound the alarm.
Propositions:
Knowledge Base (KB):
Tasks:
This is a real-world agent reasoning scenario - think logically about what the rules tell us:
Key Insight: Sometimes what seems like a contradiction is actually the KB telling us something important - either the alarm can't sound (because power is off), OR there's an inconsistency in the rules themselves. Think carefully about what the logic reveals!
Original KB:
Step 1: Eliminate Implications (α → β ≡ ¬α ∨ β)
Final CNF Clauses:
Goal: Determine if KB ⊨ A (does the KB entail that the alarm sounds?)
Method: Proof by refutation - assume ¬A and try to derive a contradiction
Apply Resolution:
Alternative Path (showing multiple resolution possibilities):
What the Result Means:
Intuitive Reasoning Chain:
The Contradiction Reveals:
Detailed Analysis:
Actually, the KB forces this scenario:
Wait, let me recalculate...
Correct Resolution:
Final Intuitive Explanation:
Suggested grading criteria for instructors
| Criterion | Description | Points | Weight |
|---|---|---|---|
| Logical Soundness | Correct application of inference rules (Modus Ponens, Resolution, etc.) | 12 | 35% |
| CNF Conversion | Proper elimination of → and ↔, correct distribution, valid clause form | 8 | 23% |
| Resolution Steps | Clearly shown resolution derivation or contradiction with proper justification | 10 | 29% |
| Explanation & Insight | Clear justification of reasoning and meaning of results, practical interpretation | 5 | 14% |
| TOTAL | 35 | 100% | |
Alignment with course objectives and resources
These questions align with:
After completing these exercises, students should be able to:
Your answers are automatically saved in your browser's local storage. Use the buttons below to manage all your answers at once: