Propositional Calculus
Propositional Calculus
calculus
Explanation
Logical connectives are found in natural
languages. In English for example, some
examples are "and" (conjunction), "or"
(disjunction), "not” (negation) and "if" (but
only when used to denote material
conditional).
The following is an example of a very
simple inference within the scope of
propositional logic:
Premise 1:
Premise 2:
Conclusion:
History
Although propositional logic (which is
interchangeable with propositional
calculus) had been hinted by earlier
philosophers, it was developed into a
formal logic by Chrysippus in the 3rd
century BC[1] and expanded by his
successor Stoics. The logic was focused
on propositions. This advancement was
different from the traditional syllogistic
logic which was focused on terms.
However, later in antiquity, the
propositional logic developed by the Stoics
was no longer understood. Consequently,
the system was essentially reinvented by
Peter Abelard in the 12th century.[2]
Terminology
In general terms, a calculus is a formal
system that consists of a set of syntactic
expressions (well-formed formulas), a
distinguished subset of these expressions
(axioms), plus a set of formal rules that
define a specific binary relation, intended
to be interpreted as logical equivalence, on
the space of expressions.
Basic concepts
The following outlines a standard
propositional calculus. Many different
formulations exist which are all more or
less equivalent but differ in the details of:
Argument
Generic description of a
propositional calculus
A propositional calculus is a formal
system , where:
1. By rule 1, p is a formula.
2. By rule 2, is a formula.
3. By rule 1, q is a formula.
4. By rule 2, is a formula.
Negation introduction
From and , infer
.
That is, .
Negation elimination
From , infer .
That is, .
Double negative elimination
From , infer p.
That is, .
Conjunction introduction
From p and q, infer .
That is, .
Conjunction elimination
From , infer p.
From , infer q.
That is, and .
Disjunction introduction
From p, infer .
From q, infer .
That is, and .
Disjunction elimination
From and and
, infer r.
That is, .
Biconditional introduction
From and , infer
.
That is, .
Biconditional elimination
From , infer .
From , infer .
That is, and
.
Modus ponens (conditional
elimination)
From p and , infer q.
That is, .
Conditional proof (conditional
introduction)
From [accepting p allows a proof of q],
infer .
That is, .
Hypothetical
If p then q; if q then r; therefore, if p then r
Syllogism
Law of Non-
p and not p is false, is a true statement
Contradiction
Proofs in propositional
calculus
One of the main uses of a propositional
calculus, when interpreted for logical
applications, is to determine relations of
logical equivalence between propositional
formulas. These relationships are
determined by means of the available
transformation rules, sequences of which
are called derivations or proofs.
Example of a proof
To be shown that A → A.
One possible proof of this (which,
though valid, happens to contain more
steps than are necessary) may be
arranged as follows:
Example of a Proof
Number Formula Reason
1 premise
QED
Interpretation of a truth-
functional propositional
calculus
An interpretation of a truth-functional
propositional calculus is an assignment
to each propositional symbol of of one
or the other (but not both) of the truth
values truth (T) and falsity (F), and an
assignment to the connective symbols of
of their usual truth-functional meanings.
An interpretation of a truth-functional
propositional calculus may also be
expressed in terms of truth tables.[11]
1. is assigned T, or
2. is assigned F.
Interpretation of a sentence of
truth-functional propositional
logic
Alternative calculus
It is possible to define another version of
propositional calculus, which defines most
of the syntax of the logical operators by
means of axioms, and which uses only
one inference rule.
Axioms
THEN-
Distribute hypothesis φ over implication
2
AND-2
OR-2
IFF-2
Inference rule
Meta-inference rule
If the sequence
If the sequence
If
then
1:
2:
and from (1) and (2) can be deduced
3:
by means of modus ponens, Q.E.D.
Example of a proof
The following is an example of a
(syntactical) demonstration, involving only
axioms THEN-1 and THEN-2:
Proof:
1.
2.
Axiom THEN-1 with
3.
From (1) and (2) by modus ponens.
4.
Axiom THEN-1 with
5.
From (3) and (4) by modus ponens.
Equivalence to equational
logics
The preceding alternative calculus is an
example of a Hilbert-style deduction
system. In the case of propositional
systems the axioms are terms built with
logical connectives and the only inference
rule is modus ponens. Equational logic as
standardly used informally in high school
algebra is a different kind of calculus from
Hilbert systems. Its theorems are
equations and its inference rules express
the properties of equality, namely that it is
a congruence on terms that admits
substitution.
Graphical calculi
It is possible to generalize the definition of
a formal language from a set of finite
sequences over a finite basis to include
many other sets of mathematical
structures, so long as they are built up by
finitary means from finite materials.
What's more, many of these families of
formal structures are especially well-
suited for use in logic.
Solvers
Finding solutions to propositional logic
formulas is an NP-complete problem.
However, practical methods exist (e.g.,
DPLL algorithm, 1962; Chaff algorithm,
2001) that are very fast for many useful
cases. Recent work has extended the SAT
solver algorithms to work with
propositions containing arithmetic
expressions; these are the SMT solvers.
See also
Higher logical levels
First-order logic
Second-order propositional logic
Second-order logic
Higher-order logic
Related topics
Boolean algebra (logic)
Boolean algebra (structure)
Boolean algebra topics
Boolean domain
Boolean function
Boolean-valued function
Categorical logic
Combinational logic
Combinatory logic
Conceptual graph
Disjunctive syllogism
Entitative graph
Equational logic
Existential graph
Frege's propositional calculus
Implicational propositional calculus
Intuitionistic propositional calculus
Jean Buridan
Laws of Form
Logical graph
Logical NOR
Logical value
Operation
Paul of Venice
Peirce's law
Peter of Spain
Propositional formula
Symmetric difference
Truth function
Truth table
Walter Burley
William of Sherwood
References
1. Bobzien, Susanne (1 January 2016).
Zalta, Edward N., ed. The Stanford
Encyclopedia of Philosophy – via Stanford
Encyclopedia of Philosophy.
2. Marenbon, John (2007). Medieval
philosophy: an historical and philosophical
introduction. Routledge. p. 137.
3. Peckhaus, Volker (1 January 2014). Zalta,
Edward N., ed. The Stanford Encyclopedia
of Philosophy – via Stanford Encyclopedia
of Philosophy.
4. Hurley, Patrick (2007). A Concise
Introduction to Logic 10th edition.
Wadsworth Publishing. p. 392.
5. Beth, Evert W.; "Semantic entailment and
formal derivability", series: Mededlingen van
de Koninklijke Nederlandse Akademie van
Wetenschappen, Afdeling Letterkunde,
Nieuwe Reeks, vol. 18, no. 13, Noord-
Hollandsche Uitg. Mij., Amsterdam, 1955,
pp. 309–42. Reprinted in Jaakko Intikka
(ed.) The Philosophy of Mathematics,
Oxford University Press, 1969
6. Truth in Frege
7. "Russell: the Journal of Bertrand Russell
Studies" .
8. Anellis, Irving H. (2012). "Peirce's Truth-
functional Analysis and the Origin of the
Truth Table". History and Philosophy of
Logic. 33: 87–97.
doi:10.1080/01445340.2011.621702 .
9. Wernick, William (1942) "Complete Sets
of Logical Functions," Transactions of the
American Mathematical Society 51, pp.
117–132.
10. Toida, Shunichi (2 August 2009). "Proof
of Implications" . CS381 Discrete
Structures/Discrete Mathematics Web
Course Material. Department Of Computer
Science, Old Dominion University. Retrieved
10 March 2010.
11. Hunter, Geoffrey (1971). Metalogic: An
Introduction to the Metatheory of Standard
First-Order Logic. University of California
Pres. ISBN 0-520-02356-0.
Further reading
Brown, Frank Markham (2003), Boolean
Reasoning: The Logic of Boolean
Equations, 1st edition, Kluwer Academic
Publishers, Norwell, MA. 2nd edition,
Dover Publications, Mineola, NY.
Chang, C.C. and Keisler, H.J. (1973),
Model Theory, North-Holland,
Amsterdam, Netherlands.
Kohavi, Zvi (1978), Switching and Finite
Automata Theory, 1st edition, McGraw–
Hill, 1970. 2nd edition, McGraw–Hill,
1978.
Korfhage, Robert R. (1974), Discrete
Computational Structures, Academic
Press, New York, NY.
Lambek, J. and Scott, P.J. (1986),
Introduction to Higher Order Categorical
Logic, Cambridge University Press,
Cambridge, UK.
Mendelson, Elliot (1964), Introduction to
Mathematical Logic, D. Van Nostrand
Company.
Related works
Hofstadter, Douglas (1979). Gödel,
Escher, Bach: An Eternal Golden Braid.
Basic Books. ISBN 978-0-465-02656-2.
External links
Klement, Kevin C. (2006), "Propositional
Logic", in James Fieser and Bradley
Dowden (eds.), Internet Encyclopedia of
Philosophy, Eprint .
Formal Predicate Calculus , contains a
systematic formal development along
the lines of Alternative calculus
forall x: an introduction to formal logic ,
by P.D. Magnus, covers formal
semantics and proof theory for
sentential logic.
Chapter 2 / Propositional Logic from
Logic In Action
Propositional sequent calculus prover
on Project Nayuki. (note: implication can
be input in the form !X|Y, and a sequent
can be a single formula prefixed with >
and having no commas)
Retrieved from
"https://en.wikipedia.org/w/index.php?
title=Propositional_calculus&oldid=818286834"