Skip to content

Lecture notes on constructive logic 01

Published: at 07:50 AM

lec01. what’s constructive logic?

Table of contents

Open Table of contents

1. course overview

four main topics:

2. what’s logic

3. why anothor logic?

law of excluded middle: either AA or ¬A\neg A holds.

Some theorems relies heavily on the law.

Constructive logic: the truth of a judgment is solely determined by an evidence of that judgment. It can be thought of as a proof-centered logic, and can be interpreted as algorithms.

4. First steps

Work with first-order logic.

We don’t use negation(¬\neg), instead ¬A\neg A can be written as AA\supset \bot. We use upper case letters for formula variables. Lower case letters are reserved for predicate symbols and terms.

Defintion 1(Terms). The set of terms is inductively defined as follows:

Definition 2(Formulas). inductively:

the precedence of logical operators:

,,/,\wedge, \vee, \forall/\exist, \supset

Consider the following formulas:

x.(even(x)even(s(s(x))))\forall x.(even(x) \supset even(s(s(x))))

Here, even is a predicate symbol, s is a function symbol. Both xx and s(s(x))s(s(x)) are terms.

In order to build proofs, we need to use a proof calculus. We’ll use natural deduction and sequent calculus, which use the same kind of building blocks: inference rules.

red boxes are judgments for premises; blue box called conclusion.

A judgment is simply an assessment about an object.

An inference rule is interpreted as: if all the premises hold, then I can correctly conclude the conclusion.

Inference rules are presented with schema variables.

NNatMNatN+MNat+\frac{N \, Nat \quad M \, Nat}{N + M \, Nat} +

An inference rule can have zero premises, called axiom.

A proof is constructed by plugging in inference rules together, can be represented as a tree and a DAG.


Previous Post
Lecture notes on constructive logic 02
Next Post
Learning Notes on uv