Propositional sentences (one per line)

Syntax

~ not
& and
| or
-> implies
<-> iff
( ) grouping
Variables: letters/words
# at line start = comment
Examples:

1. Parsed input

Your sentences as parsed by the engine. Errors flagged here.

2. Conjunctive Normal Form (step by step)

Standard rewrite pipeline: eliminate ↔, eliminate →, push ¬ in (De Morgan), distribute ∨ over ∧.
Stage 0
-
result
Show all five stages at once

3. Satisfiability

Brute-force enumeration of all 2n assignments (cap n = 12).
Step 0
working clause set

4. Entailment by resolution

To prove KB ⊨ α, add ¬α to the knowledge base and apply the resolution rule until you derive the empty clause (contradiction) or stop. AIMA Ch 7.5.
✨ Featured comparison
Featured comparison

Compare a satisfiable formula with a contradiction. DPLL is not guessing randomly; it is pruning impossible branches.

Apply one scenario that satisfies, then one that forces backtracking or contradiction.

🧭 Visual explanation

Live state to watch
No state captured yet. Run or adjust the applet first.
Misread to avoid

📚 Lesson tour (5 steps)
Step 1/5: -

-

📝 Worksheet (3 questions)

Q1. Load the Modus ponens example and click Convert. How many satisfying assignments does the SAT enumeration find?

Q2. Load the XOR UNSAT example. How many satisfying assignments?

Q3. Modus ponens KB. In the query box, type Q and click "Prove by resolution". Does it succeed (empty clause derived)?

🧪 Student response packet

Convert a knowledge base, inspect satisfiability, then explain why CNF and resolution reveal entailment.

State snapshot appears here.
♿ Text and keyboard support

Text and keyboard support

Keyboard path

  • Use Tab and Shift+Tab to move through controls.
  • Use Enter or Space on buttons, and arrow keys on sliders or select controls.
  • The visual region is focusable and described by the state summary below.

Text state summary

Reduced motion and non-visual support

Reduced-motion settings are honored where possible. The current state is also available as text, so the main result does not depend only on color, animation, or spatial position.

Accessibility note: this layer gives a text equivalent for the applet state. It does not replace a full human screen-reader audit.