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: exhaustive reference check

Exhaustive enumeration of all 2n assignments (cap n = 12).

CDCL mode is a bounded educational first-UIP trace. It shows decisions, propagation, conflicts, learned clauses, and backjumps; production optimizations such as watched literals, restarts, activity heuristics, and clause deletion are intentionally omitted.

Learning rule: start from the false conflict clause and repeatedly resolve on the latest current-level propagated literal until one current-level literal remains (the first UIP). Backjump to the highest decision level among the learned clause's other literals, or level 0 if there is none.

Misread to avoid: a learned clause is a logical consequence of resolution, not a guessed shortcut; a backjump removes assignments above its target level but does not erase earlier decisions.

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 Conflicting 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)?

🧪 Quick Assign · QA-SAT-01 · 10–15 min
QA-SAT-01 · Level 1 · 10–15 min
SAT, UNSAT, or entailed?

Convert a knowledge base, inspect DPLL or CDCL evidence, then explain what CNF, learned clauses, and backjumps establish.

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.