# Propositional calculus

☞ This page belongs to resource collections on Logic and Inquiry.

A **propositional calculus** (or a **sentential calculus**) is a formal system that represents the materials and the principles of *propositional logic* (or *sentential logic*). Propositional logic is a domain of formal subject matter that is, up to somorphism, constituted by the structural relationships of mathematical objects called *propositions*.

In general terms, a calculus is a formal system that consists of a set of syntactic expressions (*well-formed formulas* or *wffs*), a distinguished subset of these expressions, plus a set of transformation rules that define a binary relation on the space of expressions.

When the expressions are interpreted for mathematical purposes, the transformation rules are typically intended to preserve some type of semantic equivalence relation among the expressions. In particular, when the expressions are interpreted as a logical system, the semantic equivalence is typically intended to be logical equivalence. In this setting, the transformation rules can be used to derive logically equivalent expressions from any given expression. These derivations include as special cases (1) the problem of *simplifying* expressions and (2) the problem of deciding whether a given expression is equivalent to an expression in the distinguished subset, typically interpreted as the subset of logical *axioms*.

The set of axioms may be empty, a nonempty finite set, a countably infinite set, or given by axiom schemata. A formal grammar recursively defines the expressions and well-formed formulas (wffs) of the language. In addition a semantics is given which defines truth and valuations (or interpretations). It allows us to determine which wffs are valid, that is, are theorems.

The language of a propositional calculus consists of (1) a set of primitive symbols, variously referred to as *atomic formulas*, *placeholders*, *proposition letters*, or *variables*, and (2) a set of operator symbols, variously interpreted as *logical operators* or *logical connectives*. A *well-formed formula* (*wff*) is any atomic formula or any formula that can be built up from atomic formulas by means of operator symbols.

The following outlines a standard propositional calculus. Many different formulations exist which are all more or less equivalent but differ in (1) their language, that is, the particular collection of primitive symbols and operator symbols, (2) the set of axioms, or distingushed formulas, and (3) the set of transformation rules that are available.

## Abstraction and applicationEdit

Although it is possible to construct an abstract formal calculus that has no immediate practical use and next to nothing in the way of obvious applications, the very name *calculus* indicates that this species of formal system owes its origin to the utility of its prototypical members in practical calculation. Generally speaking, any mathematical calculus is designed with the intention of representing a given domain of formal objects, and typically with the aim of facilitating the computations and inferences that need to be carried out in this representation. Thus some idea of the intended denotation, the formal objects that the formulas of the calculus are intended to denote, is given in advance of developing the calculus itself.

Viewed over the course of its historical development, a formal calculus for any given subject matter normally arises through a process of gradual abstraction, stepwise refinement, and trial-and-error synthesis from the array of informal notational systems that inform prior use, each of which covers the object domain only in part or from a particular angle.

## Generic description of a propositional calculusEdit

A **propositional calculus** is a formal system , whose formulas are constructed in the following manner:

- The
*alpha set*is a finite set of elements called*proposition symbols*or*propositional variables*. Syntactically speaking, these are the most basic elements of the formal language otherwise referred to as*atomic formulas*or*terminal elements*. In the examples to follow, the elements of are typically the letters*p*,*q*,*r*, and so on.

- The
*omega set*is a finite set of elements called*operator symbols*or*logical connectives*. The set is partitioned into disjoint subsets as follows:

- In this partition, is the set of operator symbols of
*arity*

- In the more familiar propositional calculi, is typically partitioned as follows:

- A frequently adopted option treats the constant logical values as operators of arity zero, thus:

- Some writers use the tilde (~) instead of (¬) and some use the ampersand (&) instead of (∧). Notation varies even more for the set of logical values, with symbols like {false, true}, {F, T}, {0, 1}, and { , } all being seen in various contexts.

- Depending on the precise formal grammar or the grammar formalism that is being used, syntactic auxiliaries like the left parenthesis, "(", and the right parentheses, ")", may be necessary to complete the construction of formulas.

The *language* of , also known as its set of *formulas*, *well-formed formulas* or *wffs*, is inductively or recursively defined by the following rules:

- Base. Any element of the alpha set is a formula of .
- Step (a). If
*p*is a formula, then ¬*p*is a formula. - Step (b). If
*p*and*q*are formulas, then (*p*∧*q*), (*p*∨*q*), (*p*→*q*), and (*p*↔*q*) are formulas. - Close. Nothing else is a formula of .

Repeated applications of these rules permits the construction of complex formulas. For example:

- By rule 1,
*p*is a formula. - By rule 2, ¬
*p*is a formula. - By rule 1,
*q*is a formula. - By rule 3, (¬
*p*∨*q*) is a formula.

- The
*zeta set*is a finite set of*transformation rules*that are called*inference rules*when they acquire logical applications.

- The
*iota set*is a finite set of*initial points*that are called*axioms*when they receive logical interpretations.

## Example 1. Simple axiom systemEdit

Let , where are defined as follows:

- The alpha set is a finite set of symbols that is large enough to supply the needs of a given discussion, for example:

Of the three connectives for conjunction, disjunction, and implication (∧, ∨, and →), one can be taken as primitive and the other two can be defined in terms of it and negation (¬). Indeed, all of the logical connectives can be defined in terms of a sole sufficient operator. The biconditional (↔) can of course be defined in terms of conjunction and implication, with a ↔ b defined as (a → b) ∧ (b → a).

Adopting negation and implication as the two primitive operations of a propositional calculus is tantamount to having the omega set partition as follows:

An axiom system discovered by Jan Lukasiewicz formulates a propositional calculus in this language as follows:

The inference rule is *modus ponens*:

- From
*p*, (*p*⇒*q*), infer*q*.

- From

Then we have the following definitions:

*p*∨*q*is defined as ¬*p*⇒*q*.

*p*∧*q*is defined as ¬(*p*⇒ ¬*q*).

## Example 2. Natural deduction systemEdit

Let , where are defined as follows:

- The alpha set is a finite set of symbols that is large enough to supply the needs of a given discussion, for example:

- The omega set partitions as follows:

In the following example of a propositional calculus,
the transformation rules are intended to be interpreted as the inference rules of a so-called *natural deduction system*. The particular system presented here has no initial points, which means that its interpretation for logical applications derives its theorems from an empty axiom set.

- The set of initial points is empty, that is,

- The set of transformation rules, , is described as follows:

## Graphical calculiEdit

*Main article*: Logical graph

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.

For example, there are many families of graphs that are close enough analogues of formal languages that the concept of a calculus is quite easily and naturally extended to them. Indeed, many species of graphs arise as *parse graphs* in the syntactic analysis of the corresponding families of text structures. The exigencies of practical computation on formal languages frequently demand that text strings be converted into pointer structure renditions of parse graphs, simply as a matter of checking whether strings are wffs or not. Once this is done, there are many advantages to be gained from developing the graphical analogue of the calculus on strings. The mapping from strings to parse graphs is called *parsing* and the inverse mapping from parse graphs to strings is achieved by an operation that is called *traversing* the graph.

## ReferencesEdit

- Brown, Frank Markham (2003),
*Boolean Reasoning: The Logic of Boolean Equations*, 1st edition, Kluwer Academic Publishers, Norwell, MA. 2nd edition, Dover Publications, Mineola, NY, 2003.

- 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.

## ResourcesEdit

- Klement, Kevin C. (2006), “Propositional Logic”, in James Fieser and Bradley Dowden (eds.),
*Internet Encyclopedia of Philosophy*. Online.

- Magnus, P.D.
*Forall x : An Introduction to Formal Logic*.

## SyllabusEdit

### Focal nodesEdit

### Peer nodesEdit

- Propositional Calculus @ InterSciWiki
- Propositional Calculus @ Subject Wikis
- Propositional Calculus @ Wikiversity
- Propositional Calculus @ Wikiversity Beta

### Logical operatorsEdit

### Related topicsEdit

### Relational conceptsEdit

### Information, InquiryEdit

### Related articlesEdit

## Document historyEdit

Portions of the above article were adapted from the following sources under the GNU Free Documentation License, under other applicable licenses, or by permission of the copyright holders.