Current Formula

Click "Generate Formula" to start!

Truth Table

0/0 completed Streak: 0

Learning Objectives

Complete the truth table to understand satisfiability and validity of propositional formulas.

Key Concepts:

  • Satisfiable: At least one row evaluates to True
  • Unsatisfiable: All rows evaluate to False
  • Valid (Tautology): All rows evaluate to True
  • Contingency: Some rows True, some False

Instructions

How to Use

• Generate a random propositional logic formula

• Fill out the truth table by clicking on the empty cells

• Determine if the formula is satisfiable or unsatisfiable

• A formula is satisfiable if at least one row evaluates to True

Logical Operators

• ∧ (AND): True only when both operands are True

• ∨ (OR): False only when both operands are False

• ¬ (NOT): Negates the truth value

• → (IMPLIES): False only when antecedent is True and consequent is False

Definitions

Satisfiable: At least one assignment makes the formula True

Unsatisfiable: No assignment makes the formula True

Valid: All assignments make the formula True

Invalid: At least one assignment makes the formula False

Settings

Formula Complexity

Streak

0 correct in a row

Satisfiability

A propositional formula is:

  • Satisfiable: If there exists at least one truth assignment that makes the formula true
  • Unsatisfiable: If no truth assignment makes the formula true (contradiction)
  • Valid (Tautology): If all truth assignments make the formula true

Examples:

  • • p ∨ ¬p is valid (always true)
  • • p ∧ ¬p is unsatisfiable (always false)
  • • p ∧ q is satisfiable (true when both p and q are true)

Truth Tables

Truth tables systematically list all possible truth value assignments:

Logical Operators:

∧ (AND):
TTT
TFF
FTF
FFF
∨ (OR):
TTT
TFT
FTT
FFF