Docsity

Cut-Elimination with the Ackermann Function, Study notes of Pre-Calculus

Toggle sidebar
bg1
Cut-Elimination with the Ackermann Function
Henry Towsner
August 20, 2013
For our purposes we’ll work in PA together with a fresh ternery predicate symbol A, denoting (the relational version of) the Ackermann function. Specifi-
cally, we want to work with the properties:
• ∀y A(0, y, y + 1),
• ∀x, y A(x, 1, y)→A(x+ 1,0, y ),
• ∀x, y, z, w A(x+ 1, y, z)→A(x, z , w)→A(x+ 1, y + 1, w).
For convenience we’ll write Λfor the disjunction of the negation of these properties:
∃y¬A(0, y, y + 1),∃x, y A(x, 1, y)∧ ¬A(x+ 1,0, y ),∃x, y, z, w A(x+ 1, y, z )∧A(x, z, w)∧ ¬A(x+ 1, y + 1, w).
We’re interested in a proof of the sequent
Λ,∀x, y∃z A(x, y, z ).
¬A(0, y, y + 1), A(0, y, y + 1)
Λ, A(0, y, y + 1)
Λ,∃z A(0, y, z)
d(0) Λ,∀y∃z A(0, y, z)
A(x, 1, z),¬A(x, 1, z)¬A(x+ 1,0, z), A(x+ 1,0, z)
A(x, 1, z)∧ ¬A(x+ 1,0, z),¬A(x, 1, z), A(x+ 1,0, z)
Λ,¬A(x, 1, z), A(x+ 1,0, z)
Λ,¬A(x, 1, z),∃z A(x+ 1,0, z)
Λ,∀z¬A(x, 1, z),∃z A(x+ 1,0, z)
Λ,∃y∀z¬A(x, y, z),∃z A(x+ 1,0, z)
∗
Λ,¬A(x, z, w),¬A(x+ 1, y, z), A(x+ 1, y + 1,w)
Λ,¬A(x, z, w),¬A(x+ 1, y, z),∃z A(x+ 1, y + 1,z)
Λ,∀w¬A(x, z, w),¬A(x+ 1, y, z),∃z A(x+ 1, y + 1,z)
Λ,∃y∀w¬A(x, y, w),¬A(x+ 1, y, z),∃z A(x+ 1, y + 1,z)
Λ,∃y∀w¬A(x, y, w),∀z¬A(x+ 1, y, z),∃z A(x+ 1, y + 1,z)
Λ,∃y∀w¬A(x, y, w),∃z A(x+ 1, y, z)
d(x+ 1) Λ,∃y∀w¬A(x, y, w),∀y∃z A(x+ 1, y, z)
Λ,∀y∃z A(x, y, z)
Λ,∀x, y∃z A(x, y, z)
1
pf3
pf4
pf5

Partial preview of the text

Download Cut-Elimination with the Ackermann Function and more Study notes Pre-Calculus in PDF only on Docsity!

Cut-Elimination with the Ackermann Function

Henry Towsner

August 20, 2013

For our purposes we’ll work in PA together with a fresh ternery predicate symbol A, denoting (the relational version of) the Ackermann function. Specifi-

cally, we want to work with the properties:

• ∀y A(0, y, y + 1),

• ∀x, y A(x, 1 , y) → A(x + 1, 0 , y),

• ∀x, y, z, w A(x + 1, y, z) → A(x, z, w) → A(x + 1, y + 1, w).

For convenience we’ll write Λ for the disjunction of the negation of these properties:

∃y ¬A(0, y, y + 1), ∃x, y A(x, 1 , y) ∧ ¬A(x + 1, 0 , y), ∃x, y, z, w A(x + 1, y, z) ∧ A(x, z, w) ∧ ¬A(x + 1, y + 1, w).

We’re interested in a proof of the sequent

Λ, ∀x, y∃z A(x, y, z).

¬A(0, y, y + 1), A(0, y, y + 1) Λ, A(0, y, y + 1) Λ, ∃z A(0, y, z) d(0) (^) Λ, ∀y∃z A(0, y, z)

A(x, 1 , z), ¬A(x, 1 , z) ¬A(x + 1, 0 , z), A(x + 1, 0 , z) A(x, 1 , z) ∧ ¬A(x + 1, 0 , z), ¬A(x, 1 , z), A(x + 1, 0 , z) Λ, ¬A(x, 1 , z), A(x + 1, 0 , z) Λ, ¬A(x, 1 , z), ∃z A(x + 1, 0 , z) Λ, ∀z ¬A(x, 1 , z), ∃z A(x + 1, 0 , z) Λ, ∃y∀z ¬A(x, y, z), ∃z A(x + 1, 0 , z)

Λ, ¬A(x, z, w), ¬A(x + 1, y, z), A(x + 1, y + 1, w) Λ, ¬A(x, z, w), ¬A(x + 1, y, z), ∃z A(x + 1, y + 1, z) Λ, ∀w ¬A(x, z, w), ¬A(x + 1, y, z), ∃z A(x + 1, y + 1, z) Λ, ∃y∀w ¬A(x, y, w), ¬A(x + 1, y, z), ∃z A(x + 1, y + 1, z) Λ, ∃y∀w ¬A(x, y, w), ∀z ¬A(x + 1, y, z), ∃z A(x + 1, y + 1, z) Λ, ∃y∀w ¬A(x, y, w), ∃z A(x + 1, y, z) d(x + 1) (^) Λ, ∃y∀w ¬A(x, y, w), ∀y∃z A(x + 1, y, z)

Λ, ∀y∃z A(x, y, z) Λ, ∀x, y∃z A(x, y, z)

∗ is a short deduction from axioms similar to the other two, which I’m omitting for space.

For convenience, there are some named deductions here. In particular, d(x + 1) is a deduction of

Λ, ∃y∀w ¬A(x, y, w), ∀y∃z A(x + 1, y, z),

with x understood as a parameter other than 0. By d(3), for instance, we mean the same deduction with every instance of x replaced by 3. (By d(0) we mean

the deduction of Λ, ∀y∃z A(0, y, z).)

Now suppose we plug in some not-completely-trivial values of x and y, say x = 3, y = 2, and apply cut-elimination. We start by unraveling the induction;

depending on our exact algorithm, we get something like the following.

We end up with a deduction of Λ, ∀y, ∃z A(2, y, z):

Unraveling the induction, we get a deduction like the following (depending on our exact algorithm):

d(0). Λ, ∀y∃z A(0, y, z)

d(1). Λ, ∃y∀w ¬A(0, y, w), ∀y∃z A(1, y, z) Cut (^) Λ, ∀y∃z A(1, y, z)

d(2). Λ, ∃y∀w ¬A(1, y, w), ∀y∃z A(2, y, z) Cut (^) Λ, ∀y∃z A(2, y, z)

We’ll call this p(2). More interestingly, we get the following deduction:

A(2, 1 , z), ¬A(2, 1 , z) ¬A(3, 0 , z), A(3, 0 , z) A(2, 1 , z) ∧ ¬A(3, 0 , z), ¬A(2, 1 , z), A(3, 0 , z) Λ, ¬A(2, 1 , z), A(3, 0 , z) Λ, ¬A(2, 1 , z), ∃z A(3, 0 , z) Λ, ∀z¬A(2, 1 , z), ∃z A(3, 0 , z) † Λ, ∃y∀z ¬A(2, y, z), ∃z A(3, 0 , z)

Λ, ¬A(2, z, w), ¬A(3, 0 , z), A(3, 1 , w) Λ, ¬A(2, z, w), ¬A(3, 0 , z), ∃z A(3, 1 , z) Λ, ∀w¬A(2, z, w), ¬A(3, 0 , z), ∃z A(3, 1 , z) Λ, ∃y∀w ¬A(2, y, w), ¬A(3, 0 , z), ∃z A(3, 1 , z) Λ, ∃y∀w ¬A(2, y, w), ∀z ¬A(3, 0 , z), ∃z A(3, 1 , z) Cut (^) Λ, ∃y∀w ¬A(2, y, w), ∃z A(3, 1 , z)

Λ, ¬A(2, z, w), ¬A(3, 1 , z), A(3, 2 , w) Λ, ¬A(2, z, w), ¬A(3, 1 , z), ∃z A(3, 2 , z) Λ, ∀w¬A(2, z, w), ¬A(3, 1 , z), ∃z A(3, 2 , z) Λ, ∃y∀w ¬A(2, y, w), ¬A(3, 1 , z), ∃z A(3, 2 , z) Λ, ∃y∀w ¬A(2, y, w), ∀z ¬A(3, 1 , z), ∃z A(3, 2 , z) Cut (^) Λ, ∃y∀w ¬A(2, y, w), ∃z A(3, 2 , z)

We’ll call this a. Our unraveled deduction is the result of cutting these together:

p(2). Λ, ∀y∃z A(2, y, z)

a. Λ, ∃y∀w ¬A(2, y, w), ∃z A(3, 2 , z) Cut Λ, ∃z A(3, 2 , z)

The cut-elimination procedure says we should follow the existential side of the cuts up to an actual ∃ introduction rule; in this case it’s the inference rule in

a marked with †. We permute the introduction rule down to match its cut, which in this case is all the way to the bottom.

p(2). Λ, ∀y∃z A(2, y, z)

¬A(2, 5 , w), A(2, 5 , w)

Λ, A(3, 0 , 5)

Λ, A(3, 0 , 5) ∧ A(2, 5 , w), ¬A(2, 5 , w) ¬A(3, 1 , w), A(3, 1 , w) Λ, A(3, 0 , 5) ∧ A(2, 5 , w) ∧ ¬A(3, 1 , w), ¬A(2, 5 , w), A(3, 1 , w) Λ, ¬A(2, 5 , w), A(3, 1 , w) Λ, ¬A(2, 5 , w), ∃z A(3, 1 , z) Λ, ∀w¬A(2, 5 , w), ∃z A(3, 1 , z) † Λ, ∃y∀w ¬A(2, y, w), ∃z A(3, 1 , z)

Λ, ¬A(2, z, w), ¬A(3, 1 , z), A(3, 2 , w) Λ, ¬A(2, z, w), ¬A(3, 1 , z), ∃z A(3, 2 , z) Λ, ∀w¬A(2, z, w), ¬A(3, 1 , z), ∃z A(3, 2 , z) Λ, ∃y∀w ¬A(2, y, w), ¬A(3, 1 , z), ∃z A(3, 2 , z) Λ, ∃y∀w ¬A(2, y, w), ∀z ¬A(3, 1 , z), ∃z A(3, 2 , z) Cut (^) Λ, ∃y∀w ¬A(2, y, w), ∃z A(3, 2 , z) Λ, ∃z A(3, 2 , z)

The next cut to be eliminated is the one corresponding the existential quantifier at †, which is being cut with the copy of p(2). Something exciting has

finally happened, so we should take note: the value for y we’re about to substitute into p(2) is the value 5 , which is itself the value of the Ackermann function

A(2, 1) = 5. If we think of p(2) as a function y 7 → A(2, y), we’re now iterating this function.

Once we start iterating functions—or equivalently, eliminating the same cut we already eliminated ones—we should be worried about non-termination. But

remember what happened when we eliminated the cut over ∀y∃z A(2, y, z) the first time: we created a new copy of the same cut, but with a lower ordinal. For

thoroughness, let’s do this one more time; we permute the ∃ introduction down:

p(2). Λ, ∀y∃z A(2, y, z)

¬A(2, 5 , w), A(2, 5 , w)

Λ, A(3, 0 , 5)

Λ, A(3, 0 , 5) ∧ A(2, 5 , w), ¬A(2, 5 , w) ¬A(3, 1 , w), A(3, 1 , w) Λ, A(3, 0 , 5) ∧ A(2, 5 , w) ∧ ¬A(3, 1 , w), ¬A(2, 5 , w), A(3, 1 , w) Λ, ¬A(2, 5 , w), A(3, 1 , w) Λ, ¬A(2, 5 , w), ∃z A(3, 1 , z) Λ, ∀w¬A(2, 5 , w), ∃z A(3, 1 , z)

Λ, ¬A(2, z, w), ¬A(3, 1 , z), A(3, 2 , w) Λ, ¬A(2, z, w), ¬A(3, 1 , z), ∃z A(3, 2 , z) Λ, ∀w¬A(2, z, w), ¬A(3, 1 , z), ∃z A(3, 2 , z) Λ, ∃y∀w ¬A(2, y, w), ¬A(3, 1 , z), ∃z A(3, 2 , z) Λ, ∃y∀w ¬A(2, y, w), ∀z ¬A(3, 1 , z), ∃z A(3, 2 , z) Cut (^) Λ, ∀w¬A(2, 5 , w), ∃y∀w ¬A(2, y, w), ∃z A(3, 2 , z) Λ, ∃y∀w ¬A(2, y, w), ∃z A(3, 2 , z) Λ, ∃z A(3, 2 , z)

and then eliminate the cut:

p(2, 5). Λ, ∃z A(2, 5 , z)

p(2). Λ, ∀y∃z A(2, y, z)

¬A(2, 5 , w), A(2, 5 , w)

Λ, A(3, 0 , 5)

Λ, A(3, 0 , 5) ∧ A(2, 5 , w), ¬A(2, 5 , w) ¬A(3, 1 , w), A(3, 1 , w) Λ, A(3, 0 , 5) ∧ A(2, 5 , w) ∧ ¬A(3, 1 , w), ¬A(2, 5 , w), A(3, 1 , w) Λ, ¬A(2, 5 , w), A(3, 1 , w) Λ, ¬A(2, 5 , w), ∃z A(3, 1 , z) Λ, ∀w¬A(2, 5 , w), ∃z A(3, 1 , z)

Λ, ¬A(2, z, w), ¬A(3, 1 , z), A(3, 2 , w) Λ, ¬A(2, z, w), ¬A(3, 1 , z), ∃z A(3, 2 , z) Λ, ∀w¬A(2, z, w), ¬A(3, 1 , z), ∃z A(3, 2 , z) Λ, ∃y∀w ¬A(2, y, w), ¬A(3, 1 , z), ∃z A(3, 2 , z) Λ, ∃y∀w ¬A(2, y, w), ∀z ¬A(3, 1 , z), ∃z A(3, 2 , z) Cut Λ, ∀w¬A(2, 5 , w), ∃y∀w ¬A(2, y, w), ∃z A(3, 2 , z) Λ, ∀w¬A(2, 5 , w), ∃z A(3, 2 , z) Λ, ∃z A(3, 2 , z)

Again, we’ve made a new copy of p(2), meaning we’ll get to plug in a third value for y, but we’ve pushed the cut further up in the proof (by eliminating the

∃ introduction down), meaning it has a smaller ordinal, and therefore we’ve made progress.

Going back to the beginning of our construction, let’s consider what happened. We think of p(2), the proof of Λ, ∀y∃z A(2, y, z), as corresponding to having

the function y 7 → A(2, y). We cut it with a proof of Λ, ∃y∀w ¬A(2, y, w), ∃z A(3, n, z) for some n. A single lower-rank induction axiom over n means that

we introduced ∃y∀w ¬A(2, y, w) n separate times (phrased differently, the proof of Λ, ∃y∀w ¬A(2, y, w), ∀y∃z A(3, y, z) morally contains ω introductions of

∃y∀w ¬A(2, y, w); note that we do mean the ordinal ω, not the cardinal ℵ 0 —the introductions are still placed in a well-founded ordering). We then have to

eliminate the cut over ∀y∃z A(2, y, z) n times, which corresponds to iteration: A(2, A(2, · · · )), n times.