Skip to content

13.1 Syntax of Proofs

Formal structure of proofs, including derivations, inference rules, axioms, and proof representations.

A proof system needs a precise notion of proof. Informally, a proof is an argument that shows why a conclusion follows. Formally, a proof is a finite object built according to fixed rules.

The syntax of proofs describes the shape of these objects.

Formulas and Judgments

A proof does not manipulate meanings directly. It manipulates formulas.

A typical formula is written:

A A

A derivability judgment is written:

ΓA \Gamma \vdash A

This means that AA is derivable from the assumptions in Γ\Gamma.

Here Γ\Gamma is a set, list, or multiset of formulas, depending on the proof system. For example:

p, pqq p,\ p \to q \vdash q

says that qq can be derived from pp and pqp \to q.

The symbol \vdash belongs to the proof system. It is about formal derivability, not semantic truth.

Proofs as Sequences

In many proof systems, a proof is a finite sequence of formulas:

A1, A2, , An A_1,\ A_2,\ \dots,\ A_n

Each line must be justified in one of three ways:

  1. It is an assumption.
  2. It is an axiom.
  3. It follows from earlier lines by an inference rule.

The final line is the conclusion.

For example:

pq p \to q p p q q

The third line follows from the first two by modus ponens:

AABB \frac{A \qquad A \to B}{B}

Here AA is pp, and BB is qq.

Proofs as Trees

Proofs may also be represented as trees. In a proof tree, premises appear above a line, and the conclusion appears below it.

For modus ponens:

ppqq \frac{p \qquad p \to q}{q}

This tree says that if we have a proof of pp and a proof of pqp \to q, then we may form a proof of qq.

Tree notation is useful because many logical rules naturally branch.

For example, conjunction introduction has the form:

ABAB \frac{A \qquad B}{A \land B}

To prove ABA \land B, we must prove both AA and BB.

Axioms

An axiom is a formula that may be used without proof inside the system.

Some proof systems use axiom schemas. An axiom schema describes infinitely many axioms by a pattern.

Example:

A(BA) A \to (B \to A)

This is not one single formula. It is a schema. For any formulas AA and BB, the instance is an axiom.

For example:

p(qp) p \to (q \to p)

and

(pr)(s(pr)) (p \land r) \to (s \to (p \land r))

are both instances.

Axioms give the system starting points.

Assumptions

An assumption is a formula temporarily accepted for the purpose of a derivation.

If AA is among the assumptions, then we may write:

Γ,AA \Gamma, A \vdash A

This is the basic assumption rule.

For example:

p,qp p, q \vdash p

because pp is one of the assumptions.

Assumptions are important because many proofs show that a conclusion follows from given premises, rather than proving the conclusion absolutely.

Inference Rules

An inference rule tells us how to derive a new formula from formulas already obtained.

A general rule has the shape:

A1A2AnB \frac{A_1 \qquad A_2 \qquad \cdots \qquad A_n}{B}

The formulas above the line are premises. The formula below the line is the conclusion.

The rule says: if the premises have been derived, then the conclusion may be derived.

Examples:

Modus ponens

AABB \frac{A \qquad A \to B}{B}

Conjunction introduction

ABAB \frac{A \qquad B}{A \land B}

Conjunction elimination

ABA \frac{A \land B}{A}

and

ABB \frac{A \land B}{B}

These rules describe legal proof steps.

Derivations from Assumptions

A derivation from assumptions records which formulas are allowed at the start.

For example, from:

AB A \land B

we can derive:

A A

So:

ABA A \land B \vdash A

A proof tree is:

ABA \frac{A \land B}{A}

using conjunction elimination.

Similarly:

ABB A \land B \vdash B

by the other conjunction elimination rule.

Discharged Assumptions

Some proof systems, especially natural deduction, allow assumptions to be used temporarily and then discharged.

For implication introduction, the rule is:

[A]  BAB \frac{ \begin{array}{c} [A] \ \vdots \ B \end{array} }{ A \to B }

This means: if assuming AA allows us to derive BB, then we may conclude ABA \to B.

The assumption AA is discharged. It no longer remains as an open assumption after the rule is applied.

Example:

To prove:

AA A \to A

we temporarily assume AA:

[A] [A]

Then AA follows immediately from the assumption. Therefore:

AA A \to A

by implication introduction.

As a derivation:

[A] AAA \frac{ \begin{array}{c} [A] \ A \end{array} }{ A \to A }

Open and Closed Proofs

A proof with undischarged assumptions is an open proof.

It establishes a judgment:

ΓA \Gamma \vdash A

A proof with no undischarged assumptions is a closed proof.

It establishes:

A \vdash A

For example:

AA \vdash A \to A

is a closed theorem of ordinary propositional logic.

But:

AA A \vdash A

is an open derivation, because it depends on assumption AA.

Proof Syntax Is Mechanical

The syntax of proofs is deliberately strict. Every proof step must be locally checkable.

To verify a formal proof, we do not need to understand the intended meaning of the formulas. We only check whether each line is allowed by the rules.

This mechanical nature is what makes formal proof suitable for proof assistants, automated theorem provers, and metatheory.