Proof Theory of Induction

Size: px
Start display at page:

Download "Proof Theory of Induction"

Transcription

1 1/ 70 Proof Theory of Induction Stefan Hetzl Institute of Discrete Mathematics and Geometry Vienna University of Technology Summer School for Proof Theory in First-Order Logic Funchal, Madeira August 2017

2 2/ 70 Outline Gentzen s consistency proof The omega rule Cyclic proofs

3 3/ 70 Outline Gentzen s consistency proof Background Peano arithmetic Reduction of cut and induction Ordinals The consistency proof The omega rule Cyclic proofs

4 4/ 70 Background Hilbert s programme (1920ies) Formalisation of mathematics Proof of consistency by finitary methods

5 4/ 70 Background Hilbert s programme (1920ies) Formalisation of mathematics Proof of consistency by finitary methods Gödel s (2nd) incompleteness theorem (1931) Theorem. For a (consistent, axiomatisable, and sufficiently strong) first-order theory T, T Con T.

6 4/ 70 Background Hilbert s programme (1920ies) Formalisation of mathematics Proof of consistency by finitary methods Gödel s (2nd) incompleteness theorem (1931) Theorem. For a (consistent, axiomatisable, and sufficiently strong) first-order theory T, T Con T. Gentzen s approach (1936-): split consistency proof for T into: 1. A cut-elimination procedure (in weak theory) 2. A termination assumption (transcends theory)

7 5/ 70 Cut-elimination and consistency Why is cut-elimination relevant for consistency? Definition. A theory T is inconsistent if there is some formula ϕ s.t. T ϕ and T ϕ. Suppose there are T -proofs π 1 of ϕ and π 2 of ϕ, then π = (π 2 ) ϕ (π 1 ) ϕ ϕ l cut is a proof of. By cut-elimination, there is a cut-free proof π of. Contradiction.

8 6/ 70 Outline Gentzen s consistency proof Background Peano arithmetic Reduction of cut and induction Ordinals The consistency proof The omega rule Cyclic proofs

9 7/ 70 Peano arithmetic The language L = {0, s, +,, =} Basic arithmetic BA consists of the axioms: x y (s(x) = s(y) x = y) x 0 s(x) x x + 0 = x x y x + s(y) = s(x + y) x x 0 = 0 x y x s(y) = x y + x Peano arithmetic PA consists of the axioms of BA together with, for every formula ϕ(x, z), the induction axiom z ( (ϕ(0, z) y(ϕ(y, z) ϕ(s(y), z)) x ϕ(x, z) ).

10 8/ 70 A sequent calculus for PA A sequent calculus for FOL with equality in L plus inital sequents and the induction rule s(t) = s(u) t = u 0 s(t) t + 0 = t t + s(u) = s(t + u) t 0 = 0 t s(u) = t u + t ϕ(α), Γ, ϕ(s(α)) ϕ(0), Γ, ϕ(t) where α does not appear in ϕ(0), Γ, ϕ(t).

11 9/ 70 Simple proofs Definition. A PA-proof is called simple if it consists of only of initial sequents, atomic cuts, and structural inference.

12 9/ 70 Simple proofs Definition. A PA-proof is called simple if it consists of only of initial sequents, atomic cuts, and structural inference. Simple proof lemma. There is no simple proof of. Proof. Let π be a simple proof of. W.l.o.g. π is variable-free. Every formula in π is of the form s = t with s, t variable-free. Evaluate formulas and sequents to or in N. Every inital sequent evaluates to. Every rule preserves. evaluates to.

13 10/ 70 Outline Gentzen s consistency proof Background Peano arithmetic Reduction of cut and induction Ordinals The consistency proof The omega rule Cyclic proofs

14 11/ 70 Interaction between induction and cut: example. Γ ϕ(0). Γ, ϕ(α) ϕ(s(α)) ind Γ, ϕ(0) ϕ(t) cut Γ ϕ(t)

15 11/ 70 Interaction between induction and cut: example. Γ ϕ(0). Γ, ϕ(α) ϕ(s(α)) ind Γ, ϕ(0) ϕ(t) cut Γ ϕ(t) = eliminating cuts means eliminating inductions too

16 12/ 70 Numerals and evaluation Definition. For n N define the L-term n = s n (0). A term of the form s n (0) is called numeral. Evaluation lemma. Let t is a variable free L-term. Then there is an n N s.t. BA t = n, and for any formula ϕ(x) there is an induction-free proof of ϕ(n) ϕ(t)

17 13/ 70 Cut-elimination and induction (π(α)) ϕ(α), Γ, ϕ(s(α)) ϕ(0), Γ, ϕ(t) ind

18 13/ 70 Cut-elimination and induction (π(α)) ϕ(α), Γ, ϕ(s(α)) ϕ(0), Γ, ϕ(t) ind If t is variable-free, there is n N s.t. BA t = n

19 13/ 70 Cut-elimination and induction (π(α)) ϕ(α), Γ, ϕ(s(α)) ϕ(0), Γ, ϕ(t) ind If t is variable-free, there is n N s.t. BA t = n (π(0)) ϕ(0), Γ, ϕ(1) ϕ(0), Γ, ϕ(2) (π(1)) ϕ(1), Γ, ϕ(2) cut. Eval. Lem. ϕ(0), Γ, ϕ(n) ϕ(n) ϕ(t) ϕ(0), Γ, ϕ(t) cut

20 13/ 70 Cut-elimination and induction (π(α)) ϕ(α), Γ, ϕ(s(α)) ϕ(0), Γ, ϕ(t) ind If t is variable-free, there is n N s.t. BA t = n (π(0)) ϕ(0), Γ, ϕ(1) ϕ(0), Γ, ϕ(2) (π(1)) ϕ(1), Γ, ϕ(2) cut. Eval. Lem. ϕ(0), Γ, ϕ(n) ϕ(n) ϕ(t) ϕ(0), Γ, ϕ(t) Under which conditions does this work? cut

21 14/ 70 The end-piece Definition. A logical inference ι in a PA-proof π is called explicit if it is ancestor of the end-sequent, and implicit if it is ancestor of a cut formula.

22 14/ 70 The end-piece Definition. A logical inference ι in a PA-proof π is called explicit if it is ancestor of the end-sequent, and implicit if it is ancestor of a cut formula. Definition. The end-piece of a PA-proof π: all sequents which are not above an implicit logical inference.

23 14/ 70 The end-piece Definition. A logical inference ι in a PA-proof π is called explicit if it is ancestor of the end-sequent, and implicit if it is ancestor of a cut formula. Definition. The end-piece of a PA-proof π: all sequents which are not above an implicit logical inference. Example.. ψ(0, 0) y ψ(0, y) r. ψ(α, β) y ψ(s(α), y) y ψ(α, y) y ψ(s(α), y) l ind y ψ(0, y) y ψ(t, y) y ψ(t, y). ψ(t, α) y ϕ(t, y) cut y ψ(t, y) y ϕ(t, y) l cut y ϕ(t, y) x y ϕ(x, y) r

24 14/ 70 The end-piece Definition. A logical inference ι in a PA-proof π is called explicit if it is ancestor of the end-sequent, and implicit if it is ancestor of a cut formula. Definition. The end-piece of a PA-proof π: all sequents which are not above an implicit logical inference. Example.. ψ(0, 0) y ψ(0, y) r. ψ(α, β) y ψ(s(α), y) y ψ(α, y) y ψ(s(α), y) l ind y ψ(0, y) y ψ(t, y) y ψ(t, y). ψ(t, α) y ϕ(t, y) cut y ψ(t, y) y ϕ(t, y) l cut y ϕ(t, y) x y ϕ(x, y) r

25 15/ 70 Σ 1 -sequents Definition. A Σ 1 -sequent is a sequent of the form x 1 ϕ 1,..., x k ϕ k x k+1 ϕ k+1,..., x n ϕ n s.t. ϕ 1,..., ϕ n quantifier-free, ϕ i contains only variables from x i.

26 15/ 70 Σ 1 -sequents Definition. A Σ 1 -sequent is a sequent of the form x 1 ϕ 1,..., x k ϕ k x k+1 ϕ k+1,..., x n ϕ n s.t. ϕ 1,..., ϕ n quantifier-free, ϕ i contains only variables from x i. Lemma. Let π be a PA-proof of a Σ 1 -sequent Γ and let ϕ(α), Γ, ϕ(s(α)) ϕ(0), Γ, ϕ(t) ind be a lowermost induction in the end-piece of π. Then t is variable-free.

27 15/ 70 Σ 1 -sequents Definition. A Σ 1 -sequent is a sequent of the form x 1 ϕ 1,..., x k ϕ k x k+1 ϕ k+1,..., x n ϕ n s.t. ϕ 1,..., ϕ n quantifier-free, ϕ i contains only variables from x i. Lemma. Let π be a PA-proof of a Σ 1 -sequent Γ and let ϕ(α), Γ, ϕ(s(α)) ϕ(0), Γ, ϕ(t) ind be a lowermost induction in the end-piece of π. Then t is variable-free. Proof. W.l.o.g. all variables in π are eigenvariables. End-piece does not contain r, l. End-piece contains only eigenvariables of inductions. The term of a lowermost induction is variable-free.

28 16/ 70 Termination Let π be a proof of a Σ 1 -sequent Γ. If end-piece of π contains ind: = reduce lowermost ind If end-piece of π contains non-atomic cut: = reduce suitable non-atomic cut Otherwise: π contains only atomic cuts (Then Γ = = implies that π is simple)

29 16/ 70 Termination Let π be a proof of a Σ 1 -sequent Γ. If end-piece of π contains ind: = reduce lowermost ind If end-piece of π contains non-atomic cut: = reduce suitable non-atomic cut Otherwise: π contains only atomic cuts (Then Γ = = implies that π is simple) Have: π 1 π 2 π 3 Do we ever enter the Otherwise -case?

30 16/ 70 Termination Let π be a proof of a Σ 1 -sequent Γ. If end-piece of π contains ind: = reduce lowermost ind If end-piece of π contains non-atomic cut: = reduce suitable non-atomic cut Otherwise: π contains only atomic cuts (Then Γ = = implies that π is simple) Have: π 1 π 2 π 3 Do we ever enter the Otherwise -case? Want: well-founded (X, <) and mapping o s.t. o(π 1 ) > o(π 2 ) > o(π 3 ) >

31 17/ 70 Outline Gentzen s consistency proof Background Peano arithmetic Reduction of cut and induction Ordinals The consistency proof The omega rule Cyclic proofs

32 18/ 70 Ordinals, informally The order of the natural numbers 0 1 2

33 18/ 70 Ordinals, informally Add limit element ω, i.e., n N : n < ω ω

34 18/ 70 Ordinals, informally Add another successor element after that ω ω+1

35 18/ 70 Ordinals, informally and so on ω ω+1 ω+2

36 18/ 70 Ordinals, informally Add a new limit element again ω ω+1 ω+2 ω 2

37 18/ 70 Ordinals, informally The ordinals ω ω ω+1 ω+2 ω 2

38 18/ 70 Ordinals, informally The ordinals ω ω ω+1 ω+2 ω 2 Repeat the above 0 ω ω 2 ω 3

39 18/ 70 Ordinals, informally The ordinals ω ω ω+1 ω+2 ω 2 And add a new limit element again 0 ω ω 2 ω 3 ω ω=ω 2

40 18/ 70 Ordinals, informally The ordinals ω ω ω+1 ω+2 ω 2 The ordinals ω 2 0 ω ω 2 ω 3 ω ω=ω 2

41 18/ 70 Ordinals, informally The ordinals ω ω ω+1 ω+2 ω 2 The ordinals ω 2 0 ω ω 2 ω 3 ω ω=ω 2 Repeat the repetition 0 ω ω 2 ω 3

42 18/ 70 Ordinals, informally The ordinals ω ω ω+1 ω+2 ω 2 The ordinals ω 2 0 ω ω 2 ω 3 ω ω=ω 2 And add a new limit element again 0 ω ω 2 ω 3 ω ω

43 18/ 70 Ordinals, informally The ordinals ω ω ω+1 ω+2 ω 2 The ordinals ω 2 0 ω ω 2 ω 3 ω ω=ω 2 The ordinals ω ω 0 ω ω 2 ω 3 ω ω

44 18/ 70 Ordinals, informally The ordinals ω ω ω+1 ω+2 ω 2 The ordinals ω 2 0 ω ω 2 ω 3 ω ω=ω 2 The ordinals ω ω 0 ω ω 2 ω 3 ω ω Iterate one more time 0 ω ω ω ω ω ω

45 18/ 70 Ordinals, informally The ordinals ω ω ω+1 ω+2 ω 2 The ordinals ω 2 0 ω ω 2 ω 3 ω ω=ω 2 The ordinals ω ω 0 ω ω 2 ω 3 ω ω And add a new limit element 0 ω ω ω ω ω ω ε0

46 18/ 70 Ordinals, informally The ordinals ω ω ω+1 ω+2 ω 2 The ordinals ω 2 0 ω ω 2 ω 3 ω ω=ω 2 The ordinals ω ω 0 ω ω 2 ω 3 ω ω The ordinals ε 0 0 ω ω ω ω ω ω ε0

47 19/ 70 The ordinals < ε 0 Ordinal arithmetic addition +, multiplication, exponentiation less-than <

48 19/ 70 The ordinals < ε 0 Ordinal arithmetic addition +, multiplication, exponentiation less-than < Cantor normal form: if 0 < α < ε 0, then α can be written as α = ω α ω αn where α 1 α n, 0 < α i < ε 0, α i in normal form. This normal form is unique.

49 19/ 70 The ordinals < ε 0 Ordinal arithmetic addition +, multiplication, exponentiation less-than < Cantor normal form: if 0 < α < ε 0, then α can be written as α = ω α ω αn where α 1 α n, 0 < α i < ε 0, α i in normal form. This normal form is unique. The natural sum: for α = ω α ω αn, β = ω β ω βm let α # β = ω λ1 ω λm+n λ 1 λ m+n, {λ 1,..., λ m+n } = {α 1,..., α n, β 1,..., β m }.

50 The ordinals < ε 0 Ordinal arithmetic addition +, multiplication, exponentiation less-than < Cantor normal form: if 0 < α < ε 0, then α can be written as α = ω α ω αn where α 1 α n, 0 < α i < ε 0, α i in normal form. This normal form is unique. The natural sum: for α = ω α ω αn, β = ω β ω βm let α # β = ω λ1 ω λm+n λ 1 λ m+n, {λ 1,..., λ m+n } = {α 1,..., α n, β 1,..., β m }. Formalisation Term signature O = {0/0, ω/1, +/2} Modulo equality Operations +,, exp, # and relation < 19/ 70

51 20/ 70 Outline Gentzen s consistency proof Background Peano arithmetic Reduction of cut and induction Ordinals The consistency proof The omega rule Cyclic proofs

52 21/ 70 The height of a sequent Definition. Logical complexity of a formula, cut, induction.

53 21/ 70 The height of a sequent Definition. Logical complexity of a formula, cut, induction. Definition. Height of a sequent S in a proof π, h(s, π), is maximum of log. complexities of cut or induction below S in π.

54 21/ 70 The height of a sequent Definition. Logical complexity of a formula, cut, induction. Definition. Height of a sequent S in a proof π, h(s, π), is maximum of log. complexities of cut or induction below S in π. Observation. If S 1 and S 2 are premises of a binary inference, then h(s 1, π) = h(s 2, π).

55 21/ 70 The height of a sequent Definition. Logical complexity of a formula, cut, induction. Definition. Height of a sequent S in a proof π, h(s, π), is maximum of log. complexities of cut or induction below S in π. Observation. If S 1 and S 2 are premises of a binary inference, then h(s 1, π) = h(s 2, π). Notation. h(s) for h(s, π) if π is clear

56 22/ 70 The ordinal assignment Definition. Let S be a sequent in a proof π. Define o(s): Initial sequent S: o(s) = 1 Structural inference S S : o(s) = o(s ) Unary logical inference S Binary logical inference S 1 S 2 S S 1 S 2 S S : o(s) = o(s ) + 1 : o(s) = o(s 1 ) # o(s 2 ) cut : o(s) = ω h(si ) h(s)(o(s 1 ) # o(s 2 )) S S ind : o(s) = ω h(s ) h(s)+1(α 1 + 1) where o(s ) = ω α1 + + ω αn with α 1 α n.

57 22/ 70 The ordinal assignment Definition. Let S be a sequent in a proof π. Define o(s): Initial sequent S: o(s) = 1 Structural inference S S : o(s) = o(s ) Unary logical inference S Binary logical inference S 1 S 2 S S 1 S 2 S S : o(s) = o(s ) + 1 : o(s) = o(s 1 ) # o(s 2 ) cut : o(s) = ω h(si ) h(s)(o(s 1 ) # o(s 2 )) S S ind : o(s) = ω h(s ) h(s)+1(α 1 + 1) where o(s ) = ω α1 + + ω αn with α 1 α n. Definition. Let π be a proof of S, then o(π) = o(s, π).

58 23/ 70 The consistency proof Reduction Lemma. Let Γ be a Σ 1 -sequent, let π be a proof of Γ that contains a non-atomic cut or an induction. Then there is a proof π of Γ with o(π ) < o(π).

59 23/ 70 The consistency proof Reduction Lemma. Let Γ be a Σ 1 -sequent, let π be a proof of Γ that contains a non-atomic cut or an induction. Then there is a proof π of Γ with o(π ) < o(π). Theorem. PA is consistent. Proof. Suppose PA is inconsistent, then there is a proof π of. is a Σ 1 -sequent o(π) < ε0 Induction on o(π) (reduction lemma): obtain π of s.t. π does not contain induction nor non-atomic cut π is a simple proof of Contradiction.

60 23/ 70 The consistency proof Reduction Lemma. Let Γ be a Σ 1 -sequent, let π be a proof of Γ that contains a non-atomic cut or an induction. Then there is a proof π of Γ with o(π ) < o(π). Theorem. PA is consistent. Proof. Suppose PA is inconsistent, then there is a proof π of. is a Σ 1 -sequent o(π) < ε0 Induction on o(π) (reduction lemma): obtain π of s.t. π does not contain induction nor non-atomic cut π is a simple proof of Contradiction. Remark. Formalisation in PRA: PRA + TI(ϕ(x), <ε0 ) Con PA for quantifier-free ϕ(x) In particular: PRA proves Reduction Lemma, Simple Proof Lemma

61 24/ 70 More general end-sequents (1/2) Let Exp(x, y) be a representation of n 2 n, in particular: PA Exp(0, 1) PA Exp(x, y) Exp(s(x), y 2) Then PA x y Exp(x, y):. Exp(0, 1) y Exp(0, y) r. Exp(β, γ) Exp(s(β), γ 2) Exp(β, γ) y Exp(s(β), y) r y Exp(β, y) y Exp(s(β), y) l ind y Exp(0, y) y Exp(α, y) cut y Exp(α, y) x y Exp(x, y) r

62 24/ 70 More general end-sequents (1/2) Let Exp(x, y) be a representation of n 2 n, in particular: PA Exp(0, 1) PA Exp(x, y) Exp(s(x), y 2) Then PA x y Exp(x, y):. Exp(0, 1) y Exp(0, y) r. Exp(β, γ) Exp(s(β), γ 2) Exp(β, γ) y Exp(s(β), y) r y Exp(β, y) y Exp(s(β), y) l ind y Exp(0, y) y Exp(α, y) cut y Exp(α, y) x y Exp(x, y) r But cut-elimination procedure does not work (Eigenvariable α in end-piece not introduced by induction)

63 25/ 70 More general end-sequents (2/2) Proposition. Every PA-proof of x y Exp(x, y) contains an induction inference. Proof. Let π be a PA-proof of x y Exp(x, y). Then w.l.o.g. π ends with r. Suppose there is induction-free proof of y Exp(α, y), then by cut-elimination / Herbrand s theorem, there are t 1,..., t n L {α} s.t. Contradiction. BA Exp(α, t 1 ) Exp(α, t n ), i.e., BA α ( Exp(α, t 1 ) Exp(α, t n ) ).

64 26/ 70 Summary of 1st part Gentzen s consistency proof of PA Sequent calculus with induction rule Cut- and induction-elimination Except termination formalisable in PRA Ordinals (up to ε 0 in Cantor normal form) Proof of Σ 1 -sequent: lowermost induction has variable-free term. Impossible for Π 2 -sequents

65 27/ 70 Outline Gentzen s consistency proof The omega rule Infinitary propositional logic Infinitary proofs The consistency proof Cyclic proofs

66 28/ 70 Infinitary propositional logic Observation: N = x ϕ(x) iff N = n N ϕ(n) N = x ϕ(x) iff N = n N ϕ(n)

67 28/ 70 Infinitary propositional logic Observation: N = x ϕ(x) iff N = n N ϕ(n) N = x ϕ(x) iff N = n N ϕ(n) The ω-rule Γ, ϕ(0) Γ, ϕ(1) Γ, ϕ(2) Γ, n N ϕ(n)

68 28/ 70 Infinitary propositional logic Observation: N = x ϕ(x) iff N = n N ϕ(n) N = x ϕ(x) iff N = n N ϕ(n) The ω-rule Γ, ϕ(0) Γ, ϕ(1) Γ, ϕ(2) Γ, n N ϕ(n) Definition. The formulas of infinitary propositional logic: Variable-free atoms (in L = {0, s, +,, =}) Negated variable-free atoms (in L) If, for i I, ϕi is a formula, then i I ϕ i is a formula If, for i I, ϕ i is a formula, then i I ϕ i is a formula Here: I countable

69 29/ 70 Translation of first-order L-sentences Definition. Translation of first-order L-sentences: A = A for an atom A [ x ϕ(x)] = ϕ (n) [ x ϕ(x)] = ϕ (n) n N n N [ϕ ψ] = ϕ ψ [ϕ ψ] = ϕ ψ [ϕ ψ] = ϕ ψ [ ϕ] = ϕ

70 29/ 70 Translation of first-order L-sentences Definition. Translation of first-order L-sentences: A = A for an atom A [ x ϕ(x)] = ϕ (n) [ x ϕ(x)] = ϕ (n) n N n N [ϕ ψ] = ϕ ψ [ϕ ψ] = ϕ ψ [ϕ ψ] = ϕ ψ [ ϕ] = ϕ Where dualisation is defined as: A = A A = A for an atom A for a formula ϕ ϕ i ϕ i = ϕ i = i I i I i I i I ϕ i

71 30/ 70 Example: induction axiom The translation of the induction axiom [I x ϕ] = [ ϕ(0) y (ϕ(y) ϕ(s(y))) x ϕ(x) ]

72 30/ 70 Example: induction axiom The translation of the induction axiom [I x ϕ] = [ ϕ(0) y (ϕ(y) ϕ(s(y))) x ϕ(x) ] = [ ϕ(0) y (ϕ(y) ϕ(s(y))) ] ϕ (n) n N

73 30/ 70 Example: induction axiom The translation of the induction axiom [I x ϕ] = [ ϕ(0) y (ϕ(y) ϕ(s(y))) x ϕ(x) ] = [ ϕ(0) y (ϕ(y) ϕ(s(y))) ] ϕ (n) n N = ϕ (0) ϕ (n) ϕ (n + 1) ϕ (n) n N n N

74 30/ 70 Example: induction axiom The translation of the induction axiom [I x ϕ] = [ ϕ(0) y (ϕ(y) ϕ(s(y))) x ϕ(x) ] = [ ϕ(0) y (ϕ(y) ϕ(s(y))) ] ϕ (n) n N = ϕ (0) ϕ (n) ϕ (n + 1) ϕ (n) n N n N = ϕ (0) ϕ (n) ϕ (n + 1) ϕ (n) n N n N

75 31/ 70 Outline Gentzen s consistency proof The omega rule Infinitary propositional logic Infinitary proofs The consistency proof Cyclic proofs

76 32/ 70 Sequent calculus LK Definition. The set of axioms is the smallest set which contains A, A for any atom A, S if S is an axiom of BA (as a sequent). and is closed under atomic cut, i.e., If Γ, A and, A are axioms, then so is a subset of Γ,.

77 32/ 70 Sequent calculus LK Definition. The set of axioms is the smallest set which contains A, A for any atom A, S if S is an axiom of BA (as a sequent). and is closed under atomic cut, i.e., If Γ, A and, A are axioms, then so is a subset of Γ,. Definition. LK works on sequents of inf. prop. logic. Γ, if is an axiom Γ, ϕ j for a j I Γ, ϕ j for all j I Γ, i I ϕ i Γ, ϕ Γ, ϕ Γ cut Γ, i I ϕ i Proofs of infinite width but finite height

78 33/ 70 Translation of BA-proofs Def. Translation of BA-proof of Γ to LK -proof of Γ, Axioms r (π 1 ) (π 2 ) Γ, ϕ Π Λ, ψ Γ, Π, Λ, ϕ ψ r (π 1 ) Γ,, ϕ (π 2 ) Π, Λ, ψ Γ, Π,, Λ, ϕ ψ r (π(α)) Γ, ϕ(α) Γ, x ϕ(x) r (π(n) ) Γ,, ϕ (n) for all n N Γ,, n N ϕ (n) Similarily for other rules

79 33/ 70 Translation of BA-proofs Def. Translation of BA-proof of Γ to LK -proof of Γ, Axioms r (π 1 ) (π 2 ) Γ, ϕ Π Λ, ψ Γ, Π, Λ, ϕ ψ r (π 1 ) Γ,, ϕ (π 2 ) Π, Λ, ψ Γ, Π,, Λ, ϕ ψ r (π(α)) Γ, ϕ(α) Γ, x ϕ(x) r (π(n) ) Γ,, ϕ (n) for all n N Γ,, n N ϕ (n) Similarily for other rules Formalisation: primitive recursive function

80 34/ 70 LK proves induction Informally: Assume ϕ(0) and ϕ(n) ϕ(n + 1), then ϕ(0) ϕ(0) ϕ(0) ϕ(1) ϕ(1) ϕ(0) ϕ(0) ϕ(1) ϕ(1) n N ϕ(n) ϕ(1) ϕ(2) ϕ(2)

81 34/ 70 LK proves induction Informally: Assume ϕ(0) and ϕ(n) ϕ(n + 1), then ϕ(0) ϕ(0) ϕ(0) ϕ(1) ϕ(1) ϕ(0) ϕ(0) ϕ(1) ϕ(1) n N ϕ(n) ϕ(1) ϕ(2) ϕ(2) Hence LK [I x ϕ(x)]

82 34/ 70 LK proves induction Informally: Assume ϕ(0) and ϕ(n) ϕ(n + 1), then ϕ(0) ϕ(0) ϕ(0) ϕ(1) ϕ(1) ϕ(0) ϕ(0) ϕ(1) ϕ(1) n N ϕ(n) ϕ(1) ϕ(2) ϕ(2) Hence LK [I x ϕ(x)] One application of the ω-rule Formalisation: prim. rec. function mapping Ix ϕ(x) to LK -proof

83 35/ 70 Completeness of LK Obs. For a first-order L-sentence σ: if N = σ, then LK σ.

84 35/ 70 Completeness of LK Obs. For a first-order L-sentence σ: if N = σ, then LK σ. Proof. Induction on the logical complexity of σ: If σ is atom, then BA σ with atomic cuts, so {σ} is axiom.

85 35/ 70 Completeness of LK Obs. For a first-order L-sentence σ: if N = σ, then LK σ. Proof. Induction on the logical complexity of σ: If σ is atom, then BA σ with atomic cuts, so {σ} is axiom. If σ = x ϕ(x), then N = ϕ(n) for all n N, so by IH. ϕ (0) ϕ (1) ϕ (2) n N ϕ (n)

86 35/ 70 Completeness of LK Obs. For a first-order L-sentence σ: if N = σ, then LK σ. Proof. Induction on the logical complexity of σ: If σ is atom, then BA σ with atomic cuts, so {σ} is axiom. If σ = x ϕ(x), then N = ϕ(n) for all n N, so ϕ (0) ϕ (1) ϕ (2) n N ϕ (n) by IH. If σ = x ϕ(x), then there is a k N s.t. N = ϕ(k), so ϕ (k) n N ϕ (n) by IH....

87 36/ 70 Outline Gentzen s consistency proof The omega rule Infinitary propositional logic Infinitary proofs The consistency proof Cyclic proofs

88 37/ 70 The height of a proof Proof height in a finite system, example: π = (π 1 ) (π 2 ) Γ, A Π Λ, B Γ, Π, Λ, A B r Then h(π) = 1 + max{h(π 1 ), h(π 2 )} = sup{h(π i ) + 1 i {1, 2}}.

89 37/ 70 The height of a proof Proof height in a finite system, example: π = (π 1 ) (π 2 ) Γ, A Π Λ, B Γ, Π, Λ, A B r Then h(π) = 1 + max{h(π 1 ), h(π 2 )} = sup{h(π i ) + 1 i {1, 2}}. Definition. For LK -proof π with direct subproofs π i, i I define h(π) = sup{h(π i ) + 1 i I }

90 38/ 70 The cut rank of a proof Definition. For a formula ϕ with direct subformulas ϕ i, i I define the depth of ϕ as d(ϕ) = sup{d(ϕ i ) + 1 i I }. Observation. The depth of σ is the depth of σ.

91 38/ 70 The cut rank of a proof Definition. For a formula ϕ with direct subformulas ϕ i, i I define the depth of ϕ as d(ϕ) = sup{d(ϕ i ) + 1 i I }. Observation. The depth of σ is the depth of σ. Definition. For LK -proof π with direct subproofs π i, i I and last inference ι define the cut rank of π: If ι is cut on some ϕ, then ρ(π) = max{d(ϕ), ρ(π1 ), ρ(π 2 )}. Otherwise, ρ(π) = sup{ρ(πi ) i I }.

92 38/ 70 The cut rank of a proof Definition. For a formula ϕ with direct subformulas ϕ i, i I define the depth of ϕ as d(ϕ) = sup{d(ϕ i ) + 1 i I }. Observation. The depth of σ is the depth of σ. Definition. For LK -proof π with direct subproofs π i, i I and last inference ι define the cut rank of π: If ι is cut on some ϕ, then ρ(π) = max{d(ϕ), ρ(π1 ), ρ(π 2 )}. Otherwise, ρ(π) = sup{ρ(πi ) i I }. Notation. LK ρ α S if there is an LK -proof of S with cut rank ρ and height α.

93 39/ 70 The proof translation revisited Lemma. If PA σ, then there is an r < ω s.t. LK r ω 2 σ. Proof. If PA σ, then there is a BA-proof π of I 1,..., I n σ.

94 39/ 70 The proof translation revisited Lemma. If PA σ, then there is an r < ω s.t. LK r ω 2 σ. Proof. If PA σ, then there is a BA-proof π of I 1,..., I n σ. ψ = (π n ) I n (π 1 ) (π ) I1 I1,..., I n, σ I2,..., I n, σ cut σ h(π ) < ω, h(π i ) = ω for 1 i n I n., σ cut

95 39/ 70 The proof translation revisited Lemma. If PA σ, then there is an r < ω s.t. LK r ω 2 σ. Proof. If PA σ, then there is a BA-proof π of I 1,..., I n σ. ψ = (π n ) I n (π 1 ) (π ) I1 I1,..., I n, σ I2,..., I n, σ cut σ h(π ) < ω, h(π i ) = ω for 1 i n h(ψ) = w + n < w 2. I n., σ cut

96 40/ 70 Cut-elimination in LK Theorem. If r < ω and LK r α S, then LK 0 2 α r S.

97 40/ 70 Cut-elimination in LK Theorem. If r < ω and LK r α S, then LK 0 2 α S. r Proof Sketch. Standard cut-elimination argument.

98 40/ 70 Cut-elimination in LK Theorem. If r < ω and LK r α S, then LK 0 2 α S. r Proof Sketch. Standard cut-elimination argument. Corollary. If PA σ, then LK 0 α σ for some α < ε 0.

99 40/ 70 Cut-elimination in LK Theorem. If r < ω and LK r α S, then LK 0 2 α S. r Proof Sketch. Standard cut-elimination argument. Corollary. If PA σ, then LK 0 α σ for some α < ε 0. Proof. If PA σ, then there is r < ω s.t. LK r ω 2 σ. By the cut-elimination theorem, LK 0 2 σ and 2 ω 2 ω 2 r < ω r+2 < ε 0. r

100 40/ 70 Cut-elimination in LK Theorem. If r < ω and LK r α S, then LK 0 2 α S. r Proof Sketch. Standard cut-elimination argument. Corollary. If PA σ, then LK 0 α σ for some α < ε 0. Proof. If PA σ, then there is r < ω s.t. LK r ω 2 σ. By the cut-elimination theorem, LK 0 2 σ and 2 ω 2 ω 2 r < ω r+2 < ε 0. r Corollary. PA is consistent.

101 40/ 70 Cut-elimination in LK Theorem. If r < ω and LK r α S, then LK 0 2 α S. r Proof Sketch. Standard cut-elimination argument. Corollary. If PA σ, then LK 0 α σ for some α < ε 0. Proof. If PA σ, then there is r < ω s.t. LK r ω 2 σ. By the cut-elimination theorem, LK 0 2 σ and 2 ω 2 ω 2 r < ω r+2 < ε 0. r Corollary. PA is consistent. Proof. Suppose PA, then LK 0 α for some α < ε 0, but there is not cut-free proof of in LK.

102 41/ 70 Summary of 2nd part The ω-rule The calculus LK Proofs of infinite width, no infinite branches Depth measured by ordinals Cut-elimination Consistency proof

103 42/ 70 Outline Gentzen s consistency proof The omega rule Cyclic proofs Infinite proofs Cyclic proofs Proof by induction Cyclic proofs vs. proofs by induction

104 43/ 70 Infinite descent Fermat: descente infinie There is no infinite descending chain a 1 > a 2 > with a i N Example. 2 is irrational. Proof. Suppose there are p, q 1 s.t. 2 = p q, i.e., p2 = 2q 2. Then: 2 p 2,

105 43/ 70 Infinite descent Fermat: descente infinie There is no infinite descending chain a 1 > a 2 > with a i N Example. 2 is irrational. Proof. Suppose there are p, q 1 s.t. 2 = p q, i.e., p2 = 2q 2. Then: 2 p 2, 4 p 2,

106 43/ 70 Infinite descent Fermat: descente infinie There is no infinite descending chain a 1 > a 2 > with a i N Example. 2 is irrational. Proof. Suppose there are p, q 1 s.t. 2 = p q, i.e., p2 = 2q 2. Then: 2 p 2, 4 p 2, 4 2q 2,

107 43/ 70 Infinite descent Fermat: descente infinie There is no infinite descending chain a 1 > a 2 > with a i N Example. 2 is irrational. Proof. Suppose there are p, q 1 s.t. 2 = p q, i.e., p2 = 2q 2. Then: 2 p 2, 4 p 2, 4 2q 2, 2 q 2,

108 43/ 70 Infinite descent Fermat: descente infinie There is no infinite descending chain a 1 > a 2 > with a i N Example. 2 is irrational. Proof. Suppose there are p, q 1 s.t. 2 = p q, i.e., p2 = 2q 2. Then: 2 p 2, 4 p 2, 4 2q 2, 2 q 2, 4 q 2

109 43/ 70 Infinite descent Fermat: descente infinie There is no infinite descending chain a 1 > a 2 > with a i N Example. 2 is irrational. Proof. Suppose there are p, q 1 s.t. 2 = p q, i.e., p2 = 2q 2. Then: 2 p 2, 4 p 2, 4 2q 2, 2 q 2, 4 q 2 So 2 p, 2 q, let p = p 2, q = q 2.

110 43/ 70 Infinite descent Fermat: descente infinie There is no infinite descending chain a 1 > a 2 > with a i N Example. 2 is irrational. Proof. Suppose there are p, q 1 s.t. 2 = p q, i.e., p2 = 2q 2. Then: 2 p 2, 4 p 2, 4 2q 2, 2 q 2, 4 q 2 So 2 p, 2 q, let p = p 2, q = q 2. Then p 2 = p2 4 = 2 q2 4 = 2q 2.

111 43/ 70 Infinite descent Fermat: descente infinie There is no infinite descending chain a 1 > a 2 > with a i N Example. 2 is irrational. Proof. Suppose there are p, q 1 s.t. 2 = p q, i.e., p2 = 2q 2. Then: 2 p 2, 4 p 2, 4 2q 2, 2 q 2, 4 q 2 So 2 p, 2 q, let p = p 2, q = q 2. Then p 2 = p2 4 = 2 q2 4 = 2q 2. So there is an infinitely desceding sequence p > p >... Contradiction.

112 43/ 70 Infinite descent Fermat: descente infinie There is no infinite descending chain a 1 > a 2 > with a i N Example. 2 is irrational. Proof. Suppose there are p, q 1 s.t. 2 = p q, i.e., p2 = 2q 2. Then: 2 p 2, 4 p 2, 4 2q 2, 2 q 2, 4 q 2 So 2 p, 2 q, let p = p 2, q = q 2. Then p 2 = p2 4 = 2 q2 4 = 2q 2. So there is an infinitely desceding sequence p > p >... Contradiction. 3rd part: formalisation of cyclic proofs [Brotherston, Simpson 11]

113 Inductive definitions First-order signature Σ Inductive predicate symbols Σ I Σ For each P Σ I a finite set of productions of the form Q 1 (u 1 ) Q k (u k ) P(t) with Q 1,..., Q k Σ and t, u 1,..., u k term vectors. Example. N(0) N(x) N(s(x)) L(nil) N(x) L(z) L(cons(x, z)) E(0) E(x) O(s(x)) O(x) E(s(x)) 44/ 70

114 45/ 70 Case split rules For inductive predicate P, case split rule is: where each production cases P(u), Γ case P Q 1 (u 1 [x]) Q k (u k [x]) P(t[x]) of P gives rise to a case (premise) Γ, u = t[x], Q 1 (u 1 [x]),..., Q k (u k [x]) where x is fresh in each case.

115 46/ 70 Case split rules: examples t = 0, Γ t = s(x), N(x), Γ N(t), Γ case N

116 46/ 70 Case split rules: examples t = 0, Γ t = s(x), N(x), Γ N(t), Γ t = 0, Γ t = s(x), O(x), Γ E(t), Γ case N case E

117 46/ 70 Case split rules: examples t = 0, Γ t = s(x), N(x), Γ N(t), Γ t = 0, Γ t = s(x), O(x), Γ E(t), Γ case N case E t = s(x), E(x), Γ O(t), Γ case O

118 46/ 70 Case split rules: examples t = 0, Γ t = s(x), N(x), Γ N(t), Γ t = 0, Γ t = s(x), O(x), Γ E(t), Γ case N case E t = s(x), E(x), Γ O(t), Γ case O t = nil, Γ t = cons(x, z), N(x), L(z), Γ L(t), Γ case L

119 47/ 70 Right-introduction rules Definition. Let P be inductive predicate and a production for P. Then Q 1 (u 1 [x]) Q k (u k [x]) P(t[x]) Γ, Q 1 (u 1 [v]) Γ, Q k (u k [v]) Γ, P(t[v]) P r is a right-introduction rule for P, where v is a vector of terms.

120 48/ 70 Right-introduction rules: examples Γ, N(0) N r Γ, N(t) Γ, N(s(t)) N r

121 48/ 70 Right-introduction rules: examples Γ, N(0) N r Γ, N(t) Γ, N(s(t)) N r Γ, E(0) E r Γ, O(t) Γ, E(s(t)) E r Γ, E(t) Γ, O(s(t)) O r

122 48/ 70 Right-introduction rules: examples Γ, N(0) N r Γ, N(t) Γ, N(s(t)) N r Γ, E(0) E r Γ, O(t) Γ, E(s(t)) E r Γ, E(t) Γ, O(s(t)) O r Γ, L(nil) L r Γ, N(t) Γ, L(u) Γ, L(cons(t, u)) L r

123 49/ 70 LKID ω pre-proofs Definition. Set D of inductive definitions, rules of D-LKID ω are: usual LK for FOL with equality the substitution rules Γ Γσ σ subst The case split rules for ind. predicates of D The right-introduction rules for ind. predicates of D Notation. LKID ω instead of D-LKID ω.

124 49/ 70 LKID ω pre-proofs Definition. Set D of inductive definitions, rules of D-LKID ω are: usual LK for FOL with equality the substitution rules Γ Γσ σ subst The case split rules for ind. predicates of D The right-introduction rules for ind. predicates of D Notation. LKID ω instead of D-LKID ω. Definition. An LKID ω pre-proof is a (possibly infinite) tree built from these rules.

125 49/ 70 LKID ω pre-proofs Definition. Set D of inductive definitions, rules of D-LKID ω are: usual LK for FOL with equality the substitution rules Γ Γσ σ subst The case split rules for ind. predicates of D The right-introduction rules for ind. predicates of D Notation. LKID ω instead of D-LKID ω. Definition. An LKID ω pre-proof is a (possibly infinite) tree built from these rules. Remark. LKID ω pre-proofs are not sound.

126 50/ 70 LKID ω proofs Definition. Path (Γ i i ) 1 i<α of sequents (for some α ω)

127 50/ 70 LKID ω proofs Definition. Path (Γ i i ) 1 i<α of sequents (for some α ω) Definition. (τ i ) 1 i<α is a trace in (Γ i i ) 1 i<α if every τi is a Pt in Γ i for an inductive predicate P, and τ i is successor of τ i+1.

128 50/ 70 LKID ω proofs Definition. Path (Γ i i ) 1 i<α of sequents (for some α ω) Definition. (τ i ) 1 i<α is a trace in (Γ i i ) 1 i<α if every τi is a Pt in Γ i for an inductive predicate P, and τ i is successor of τ i+1. Definition. i is a progress point in (τ i ) 1 i<α if τ i+1 obtained from τ i by case split.

129 50/ 70 LKID ω proofs Definition. Path (Γ i i ) 1 i<α of sequents (for some α ω) Definition. (τ i ) 1 i<α is a trace in (Γ i i ) 1 i<α if every τi is a Pt in Γ i for an inductive predicate P, and τ i is successor of τ i+1. Definition. i is a progress point in (τ i ) 1 i<α if τ i+1 obtained from τ i by case split. Definition. An LKID ω proof is an LKID ω pre-proof that satisfies the global trace condition: every infinite path contains a trace with infinitely many progress points.

130 51/ 70 LKID ω : example E(0) E r x 0 = 0 E(0), O(x 0 ) w x 0 = 0 E(x 0 ), O(x 0 ) =. N(x 1 ) E(x 1 ), O(x 1 ) case N N(x 1 ) O(x 1 ), O(s(x 1 )) O r N(x 1 ) E(s(x 1 )), O(s(x 1 )) E r x 0 = s(x 1 ), N(x 1 ) E(s(x 1 )), O(s(x 1 )) w l = x 0 = s(x 1 ), N(x 1 ) E(x 0 ), O(x 0 ) case N N(x 0 ) E(x 0 ), O(x 0 )

131 52/ 70 Properties of LKID ω Definition. Standard model... inductive predicates are interpreted as least fixed points (of semantics of their productions)

132 52/ 70 Properties of LKID ω Definition. Standard model... inductive predicates are interpreted as least fixed points (of semantics of their productions) Theorem. LKID ω is sound w.r.t. standard models.

133 52/ 70 Properties of LKID ω Definition. Standard model... inductive predicates are interpreted as least fixed points (of semantics of their productions) Theorem. LKID ω is sound w.r.t. standard models. Theorem. Cut-free LKID ω is complete w.r.t. standard models. Proof Sketch. Construct proof search tree as LKID ω proof If S not valid, search tree of S has infinite branch without progress

134 53/ 70 Outline Gentzen s consistency proof The omega rule Cyclic proofs Infinite proofs Cyclic proofs Proof by induction Cyclic proofs vs. proofs by induction

135 54/ 70 CLKID ω Consider derivation trees built from LKID ω -rules. (derivation tree: branch may end with non-axiom) Definition. A bud in D is a leaf which is not an axiom.

136 54/ 70 CLKID ω Consider derivation trees built from LKID ω -rules. (derivation tree: branch may end with non-axiom) Definition. A bud in D is a leaf which is not an axiom. Definition. For a bud S in D an internal node S in D is called companion of S if S = S.

137 54/ 70 CLKID ω Consider derivation trees built from LKID ω -rules. (derivation tree: branch may end with non-axiom) Definition. A bud in D is a leaf which is not an axiom. Definition. For a bud S in D an internal node S in D is called companion of S if S = S. Definition. A CLKID ω pre-proof is a pair (D, γ) where D is a finite derivation tree, and γ assigns a companion to each bud.

138 54/ 70 CLKID ω Consider derivation trees built from LKID ω -rules. (derivation tree: branch may end with non-axiom) Definition. A bud in D is a leaf which is not an axiom. Definition. For a bud S in D an internal node S in D is called companion of S if S = S. Definition. A CLKID ω pre-proof is a pair (D, γ) where D is a finite derivation tree, and γ assigns a companion to each bud. CLKID ω pre-proof unfolds to LKID ω -proof by identifying each bud with its companion. Definition. A CLKID ω proof is a CLKID ω pre-proof whose unfolding satisfies the global trace condition.

139 55/ 70 CLKID ω : Example O(x) N(x) O(x ) N(x ) subst N(0) x = 0 N(0) w x = s(x ), O(x ) N(x ) w l l x = 0 N(x) = x = s(x ), O(x ) N(s(x )) Nr = x = s(x ), O(x ) N(x) case E E(x) N(x) E(x) O(x) N(x) E(x) N(x) E(x ) N(x ) subst x = s(x ), E(x ) N(x ) w l x = s(x ), E(x ) N(s(x )) Nr = x = s(x ), E(x ) N(x) case O O(x) N(x) l

140 56/ 70 Decidability Theorem. The following problem is decidable: given CLKID ω pre-proof (D, γ), is (D, γ) a CLKID ω proof?

141 56/ 70 Decidability Theorem. The following problem is decidable: given CLKID ω pre-proof (D, γ), is (D, γ) a CLKID ω proof? Definition. Büchi automaton is NFA accepting an infinite word w Σ ω if w has a path visiting an accepting state infinitely often.

142 56/ 70 Decidability Theorem. The following problem is decidable: given CLKID ω pre-proof (D, γ), is (D, γ) a CLKID ω proof? Definition. Büchi automaton is NFA accepting an infinite word w Σ ω if w has a path visiting an accepting state infinitely often. Proof Sketch. P = (D, γ) induces Büchi automata Ball s.t. L(B all ) is set of all infinite paths, and Bacc s.t. L(B acc ) is set of infinite paths satisfying prog. cond. L(B all ) L(B acc ) is decidable.

143 57/ 70 Outline Gentzen s consistency proof The omega rule Cyclic proofs Infinite proofs Cyclic proofs Proof by induction Cyclic proofs vs. proofs by induction

144 58/ 70 Induction rules Definition. Inductive predicate P, induction rule for P: minor premises Γ, ϕ P (u) Γ, P(u) ind P where minor premises from productions of inductive predicates mutually dependent with P one induction formula ϕq for each such predicate Q

145 59/ 70 Induction rules: examples Γ, ϕ N (0) ϕ N (x), Γ, ϕ N (s(x)) ϕ N (t), Γ N(t), Γ ind N

146 59/ 70 Induction rules: examples Γ, ϕ N (0) ϕ N (x), Γ, ϕ N (s(x)) ϕ N (t), Γ N(t), Γ ind N Γ, ϕ E (0) ϕ E (x), Γ, ϕ O (s(x)) ϕ O (x), Γ, ϕ E (s(x)) ϕ E (t), Γ E(t), Γ ind E

147 59/ 70 Induction rules: examples Γ, ϕ N (0) ϕ N (x), Γ, ϕ N (s(x)) ϕ N (t), Γ N(t), Γ ind N Γ, ϕ E (0) ϕ E (x), Γ, ϕ O (s(x)) ϕ O (x), Γ, ϕ E (s(x)) ϕ E (t), Γ E(t), Γ ind E Γ, ϕ L (nil) N(x), ϕ L (z), Γ, ϕ L (cons(x, z)) ϕ L (t), Γ L(t), Γ ind L

148 60/ 70 Properties of LKID Henkin model... least fixed points formed in subset of power set

149 60/ 70 Properties of LKID Henkin model... least fixed points formed in subset of power set Theorem. LKID is sound w.r.t. Henkin models.

150 60/ 70 Properties of LKID Henkin model... least fixed points formed in subset of power set Theorem. LKID is sound w.r.t. Henkin models. Theorem. LKID without cut is complete w.r.t. Henkin models.

151 60/ 70 Properties of LKID Henkin model... least fixed points formed in subset of power set Theorem. LKID is sound w.r.t. Henkin models. Theorem. LKID without cut is complete w.r.t. Henkin models. Lemma. PA can be interpreted in LKID plus BA-axioms.

152 60/ 70 Properties of LKID Henkin model... least fixed points formed in subset of power set Theorem. LKID is sound w.r.t. Henkin models. Theorem. LKID without cut is complete w.r.t. Henkin models. Lemma. PA can be interpreted in LKID plus BA-axioms. Corollary. PA is consistent.

153 61/ 70 Outline Gentzen s consistency proof The omega rule Cyclic proofs Infinite proofs Cyclic proofs Proof by induction Cyclic proofs vs. proofs by induction

154 62/ 70 Translation from LKID to CLKID ω (1/2) Theorem. If LKID Γ then CLKID ω Γ.

155 Translation from LKID to CLKID ω (1/2) Theorem. If LKID Γ then CLKID ω Γ. Proof. Translate inductions into cycles. For example: (π b ) Γ, ϕ(0) (π s ) ϕ(x), Γ, ϕ(s(x)) N(t), Γ (π c ) ϕ(t), Γ ind N 62/ 70

156 Translation from LKID to CLKID ω (1/2) Theorem. If LKID Γ then CLKID ω Γ. Proof. Translate inductions into cycles. For example: (π b ) Γ, ϕ(0) (π s ) ϕ(x), Γ, ϕ(s(x)) N(t), Γ (π c ) ϕ(t), Γ ind N Let A = {ϕ(0), x (ϕ(x) ϕ(s(x)))}, translate to N(z), A ϕ(z) N(t), A ϕ(t) subst N(t) A ϕ(t) (π b, π s ) Γ A, (π c ) ϕ(t), Γ Γ, A ϕ(t) cut N(t), Γ l 62/ 70

157 63/ 70 Translation from LKID to CLKID ω (2/2) Proof (cont.) reminder: A = {ϕ(0), x (ϕ(x) ϕ(s(x)))} where z = 0, A ϕ(z) A, N(z) ϕ(z) A, N(y) ϕ(y) subst ϕ(s(y)) ϕ(s(y)) A, N(y), ϕ(y) ϕ(s(y)) ϕ(s(y)) c l, l A, N(y) ϕ(s(y)) z = s(y), A, N(y) ϕ(z) =, w l case N A, N(z) ϕ(z) l What about the other direction?

158 64/ 70 Brotherston/Simpson conjecture Conjecture [Brotherston/Simpson 11]. If CLKID ω Γ then LKID Γ.

159 64/ 70 Brotherston/Simpson conjecture Conjecture [Brotherston/Simpson 11]. If CLKID ω Γ then LKID Γ. Theorem [Simpson 17]. True for PA.

160 64/ 70 Brotherston/Simpson conjecture Conjecture [Brotherston/Simpson 11]. If CLKID ω Γ then LKID Γ. Theorem [Simpson 17]. True for PA. Theorem [Berardi/Tatsuta 17]. False in general.

161 64/ 70 Brotherston/Simpson conjecture Conjecture [Brotherston/Simpson 11]. If CLKID ω Γ then LKID Γ. Theorem [Simpson 17]. True for PA. Theorem [Berardi/Tatsuta 17]. False in general. Theorem [Berardi/Tatsuta 17]. True for calculi containing PA.

162 65/ 70 Cyclic arithmetic is equivalent to Peano arithmetic Let L = {0, s, +,, <} Definition. Cyclic arithmetic (CA) is set of first-order L-sentences σ s.t. σ has CLKID ω proof from basic arithmetic axioms where N is the only inductive predicate.

163 65/ 70 Cyclic arithmetic is equivalent to Peano arithmetic Let L = {0, s, +,, <} Definition. Cyclic arithmetic (CA) is set of first-order L-sentences σ s.t. σ has CLKID ω proof from basic arithmetic axioms where N is the only inductive predicate. Theorem [Simpson 17]. CA = PA.

164 65/ 70 Cyclic arithmetic is equivalent to Peano arithmetic Let L = {0, s, +,, <} Definition. Cyclic arithmetic (CA) is set of first-order L-sentences σ s.t. σ has CLKID ω proof from basic arithmetic axioms where N is the only inductive predicate. Theorem [Simpson 17]. CA = PA. Proof Sketch. PA CA

165 65/ 70 Cyclic arithmetic is equivalent to Peano arithmetic Let L = {0, s, +,, <} Definition. Cyclic arithmetic (CA) is set of first-order L-sentences σ s.t. σ has CLKID ω proof from basic arithmetic axioms where N is the only inductive predicate. Theorem [Simpson 17]. CA = PA. Proof Sketch. PA CA CA PA: Formalisation of unfolding CLKID ω LKID ω in ACA 0 (incl. theory of Büchi automata) Formalisation of soundness of LKID ω in ACA 0 Truth reflection principle for Σn -sentences Conservativity of ACA0 over PA

166 66/ 70 Extended equivalence Definition. Given set of inductive definitions D: D-LKID + PA: add basic arithmetic axioms and ind. pred. N D-CLKID ω + PA: add basic arithmetic axioms and ind. pred. N

167 66/ 70 Extended equivalence Definition. Given set of inductive definitions D: D-LKID + PA: add basic arithmetic axioms and ind. pred. N D-CLKID ω + PA: add basic arithmetic axioms and ind. pred. N Theorem [Berardi/Tatsuta 17]. D-LKID + PA = D-CLKID ω + PA

168 66/ 70 Extended equivalence Definition. Given set of inductive definitions D: D-LKID + PA: add basic arithmetic axioms and ind. pred. N D-CLKID ω + PA: add basic arithmetic axioms and ind. pred. N Theorem [Berardi/Tatsuta 17]. D-LKID + PA = D-CLKID ω + PA Proof Sketch. D-LKID + PA D-CLKID ω + PA

169 66/ 70 Extended equivalence Definition. Given set of inductive definitions D: D-LKID + PA: add basic arithmetic axioms and ind. pred. N D-CLKID ω + PA: add basic arithmetic axioms and ind. pred. N Theorem [Berardi/Tatsuta 17]. D-LKID + PA = D-CLKID ω + PA Proof Sketch. D-LKID + PA D-CLKID ω + PA D-CLKID ω + PA D-LKID + PA: 1. Cut D-CLKID ω + PA proof π into cycle-free parts 2. Prove induction principle on order < π in PA 3. Combine 1. and 2. to D-LKID + PA proof.

170 67/ 70 CLKID ω is not equivalent to LKID (1/2) 2-Hydra statement provable in CLKID ω but not in LKID Hydra: mythical monster: cut off one head, grows two new heads

171 67/ 70 CLKID ω is not equivalent to LKID (1/2) 2-Hydra statement provable in CLKID ω but not in LKID Hydra: mythical monster: cut off one head, grows two new heads 2-Hydra: Let a, b N, then (a+1, b+2) (a, b), (0, b+2) (b+1, b), (a+2, 0) (a+1, a) Terminate if none of these rules apply.

172 67/ 70 CLKID ω is not equivalent to LKID (1/2) 2-Hydra statement provable in CLKID ω but not in LKID Hydra: mythical monster: cut off one head, grows two new heads 2-Hydra: Let a, b N, then (a+1, b+2) (a, b), (0, b+2) (b+1, b), (a+2, 0) (a+1, a) Terminate if none of these rules apply. Formalisation: let L = {0/0, s/1, N/1, p/2}, N defined inductively (H) H 1 H 2 H 3 H 4 x, y N p(x, y) (H 1 ) p(0, 0) p(s(0), 0) x N p(x, s(0)) (H 2 ) x, y N ( p(x, y) p(s(x), s(s(y))) ) (H 3 ) y N ( p(s(y), y) p(0, s(s(y))) ) (H 4 ) x N ( p(s(x), x) p(s(s(x)), 0) )

173 68/ 70 CLKID ω is not equivalent to LKID (2/2) Lemma. CLKID ω H Proof. Short and straightforward cyclic proof.

174 68/ 70 CLKID ω is not equivalent to LKID (2/2) Lemma. CLKID ω H Proof. Short and straightforward cyclic proof. Theorem [Berardi/Tatsuta 17]. LKID H Proof Sketch. Counter-Henkin-structure: Domain N Z Suitable infinite sequence of pairs in Z.

175 69/ 70 Summary of 3rd part Inductive definitions Infinitely deep proofs LKID ω Sound and complete w.r.t. standard models Cyclic subsystem CLKID ω of LKID ω Finite proofs Sound and complete w.r.t. Henkin models Proofs by induction LKID LKID CLKID ω CLKID ω LKID if PA is included

176 70/ 70 Summary Three proof-theoretic approaches to induction: Induction rules The ω-rule Cyclic proofs What this talk did not contain: The incompleteness theorems Program extraction (and consistency proofs based on that) Bounded arithmetic (and connections to computational complexity) Inductive theorem proving...

Sequent calculi for induction and infinite descent

Sequent calculi for induction and infinite descent Sequent calculi for induction and infinite descent James Brotherston Dept. of Computing Imperial College London Alex Simpson LFCS, School of Informatics University of Edinburgh Abstract This paper formalises

More information

Proof Theory and Subsystems of Second-Order Arithmetic

Proof Theory and Subsystems of Second-Order Arithmetic Proof Theory and Subsystems of Second-Order Arithmetic 1. Background and Motivation Why use proof theory to study theories of arithmetic? 2. Conservation Results Showing that if a theory T 1 proves ϕ,

More information

Between proof theory and model theory Three traditions in logic: Syntactic (formal deduction)

Between proof theory and model theory Three traditions in logic: Syntactic (formal deduction) Overview Between proof theory and model theory Three traditions in logic: Syntactic (formal deduction) Jeremy Avigad Department of Philosophy Carnegie Mellon University avigad@cmu.edu http://andrew.cmu.edu/

More information

03 Review of First-Order Logic

03 Review of First-Order Logic CAS 734 Winter 2014 03 Review of First-Order Logic William M. Farmer Department of Computing and Software McMaster University 18 January 2014 What is First-Order Logic? First-order logic is the study of

More information

Completeness Theorems and λ-calculus

Completeness Theorems and λ-calculus Thierry Coquand Apr. 23, 2005 Content of the talk We explain how to discover some variants of Hindley s completeness theorem (1983) via analysing proof theory of impredicative systems We present some remarks

More information

Peano Arithmetic. CSC 438F/2404F Notes (S. Cook) Fall, Goals Now

Peano Arithmetic. CSC 438F/2404F Notes (S. Cook) Fall, Goals Now CSC 438F/2404F Notes (S. Cook) Fall, 2008 Peano Arithmetic Goals Now 1) We will introduce a standard set of axioms for the language L A. The theory generated by these axioms is denoted PA and called Peano

More information

Propositional and Predicate Logic - XIII

Propositional and Predicate Logic - XIII Propositional and Predicate Logic - XIII Petr Gregor KTIML MFF UK WS 2016/2017 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - XIII WS 2016/2017 1 / 22 Undecidability Introduction Recursive

More information

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig First-Order Logic First-Order Theories Roopsha Samanta Partly based on slides by Aaron Bradley and Isil Dillig Roadmap Review: propositional logic Syntax and semantics of first-order logic (FOL) Semantic

More information

Fast Growing Functions and Arithmetical Independence Results

Fast Growing Functions and Arithmetical Independence Results Fast Growing Functions and Arithmetical Independence Results Stanley S. Wainer (Leeds UK) Stanford, March 2013 1. Intro A Mathematical Incompleteness Are there any genuine mathematical examples of incompleteness?

More information

3 Propositional Logic

3 Propositional Logic 3 Propositional Logic 3.1 Syntax 3.2 Semantics 3.3 Equivalence and Normal Forms 3.4 Proof Procedures 3.5 Properties Propositional Logic (25th October 2007) 1 3.1 Syntax Definition 3.0 An alphabet Σ consists

More information

Mathematical Logic. Reasoning in First Order Logic. Chiara Ghidini. FBK-IRST, Trento, Italy

Mathematical Logic. Reasoning in First Order Logic. Chiara Ghidini. FBK-IRST, Trento, Italy Reasoning in First Order Logic FBK-IRST, Trento, Italy April 12, 2013 Reasoning tasks in FOL Model checking Question: Is φ true in the interpretation I with the assignment a? Answer: Yes if I = φ[a]. No

More information

Provably Total Functions of Arithmetic with Basic Terms

Provably Total Functions of Arithmetic with Basic Terms Provably Total Functions of Arithmetic with Basic Terms Evgeny Makarov INRIA Orsay, France emakarov@gmail.com A new characterization of provably recursive functions of first-order arithmetic is described.

More information

Classical Propositional Logic

Classical Propositional Logic The Language of A Henkin-style Proof for Natural Deduction January 16, 2013 The Language of A Henkin-style Proof for Natural Deduction Logic Logic is the science of inference. Given a body of information,

More information

185.A09 Advanced Mathematical Logic

185.A09 Advanced Mathematical Logic 185.A09 Advanced Mathematical Logic www.volny.cz/behounek/logic/teaching/mathlog13 Libor Běhounek, behounek@cs.cas.cz Lecture #1, October 15, 2013 Organizational matters Study materials will be posted

More information

PREDICATE LOGIC: UNDECIDABILITY AND INCOMPLETENESS HUTH AND RYAN 2.5, SUPPLEMENTARY NOTES 2

PREDICATE LOGIC: UNDECIDABILITY AND INCOMPLETENESS HUTH AND RYAN 2.5, SUPPLEMENTARY NOTES 2 PREDICATE LOGIC: UNDECIDABILITY AND INCOMPLETENESS HUTH AND RYAN 2.5, SUPPLEMENTARY NOTES 2 Neil D. Jones DIKU 2005 14 September, 2005 Some slides today new, some based on logic 2004 (Nils Andersen) OUTLINE,

More information

Propositional Logic: Part II - Syntax & Proofs 0-0

Propositional Logic: Part II - Syntax & Proofs 0-0 Propositional Logic: Part II - Syntax & Proofs 0-0 Outline Syntax of Propositional Formulas Motivating Proofs Syntactic Entailment and Proofs Proof Rules for Natural Deduction Axioms, theories and theorems

More information

Propositional Logic Language

Propositional Logic Language Propositional Logic Language A logic consists of: an alphabet A, a language L, i.e., a set of formulas, and a binary relation = between a set of formulas and a formula. An alphabet A consists of a finite

More information

Well-foundedness of Countable Ordinals and the Hydra Game

Well-foundedness of Countable Ordinals and the Hydra Game Well-foundedness of Countable Ordinals and the Hydra Game Noah Schoem September 11, 2014 1 Abstract An argument involving the Hydra game shows why ACA 0 is insufficient for a theory of ordinals in which

More information

Part II. Logic and Set Theory. Year

Part II. Logic and Set Theory. Year Part II Year 2018 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2018 60 Paper 4, Section II 16G State and prove the ǫ-recursion Theorem. [You may assume the Principle of ǫ- Induction.]

More information

Existence and Consistency in Bounded Arithmetic

Existence and Consistency in Bounded Arithmetic Existence and Consistency in Bounded Arithmetic Yoriyuki Yamagata National Institute of Advanced Science and Technology (AIST) Kusatsu, August 30, 2011 Outline Self introduction Summary Theories of PV

More information

There are infinitely many set variables, X 0, X 1,..., each of which is

There are infinitely many set variables, X 0, X 1,..., each of which is 4. Second Order Arithmetic and Reverse Mathematics 4.1. The Language of Second Order Arithmetic. We ve mentioned that Peano arithmetic is sufficient to carry out large portions of ordinary mathematics,

More information

Informal Statement Calculus

Informal Statement Calculus FOUNDATIONS OF MATHEMATICS Branches of Logic 1. Theory of Computations (i.e. Recursion Theory). 2. Proof Theory. 3. Model Theory. 4. Set Theory. Informal Statement Calculus STATEMENTS AND CONNECTIVES Example

More information

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms First-Order Logic 1 Syntax Domain of Discourse The domain of discourse for first order logic is FO structures or models. A FO structure contains Relations Functions Constants (functions of arity 0) FO

More information

Herbrand Theorem, Equality, and Compactness

Herbrand Theorem, Equality, and Compactness CSC 438F/2404F Notes (S. Cook and T. Pitassi) Fall, 2014 Herbrand Theorem, Equality, and Compactness The Herbrand Theorem We now consider a complete method for proving the unsatisfiability of sets of first-order

More information

ACLT: Algebra, Categories, Logic in Topology - Grothendieck's generalized topological spaces (toposes)

ACLT: Algebra, Categories, Logic in Topology - Grothendieck's generalized topological spaces (toposes) ACLT: Algebra, Categories, Logic in Topology - Grothendieck's generalized topological spaces (toposes) Steve Vickers CS Theory Group Birmingham 2. Theories and models Categorical approach to many-sorted

More information

Chapter 11: Automated Proof Systems

Chapter 11: Automated Proof Systems Chapter 11: Automated Proof Systems SYSTEM RS OVERVIEW Hilbert style systems are easy to define and admit a simple proof of the Completeness Theorem but they are difficult to use. Automated systems are

More information

Marie Duží

Marie Duží Marie Duží marie.duzi@vsb.cz 1 Formal systems, Proof calculi A proof calculus (of a theory) is given by: 1. a language 2. a set of axioms 3. a set of deduction rules ad 1. The definition of a language

More information

Axiomatic Theories of Truth

Axiomatic Theories of Truth Axiomatic Theories of Truth Graham Leigh University of Leeds LC 8, 8th July 28 Graham Leigh (University of Leeds) Axiomatic Theories of Truth LC 8, 8th July 28 1 / 15 Introduction Formalising Truth Formalising

More information

A Semantics of Evidence for Classical Arithmetic

A Semantics of Evidence for Classical Arithmetic Thierry Coquand Chambery, June 5, 2009 Intuitionistic analysis of classical logic This work is motivated by the first consistency proof of arithmetic by Gentzen (1936) Unpublished by Gentzen (criticisms

More information

Set Theory and the Foundation of Mathematics. June 19, 2018

Set Theory and the Foundation of Mathematics. June 19, 2018 1 Set Theory and the Foundation of Mathematics June 19, 2018 Basics Numbers 2 We have: Relations (subsets on their domain) Ordered pairs: The ordered pair x, y is the set {{x, y}, {x}}. Cartesian products

More information

Harmonious Logic: Craig s Interpolation Theorem and its Descendants. Solomon Feferman Stanford University

Harmonious Logic: Craig s Interpolation Theorem and its Descendants. Solomon Feferman Stanford University Harmonious Logic: Craig s Interpolation Theorem and its Descendants Solomon Feferman Stanford University http://math.stanford.edu/~feferman Interpolations Conference in Honor of William Craig 13 May 2007

More information

Chapter 11: Automated Proof Systems (1)

Chapter 11: Automated Proof Systems (1) Chapter 11: Automated Proof Systems (1) SYSTEM RS OVERVIEW Hilbert style systems are easy to define and admit a simple proof of the Completeness Theorem but they are difficult to use. Automated systems

More information

Handout: Proof of the completeness theorem

Handout: Proof of the completeness theorem MATH 457 Introduction to Mathematical Logic Spring 2016 Dr. Jason Rute Handout: Proof of the completeness theorem Gödel s Compactness Theorem 1930. For a set Γ of wffs and a wff ϕ, we have the following.

More information

TRUTH TELLERS. Volker Halbach. Scandinavian Logic Symposium. Tampere

TRUTH TELLERS. Volker Halbach. Scandinavian Logic Symposium. Tampere TRUTH TELLERS Volker Halbach Scandinavian Logic Symposium Tampere 25th August 2014 I m wrote two papers with Albert Visser on this and related topics: Self-Reference in Arithmetic, http://www.phil.uu.nl/preprints/lgps/number/316

More information

Propositional Logic: Deductive Proof & Natural Deduction Part 1

Propositional Logic: Deductive Proof & Natural Deduction Part 1 Propositional Logic: Deductive Proof & Natural Deduction Part 1 CS402, Spring 2016 Shin Yoo Deductive Proof In propositional logic, a valid formula is a tautology. So far, we could show the validity of

More information

Part III Logic. Theorems. Based on lectures by T. E. Forster Notes taken by Dexter Chua. Lent 2017

Part III Logic. Theorems. Based on lectures by T. E. Forster Notes taken by Dexter Chua. Lent 2017 Part III Logic Theorems Based on lectures by T. E. Forster Notes taken by Dexter Chua Lent 2017 These notes are not endorsed by the lecturers, and I have modified them (often significantly) after lectures.

More information

Propositional Logic: Models and Proofs

Propositional Logic: Models and Proofs Propositional Logic: Models and Proofs C. R. Ramakrishnan CSE 505 1 Syntax 2 Model Theory 3 Proof Theory and Resolution Compiled at 11:51 on 2016/11/02 Computing with Logic Propositional Logic CSE 505

More information

Arithmetical Hierarchy

Arithmetical Hierarchy Arithmetical Hierarchy 1 The Turing Jump Klaus Sutner Carnegie Mellon University Arithmetical Hierarchy 60-arith-hier 2017/12/15 23:18 Definability Formal Systems Recall: Oracles 3 The Use Principle 4

More information

Cyclic Proofs for Linear Temporal Logic

Cyclic Proofs for Linear Temporal Logic Cyclic Proofs for Linear Temporal Logic Ioannis Kokkinis Thomas Studer Abstract Annotated sequents provide an elegant approach for the design of deductive systems for temporal logics. Their proof theory,

More information

Semantic methods in proof theory. Jeremy Avigad. Department of Philosophy. Carnegie Mellon University.

Semantic methods in proof theory. Jeremy Avigad. Department of Philosophy. Carnegie Mellon University. Semantic methods in proof theory Jeremy Avigad Department of Philosophy Carnegie Mellon University avigad@cmu.edu http://macduff.andrew.cmu.edu 1 Proof theory Hilbert s goal: Justify classical mathematics.

More information

First Order Logic (FOL) 1 znj/dm2017

First Order Logic (FOL) 1   znj/dm2017 First Order Logic (FOL) 1 http://lcs.ios.ac.cn/ znj/dm2017 Naijun Zhan March 19, 2017 1 Special thanks to Profs Hanpin Wang (PKU) and Lijun Zhang (ISCAS) for their courtesy of the slides on this course.

More information

Arithmetical Hierarchy

Arithmetical Hierarchy Arithmetical Hierarchy Klaus Sutner Carnegie Mellon University 60-arith-hier 2017/12/15 23:18 1 The Turing Jump Arithmetical Hierarchy Definability Formal Systems Recall: Oracles 3 We can attach an orcale

More information

Motivation. CS389L: Automated Logical Reasoning. Lecture 10: Overview of First-Order Theories. Signature and Axioms of First-Order Theory

Motivation. CS389L: Automated Logical Reasoning. Lecture 10: Overview of First-Order Theories. Signature and Axioms of First-Order Theory Motivation CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories Işıl Dillig Last few lectures: Full first-order logic In FOL, functions/predicates are uninterpreted (i.e., structure

More information

Truth and Paradox. Leon Horsten. Summer School on Set Theory and Higher-Order Logic London, 1 6 August Truth and Paradox.

Truth and Paradox. Leon Horsten. Summer School on Set Theory and Higher-Order Logic London, 1 6 August Truth and Paradox. Summer School on Set and Higher-Order Logic London, 1 6 August 2011 Structure of the Tutorial 1. Introduction: 2. Definition, 3. 4. 5. 6. 7. of Truth 8. Tarski-biconditionals The disquotational intuition:

More information

Part II Logic and Set Theory

Part II Logic and Set Theory Part II Logic and Set Theory Theorems Based on lectures by I. B. Leader Notes taken by Dexter Chua Lent 2015 These notes are not endorsed by the lecturers, and I have modified them (often significantly)

More information

Sequent calculus proof systems for inductive definitions. James Brotherston

Sequent calculus proof systems for inductive definitions. James Brotherston Sequent calculus proof systems for inductive definitions James Brotherston Doctor of Philosophy Laboratory for Foundations of Computer Science School of Informatics University of Edinburgh 2006 Abstract

More information

Final Exam (100 points)

Final Exam (100 points) Final Exam (100 points) Honor Code: Each question is worth 10 points. There is one bonus question worth 5 points. In contrast to the homework assignments, you may not collaborate on this final exam. You

More information

CONSERVATION by Harvey M. Friedman September 24, 1999

CONSERVATION by Harvey M. Friedman September 24, 1999 CONSERVATION by Harvey M. Friedman September 24, 1999 John Burgess has specifically asked about whether one give a finitistic model theoretic proof of certain conservative extension results discussed in

More information

Propositional and Predicate Logic - V

Propositional and Predicate Logic - V Propositional and Predicate Logic - V Petr Gregor KTIML MFF UK WS 2016/2017 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - V WS 2016/2017 1 / 21 Formal proof systems Hilbert s calculus

More information

The logic of Σ formulas

The logic of Σ formulas The logic of Σ formulas Andre Kornell UC Davis BLAST August 10, 2018 Andre Kornell (UC Davis) The logic of Σ formulas BLAST August 10, 2018 1 / 22 the Vienna Circle The meaning of a proposition is the

More information

First-order logic Syntax and semantics

First-order logic Syntax and semantics 1 / 43 First-order logic Syntax and semantics Mario Alviano University of Calabria, Italy A.Y. 2017/2018 Outline 2 / 43 1 Motivation Why more than propositional logic? Intuition 2 Syntax Terms Formulas

More information

A simplified proof of arithmetical completeness theorem for provability logic GLP

A simplified proof of arithmetical completeness theorem for provability logic GLP A simplified proof of arithmetical completeness theorem for provability logic GLP L. Beklemishev Steklov Mathematical Institute Gubkina str. 8, 119991 Moscow, Russia e-mail: bekl@mi.ras.ru March 11, 2011

More information

Applied Logic for Computer Scientists. Answers to Some Exercises

Applied Logic for Computer Scientists. Answers to Some Exercises Applied Logic for Computer Scientists Computational Deduction and Formal Proofs Springer, 2017 doi: http://link.springer.com/book/10.1007%2f978-3-319-51653-0 Answers to Some Exercises Mauricio Ayala-Rincón

More information

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw Applied Logic Lecture 1 - Propositional logic Marcin Szczuka Institute of Informatics, The University of Warsaw Monographic lecture, Spring semester 2017/2018 Marcin Szczuka (MIMUW) Applied Logic 2018

More information

October 12, Complexity and Absoluteness in L ω1,ω. John T. Baldwin. Measuring complexity. Complexity of. concepts. to first order.

October 12, Complexity and Absoluteness in L ω1,ω. John T. Baldwin. Measuring complexity. Complexity of. concepts. to first order. October 12, 2010 Sacks Dicta... the central notions of model theory are absolute absoluteness, unlike cardinality, is a logical concept. That is why model theory does not founder on that rock of undecidability,

More information

Natural Deduction for Propositional Logic

Natural Deduction for Propositional Logic Natural Deduction for Propositional Logic Bow-Yaw Wang Institute of Information Science Academia Sinica, Taiwan September 10, 2018 Bow-Yaw Wang (Academia Sinica) Natural Deduction for Propositional Logic

More information

Realizable Extensions of Intuitionistic Analysis: Brouwer, Kleene, Kripke and the End of Time

Realizable Extensions of Intuitionistic Analysis: Brouwer, Kleene, Kripke and the End of Time Realizable Extensions of Intuitionistic Analysis: Brouwer, Kleene, Kripke and the End of Time Joan Rand Moschovakis Occidental College, Emerita ASL Special Session on Intuitionism and Intuitionistic Logic

More information

Discrete Mathematics

Discrete Mathematics Discrete Mathematics Yi Li Software School Fudan University March 13, 2017 Yi Li (Fudan University) Discrete Mathematics March 13, 2017 1 / 1 Review of Lattice Ideal Special Lattice Boolean Algebra Yi

More information

We will now make precise what is meant by a syntactic characterization of the set of arithmetically true sentences.

We will now make precise what is meant by a syntactic characterization of the set of arithmetically true sentences. 2.4 Incompleteness We will now make precise what is meant by a syntactic characterization of the set of arithmetically true sentences. Definition 2.15. A theory T is called axiomatisable if there is a

More information

Proving Completeness for Nested Sequent Calculi 1

Proving Completeness for Nested Sequent Calculi 1 Proving Completeness for Nested Sequent Calculi 1 Melvin Fitting abstract. Proving the completeness of classical propositional logic by using maximal consistent sets is perhaps the most common method there

More information

On some Metatheorems about FOL

On some Metatheorems about FOL On some Metatheorems about FOL February 25, 2014 Here I sketch a number of results and their proofs as a kind of abstract of the same items that are scattered in chapters 5 and 6 in the textbook. You notice

More information

A Super Introduction to Reverse Mathematics

A Super Introduction to Reverse Mathematics A Super Introduction to Reverse Mathematics K. Gao December 12, 2015 Outline Background Second Order Arithmetic RCA 0 and Mathematics in RCA 0 Other Important Subsystems Reverse Mathematics and Other Branches

More information

Gödel s Incompleteness Theorem. Overview. Computability and Logic

Gödel s Incompleteness Theorem. Overview. Computability and Logic Gödel s Incompleteness Theorem Overview Computability and Logic Recap Remember what we set out to do in this course: Trying to find a systematic method (algorithm, procedure) which we can use to decide,

More information

Syntax and Semantics. The integer arithmetic (IA) is the first order theory of integer numbers. The alphabet of the integer arithmetic consists of:

Syntax and Semantics. The integer arithmetic (IA) is the first order theory of integer numbers. The alphabet of the integer arithmetic consists of: Integer Arithmetic Syntax and Semantics The integer arithmetic (IA) is the first order theory of integer numbers. The alphabet of the integer arithmetic consists of: function symbols +,,s (s is the successor

More information

Sequent calculus for predicate logic

Sequent calculus for predicate logic CHAPTER 13 Sequent calculus for predicate logic 1. Classical sequent calculus The axioms and rules of the classical sequent calculus are: Axioms { Γ, ϕ, ϕ for atomic ϕ Γ, Left Γ,α 1,α 2 Γ,α 1 α 2 Γ,β 1

More information

Preliminaries. Introduction to EF-games. Inexpressivity results for first-order logic. Normal forms for first-order logic

Preliminaries. Introduction to EF-games. Inexpressivity results for first-order logic. Normal forms for first-order logic Introduction to EF-games Inexpressivity results for first-order logic Normal forms for first-order logic Algorithms and complexity for specific classes of structures General complexity bounds Preliminaries

More information

Transformation of Equational Theories and the Separation Problem of Bounded Arithmetic

Transformation of Equational Theories and the Separation Problem of Bounded Arithmetic Swansea University Department of Computer Science Transformation of Equational Theories and the Separation Problem of Bounded Arithmetic MRes Thesis by David R. Sherratt supervised by Prof. Arnold Beckmann

More information

The constructible universe

The constructible universe The constructible universe In this set of notes I want to sketch Gödel s proof that CH is consistent with the other axioms of set theory. Gödel s argument goes well beyond this result; his identification

More information

Recursion Theory. Joost J. Joosten

Recursion Theory. Joost J. Joosten Recursion Theory Joost J. Joosten Institute for Logic Language and Computation University of Amsterdam Plantage Muidergracht 24 1018 TV Amsterdam Room P 3.26, +31 20 5256095 jjoosten@phil.uu.nl www.phil.uu.nl/

More information

Gödel s Incompleteness Theorems

Gödel s Incompleteness Theorems Gödel s Incompleteness Theorems Reinhard Kahle CMA & Departamento de Matemática FCT, Universidade Nova de Lisboa Hilbert Bernays Summer School 2015 Göttingen Partially funded by FCT project PTDC/MHC-FIL/5363/2012

More information

TRUTH-THEORIES FOR FRAGMENTS OF PA

TRUTH-THEORIES FOR FRAGMENTS OF PA TRUTH-THEORIES FOR FRAGMENTS OF PA RICHARD G. HECK, JR. The discussion here follows Petr Hájek and Pavel Pudlák, Metamathematics of First-order Arithmetic (Berlin: Springer-Verlag, 1993). See especially

More information

Victoria Gitman and Thomas Johnstone. New York City College of Technology, CUNY

Victoria Gitman and Thomas Johnstone. New York City College of Technology, CUNY Gödel s Proof Victoria Gitman and Thomas Johnstone New York City College of Technology, CUNY vgitman@nylogic.org http://websupport1.citytech.cuny.edu/faculty/vgitman tjohnstone@citytech.cuny.edu March

More information

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic Mathematics 114L Spring 2018 D.A. Martin Mathematical Logic 1 First-Order Languages. Symbols. All first-order languages we consider will have the following symbols: (i) variables v 1, v 2, v 3,... ; (ii)

More information

CMPSCI 601: Tarski s Truth Definition Lecture 15. where

CMPSCI 601: Tarski s Truth Definition Lecture 15. where @ CMPSCI 601: Tarski s Truth Definition Lecture 15! "$#&%(') *+,-!".#/%0'!12 43 5 6 7 8:9 4; 9 9 < = 9 = or 5 6?>A@B!9 2 D for all C @B 9 CFE where ) CGE @B-HI LJKK MKK )HG if H ; C if H @ 1 > > > Fitch

More information

Predicate Calculus - Semantic Tableau (2/2) Moonzoo Kim CS Division of EECS Dept. KAIST

Predicate Calculus - Semantic Tableau (2/2) Moonzoo Kim CS Division of EECS Dept. KAIST Predicate Calculus - Semantic Tableau (2/2) Moonzoo Kim CS Division of EECS Dept. KAIST moonzoo@cs.kaist.ac.kr http://pswlab.kaist.ac.kr/courses/cs402-07 1 Formal construction is explained in two steps

More information

Dual-Intuitionistic Logic and Some Other Logics

Dual-Intuitionistic Logic and Some Other Logics Dual-Intuitionistic Logic and Some Other Logics Hiroshi Aoyama 1 Introduction This paper is a sequel to Aoyama(2003) and Aoyama(2004). In this paper, we will study various proof-theoretic and model-theoretic

More information

5. Peano arithmetic and Gödel s incompleteness theorem

5. Peano arithmetic and Gödel s incompleteness theorem 5. Peano arithmetic and Gödel s incompleteness theorem In this chapter we give the proof of Gödel s incompleteness theorem, modulo technical details treated in subsequent chapters. The incompleteness theorem

More information

PROOFS IN PREDICATE LOGIC AND COMPLETENESS; WHAT DECIDABILITY MEANS HUTH AND RYAN 2.3, SUPPLEMENTARY NOTES 2

PROOFS IN PREDICATE LOGIC AND COMPLETENESS; WHAT DECIDABILITY MEANS HUTH AND RYAN 2.3, SUPPLEMENTARY NOTES 2 PROOFS IN PREDICATE LOGIC AND COMPLETENESS; WHAT DECIDABILITY MEANS HUTH AND RYAN 2.3, SUPPLEMENTARY NOTES 2 Neil D. Jones DIKU 2005 12 September, 2005 Some slides today new, some based on logic 2004 (Nils

More information

A Tableau Calculus for Minimal Modal Model Generation

A Tableau Calculus for Minimal Modal Model Generation M4M 2011 A Tableau Calculus for Minimal Modal Model Generation Fabio Papacchini 1 and Renate A. Schmidt 2 School of Computer Science, University of Manchester Abstract Model generation and minimal model

More information

Some consequences of compactness in Lukasiewicz Predicate Logic

Some consequences of compactness in Lukasiewicz Predicate Logic Some consequences of compactness in Lukasiewicz Predicate Logic Luca Spada Department of Mathematics and Computer Science University of Salerno www.logica.dmi.unisa.it/lucaspada 7 th Panhellenic Logic

More information

Přednáška 12. Důkazové kalkuly Kalkul Hilbertova typu. 11/29/2006 Hilbertův kalkul 1

Přednáška 12. Důkazové kalkuly Kalkul Hilbertova typu. 11/29/2006 Hilbertův kalkul 1 Přednáška 12 Důkazové kalkuly Kalkul Hilbertova typu 11/29/2006 Hilbertův kalkul 1 Formal systems, Proof calculi A proof calculus (of a theory) is given by: A. a language B. a set of axioms C. a set of

More information

Logic and Computation

Logic and Computation Logic and Computation CS245 Dr. Borzoo Bonakdarpour University of Waterloo (Fall 2012) Computability and Decidability Logic and Computation p. 1/29 Agenda Programs as Formulas Cantor s Diagonalization

More information

Partial Collapses of the Σ 1 Complexity Hierarchy in Models for Fragments of Bounded Arithmetic

Partial Collapses of the Σ 1 Complexity Hierarchy in Models for Fragments of Bounded Arithmetic Partial Collapses of the Σ 1 Complexity Hierarchy in Models for Fragments of Bounded Arithmetic Zofia Adamowicz Institute of Mathematics, Polish Academy of Sciences Śniadeckich 8, 00-950 Warszawa, Poland

More information

Kreisel s Conjecture with minimality principle

Kreisel s Conjecture with minimality principle Kreisel s Conjecture with minimality principle Pavel Hrubeš November 9, 2008 Abstract We prove that Kreisel s Conjecture is true, if Peano arithmetic is axiomatised using minimality principle and axioms

More information

Madhavan Mukund Chennai Mathematical Institute

Madhavan Mukund Chennai Mathematical Institute AN INTRODUCTION TO LOGIC Madhavan Mukund Chennai Mathematical Institute E-mail: madhavan@cmiacin Abstract ese are lecture notes for an introductory course on logic aimed at graduate students in Computer

More information

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30)

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30) Computational Logic Davide Martinenghi Free University of Bozen-Bolzano Spring 2010 Computational Logic Davide Martinenghi (1/30) Propositional Logic - sequent calculus To overcome the problems of natural

More information

The Importance of Being Formal. Martin Henz. February 5, Propositional Logic

The Importance of Being Formal. Martin Henz. February 5, Propositional Logic The Importance of Being Formal Martin Henz February 5, 2014 Propositional Logic 1 Motivation In traditional logic, terms represent sets, and therefore, propositions are limited to stating facts on sets

More information

CS156: The Calculus of Computation

CS156: The Calculus of Computation Page 1 of 31 CS156: The Calculus of Computation Zohar Manna Winter 2010 Chapter 3: First-Order Theories Page 2 of 31 First-Order Theories I First-order theory T consists of Signature Σ T - set of constant,

More information

Positive provability logic

Positive provability logic Positive provability logic Lev Beklemishev Steklov Mathematical Institute Russian Academy of Sciences, Moscow November 12, 2013 Strictly positive modal formulas The language of modal logic extends that

More information

A simple proof that super-consistency implies cut elimination

A simple proof that super-consistency implies cut elimination A simple proof that super-consistency implies cut elimination Gilles Dowek 1 and Olivier Hermant 2 1 École polytechnique and INRIA, LIX, École polytechnique, 91128 Palaiseau Cedex, France gilles.dowek@polytechnique.edu

More information

Temporal logics and explicit-state model checking. Pierre Wolper Université de Liège

Temporal logics and explicit-state model checking. Pierre Wolper Université de Liège Temporal logics and explicit-state model checking Pierre Wolper Université de Liège 1 Topics to be covered Introducing explicit-state model checking Finite automata on infinite words Temporal Logics and

More information

Propositional Calculus - Natural deduction Moonzoo Kim CS Dept. KAIST

Propositional Calculus - Natural deduction Moonzoo Kim CS Dept. KAIST Propositional Calculus - Natural deduction Moonzoo Kim CS Dept. KAIST moonzoo@cs.kaist.ac.kr 1 Review Goal of logic To check whether given a formula Á is valid To prove a given formula Á ` Á Syntactic

More information

The Skolemization of existential quantifiers in intuitionistic logic

The Skolemization of existential quantifiers in intuitionistic logic The Skolemization of existential quantifiers in intuitionistic logic Matthias Baaz and Rosalie Iemhoff Institute for Discrete Mathematics and Geometry E104, Technical University Vienna, Wiedner Hauptstrasse

More information

Predicate Logic - Semantic Tableau

Predicate Logic - Semantic Tableau CS402, Spring 2016 Informal Construction of a Valid Formula Example 1 A valid formula: x(p(x) q(x)) ( xp(x) xq(x)) ( x(p(x) q(x)) ( xp(x) xq(x))) x(p(x) q(x)), ( xp(x) xq(x)) x(p(x) q(x)), xp(x), xq(x)

More information

Topos Theory. Lectures 17-20: The interpretation of logic in categories. Olivia Caramello. Topos Theory. Olivia Caramello.

Topos Theory. Lectures 17-20: The interpretation of logic in categories. Olivia Caramello. Topos Theory. Olivia Caramello. logic s Lectures 17-20: logic in 2 / 40 logic s Interpreting first-order logic in In Logic, first-order s are a wide class of formal s used for talking about structures of any kind (where the restriction

More information

On the Relationship Between AT R 0 and ÎD <ω

On the Relationship Between AT R 0 and ÎD <ω On the Relationship Between AT R 0 and ÎD

More information

hal , version 1-21 Oct 2009

hal , version 1-21 Oct 2009 ON SKOLEMISING ZERMELO S SET THEORY ALEXANDRE MIQUEL Abstract. We give a Skolemised presentation of Zermelo s set theory (with notations for comprehension, powerset, etc.) and show that this presentation

More information

Krivine s Intuitionistic Proof of Classical Completeness (for countable languages)

Krivine s Intuitionistic Proof of Classical Completeness (for countable languages) Krivine s Intuitionistic Proof of Classical Completeness (for countable languages) Berardi Stefano Valentini Silvio Dip. Informatica Dip. Mat. Pura ed Applicata Univ. Torino Univ. Padova c.so Svizzera

More information

First-Order Theorem Proving and Vampire

First-Order Theorem Proving and Vampire First-Order Theorem Proving and Vampire Laura Kovács 1,2 and Martin Suda 2 1 TU Wien 2 Chalmers Outline Introduction First-Order Logic and TPTP Inference Systems Saturation Algorithms Redundancy Elimination

More information