Appendix A

Notation

Johannes Korbmacher about 9 min read

To type symbols in the apps, go to the LaTeX cheat sheet .

Use this table to look up a symbol or read an expression. Related entries sit together: sets and strings first, then formulas, models and proofs, and finally uncertainty and learning. Linked terms open the glossary .

A, B, and C stand for formulas; Γ (capital gamma) stands for a set of assumptions.

NotationReading and meaning
x ∈ S, x ∉ Sx is, or is not, a member of the set (glossary, opens in a new tab) S.
S ⊆ TS is a subset of T: every member of S belongs to T. Equality is allowed.
The empty set: a set with no members.
S ∩ TThe intersection: members common to S and T.
S ∪ TThe union: members of S or T, including those in both.
Σ, Σ*An alphabet (glossary, opens in a new tab) and the set of all finite strings over it, including the empty string. See formal language (glossary, opens in a new tab) .
p₁, p₂, …Propositional variables (glossary, opens in a new tab) ; the subscripts distinguish them.
¬ANot A (negation (glossary, opens in a new tab) ).
A ∧ BA and B (conjunction (glossary, opens in a new tab) ).
A ∨ BA or B, including both (disjunction (glossary, opens in a new tab) ).
A → BIf A, then B (conditional (glossary, opens in a new tab) ).
A ↔ BA if and only if B (equivalence (glossary, opens in a new tab) ).
, Falsity and truth constants; in classical logic, always false and always true, respectively. See contradiction (glossary, opens in a new tab) and tautology (glossary, opens in a new tab) .
∀x A(x)For every object x in the domain, A(x) (universal quantifier (glossary, opens in a new tab) ).
∃x A(x)For some object x in the domain, A(x) (existential quantifier (glossary, opens in a new tab) ).
a = bThe terms a and b denote the same object (identity (glossary, opens in a new tab) ).
A[x/t]Substitute t for the free occurrences of x in A, avoiding variable capture (substitution (glossary, opens in a new tab) ).
Apply the substitution σ to A, as in unification (glossary, opens in a new tab) .
DThe domain (glossary, opens in a new tab) of a first-order model: its nonempty set of objects.
v(A)The truth-value of A under the valuation (glossary, opens in a new tab) v.
⟦a⟧, ⟦R⟧, ⟦A⟧The interpretation of a name, predicate, or formula; see semantic brackets below.
M ⊨ AA is true in model M; checking this is model checking (glossary, opens in a new tab) .
M, s ⊨ AA is true in M under assignment s, which supplies values for free variables (glossary, opens in a new tab) .
Γ ⊨ AEvery model of all formulas in Γ makes A true (entailment (glossary, opens in a new tab) ).
Γ ⊭ ASome model of all formulas in Γ does not make A true: a countermodel (glossary, opens in a new tab) .
Γ ⊢ AThere is a proof of A from Γ in the specified calculus (derivability (glossary, opens in a new tab) ).
Γ ⊬ AThere is no proof (glossary, opens in a new tab) of A from Γ in the specified calculus.
P₁, …, Pₙ ∴ CPremises P₁, …, Pₙ; therefore C. Presents an inference (glossary, opens in a new tab) without asserting its validity.
0, 1, ω in K3False, true, and unknown. Only 1 is a designated value (glossary, opens in a new tab) .
μCold(T)The degree to which temperature T is cold (fuzzy predicate (glossary, opens in a new tab) ).
Ω, ω ∈ ΩA sample space and an outcome belonging to it (probability (glossary, opens in a new tab) ).
p(ω)The probability mass assigned to outcome ω.
Pr(A)The probability of A.
Pr(A | B)The conditional probability (glossary, opens in a new tab) of A given B: Pr(A ∧ B) / Pr(B), provided Pr(B) > 0.
P₁, …, Pₙ CInductive validity (glossary, opens in a new tab) : the premises jointly weakly raise the probability of C under every distribution where their conjunction has positive probability.
Cn(K)All logical consequences of the set K (deductive closure (glossary, opens in a new tab) ).
KB + AExpand the knowledge base KB by A: Cn(KB ∪ {A}) (expansion (glossary, opens in a new tab) ).
KB * ARevise KB in light of A (belief revision (glossary, opens in a new tab) ).

Reading the notation

Formulas, truth, and proofs. is a connective inside a formula. and belong to our language about formulas: they express semantic and proof-theoretic claims, respectively. The expression to the left of matters: M ⊨ A concerns one model, while Γ ⊨ A concerns every model of the assumptions. The symbol presents an inference for consideration; it does not certify validity.

Semantic brackets. Their meaning depends on what they enclose and the chapter’s definition. In first-order logic, ⟦a⟧ is an object’s denotation (glossary, opens in a new tab) , ⟦f⟧ is a function, and ⟦R⟧ is a predicate’s extension. For formulas, ⟦A⟧ can be a truth-value or a set of satisfying valuations. In the first-order database discussion, ⟦A(x)⟧ is the set of objects satisfying an open formula; in fuzzy logic, ⟦A⟧ is a numerical degree. Check the surrounding definition to see which is intended.

Uncertainty. The outcome symbol ω is unrelated to the unknown truth-value ω in K3. A fuzzy degree of 0.5 is not automatically a probability of 0.5: one measures degree of membership, the other probability. For the book’s inductive-inference symbol, “weakly raise” means Pr(C | E) ≥ Pr(C), where E = P₁ ∧ … ∧ Pₙ. The requirement is imposed for every distribution with Pr(E) > 0; it does not require a strict increase.

LaTeX cheat sheet

Typing in the apps

In the book’s formula inputs, type a backslash \ followed by a command: \neg turns into ¬ as you type. You can also paste a whole expression. Don’t include dollar signs ($). Ordinary letters and round brackets can be typed directly; leave a space after a command before the next letter.

To enterTypeMeaning
¬\negNot
\landAnd
\lorOr
\toIf … then
\leftrightarrowIf and only if
p₁p_1Variable with a subscript
p₁₂p_{12}Use braces for a longer subscript

The commands are case-sensitive. Alternatives are \lnot for ¬, \wedge for , \vee for , and \rightarrow for . You can also copy the symbols themselves into an input.

Complete examples for the parsing app

Copy an entry from the left column into the parsing app :

Type or pasteResult
\neg p_1¬p₁
(p_1 \land p_2)(p₁ ∧ p₂)
\neg(p_1 \lor p_2)¬(p₁ ∨ p₂)
((p_1 \land p_2) \to \neg p_3)((p₁ ∧ p₂) → ¬p₃)
(p_1 \leftrightarrow p_2)(p₁ ↔ p₂)

The parser accepts p₁, p₂, … and the shorthand p, q, r. In its fully bracketed mode, every two-place connective needs its own pair of brackets: use (p \land q), not p \land q. Negation needs no extra pair: \neg p is fine. In the formula builder, the input takes a single variable, such as p_1; the operator controls combine formulas for you.

More symbols

These commands also convert in the apps’ formula inputs. A converted symbol still has to belong to the language of the app: the propositional parser, for example, accepts neither quantifiers nor set symbols.

To enterTypeMeaning
, \bot, \topFalsity, truth
, \forall, \existsFor every, for some
, \in, \notinMember, not a member
\subseteqSubset (possibly equal)
\emptysetEmpty set
, \cap, \cupIntersection, union
, \models, \not\modelsEntails, does not entail
, \vdash, \nvdashDerivable, not derivable
\thereforeTherefore
Γ, Σ\Gamma, \SigmaCapital gamma, capital sigma
Ω, ω\Omega, \omegaCapital omega, lowercase omega
μ\muLowercase mu

For the meanings of whole expressions, such as M ⊨ A and Γ ⊨ A, see the symbol lookup above.

Writing a LaTeX document

In a LaTeX document, put formulas in math mode by surrounding them with dollar signs. For example, write $\neg(p_1 \land p_2)$ to produce ¬(p₁ ∧ p₂). The dollar signs mark the formula; they aren’t displayed.

An underscore introduces a subscript (p_{12}); a caret introduces a superscript (\Sigma^*). Braces group the characters in a subscript or superscript and aren’t displayed. Some commands, including \nvdash and \therefore, require \usepackage{amssymb} in the document’s preamble. For semantic brackets, use \llbracket and \rrbracket with \usepackage{stmaryrd}. The book’s custom inductive-inference symbol has no standard LaTeX command.

The apps only convert a selection of commands to symbols. They don’t process general LaTeX, including \sigma, \mid, superscripts, or semantic-bracket commands. In a LaTeX document, \sigma gives σ and \mid gives the vertical bar in Pr(A | B).