ceres and fast cut-elimination - theory and logic group

48
CERES and Fast Cut-Elimination Mikheil Rukhaia Institute of Computer Languages, Vienna University of Technology. Symposium on Language, Logic and Computation, Kutaisi, Georgia. September 30, 2011.

Upload: others

Post on 11-Feb-2022

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CERES and Fast Cut-Elimination - Theory and Logic Group

CERES and Fast Cut-Elimination

Mikheil Rukhaia

Institute of Computer Languages,Vienna University of Technology.

Symposium on Language, Logic and Computation,Kutaisi, Georgia.

September 30, 2011.

Page 2: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Introduction

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 2 / 24

Page 3: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Overview

I Cut-elimination is a proof transformation that removes all cutrules from a proof.

I The cut-elimination theorem was proved by G. Gentzen in 1934.

I For the systems, that have a cut-elimination theorem, it is easy toprove consistency.

I Cut-elimination is nonelementary in general, i.e. there is no ele-mentary bound on the size of cut-free proof w.r.t the original one.

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 3 / 24

Page 4: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Sequent Calculus LK

I Sequent is an expression of the form Γ ` ∆, where Γ and ∆ aremultisets of formulas.

I Rule is an inference of a lower sequent from an upper sequent.

I Derivation is a directed tree with nodes as sequences and edges asinferences.

I Proof of the sequence S is a derivation of S with axioms as leafnodes.

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 4 / 24

Page 5: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Propositional rules

I ∧ introduction:A,Γ ` ∆

∧ : l1A ∧ B,Γ ` ∆

B,Γ ` ∆∧ : l2A ∧ B,Γ ` ∆

Γ ` ∆,A Π ` Λ,B ∧ : rΓ,Π ` ∆,Λ,A ∧ B

I ∨ introduction:A,Γ ` ∆ B,Π ` Λ

∨ : lA ∨ B,Γ,Π ` ∆,Λ

Γ ` ∆,A∨ : r1

Γ ` ∆,A ∨ BΓ ` ∆,B

∨ : r2Γ ` ∆,A ∨ B

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 5 / 24

Page 6: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Propositional rules (ctd.)

I ¬ introduction:Γ ` ∆,A

¬ : l¬A,Γ ` ∆

A,Γ ` ∆ ¬ : rΓ ` ∆,¬A

I ⊃ introduction:Γ ` ∆,A B,Π ` Λ

⊃ : lA ⊃ B,Γ,Π ` ∆,Λ

A,Γ ` ∆,B ⊃ : rΓ ` ∆,A ⊃ B

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 6 / 24

Page 7: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Quantifier rules

I ∀ introduction:A(t),Γ ` ∆

∀ : l(∀x)A(x),Γ ` ∆

Γ ` ∆,A(α)∀ : r

Γ ` ∆, (∀x)A(x)

I ∃ introduction:A(α),Γ ` ∆

∃ : l(∃x)A(x),Γ ` ∆

Γ ` ∆,A(t)∃ : r

Γ ` ∆, (∃x)A(x)

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 7 / 24

Page 8: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Structural rules

I Weakening rules:

Γ ` ∆ w : lA,Γ ` ∆Γ ` ∆ w : r

Γ ` ∆,A

I Contraction rules:A,A,Γ ` ∆

c : lA,Γ ` ∆

Γ ` ∆,A,Ac : r

Γ ` ∆,A

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 8 / 24

Page 9: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Cut rule

I The cut rule:Γ ` ∆,A A,Π ` Λ

cutΓ,Π ` ∆,Λ

I The only rule such that its upper sequents may contain formulaoccurrences that do not appear in the lower sesuents.

I The only rule that may produce an inconsistency (`).

I The upper sequents of a cut rule corresponds to the lemmas intothe proof.

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 9 / 24

Page 10: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Resolution Calculus

I Clauses are atomic sequents.

I Resolution rule is a cut rule on clauses, where cut-formulas canbe unified with an m.g.u σ.

I Factorization rule is a contraction rule on clauses, where con-tracted formulas can be unified with an m.g.u σ.

I Resolution deduction is a derivation tree having clauses as nodesand resolution, factorization and weakening rules as edges.

I Resolution refutation is a resolution derivation of `.

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 10 / 24

Page 11: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Methods of Cut-elimination

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 11 / 24

Page 12: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Gentzen’s Method

I Gentzen’s method of cut-elimination is reductive, i.e. proof rewrit-ing system is defined which is terminating and its normal form isa cut-free proof.

I Rewriting rules are divided into two parts: grade and rank reduc-tion rules.

I Grade of a cut rule is the number of logical symbols in the cut-formula.

I Rank of a cut rule is the number of occurrences of cut-formulasin the left and right cut-derivation.

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 12 / 24

Page 13: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

The CERES Method

I CERES is a cut-elimination method by resolution.

I Method consists of the following steps:1 Skolemization of the proof (if it is not already skolemized).2 Computation of the characteristic clause set.3 Refutation of the characteristic clause set.4 Computation of the Projections and construction of the Atomic

Cut Normal Form.

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 13 / 24

Page 14: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

The CERES Method (ctd.)

I if ρ is an axiom of the form ΓC,Γ ` ∆C,∆, then

CLρ(ψ) = {ΓC ` ∆C} .

I if ρ is an unary rule with immediate predecessor ρ′, then

CLρ(ψ) = CLρ′(ψ).

I if ρ is a binary rule with immediate predecessors ρ1, ρ2, then ei-ther

CLρ(ψ) = CLρ1(ψ) ∪ CLρ2(ψ)

orCLρ(ψ) = CLρ1(ψ)⊗ CLρ2(ψ).

I CL(ψ) = CLρ0(ψ).

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 14 / 24

Page 15: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

An Example (thanks to D. Weller)

ϕ1 =

P(u) ` P(u) Q(u) ` Q(u)

P(u) ⊃ Q(u) ` (∃y)(P(u) ⊃ Q(y))∃ : r,⊃: r,⊃: l

(∀x)(P(x) ⊃ Q(x)) ` (∃y)(P(u) ⊃ Q(y))∀ : l

(∀x)(P(x) ⊃ Q(x)) ` (∀x)(∃y)(P(x) ⊃ Q(y))∀ : r

ϕ2 =

P(a) ` P(a) Q(v) ` Q(v)

P(a) ⊃ Q(v) ` (∃y)(P(a) ⊃ Q(y))∃ : r,⊃: r,⊃: l

(∃y)(P(a) ⊃ Q(y)) ` (∃y)(P(a) ⊃ Q(y))∃ : l

(∀x)(∃y)(P(x) ⊃ Q(y)) ` (∃y)(P(a) ⊃ Q(y))∀ : l

ϕ =

ϕ1 ϕ2

(∀x)(P(x) ⊃ Q(x)) ` (∃y)(P(a) ⊃ Q(y))cut

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 15 / 24

Page 16: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

An Example (thanks to D. Weller)

ϕ1 =

P(u) ` P(u) Q(u) ` Q(u)

P(u) ⊃ Q(u) ` (∃y)(P(u) ⊃ Q(y))∃ : r,⊃: r,⊃: l

(∀x)(P(x) ⊃ Q(x)) ` (∃y)(P(u) ⊃ Q(y))∀ : l

(∀x)(P(x) ⊃ Q(x)) ` (∀x)(∃y)(P(x) ⊃ Q(y))∀ : r

ϕ2 =

P(a) ` P(a) Q(v) ` Q(v)

P(a) ⊃ Q(v) ` (∃y)(P(a) ⊃ Q(y))∃ : r,⊃: r,⊃: l

(∃y)(P(a) ⊃ Q(y)) ` (∃y)(P(a) ⊃ Q(y))∃ : l

(∀x)(∃y)(P(x) ⊃ Q(y)) ` (∃y)(P(a) ⊃ Q(y))∀ : l

ϕ =

ϕ1 ϕ2

(∀x)(P(x) ⊃ Q(x)) ` (∃y)(P(a) ⊃ Q(y))cut

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 15 / 24

Page 17: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

An Example (thanks to D. Weller)

ϕ1 =

P(u) ` P(u) Q(u) ` Q(u)

P(u) ⊃ Q(u) ` (∃y)(P(u) ⊃ Q(y))∃ : r,⊃: r,⊃: l

(∀x)(P(x) ⊃ Q(x)) ` (∃y)(P(u) ⊃ Q(y))∀ : l

(∀x)(P(x) ⊃ Q(x)) ` (∀x)(∃y)(P(x) ⊃ Q(y))∀ : r

ϕ2 =

P(a) ` P(a) Q(v) ` Q(v)

P(a) ⊃ Q(v) ` (∃y)(P(a) ⊃ Q(y))∃ : r,⊃: r,⊃: l

(∃y)(P(a) ⊃ Q(y)) ` (∃y)(P(a) ⊃ Q(y))∃ : l

(∀x)(∃y)(P(x) ⊃ Q(y)) ` (∃y)(P(a) ⊃ Q(y))∀ : l

ϕ =

ϕ1 ϕ2

` cut

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 15 / 24

Page 18: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

An Example (thanks to D. Weller)

ϕ1 =

P(u) ` P(u) Q(u) ` Q(u)

P(u) ⊃ Q(u) ` (∃y)(P(u) ⊃ Q(y))∃ : r,⊃: r,⊃: l

(∀x)(P(x) ⊃ Q(x)) ` (∃y)(P(u) ⊃ Q(y))∀ : l

(∀x)(P(x) ⊃ Q(x)) ` (∀x)(∃y)(P(x) ⊃ Q(y))∀ : r

ϕ2 =

` P(a) Q(v) `P(a) ⊃ Q(v) ` ⊃: l

(∃y)(P(a) ⊃ Q(y)) ` ∃ : l

(∀x)(∃y)(P(x) ⊃ Q(y)) ` ∀ : l

ϕ =

ϕ1 ϕ2

` cut

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 15 / 24

Page 19: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

An Example (thanks to D. Weller)

ϕ1 =

P(u) ` Q(u)

` (∃y)(P(u) ⊃ Q(y))∃ : r,⊃: r

` (∃y)(P(u) ⊃ Q(y))

` (∀x)(∃y)(P(x) ⊃ Q(y))∀ : r

ϕ2 =

` P(a) Q(v) `P(a) ⊃ Q(v) ` ⊃: l

(∃y)(P(a) ⊃ Q(y)) ` ∃ : l

(∀x)(∃y)(P(x) ⊃ Q(y)) ` ∀ : l

ϕ =

ϕ1 ϕ2

` cut

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 15 / 24

Page 20: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

An Example (thanks to D. Weller)

CL(ϕ) = {P(u) ` Q(u); ` P(a); Q(v) `}

refutation:` P(a) P(u) ` Q(u)

` Q(a)R

Q(v) `` R

σ = {u← a, v← a}ground refutation:

` P(a) P(a) ` Q(a)

` Q(a)R

Q(a) `` R

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 15 / 24

Page 21: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

An Example (thanks to D. Weller)

ϕ1 =

P(u) ` P(u) Q(u) ` Q(u)

P(u) ⊃ Q(u) ` (∃y)(P(u) ⊃ Q(y))∃ : r,⊃: r,⊃: l

(∀x)(P(x) ⊃ Q(x)) ` (∃y)(P(u) ⊃ Q(y))∀ : l

(∀x)(P(x) ⊃ Q(x)) ` (∀x)(∃y)(P(x) ⊃ Q(y))∀ : r

ϕ2 =

P(a) ` P(a) Q(v) ` Q(v)

P(a) ⊃ Q(v) ` (∃y)(P(a) ⊃ Q(y))∃ : r,⊃: r,⊃: l

(∃y)(P(a) ⊃ Q(y)) ` (∃y)(P(a) ⊃ Q(y))∃ : l

(∀x)(∃y)(P(x) ⊃ Q(y)) ` (∃y)(P(a) ⊃ Q(y))∀ : l

ϕ =

ϕ1 ϕ2

(∀x)(P(x) ⊃ Q(x)) ` (∃y)(P(a) ⊃ Q(y))cut

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 15 / 24

Page 22: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

An Example (thanks to D. Weller)

ϕ1 =

P(u) ` P(u) Q(u) ` Q(u)

P(u) ⊃ Q(u),P(u) ` Q(u)⊃: l

(∀x)(P(x) ⊃ Q(x)),P(u) ` Q(u)∀ : l

(∀x)(P(x) ⊃ Q(x)),P(u) ` Q(u)

ϕ2 =

P(a) ` P(a) Q(v) ` Q(v)

P(a) ⊃ Q(v) ` (∃y)(P(a) ⊃ Q(y))∃ : r,⊃: r,⊃: l

(∃y)(P(a) ⊃ Q(y)) ` (∃y)(P(a) ⊃ Q(y))∃ : l

(∀x)(∃y)(P(x) ⊃ Q(y)) ` (∃y)(P(a) ⊃ Q(y))∀ : l

ϕ =

ϕ1 ϕ2

(∀x)(P(x) ⊃ Q(x)) ` (∃y)(P(a) ⊃ Q(y))cut

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 15 / 24

Page 23: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

An Example (thanks to D. Weller)

ϕ1 =

P(u) ` P(u) Q(u) ` Q(u)

P(u) ⊃ Q(u),P(u) ` Q(u)⊃: l

(∀x)(P(x) ⊃ Q(x)),P(u) ` Q(u)∀ : l

(∀x)(P(x) ⊃ Q(x)),P(u) ` Q(u)

ϕ2 =

P(a) ` P(a) Q(v) ` Q(v)

P(a) ⊃ Q(v) ` (∃y)(P(a) ⊃ Q(y))∃ : r,⊃: r,⊃: l

(∃y)(P(a) ⊃ Q(y)) ` (∃y)(P(a) ⊃ Q(y))∃ : l

(∀x)(∃y)(P(x) ⊃ Q(y)) ` (∃y)(P(a) ⊃ Q(y))∀ : l

ϕ =

ϕ1 ϕ2

(∀x)(P(x) ⊃ Q(x)) ` (∃y)(P(a) ⊃ Q(y))cut

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 15 / 24

Page 24: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

An Example (thanks to D. Weller)

ϕ1 =

P(u) ` P(u) Q(u) ` Q(u)

P(u) ⊃ Q(u),P(u) ` Q(u)⊃: l

(∀x)(P(x) ⊃ Q(x)),P(u) ` Q(u)∀ : l

(∀x)(P(x) ⊃ Q(x)),P(u) ` Q(u)

ϕ2 =

P(a) ` P(a)

` P(a), (∃y)(P(a) ⊃ Q(y))∃ : r,⊃: r,w : r

` P(a), (∃y)(P(a) ⊃ Q(y))

` P(a), (∃y)(P(a) ⊃ Q(y))

ϕ =

ϕ1 ϕ2

(∀x)(P(x) ⊃ Q(x)) ` (∃y)(P(a) ⊃ Q(y))cut

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 15 / 24

Page 25: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

An Example (thanks to D. Weller)

ϕ1 =

P(u) ` P(u) Q(u) ` Q(u)

P(u) ⊃ Q(u),P(u) ` Q(u)⊃: l

(∀x)(P(x) ⊃ Q(x)),P(u) ` Q(u)∀ : l

(∀x)(P(x) ⊃ Q(x)),P(u) ` Q(u)

ϕ2 =

P(a) ` P(a) Q(v) ` Q(v)

P(a) ⊃ Q(v) ` (∃y)(P(a) ⊃ Q(y))∃ : r,⊃: r,⊃: l

(∃y)(P(a) ⊃ Q(y)) ` (∃y)(P(a) ⊃ Q(y))∃ : l

(∀x)(∃y)(P(x) ⊃ Q(y)) ` (∃y)(P(a) ⊃ Q(y))∀ : l

ϕ =

ϕ1 ϕ2

(∀x)(P(x) ⊃ Q(x)) ` (∃y)(P(a) ⊃ Q(y))cut

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 15 / 24

Page 26: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

An Example (thanks to D. Weller)

ϕ1 =

P(u) ` P(u) Q(u) ` Q(u)

P(u) ⊃ Q(u),P(u) ` Q(u)⊃: l

(∀x)(P(x) ⊃ Q(x)),P(u) ` Q(u)∀ : l

(∀x)(P(x) ⊃ Q(x)),P(u) ` Q(u)

ϕ2 =

Q(v) ` Q(v)

Q(v) ` (∃y)(P(a) ⊃ Q(y))∃ : r,⊃: r,w : l

Q(v) ` (∃y)(P(a) ⊃ Q(y))

Q(v) ` (∃y)(P(a) ⊃ Q(y))

ϕ =

ϕ1 ϕ2

(∀x)(P(x) ⊃ Q(x)) ` (∃y)(P(a) ⊃ Q(y))cut

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 15 / 24

Page 27: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

An Example (thanks to D. Weller)

ϕ(P(a) ` Q(a)) =

P(a) ` P(a) Q(a) ` Q(a)

P(a),P(a) ⊃ Q(a) ` Q(a)⊃: l

P(a), (∀x)(P(x) ⊃ Q(x)) ` Q(a)∀ : l

P(a), (∀x)(P(x) ⊃ Q(x)) ` (∃y)(P(a) ⊃ Q(y)),Q(a)w : r

ϕ(` P(a)) =

P(a) ` P(a)

P(a) ` P(a),Q(v)w : r

` P(a) ⊃ Q(v),P(a)⊃: r

` (∃y)(P(a) ⊃ Q(y)),P(a)∃ : r

(∀x)(P(x) ⊃ Q(x)) ` (∃y)(P(a) ⊃ Q(y)),P(a)w : l

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 15 / 24

Page 28: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

An Example (thanks to D. Weller)

ϕ(Q(a) `) =

Q(a) ` Q(a)

P(a),Q(a) ` Q(a)w : l

Q(a) ` P(a) ⊃ Q(a)⊃: r

Q(a) ` (∃y)(P(a) ⊃ Q(y))∃ : r

Q(a), (∀x)(P(x) ⊃ Q(x)) ` (∃y)(P(a) ⊃ Q(y))w : l

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 15 / 24

Page 29: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

An Example (thanks to D. Weller)

ϕ(γ) =

ϕ(` P(a))B ` C,P(a)

ϕ(P(a) ` Q(a))P(a),B ` C,Q(a)

B,B ` C,C,Q(a)cut ϕ(` Q(a))

Q(a),B ` CB,B,B ` C,C,C

cut

B ` C contractions

where B = (∀x)(P(x) ⊃ Q(x)), C = (∃y)(P(a) ⊃ Q(y)).

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 15 / 24

Page 30: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Fast Cut-Elimination

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 16 / 24

Page 31: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

What is fast cut-elimination?

I A function f : N→ N is called elementary, iff computing time off is bounded by an exponential function, i.e.

22···

2n }m

I CERES is fast on the subclass of LK-proofs Φ, i.e. cut-eliminationis elementary on Φ, iff resolution complexity of the characteristicclause set is bound by an elementary function.

I Idea: identify classes where CERES is fast, i.e. cut-elimination iselementary.

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 17 / 24

Page 32: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

How?

I Decidable subclasses of FOL:Herbrand class: (Q~x)(L1 ∧ . . . ∧ Lm).Bernays - Schonfinkel class: (∃~x)(∀~y)M.Ackermann class: (∃~x)(∀y)(∃~z)M.One-variable class: |Var(F)| ≤ 1.Monadic class: formulas contain only unary predicate symbols.

I Restrict inference rules or syntax of cut-formulas s.t. characteris-tic clause set falls into one of these classes.

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 18 / 24

Page 33: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Fast cut-elimination classes

I The following classes of LK-proofs are fast:

Class UIE:All inferences that go into the end-sequent are unary.

Complexity: exponential.

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 19 / 24

Page 34: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Fast cut-elimination classes

I The following classes of LK-proofs are fast:

Class UILM:1 Only one monotone cut.2 All inferences in the left cut-derivation that go into the end-sequent

are unary.

Complexity: double exponential.

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 19 / 24

Page 35: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Fast cut-elimination classes

I The following classes of LK-proofs are fast:

Class UIRM:1 Only one monotone cut.2 All inferences in the right cut-derivation that go into the end-sequent

are unary.

Complexity: double exponential.

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 19 / 24

Page 36: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Fast cut-elimination classes

I The following classes of LK-proofs are fast:

Class AXDC:Different axioms are variable disjoint.

Complexity: double exponential.

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 19 / 24

Page 37: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Fast cut-elimination classes

I The following classes of LK-proofs are fast:

Class MC:All function and predicate symbols appearing in cut-formulas aremonadic.

Complexity: double exponential.

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 19 / 24

Page 38: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Fast cut-elimination classes (ctd.)

I We have shown that the following classes are fast:

Class G-UILM:1 All cuts are monotone.2 All inferences in all left cut-derivation that go into the end-sequent

are unary.3 No binary rule, that goes into the end sequent, connects two cuts.

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 20 / 24

Page 39: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Fast cut-elimination classes (ctd.)

I We have shown that the following classes are fast:

Class G-UILM:1 All cuts are monotone.2 All inferences in all left cut-derivation that go into the end-sequent

are unary.3 No binary rule, that goes into the end sequent, connects two cuts.

((` A11 ⊕ . . .⊕ ` A1

n1)⊕ (⊗j1(⊕i1Bi1

j1 `)))

⊕ . . .⊕((` Ak

1 ⊕ . . .⊕ ` Aknk

)⊕ (⊗jk(⊕ik Bikjk `)))

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 20 / 24

Page 40: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Fast cut-elimination classes (ctd.)

I We have shown that the following classes are fast:

Class G-UILM:1 All cuts are monotone.2 All inferences in all left cut-derivation that go into the end-sequent

are unary.3 No binary rule, that goes into the end sequent, connects two cuts.

((` A11 ⊕ . . .⊕ ` A1

n1)⊕ (⊗j1(⊕i1Bi1

j1 `)))

⊕ . . .⊕((` Ak

1 ⊕ . . .⊕ ` Aknk

)⊕ (⊗jk(⊕ik Bikjk `)))

Complexity: double exponential.

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 20 / 24

Page 41: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Fast cut-elimination classes (ctd.)

I We have shown that the following classes are fast:

Class G-UIRM:1 All cuts are monotone.2 All inferences in all right cut-derivation that go into the end-sequent

are unary.3 No binary rule, that goes into the end sequent, connects two cuts.

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 20 / 24

Page 42: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Fast cut-elimination classes (ctd.)

I We have shown that the following classes are fast:

Class G-UIRM:1 All cuts are monotone.2 All inferences in all right cut-derivation that go into the end-sequent

are unary.3 No binary rule, that goes into the end sequent, connects two cuts.

((⊗j1(⊕i1 ` Ai1j1))⊕ (B1

1 ` ⊕ . . .⊕ B1n1`))

⊕ . . .⊕((⊗jk(⊕ik ` Aik

jk))⊕ (Bk1 ` ⊕ . . .⊕ Bk

nk`))

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 20 / 24

Page 43: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Fast cut-elimination classes (ctd.)

I We have shown that the following classes are fast:

Class G-UIRM:1 All cuts are monotone.2 All inferences in all right cut-derivation that go into the end-sequent

are unary.3 No binary rule, that goes into the end sequent, connects two cuts.

((⊗j1(⊕i1 ` Ai1j1))⊕ (B1

1 ` ⊕ . . .⊕ B1n1`))

⊕ . . .⊕((⊗jk(⊕ik ` Aik

jk))⊕ (Bk1 ` ⊕ . . .⊕ Bk

nk`))

Complexity: double exponential.

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 20 / 24

Page 44: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Fast cut-elimination classes (ctd.)

I We have shown that the following classes are fast:

Class ONEQ:All cut-formulas have at most one quantifier.

Complexity: double exponential.

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 20 / 24

Page 45: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Summary

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 21 / 24

Page 46: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Conclusion

I Proof transformation, in particular cut-elimination, is one of thekey techniques of proof theory.

I Cut-elimination is nonelementary but we use CERES method asa tool to identify classes where it is elementary.

I We proved that G-UILM, G-UIRM and ONEQ are fast classes.

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 22 / 24

Page 47: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

References

Matthias Baaz and Alexander Leitsch.Cut-elimination and Redundancy-elimination by Resolution.Journal of Symbolic Computation, 29(2):149–176, 2000.

Matthias Baaz and Alexander Leitsch.Fast Cut-elimination by CERES.Proofs, Categories and Computations, College Publications,2010.

Mikheil Rukhaia.CERES and Fast Cut-Elimination.VDM Verlag Dr. Muller Publishing House, Saarbrucken, 2011.

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 23 / 24

Page 48: CERES and Fast Cut-Elimination - Theory and Logic Group

Introduction Methods of Cut-elimination Fast Cut-Elimination Summary

Questions?

CERES and Fast Cut-Elimination M. Rukhaia Language, Logic and Computation, Kutaisi, Georgia. Sep 30, 2011 24 / 24