# List of Hilbert systems

(Redirected from List of logic systems)

This article contains a list of sample Hilbert-style deductive systems for propositional logic.

## Classical propositional calculus systems

Classical propositional calculus is the standard propositional logic. Its intended semantics is bivalent and its main property is that it is strongly complete, otherwise said that whenever a formula semantically follows from a set of premises semantically, it also follows from that set syntactically. Many different equivalent complete axiom systems have been formulated. They differ in the choice of basic connectives used, which in all cases have to be functionally complete (i.e. able to express by composition all n-ary truth tables), and in the exact complete choice of axioms over the chosen basis of connectives.

### Implication and negation

The formulations here use implication and negation $\{\to ,\neg \}$  as functionally complete set of basic connectives. Every logic system requires at least one non-nullary rule of inference. Classical propositional calculus typically uses the rule of modus ponens:

$A,A\to B\vdash B.$

We assume this rule is included in all systems below unless stated otherwise.

Frege's axiom system:

$A\to (B\to A)$
$(A\to (B\to C))\to ((A\to B)\to (A\to C))$
$(A\to B)\to (\neg B\to \neg A)$
$\neg \neg A\to A$
$A\to \neg \neg A$

Hilbert's axiom system:

$A\to (B\to A)$
$(A\to (B\to C))\to (B\to (A\to C))$
$(B\to C)\to ((A\to B)\to (A\to C))$
$A\to (\neg A\to B)$
$(A\to B)\to ((\neg A\to B)\to B)$

Łukasiewicz's axiom systems:

• First:
$(A\to B)\to ((B\to C)\to (A\to C))$
$(\neg A\to A)\to A$
$A\to (\neg A\to B)$
• Second:
$((A\to B)\to C)\to (\neg A\to C)$
$((A\to B)\to C)\to (B\to C)$
$(\neg A\to C)\to ((B\to C)\to ((A\to B)\to C))$
• Third:
$A\to (B\to A)$
$(A\to (B\to C))\to ((A\to B)\to (A\to C))$
$(\neg A\to \neg B)\to (B\to A)$
$(A\to B)\to ((B\to C)\to (A\to C))$
$A\to (\neg A\to B)$
$(\neg A\to B)\to ((B\to A)\to A)$

Łukasiewicz and Tarski's axiom system:

$[(A\to (B\to A))\to ([(\neg C\to (D\to \neg E))\to [(C\to (D\to F))\to ((E\to D)\to (E\to F))]]\to G)]\to (H\to G)$

Meredith's axiom system:

$((((A\to B)\to (\neg C\to \neg D))\to C)\to E)\to ((E\to A)\to (D\to A))$

Mendelson's axiom system:

$A\to (B\to A)$
$(A\to (B\to C))\to ((A\to B)\to (A\to C))$
$(\neg A\to \neg B)\to ((\neg A\to B)\to A)$

Russell's axiom system:

$A\to (B\to A)$
$(A\to B)\to ((B\to C)\to (A\to C))$
$(A\to (B\to C))\to (B\to (A\to C))$
$\neg \neg A\to A$
$(A\to \neg A)\to \neg A$
$(A\to \neg B)\to (B\to \neg A)$

Sobociński's axiom systems:

• First:
$(A\to B)\to (\neg B\to (A\to C))$
$A\to (B\to (C\to A))$
$(\neg A\to B)\to ((A\to B)\to B)$
• Second:
$\neg A\to (A\to B)$
$A\to (B\to (C\to A))$
$(\neg A\to C)\to ((B\to C)\to ((A\to B)\to C))$

### Implication and falsum

Instead of negation, classical logic can also be formulated using the functionally complete set $\{\to ,\bot \}$  of connectives.

Tarski–BernaysWajsberg axiom system:

$(A\to B)\to ((B\to C)\to (A\to C))$
$A\to (B\to A)$
$((A\to B)\to A)\to A$
$\bot \to A$

Church's axiom system:

$A\to (B\to A)$
$(A\to (B\to C))\to ((A\to B)\to (A\to C))$
$((A\to \bot )\to \bot )\to A$

Meredith's axiom systems:

$((((A\to B)\to (C\to \bot ))\to D)\to E)\to ((E\to A)\to (C\to A))$
$((A\to B)\to ((\bot \to C)\to D))\to ((D\to A)\to (E\to (F\to A)))$

### Negation and disjunction

Instead of implication, classical logic can also be formulated using the functionally complete set $\{\neg ,\lor \}$  of connectives. These formulations use the following rule of inference;

$A,\neg A\lor B\vdash B.$

Russell–Bernays axiom system:

$\neg (\neg B\lor C)\lor (\neg (A\lor B)\lor (A\lor C))$
$\neg (A\lor B)\lor (B\lor A)$
$\neg A\lor (B\lor A)$
$\neg (A\lor A)\lor A$

Meredith's axiom systems:

• First:
$\neg (\neg (\neg A\lor B)\lor (C\lor (D\lor E)))\lor (\neg (\neg D\lor A)\lor (C\lor (E\lor A)))$
• Second:
$\neg (\neg (\neg A\lor B)\lor (C\lor (D\lor E)))\lor (\neg (\neg E\lor D)\lor (C\lor (A\lor D)))$
• Third:
$\neg (\neg (\neg A\lor B)\lor (C\lor (D\lor E)))\lor (\neg (\neg C\lor A)\lor (E\lor (D\lor A)))$

Dually, classical propositional logic can be defined using only conjunction and negation.

### Sheffer's stroke

Because Sheffer's stroke (also known as NAND operator) is functionally complete, it can be used to create an entire formulation of propositional calculus. NAND formulations use a rule of inference called Nicod's modus ponens:

$A,A\mid (B\mid C)\vdash C.$

Nicod's axiom system:

$(A\mid (B\mid C))\mid [(E\mid (E\mid E))\mid ((D\mid B)\mid [(A\mid D)\mid (A\mid D)])]$

Łukasiewicz's axiom systems:

• First:
$(A\mid (B\mid C))\mid [(D\mid (D\mid D))\mid ((D\mid B)\mid [(A\mid D)\mid (A\mid D)])]$
• Second:
$(A\mid (B\mid C))\mid [(A\mid (C\mid A))\mid ((D\mid B)\mid [(A\mid D)\mid (A\mid D)])]$

Wajsberg's axiom system:

$(A\mid (B\mid C))\mid [((D\mid C)\mid [(A\mid D)\mid (A\mid D)])\mid (A\mid (A\mid B))]$

Argonne axiom systems:

• First:
$(A\mid (B\mid C))\mid [(A\mid (B\mid C))\mid ((D\mid C)\mid [(C\mid D)\mid (A\mid D)])]$
• Second:
$(A\mid (B\mid C))\mid [([(B\mid D)\mid (A\mid D)]\mid (D\mid B))\mid ((C\mid B)\mid A)]$ 

Computer analysis by Argonne has revealed > 60 additional single axiom systems that can be used to formulate NAND propositional calculus.

## Implicational propositional calculus

The implicational propositional calculus is the fragment of the classical propositional calculus which only admits the implication connective. It is not functionally complete (because it lacks the ability to express falsity and negation) but it is however syntactically complete. The implicational calculi below use modus ponens as an inference rule.

Bernays–Tarski axiom system: 

$A\to (B\to A)$
$(A\to B)\to ((B\to C)\to (A\to C))$
$((A\to B)\to A)\to A$

Łukasiewicz and Tarski's axiom systems:

$[(A\to (B\to A))\to [([((C\to D)\to E)\to F]\to [(D\to F)\to (C\to F)])\to G]]\to G$
$[(A\to B)\to ((C\to D)\to E)]\to ([F\to ((C\to D)\to E)]\to [(A\to F)\to (D\to E)])$
• Third:
$((A\to B)\to (C\to D))\to (E\to ((D\to A)\to (C\to A)))$
• Fourth:
$((A\to B)\to (C\to D))\to ((D\to A)\to (E\to (C\to A)))$

Łukasiewicz's axiom system:

$((A\to B)\to C)\to ((C\to A)\to (D\to A))$

## Intuitionistic and intermediate logics

Intuitionistic logic is a subsystem of classical logic. It is commonly formulated with $\{\to ,\land ,\lor ,\bot \}$  as the set of (functionally complete) basic connectives. It is not syntactically complete since it lacks excluded middle A∨¬A or Peirce's law ((A→B)→A)→A which can be added without making the logic inconsistent. It has modus ponens as inference rule, and the following axioms:

$A\to (B\to A)$
$(A\to (B\to C))\to ((A\to B)\to (A\to C))$
$(A\land B)\to A$
$(A\land B)\to B$
$A\to (B\to (A\land B))$
$A\to (A\lor B)$
$B\to (A\lor B)$
$(A\to C)\to ((B\to C)\to ((A\lor B)\to C))$
$\bot \to A$

Alternatively, intuitionistic logic may be axiomatized using $\{\to ,\land ,\lor ,\neg \}$  as the set of basic connectives, replacing the last axiom with

$(A\to \neg A)\to \neg A$
$\neg A\to (A\to B)$

Intermediate logics are in between intuitionistic logic and classical logic. Here are a few intermediate logics:

• Jankov logic (KC) is an extension of intuitionistic logic, which can be axiomatized by the intuitionistic axiom system plus the axiom
$\neg A\lor \neg \neg A.$
• Gödel–Dummett logic (LC) can be axiomatized over intuitionistic logic by adding the axiom
$(A\to B)\lor (B\to A).$

## Positive implicational calculus

The positive implicational calculus is the implicational fragment of intuitionistic logic. The calculi below use modus ponens as an inference rule.

Łukasiewicz's axiom system:

$A\to (B\to A)$
$(A\to (B\to C))\to ((A\to B)\to (A\to C))$

Meredith's axiom systems:

• First:
$E\to ((A\to B)\to (((D\to A)\to (B\to C))\to (A\to C)))$
• Second:
$A\to (B\to A)$
$(A\to B)\to ((A\to (B\to C))\to (A\to C))$
• Third:
$((A\to B)\to C)\to (D\to ((B\to (C\to E))\to (B\to E)))$ 

Hilbert's axiom systems:

• First:
$(A\to (A\to B))\to (A\to B)$
$(B\to C)\to ((A\to B)\to (A\to C))$
$(A\to (B\to C))\to (B\to (A\to C))$
$A\to (B\to A)$
• Second:
$(A\to (A\to B))\to (A\to B)$
$(A\to B)\to ((B\to C)\to (A\to C))$
$A\to (B\to A)$
• Third:
$A\to A$
$(A\to B)\to ((B\to C)\to (A\to C))$
$(B\to C)\to ((A\to B)\to (A\to C))$
$(A\to (A\to B))\to (A\to B)$

## Positive propositional calculus

Positive propositional calculus is the fragment of intuitionistic logic using only the (non functionally complete) connectives $\{\to ,\land ,\lor \}$ . It can be axiomatized by any of the above-mentioned calculi for positive implicational calculus together with the axioms

$(A\land B)\to A$
$(A\land B)\to B$
$A\to (B\to (A\land B))$
$A\to (A\lor B)$
$B\to (A\lor B)$
$(A\to C)\to ((B\to C)\to ((A\lor B)\to C))$

Optionally, we may also include the connective $\leftrightarrow$  and the axioms

$(A\leftrightarrow B)\to (A\to B)$
$(A\leftrightarrow B)\to (B\to A)$
$(A\to B)\to ((B\to A)\to (A\leftrightarrow B))$

Johansson's minimal logic can be axiomatized by any of the axiom systems for positive propositional calculus and expanding its language with the nullary connective $\bot$ , with no additional axiom schemas. Alternatively, it can also be axiomatized in the language $\{\to ,\land ,\lor ,\neg \}$  by expanding the positive propositional calculus with the axiom

$(A\to \neg B)\to (B\to \neg A)$

or the pair of axioms

$(A\to B)\to (\neg B\to \neg A)$
$A\to \neg \neg A$

Intuitionistic logic in language with negation can be axiomatized over the positive calculus by the pair of axioms

$(A\to \neg B)\to (B\to \neg A)$
$\neg A\to (A\to B)$

or the pair of axioms

$(A\to \neg A)\to \neg A$
$\neg A\to (A\to B)$

Classical logic in the language $\{\to ,\land ,\lor ,\neg \}$  can be obtained from the positive propositional calculus by adding the axiom

$(\neg A\to \neg B)\to (B\to A)$

or the pair of axioms

$(A\to \neg B)\to (B\to \neg A)$
$\neg \neg A\to A$

Fitch calculus takes any of the axiom systems for positive propositional calculus and adds the axioms

$\neg A\to (A\to B)$
$A\leftrightarrow \neg \neg A$
$\neg (A\lor B)\leftrightarrow (\neg A\land \neg B)$
$\neg (A\land B)\leftrightarrow (\neg A\lor \neg B)$

Note that the first and third axioms are also valid in intuitionistic logic.

## Equivalential calculus

Equivalential calculus is the subsystem of classical propositional calculus that only allows the (functionally incomplete) equivalence connective, denoted here as $\equiv$ . The rule of inference used in these systems is as follows:

$A,A\equiv B\vdash B$

Iséki's axiom system:

$((A\equiv C)\equiv (B\equiv A))\equiv (C\equiv B)$
$(A\equiv (B\equiv C))\equiv ((A\equiv B)\equiv C)$

Iséki–Arai axiom system:

$A\equiv A$
$(A\equiv B)\equiv (B\equiv A)$
$(A\equiv B)\equiv ((B\equiv C)\equiv (A\equiv C))$

Arai's axiom systems;

• First:
$(A\equiv (B\equiv C))\equiv ((A\equiv B)\equiv C)$
$((A\equiv C)\equiv (B\equiv A))\equiv (C\equiv B)$
• Second:
$(A\equiv B)\equiv (B\equiv A)$
$((A\equiv C)\equiv (B\equiv A))\equiv (C\equiv B)$

Łukasiewicz's axiom systems:

• First:
$(A\equiv B)\equiv ((C\equiv B)\equiv (A\equiv C))$
• Second:
$(A\equiv B)\equiv ((A\equiv C)\equiv (C\equiv B))$
• Third:
$(A\equiv B)\equiv ((C\equiv A)\equiv (B\equiv C))$

Meredith's axiom systems:

• First:
$((A\equiv B)\equiv C)\equiv (B\equiv (C\equiv A))$
• Second:
$A\equiv ((B\equiv (A\equiv C))\equiv (C\equiv B))$
• Third:
$(A\equiv (B\equiv C))\equiv (C\equiv (A\equiv B))$
• Fourth:
$(A\equiv B)\equiv (C\equiv ((B\equiv C)\equiv A))$
• Fifth:
$(A\equiv B)\equiv (C\equiv ((C\equiv B)\equiv A))$
• Sixth:
$((A\equiv (B\equiv C))\equiv C)\equiv (B\equiv A)$
• Seventh:
$((A\equiv (B\equiv C))\equiv B)\equiv (C\equiv A)$

Kalman's axiom system:

$A\equiv ((B\equiv (C\equiv A))\equiv (C\equiv B))$

Winker's axiom systems:

• First:
$A\equiv ((B\equiv C)\equiv ((A\equiv C)\equiv B))$
• Second:
$A\equiv ((B\equiv C)\equiv ((C\equiv A)\equiv B))$

XCB axiom system:

$A\equiv (((A\equiv B)\equiv (C\equiv B))\equiv C)$