Rules

Formula Syntax

SymbolInputDisplay
Negation~¬
Conjunction&
Disjunctionv
Conditional->
Biconditional<->
Necessity (Box)[]
Possibility (Diamond)<>
Universal Quantifier@x∀x
Existential Quantifier$x∃x
Identitya = ba = b

Precedence (tightest first): [] <> @ $, ~, &, v, ->, <->

Atoms: uppercase letters optionally followed by digits (P, Q, P1, Q2).

Predicate Logic Syntax

ElementConventionExample
PredicatesSingle uppercase letterF, G, H
Predicate applicationOrdered arguments; each symbol has one fixed arityFx, Rxy, R(x,y), T(x,y,z)
Function termsOne value for each input tuple; terms may nestf(x), g(a,y), R(f(x),g(a,y))
ConstantsLowercase a–ta, b, c
VariablesLowercase u–zu, v, x, y, z
Universal@x + scope@x(Fx -> Gx)
Existential$x + scope$xFx
Identitya = ba = a, a = b -> Fa -> Fb

Quantifiers bind like unary operators (same level as ~, □, ◊). @xFx & Gx parses as (∀xFx) ∧ Gx.

Use explicit arguments for a variable named v: R(v,x). In compact input, PvQ means disjunction. Separate premises with commas outside parentheses or with new lines.

Relations and quantifier dependencies

Relations tutorial · Dependent witnesses tutorial · Functions and identity tutorial

Argument order and scope

If R(x,y) means x trusts y, R(a,b) says a trusts b; R(b,a) says something different. Repeating a term, as in R(a,a), fills both places with the same object. A ternary relation such as S(x,y,z) keeps three roles separate.

Each variable occurrence belongs to its nearest matching quantifier. A sentence has no free variables. Renaming a bound variable preserves meaning only when the renaming avoids capture: ∀x R(x,y) can become ∀z R(z,y), but not ∀y R(y,y).

Quantifier order and restricted domains

∀x∃y R(x,y) permits a different y for each x. ∃y∀x R(x,y) requires one shared y. The latter entails the former in a nonempty domain; the converse fails when each of two objects relates only to itself. Consecutive universals can exchange order, as can consecutive existentials.

Use ∀x(Fx → …) for every F, and ∃x(Fx ∧ …) for some F. For a mixed domain of people and projects, ∀x(Px → ∃y(Cy ∧ R(x,y))) requires a coordinator for each project without claiming everything is a project.

Negation switches each quantifier: ¬∀x∃y R(x,y) is equivalent to ∃x∀y ¬R(x,y). To move quantifiers outward into prenex form, rename bound variables apart and never capture a free variable. Moving a quantifier across a conditional's antecedent can switch its kind; simply copying it outward is unsafe.

Relations, orders, and functions

Reflexive: ∀x R(x,x). Symmetric: ∀x∀y(R(x,y) → R(y,x)). Transitive: ∀x∀y∀z((R(x,y) ∧ R(y,z)) → R(x,z)). Together these define an equivalence relation. Antisymmetry instead says that R(x,y) and R(y,x) imply x=y; it does not prohibit loops.

A strict partial order is irreflexive and transitive. A linear order additionally compares every two distinct objects. Do not confuse a two-step chain with two arrows leaving the same object.

A function is total and single-valued. Injectivity says ∀x∀y(f(x)=f(y) → x=y); surjectivity says ∀y∃x f(x)=y. Neither condition comes for free. Names may denote the same object, and the domain can contain unnamed objects.

Identity, counting, and descriptions

Identity substitution works in any argument place, including inside nested functions. From a=b, infer f(a)=f(b); the converse requires injectivity. Replacing an occurrence must not capture a variable.

At most one F: ∀x∀y((Fx ∧ Fy) → x=y). Exactly one F: ∃x(Fx ∧ ∀y(Fy → y=x)). Exactly two Fs: ∃x∃y((Fx ∧ Fy) ∧ (¬x=y ∧ ∀z(Fz → (z=x ∨ z=y)))). Existence, distinctness, and exhaustion are separate requirements.

On the Russellian reading used here, “the F is G” asserts that exactly one F exists and it is G. Negating that entire assertion allows there to be no unique F; asserting that the unique F is not G still requires its existence.

Interpretations, countermodels, and proof

An interpretation supplies a nonempty domain, denotations for names, a set of ordered tuples for each relation, and a total table for each function. Evaluate an open formula relative to a variable assignment. Quantifiers vary their own variable while keeping the other assignments fixed.

A countermodel makes every premise true and the conclusion false. One countermodel disproves validity. Passing every test on a few small domains does not prove validity over all domains: some distinctions require larger or infinite interpretations.

For a universal conclusion, begin with an arbitrary variable using UD. For an existential premise, use a fresh witness inside an open proof; the witness must not escape in the conclusion or justify an unrestricted generalization. To establish a result used by a shortcut rule, prove it with the permitted underlying rules.

Derivation Strategies

TypeTo showStrategy
DDAny ADerive A directly (no assumption)
CDA → BAssume A, derive B
IDAny AAssume ¬A, derive contradiction (B and ¬B)
UD∀xADerive A(x) with x flagged (x must not appear free in any premise or undischarged assumption)
EIAny AFrom ∃xB, assume B(a/x) with fresh constant a flagged. Derive A. Flagged constant must not appear in A.

Predicate Rules

Enable the Predicate toggle to use these rules.

RuleCitedDescription
UI1∀xFx ⊢ Ft — Universal Instantiation. Instantiate with any term.
EI1Use 7 ei/a to instantiate existential line 7 with a fresh constant a inside your open SHOW. The witness cannot occur in that proof's conclusion or support an invalid universal generalization. You can also explicitly open show <goal> ei 7.
EG1Ft ⊢ ∃xFx — Existential Generalization. Generalize a term to a variable.
QN1Quantifier Negation (8 forms): ¬∀x ↔ ∃x¬, ¬∃x ↔ ∀x¬, etc.
=I0t = t — Identity Introduction. Zero premises; conclude any term equals itself.
=E2a=b, φ(a) ⊢ φ(b) — Leibniz's Law. Substitute equals for equals. Optional term arg to control which term is replaced; l/r to pick among results.
System K — Arbitrary frames — distribution and theorem-only necessitation
RuleCitedDescription
R 1 Repeat: from an available A, derive A again.
MP 2 Modus Ponens: from A and A→B, derive B.
MT 2 Modus Tollens: from A→B and ¬B, derive ¬A.
DN 1 Double Negation: from ¬¬A derive A, or from A derive ¬¬A.
S 1 Simplification: from A∧B, derive A or B.
ADJ 2 Adjunction: from A and B, derive A∧B.
ADD 1 Addition: from A, derive A∨B or B∨A.
MTP 2 Modus Tollendo Ponens: from A∨B and ¬A, derive B (or ¬B derive A).
BC 1 Biconditional-to-Conditional: from A↔B, derive A→B.
CB 2 Conditional-to-Biconditional: from A→B, B→A, derive A↔B.
BP 2 Biconditional Ponens: from A↔B and A, derive B (or from A↔B and B, derive A).
BT 2 Biconditional Tollens: from A↔B and ¬A, derive ¬B (or from A↔B and ¬B, derive ¬A).
DM 1 De Morgan: ¬(A∧B) ⟺ ¬A∨¬B, ¬(A∨B) ⟺ ¬A∧¬B.
NC 1 Negated Conditional: ¬(A → B) ⟺ A ∧ ¬B.
NB 1 Negated Biconditional: ¬(A↔B) ⟺ (A↔¬B).
Def◇ 1 Def◇: ◇A ⟺ ¬□¬A (bidirectional).
DUAL 1 DUAL: all four modal duality equivalences.
K 1 K (Distribution): from □(A→B), derive □A→□B.
N 1 N (Necessitation): from A (proved without premises), derive □A. (cited must be premise-free SHOW)
System KD — Serial frames — adds □A → ◇A; truth at the current world is not assumed
RuleCitedDescription
R 1 Repeat: from an available A, derive A again.
MP 2 Modus Ponens: from A and A→B, derive B.
MT 2 Modus Tollens: from A→B and ¬B, derive ¬A.
DN 1 Double Negation: from ¬¬A derive A, or from A derive ¬¬A.
S 1 Simplification: from A∧B, derive A or B.
ADJ 2 Adjunction: from A and B, derive A∧B.
ADD 1 Addition: from A, derive A∨B or B∨A.
MTP 2 Modus Tollendo Ponens: from A∨B and ¬A, derive B (or ¬B derive A).
BC 1 Biconditional-to-Conditional: from A↔B, derive A→B.
CB 2 Conditional-to-Biconditional: from A→B, B→A, derive A↔B.
BP 2 Biconditional Ponens: from A↔B and A, derive B (or from A↔B and B, derive A).
BT 2 Biconditional Tollens: from A↔B and ¬A, derive ¬B (or from A↔B and ¬B, derive ¬A).
DM 1 De Morgan: ¬(A∧B) ⟺ ¬A∨¬B, ¬(A∨B) ⟺ ¬A∧¬B.
NC 1 Negated Conditional: ¬(A → B) ⟺ A ∧ ¬B.
NB 1 Negated Biconditional: ¬(A↔B) ⟺ (A↔¬B).
Def◇ 1 Def◇: ◇A ⟺ ¬□¬A (bidirectional).
DUAL 1 DUAL: all four modal duality equivalences.
K 1 K (Distribution): from □(A→B), derive □A→□B.
N 1 N (Necessitation): from A (proved without premises), derive □A. (cited must be premise-free SHOW)
D 1 D: from □A, derive ◇A.
System T — Reflexive frames — adds □A → A
RuleCitedDescription
R 1 Repeat: from an available A, derive A again.
MP 2 Modus Ponens: from A and A→B, derive B.
MT 2 Modus Tollens: from A→B and ¬B, derive ¬A.
DN 1 Double Negation: from ¬¬A derive A, or from A derive ¬¬A.
S 1 Simplification: from A∧B, derive A or B.
ADJ 2 Adjunction: from A and B, derive A∧B.
ADD 1 Addition: from A, derive A∨B or B∨A.
MTP 2 Modus Tollendo Ponens: from A∨B and ¬A, derive B (or ¬B derive A).
BC 1 Biconditional-to-Conditional: from A↔B, derive A→B.
CB 2 Conditional-to-Biconditional: from A→B, B→A, derive A↔B.
BP 2 Biconditional Ponens: from A↔B and A, derive B (or from A↔B and B, derive A).
BT 2 Biconditional Tollens: from A↔B and ¬A, derive ¬B (or from A↔B and ¬B, derive ¬A).
DM 1 De Morgan: ¬(A∧B) ⟺ ¬A∨¬B, ¬(A∨B) ⟺ ¬A∧¬B.
NC 1 Negated Conditional: ¬(A → B) ⟺ A ∧ ¬B.
NB 1 Negated Biconditional: ¬(A↔B) ⟺ (A↔¬B).
Def◇ 1 Def◇: ◇A ⟺ ¬□¬A (bidirectional).
DUAL 1 DUAL: all four modal duality equivalences.
K 1 K (Distribution): from □(A→B), derive □A→□B.
N 1 N (Necessitation): from A (proved without premises), derive □A. (cited must be premise-free SHOW)
T 1 T (Reflexivity): from □A, derive A.
D 1 D: from □A, derive ◇A.
System KB — Symmetric frames — adds A → □◇A, without assuming reflexivity
RuleCitedDescription
R 1 Repeat: from an available A, derive A again.
MP 2 Modus Ponens: from A and A→B, derive B.
MT 2 Modus Tollens: from A→B and ¬B, derive ¬A.
DN 1 Double Negation: from ¬¬A derive A, or from A derive ¬¬A.
S 1 Simplification: from A∧B, derive A or B.
ADJ 2 Adjunction: from A and B, derive A∧B.
ADD 1 Addition: from A, derive A∨B or B∨A.
MTP 2 Modus Tollendo Ponens: from A∨B and ¬A, derive B (or ¬B derive A).
BC 1 Biconditional-to-Conditional: from A↔B, derive A→B.
CB 2 Conditional-to-Biconditional: from A→B, B→A, derive A↔B.
BP 2 Biconditional Ponens: from A↔B and A, derive B (or from A↔B and B, derive A).
BT 2 Biconditional Tollens: from A↔B and ¬A, derive ¬B (or from A↔B and ¬B, derive ¬A).
DM 1 De Morgan: ¬(A∧B) ⟺ ¬A∨¬B, ¬(A∨B) ⟺ ¬A∧¬B.
NC 1 Negated Conditional: ¬(A → B) ⟺ A ∧ ¬B.
NB 1 Negated Biconditional: ¬(A↔B) ⟺ (A↔¬B).
Def◇ 1 Def◇: ◇A ⟺ ¬□¬A (bidirectional).
DUAL 1 DUAL: all four modal duality equivalences.
K 1 K (Distribution): from □(A→B), derive □A→□B.
N 1 N (Necessitation): from A (proved without premises), derive □A. (cited must be premise-free SHOW)
B 1 B (Brouwer): from A, derive □◇A.
System KTB — Reflexive and symmetric frames — KTB; transitivity is not assumed
RuleCitedDescription
R 1 Repeat: from an available A, derive A again.
MP 2 Modus Ponens: from A and A→B, derive B.
MT 2 Modus Tollens: from A→B and ¬B, derive ¬A.
DN 1 Double Negation: from ¬¬A derive A, or from A derive ¬¬A.
S 1 Simplification: from A∧B, derive A or B.
ADJ 2 Adjunction: from A and B, derive A∧B.
ADD 1 Addition: from A, derive A∨B or B∨A.
MTP 2 Modus Tollendo Ponens: from A∨B and ¬A, derive B (or ¬B derive A).
BC 1 Biconditional-to-Conditional: from A↔B, derive A→B.
CB 2 Conditional-to-Biconditional: from A→B, B→A, derive A↔B.
BP 2 Biconditional Ponens: from A↔B and A, derive B (or from A↔B and B, derive A).
BT 2 Biconditional Tollens: from A↔B and ¬A, derive ¬B (or from A↔B and ¬B, derive ¬A).
DM 1 De Morgan: ¬(A∧B) ⟺ ¬A∨¬B, ¬(A∨B) ⟺ ¬A∧¬B.
NC 1 Negated Conditional: ¬(A → B) ⟺ A ∧ ¬B.
NB 1 Negated Biconditional: ¬(A↔B) ⟺ (A↔¬B).
Def◇ 1 Def◇: ◇A ⟺ ¬□¬A (bidirectional).
DUAL 1 DUAL: all four modal duality equivalences.
K 1 K (Distribution): from □(A→B), derive □A→□B.
N 1 N (Necessitation): from A (proved without premises), derive □A. (cited must be premise-free SHOW)
T 1 T (Reflexivity): from □A, derive A.
D 1 D: from □A, derive ◇A.
B 1 B (Brouwer): from A, derive □◇A.
System K4 — Transitive frames — adds □A → □□A, without assuming reflexivity
RuleCitedDescription
R 1 Repeat: from an available A, derive A again.
MP 2 Modus Ponens: from A and A→B, derive B.
MT 2 Modus Tollens: from A→B and ¬B, derive ¬A.
DN 1 Double Negation: from ¬¬A derive A, or from A derive ¬¬A.
S 1 Simplification: from A∧B, derive A or B.
ADJ 2 Adjunction: from A and B, derive A∧B.
ADD 1 Addition: from A, derive A∨B or B∨A.
MTP 2 Modus Tollendo Ponens: from A∨B and ¬A, derive B (or ¬B derive A).
BC 1 Biconditional-to-Conditional: from A↔B, derive A→B.
CB 2 Conditional-to-Biconditional: from A→B, B→A, derive A↔B.
BP 2 Biconditional Ponens: from A↔B and A, derive B (or from A↔B and B, derive A).
BT 2 Biconditional Tollens: from A↔B and ¬A, derive ¬B (or from A↔B and ¬B, derive ¬A).
DM 1 De Morgan: ¬(A∧B) ⟺ ¬A∨¬B, ¬(A∨B) ⟺ ¬A∧¬B.
NC 1 Negated Conditional: ¬(A → B) ⟺ A ∧ ¬B.
NB 1 Negated Biconditional: ¬(A↔B) ⟺ (A↔¬B).
Def◇ 1 Def◇: ◇A ⟺ ¬□¬A (bidirectional).
DUAL 1 DUAL: all four modal duality equivalences.
K 1 K (Distribution): from □(A→B), derive □A→□B.
N 1 N (Necessitation): from A (proved without premises), derive □A. (cited must be premise-free SHOW)
S4 1 4 (Transitivity; legacy name S4): from □A, derive □□A.
4 1 4 (Transitivity; legacy name S4): from □A, derive □□A.
TRANS 1 4 (Transitivity; legacy name S4): from □A, derive □□A.
System S4 — Reflexive and transitive frames — T plus 4
RuleCitedDescription
R 1 Repeat: from an available A, derive A again.
MP 2 Modus Ponens: from A and A→B, derive B.
MT 2 Modus Tollens: from A→B and ¬B, derive ¬A.
DN 1 Double Negation: from ¬¬A derive A, or from A derive ¬¬A.
S 1 Simplification: from A∧B, derive A or B.
ADJ 2 Adjunction: from A and B, derive A∧B.
ADD 1 Addition: from A, derive A∨B or B∨A.
MTP 2 Modus Tollendo Ponens: from A∨B and ¬A, derive B (or ¬B derive A).
BC 1 Biconditional-to-Conditional: from A↔B, derive A→B.
CB 2 Conditional-to-Biconditional: from A→B, B→A, derive A↔B.
BP 2 Biconditional Ponens: from A↔B and A, derive B (or from A↔B and B, derive A).
BT 2 Biconditional Tollens: from A↔B and ¬A, derive ¬B (or from A↔B and ¬B, derive ¬A).
DM 1 De Morgan: ¬(A∧B) ⟺ ¬A∨¬B, ¬(A∨B) ⟺ ¬A∧¬B.
NC 1 Negated Conditional: ¬(A → B) ⟺ A ∧ ¬B.
NB 1 Negated Biconditional: ¬(A↔B) ⟺ (A↔¬B).
Def◇ 1 Def◇: ◇A ⟺ ¬□¬A (bidirectional).
DUAL 1 DUAL: all four modal duality equivalences.
K 1 K (Distribution): from □(A→B), derive □A→□B.
N 1 N (Necessitation): from A (proved without premises), derive □A. (cited must be premise-free SHOW)
T 1 T (Reflexivity): from □A, derive A.
D 1 D: from □A, derive ◇A.
S4 1 4 (Transitivity; legacy name S4): from □A, derive □□A.
4 1 4 (Transitivity; legacy name S4): from □A, derive □□A.
TRANS 1 4 (Transitivity; legacy name S4): from □A, derive □□A.
System K45 — Transitive and Euclidean frames — 4 and 5, without assuming seriality
RuleCitedDescription
R 1 Repeat: from an available A, derive A again.
MP 2 Modus Ponens: from A and A→B, derive B.
MT 2 Modus Tollens: from A→B and ¬B, derive ¬A.
DN 1 Double Negation: from ¬¬A derive A, or from A derive ¬¬A.
S 1 Simplification: from A∧B, derive A or B.
ADJ 2 Adjunction: from A and B, derive A∧B.
ADD 1 Addition: from A, derive A∨B or B∨A.
MTP 2 Modus Tollendo Ponens: from A∨B and ¬A, derive B (or ¬B derive A).
BC 1 Biconditional-to-Conditional: from A↔B, derive A→B.
CB 2 Conditional-to-Biconditional: from A→B, B→A, derive A↔B.
BP 2 Biconditional Ponens: from A↔B and A, derive B (or from A↔B and B, derive A).
BT 2 Biconditional Tollens: from A↔B and ¬A, derive ¬B (or from A↔B and ¬B, derive ¬A).
DM 1 De Morgan: ¬(A∧B) ⟺ ¬A∨¬B, ¬(A∨B) ⟺ ¬A∧¬B.
NC 1 Negated Conditional: ¬(A → B) ⟺ A ∧ ¬B.
NB 1 Negated Biconditional: ¬(A↔B) ⟺ (A↔¬B).
Def◇ 1 Def◇: ◇A ⟺ ¬□¬A (bidirectional).
DUAL 1 DUAL: all four modal duality equivalences.
K 1 K (Distribution): from □(A→B), derive □A→□B.
N 1 N (Necessitation): from A (proved without premises), derive □A. (cited must be premise-free SHOW)
S4 1 4 (Transitivity; legacy name S4): from □A, derive □□A.
4 1 4 (Transitivity; legacy name S4): from □A, derive □□A.
TRANS 1 4 (Transitivity; legacy name S4): from □A, derive □□A.
5 1 5 (Euclidean frames; command alias EUCL): from ◇A, derive □◇A.
EUCL 1 5 (Euclidean frames; command alias EUCL): from ◇A, derive □◇A.
System KD45 — Serial, transitive and Euclidean frames — consistent introspective belief
RuleCitedDescription
R 1 Repeat: from an available A, derive A again.
MP 2 Modus Ponens: from A and A→B, derive B.
MT 2 Modus Tollens: from A→B and ¬B, derive ¬A.
DN 1 Double Negation: from ¬¬A derive A, or from A derive ¬¬A.
S 1 Simplification: from A∧B, derive A or B.
ADJ 2 Adjunction: from A and B, derive A∧B.
ADD 1 Addition: from A, derive A∨B or B∨A.
MTP 2 Modus Tollendo Ponens: from A∨B and ¬A, derive B (or ¬B derive A).
BC 1 Biconditional-to-Conditional: from A↔B, derive A→B.
CB 2 Conditional-to-Biconditional: from A→B, B→A, derive A↔B.
BP 2 Biconditional Ponens: from A↔B and A, derive B (or from A↔B and B, derive A).
BT 2 Biconditional Tollens: from A↔B and ¬A, derive ¬B (or from A↔B and ¬B, derive ¬A).
DM 1 De Morgan: ¬(A∧B) ⟺ ¬A∨¬B, ¬(A∨B) ⟺ ¬A∧¬B.
NC 1 Negated Conditional: ¬(A → B) ⟺ A ∧ ¬B.
NB 1 Negated Biconditional: ¬(A↔B) ⟺ (A↔¬B).
Def◇ 1 Def◇: ◇A ⟺ ¬□¬A (bidirectional).
DUAL 1 DUAL: all four modal duality equivalences.
K 1 K (Distribution): from □(A→B), derive □A→□B.
N 1 N (Necessitation): from A (proved without premises), derive □A. (cited must be premise-free SHOW)
D 1 D: from □A, derive ◇A.
S4 1 4 (Transitivity; legacy name S4): from □A, derive □□A.
4 1 4 (Transitivity; legacy name S4): from □A, derive □□A.
TRANS 1 4 (Transitivity; legacy name S4): from □A, derive □□A.
5 1 5 (Euclidean frames; command alias EUCL): from ◇A, derive □◇A.
EUCL 1 5 (Euclidean frames; command alias EUCL): from ◇A, derive □◇A.
System S5 — Equivalence frames — reflexivity, symmetry and transitivity; includes 5
RuleCitedDescription
R 1 Repeat: from an available A, derive A again.
MP 2 Modus Ponens: from A and A→B, derive B.
MT 2 Modus Tollens: from A→B and ¬B, derive ¬A.
DN 1 Double Negation: from ¬¬A derive A, or from A derive ¬¬A.
S 1 Simplification: from A∧B, derive A or B.
ADJ 2 Adjunction: from A and B, derive A∧B.
ADD 1 Addition: from A, derive A∨B or B∨A.
MTP 2 Modus Tollendo Ponens: from A∨B and ¬A, derive B (or ¬B derive A).
BC 1 Biconditional-to-Conditional: from A↔B, derive A→B.
CB 2 Conditional-to-Biconditional: from A→B, B→A, derive A↔B.
BP 2 Biconditional Ponens: from A↔B and A, derive B (or from A↔B and B, derive A).
BT 2 Biconditional Tollens: from A↔B and ¬A, derive ¬B (or from A↔B and ¬B, derive ¬A).
DM 1 De Morgan: ¬(A∧B) ⟺ ¬A∨¬B, ¬(A∨B) ⟺ ¬A∧¬B.
NC 1 Negated Conditional: ¬(A → B) ⟺ A ∧ ¬B.
NB 1 Negated Biconditional: ¬(A↔B) ⟺ (A↔¬B).
Def◇ 1 Def◇: ◇A ⟺ ¬□¬A (bidirectional).
DUAL 1 DUAL: all four modal duality equivalences.
K 1 K (Distribution): from □(A→B), derive □A→□B.
N 1 N (Necessitation): from A (proved without premises), derive □A. (cited must be premise-free SHOW)
T 1 T (Reflexivity): from □A, derive A.
D 1 D: from □A, derive ◇A.
S4 1 4 (Transitivity; legacy name S4): from □A, derive □□A.
4 1 4 (Transitivity; legacy name S4): from □A, derive □□A.
TRANS 1 4 (Transitivity; legacy name S4): from □A, derive □□A.
B 1 B (Brouwer): from A, derive □◇A.
5 1 5 (Euclidean frames; command alias EUCL): from ◇A, derive □◇A.
EUCL 1 5 (Euclidean frames; command alias EUCL): from ◇A, derive □◇A.

Nolt's Modal Rules

  • DUAL: All four duality equivalences: □A ↔ ¬◊¬A, ◊A ↔ ¬□¬A, ¬□A ↔ ◊¬A, ¬◊A ↔ □¬A.
  • K (Distribution): From □(A→B), derive □A→□B.
  • N (Necessitation): From a completed SHOW line that used no premises or external lines, derive □A. The cited subderivation must be entirely self-contained.
  • T (Reflexivity, T+): From □A, derive A.
  • D (Seriality): From □A, derive ◊A. Available in KD and systems whose frame conditions imply seriality.
  • 4 / S4 / TRANS (Transitivity): From □A, derive □□A.
  • B (Symmetry): From A, derive □◊A. Available in KB, KTB, and S5.
  • 5 / EUCL (Euclideanness): From ◊A, derive □◊A. Available in K45, KD45, and S5.

Keyboard Shortcuts

Press Alt + key while focused on any formula input:

KeyInsertsSymbol
Alt+A&∧ Conjunction
Alt+Ov∨ Disjunction
Alt+C->→ Conditional
Alt+B<->↔ Biconditional
Alt+N[]□ Necessity
Alt+P<>◊ Possibility
Alt+U@∀ Universal (predicate)
Alt+E$∃ Existential (predicate)
Alt+I== Identity (predicate)

Command Bar

Type commands directly to build derivations quickly:

CommandAction
show concOpen a direct derivation of the conclusion. Add CD, ID, UD, or EI to choose a different strategy.
show conc cdShow the conclusion with CD strategy
show P -> Q cdShow a specific formula with CD
show @xGx udShow a universal with UD strategy
show $xGx ei 1Show with EI, citing line 1 as existential source
ass cdOpen a CD subderivation for the current goal
ass idOpen an ID subderivation for the current goal
3 4 mpApply MP to lines 3 and 4 (auto-computes result)
1 4 / 1 5Apply the modal transitivity / Euclidean rule to line 1 in a system permitting it.
1 sl / 1 srTake the left / right conjunct of line 1. Equivalent to 1 s l / 1 s r.
1 r / 1 repRepeat the formula on available line 1. Closed subproof lines and unproved SHOW lines cannot be cited.
1 ui aApply UI to line 1 with term a
=i aDerive a = a (identity introduction, zero premises)
1 2 =eApply identity elimination to lines 1 and 2 (auto-picks direction)
1 2 =e aApply =E replacing only term a
1 2 =e l / rPick left or right result when multiple substitutions exist
coComplete the current subderivation

Rule names are case-insensitive. Aliases: defd for Def◊, dl for DUAL, nec for N, brouwer for B, demorgan for DM, eqi/idi for =I, eqe/ide for =E.

Multi-result rules (S, DM, NC, NB, DUAL, QN, =E) support l/r to pick the left or right result: 1 s l for left conjunct, 1 s r for right. Default is left.

In the manual form, you can also enter SL or SR as the rule, cite the conjunction line, and enter its left or right conjunct as the formula.

For Repeat in the manual form, enter R (or REP), cite one available line, and enter the same formula. In 1 s r, the final r still selects the right conjunct.

Chain commands with ; — e.g. 3 4 mp; 5 ui a; co. Execution stops at the first error.