Logical Notation IELL
Logical Notation IELL
not p:
p, - p, ~ p, p
p and q:
p q, p q, p & q, p q
p or q:
pq
p implies q:
p q, p q, p q
p is equivalent to q:
p q, p q, p q
In each case, the first symbol is the most widely accepted. In addition to functors,
propositional logic also contains symbols for pragmatic connectives used in proofs, such
as entailment, which usually uses a single arrow (), and assertion, which uses a variety
of symbols, including .
There are also parentheses, since grouping of formulae can introduce significant
ambiguity, which is anathema in logic. In extended use, parentheses were found to be
burdensome, since balancing them was a frequent source of avoidable error. To combat
this, Whitehead and Russell in their monumental Principia Mathematica (1910-13),
developed a special parenthesis-free notation to augment their Classical formulae, based
on using groups of 1, 2, 3, dots to separate propositions. This version is rarely seen
today.
Polish notation was developed and popularized by Jan ukasiewicz (1878-1956) in the
early 1920s as a byproduct of his development of ternary logic, for which he also
invented the truth table . In this notation, propositions are again represented by lowercase letters, but functors are upper-case letters placed immediately before their
argument(s): not p is Np, p and q is Kpq, p or q is Apq, p implies q is Cpq, and
p is equivalent to q is Epq. Since functors form valid propositions, these can be nested
indefinitely without recourse to parentheses; for instance, De Morgans Laws, which are
stated in Classical notation as (p q) p q and (p q) p q, are stated in
Polish notation respectively as EKNpqANpNq and EANpqKNpNq.
Since the prefixal position of the Polish functors is arbitrary, a postfixal variant, called
Reverse Polish Notation, or RPN (linguists always note that it should be called Japanese
Notation, because it acts exactly like an SOV language ), is equally valid, and is widely
used in computing circles, since it turns out to be ideally adapted to performing
calculations using a pushdown stack . In RPN, De Morgans laws are stated as
pNqKpNqNAE and pNqApNqNKE.
Modal Logic, an extension of propositional calculus into modality, introduces two more
common notational symbols, p for p is possibly true (in Polish notation Mp, for
Mglich), and p for p is necessarily true (Polish Lp, for Logisch). De Morgans Laws
for modal logic (where is associated with and with see McCawley 1993 for
details) can thus be stated
and
p p
(Polish ENLpMNp)
p p
(Polish ENMpLNp).
3
Predicate Calculus. Quantified Predicate Calculus (both First- and Second-Order) was
first axiomatized and used notationally by Gottlob Frege (1848-1925) in 1879, a quartercentury after Boole. In predicate calculus, the atomic proposition of propositional
calculus is split into predicate and argument(s), allowing far more representation of actual
natural language phenomena. To represent predication, Frege introduced the nowstandard functional notation, widely used in mathematics. In this notation, an atomic
proposition p could now be seen to consist of a predicate (typically using upper-case
letters) operating on arguments expressed by following parenthesized variables, in the
same way as a mathematical function like f (x,y) = (x2+ y2), e.g, TALL (x) = X is tall,
SEE (x, y) = X sees Y, and GIVE (x, y, z) = X gives Y to Z.
In particular, quantifiers were separated by Frege for the first time from their traditional
Aristotelian A, E, I, O notation. Quantifiers in natural language are specialized words that
often involve special syntax; normally they appear in construction with some noun,
which they are said to bind. However, their syntax varies widely, and quantifier
ambiguities are frequent.
Modern logic admits what McCawley 1993 calls the logicians favorite quantifiers:
the existential quantifier, x, pronounced for some x or there exists an x,
and
the universal quantifier, x, pronounced for all/every/each x.
The xs in each case are dummy variables; they do no more than indicate which variable
in the proposition following is to be considered bound by the quantifier.
Quantifiers are rigidly controlled in the formulae in order to avoid ambiguity (and indeed
to allow natural language ambiguities to be explicated). They are placed before the
formula containing the variable they bind,and their relative placement serves to denote
the concept of scope, which is highly relevant to the three natural language elements
represented in logic by operators, i.e, quantification, negation, and modality, all of which
govern scope phenomena like Negative Polarity . Thus the two ambiguous readings of A
boy beat every girl at tennis are represented by (x) (y) BEAT (x, y) and (y) (x)
BEAT (x, y).
Naturally, there are variations in quantifier notation as well: a formula like De Morgans
Laws for quantifiers, which can be written ENPxxSxNx and ENSxxPxNx [Px is
(x) and Sx is (x)] in Polish notation, comes out as (x) (x) (x) (x) and
(x) (x) (x) (x) in Classical notation, which also optionally admits a simple
parenthesized variable (x) instead of (x), and also one with a circumflex hat ()
instead of (y), in the appropriate position. The use of parentheses, colons, brackets, and
other punctuation with quantifiers is inconsistent and follows individual style, which is
usually oriented towards scope delimitation.
References
Bochenski, I. M., O.P. (1948; 1960). Precis de Logique Mathematique.
Boole, George (1854). An Investigation of The Laws of Thought, on Which Are Founded
the Mathematical Theories of Logic and Probabilities.
Frege, Gottlob (1879). Begriffsschrift, eine der arithmetischen nachgebildete
Formelsprache des reinen Denkens.
McCawley, James D. (1993). Everything that Linguists have Always Wanted to Know
About Logic (but were Ashamed to Ask (2nd ed).
4