Dictionary of Logic

Every term the calculator, the guides and the exercises use, defined in one place.

Look a term up, see its notation, and open the example in the calculator to watch it behave. Terms defined here are highlighted the first time they appear in a guide.

Foundations

logic

The study of which conclusions genuinely follow from which assumptions.

Logic studies the form of reasoning rather than its subject matter. Formal logic replaces sentences with symbols so that whether a conclusion follows can be settled by the shape of the argument alone, and checked mechanically.

See alsopropositionargument

Learn moreIntroduction to Logic

truth value

⊤ / ⊥

One of the two values a proposition can take: true or false.

Classical logic gives every proposition exactly one of two truth values, written ⊤ and ⊥ (or 1 and 0). Every row of a truth table is one assignment of truth values to the variables, and the result the formula takes there.

See alsopropositiontruth tableinterpretation

Learn moreTruth Tables

interpretation

One assignment of truth values to every variable in a formula.

An interpretation says what each variable is worth, and so fixes the value of the whole formula. A formula with n variables has 2ⁿ interpretations, which is exactly the set of rows in its truth table.

See alsotruth valuetruth tablecountermodel

Learn moreTruth Tables

Connectives

Truth and consequence

truth table

A row for every assignment of values, with the formula's value in each.

A truth table lists all 2ⁿ interpretations of a formula's n variables and works out its value in each. Because it is exhaustive it settles every semantic question in propositional logic: equivalence, validity, satisfiability and the rest.

In the calculatorp → q

See alsointerpretationtautologycontradictioncontingency

Learn moreTruth Tables

contingency

A formula true under some interpretations and false under others.

A contingent formula is neither a tautology nor a contradiction: its truth table has at least one true row and at least one false one. Most formulas anyone writes are contingent, which is what makes them informative.

In the calculatorp ∧ q

See alsotautologycontradictionsatisfiability

Learn moreTruth Tables

soundness

A valid argument whose premises are also actually true.

Soundness adds a factual claim to a formal one: the argument is valid, and its premises hold. Logic alone can settle the first half; the second belongs to whatever the argument is about.

See alsovalidityargumentpremise

Learn moreIntroduction to Logic

Normal forms

Boolean algebra and circuits

prime implicant

A group on the map that cannot be enlarged any further.

An implicant is a conjunction of literals that forces the formula true; it is prime when dropping any literal would stop it doing so. On a Karnaugh map the prime implicants are the maximal rectangles of 1s.

See alsoessential prime implicantKarnaugh mapdisjunctive normal form

Learn moreKarnaugh Maps

essential prime implicant

The only prime implicant covering some particular 1.

When a 1 on the map belongs to just one maximal group, that group has to appear in every minimal cover, so it is taken first. What is left over is the part of the cover that genuinely has to be searched.

See alsoprime implicantKarnaugh mapminterm

Learn moreKarnaugh Maps

Proof and inference

Beyond propositional logic

predicate logic

Logic that looks inside propositions, at objects and their properties.

Predicate logic adds predicates, terms and quantifiers, so “every prime greater than two is odd” becomes a formula rather than a single letter. It is strictly more expressive than propositional logic, and no truth table can decide it.

See alsoquantifieruniversal quantifierexistential quantifier

Learn moreIntroduction to Predicate Logic

modal logic

□ / ◇

Logic extended with “necessarily” (□) and “possibly” (◇).

Modal logic evaluates formulas at possible worlds rather than at a single interpretation: □φ holds when φ holds at every accessible world, ◇φ when it holds at some. Varying what “accessible” means gives the different modal systems.

See alsopredicate logiclogical consequenceinterpretation

Learn moreIntroduction to Modal Logic

← Back to the guides