Generator

truth-table

A generator in the logic library, called 12 times across 6 essays. Below: what it draws at its defaults and at each mode an essay asks for, what it checks while drawing, and everywhere it is used.

truth-table is one function. Everything below came out of it during this build, at parameters taken from the essays rather than invented for this page — so a figure here is the same figure a reader meets in an essay, and if the generator changes, this page changes with it.

At its defaults

The truth table of p → (q → p)A grid with one row per assignment of truth values, and the value of the formula beside it.pqp → (q → p)FFTFTTTFTTTTp → (q → p) — 4 assignments, 4 of them satisfyingtrue in every row: the formula is a tautology

show: "cube"

(p ∨ q) ∧ ¬r, drawn on the cube of 8 assignmentsThe assignments as corners of a cube, joined when they differ in one variable, with the satisfying corners filled.000001010011100101110111(p ∨ q) ∧ ¬r on the 3-cube of assignments — 3 of 8 cornerscorners next to each other differ in one variable, which every edge here was checkedagainst

What it checks while it draws

Collected by running the family and recording what it asserted, not written here. The count is how many separate times the claim was put to the test while these drawings were made.

Where it is called

Changing this generator changes every figure on this list. That is what makes the list worth publishing rather than keeping in a check script.

The whole library · What the figures prove