Semantics and Proof Theory of the Epsilon Calculus Richard Zach - - PowerPoint PPT Presentation

semantics and proof theory of the epsilon calculus
SMART_READER_LITE
LIVE PREVIEW

Semantics and Proof Theory of the Epsilon Calculus Richard Zach - - PowerPoint PPT Presentation

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion Semantics and Proof Theory of the Epsilon Calculus Richard Zach University of Calgary, Canada richardzach.org ICLA 2017 January 6, 2017 Richard Zach Epsilon


slide-1
SLIDE 1

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Semantics and Proof Theory of the Epsilon Calculus

Richard Zach

University of Calgary, Canada richardzach.org

ICLA 2017 January 6, 2017

Richard Zach Epsilon Calculus ICLA 2017 1 / 39

slide-2
SLIDE 2

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Outline

1

Introduction

2

The Epsilon Calculus

3

Subclassical Logics (joint work with M. Baaz)

4

Proof Theory for Epsilon Calculus

5

Conclusion

Richard Zach Epsilon Calculus ICLA 2017 2 / 39

slide-3
SLIDE 3

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

What is the Epsilon Calculus?

Formalization of logic without quantifiers but with the ε-operator. If A(x) is a formula, then εxA(x) is an ε-term. Intuitively, εxA(x) is an indefinite description: εxA(x) is some x for which A(x) is true. ε can replace ∃: ∃x A(x) ⇔ A(εxA(x)) Axioms of ε-calculus:

◮ Propositional tautologies ◮ (Equality schemata) ◮ A(t) → A(εxA(x))

Predicate logic can be embedded in ε-calculus.

Richard Zach Epsilon Calculus ICLA 2017 3 / 39

slide-4
SLIDE 4

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Why Should You Care?

Epsilon calculus is of significant historical interest.

◮ Origins of proof theory ◮ Hilbert’s Program

Alternative basis for fruitful proof-theoretic research.

◮ Epsilon Theorems and Herbrand’s Theorem: proof theory without

sequents

◮ Epsilon Substitution Method: yields functionals, e.g.,

⊢ ∀x∃y A(x, y) ⇝ ∀n: ⊢ A(n, f (n))

Interesting Logical Formalism

◮ Trade logical structure for term structure. ◮ Suitable for proof formalization.

Other Applications:

◮ Applications in linguistics (choice functions, anaphora). ◮ Connections to Fine’s “arbitrary object” theory. ◮ Propositions-as-types for dynamic linking. Richard Zach Epsilon Calculus ICLA 2017 4 / 39

slide-5
SLIDE 5

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Epsilon Substitution and Epsilon Theorems

Two approaches to consistency proofs in the ε-calculus:

1

Epsilon Substitution: For every epsilon term εxA(x), find a numerical substitution; i.e., interpret εs as particular numbers.

◮ Specific to arithmetical theories. ◮ Developed by Ackermann (1924, 1940), von Neumann (1927) 2

Epsilon Theorems: Eliminate epsilon terms “directly” from a proof using proof transformations.

◮ Can be applied to any quantifier-free theory. ◮ Difficult to extend to arithmetic (induction). ◮ Epsilon theorems have other applications as well (e.g., Herbrand’s

theorem)

Richard Zach Epsilon Calculus ICLA 2017 5 / 39

slide-6
SLIDE 6

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

The Epsilon Calculus: Syntax

∧, ∨, →, … If A(x) is a formula then ∀x A(x) and ∃x A(x) are formulas. If A(x) is a formula, then εxA(x) is a term. An ε-term p ≡ εxA(x; y1, . . . , yn) is the ε-type of an ε-term e if

◮ the yi are all immediate subterms, ◮ every yi has exactly one occurrence, and ◮ e ≡ εxA(x; t1, . . . , tn).

Every ε-term a substitution instance of an ε-matrix.

Richard Zach Epsilon Calculus ICLA 2017 6 / 39

slide-7
SLIDE 7

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Extensional Semantics

Interpretation: M = D, Φ, s

◮ D ≠ ∅ is the domain ◮ M: interpretation of function and predicate symbols ◮ s : Var → D: variable assignment ◮ Φ an extensional choice function

Extensional choice function: Φ(S) ∈ S if S ≠ ∅ Valuation of ε-terms εxA(x) valM,Φ,s(εxA(x)) = Φ(ˆ x[A(x)]M,Φ,s) where ˆ x[A(x)]M,Φ,s = {d ∈ D : M, Φ, s[d/x] ⊨ A(x)}.

Richard Zach Epsilon Calculus ICLA 2017 7 / 39

slide-8
SLIDE 8

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Intensional Semantics

Interpretation: M = D, Φ, s

◮ D ≠ ∅ is the domain ◮ M: interpretation of function and predicate symbols ◮ s : Var → D: variable assignment ◮ Ψ an intensional choice function

Intensional choice function: Ψ(S, p, d1, . . . , dn) ∈ S if S ≠ ∅ Valuation of ε-terms εxA(x) = p(t1, . . . , tn) with type p = εxA′(x; y1, . . . , yn): εxA(x)M = Φ(ˆ x[A(x)]M,Ψ,s, p, tM

1 , . . . , tM n )

Richard Zach Epsilon Calculus ICLA 2017 8 / 39

slide-9
SLIDE 9

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Axiomatisation of the Epsilon Calculus

EC (axioms of the elementary calculus): all propositional tautologies ECε (the pure epsilon calculus): add to EC all substitution instances of A(t) → A(εxA(x)) . (1) An axiom of the form (1) is called a critical formula. PC (the predicate calculus), PCε (extended predicate calculus): EC and ECε, respectively, together with all instances of A(t) → ∃x A(x) and ∀x A(x) → A(t) in the respective language.

Richard Zach Epsilon Calculus ICLA 2017 9 / 39

slide-10
SLIDE 10

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Completeness

Elementary calculus/extended predicate calculus complete for intensional semantics ECε with identity axioms plus ε-identity schema t = u → εxA(x; s1 . . . t . . . sn) = εxA(x; s1 . . . u . . . sn) complete for intensional semantics including = ECε with identity, ε-identity, and ε-extensionality schema ∀x(A(x) ↔ B(x)) → εxA(x) = εxB(x) complete for extensional semantics.

Richard Zach Epsilon Calculus ICLA 2017 10 / 39

slide-11
SLIDE 11

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Embedding PC in ECε

Map ε of expressions in L(PCε) to expressions in L(ECε) as follows: xε = x P(t1, . . . , tn)ε = P(tε

1, . . . , tε n)

(¬A)ε = ¬Aε (A ∨ B)ε = Aε ∨ Bε (A ∧ B)ε = Aε ∧ Bε (A → B)ε = Aε → Bε (εxA(x))ε = εx A(x)ε (∃x A(x))ε = Aε(εxA(x)ε) (∀x A(x))ε = Aε(εx¬A(x)ε)

Richard Zach Epsilon Calculus ICLA 2017 11 / 39

slide-12
SLIDE 12

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

The Embedding Lemma

Aε is of the form: [A(t) → ∃x A(x)]ε ≡ Aε(tε) → Aε(εxA(x)ε) , which is a critical formula. Aε is of the form: [∀x A(x) → A(t)]ε ≡ Aε(εx¬A(x)) → Aε(tε) This is the contrapositive of, and hence provable from, the critical formula ¬Aε(tε) → ¬Aε(εx¬A(x))

Richard Zach Epsilon Calculus ICLA 2017 12 / 39

slide-13
SLIDE 13

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

The First Epsilon Theorem

First Epsilon Theorem If A is a formula without bound variables (no quantifiers, no epsilons) and PCε ⊢ A then EC ⊢ A. Extended First Epsilon Theorem If ∃x1 . . . ∃xnA(x1, . . . , xn) is a purely existential formula containing

  • nly the bound variables x1, …, xn, and

PCε ⊢ ∃x1 . . . ∃xnA(x1, . . . , xn), then there are terms tij such that EC ⊢

  • i

A(ti1, . . . , tin).

Richard Zach Epsilon Calculus ICLA 2017 13 / 39

slide-14
SLIDE 14

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Herbrand Theorem

Herbrand Theorem for ∃1 If ∃x1 . . . ∃xnA(x1, . . . , xn) is a purely existential formula PC ⊢ ∃x1 . . . ∃xnA(x1, . . . , xn), then there are terms tij such that EC ⊢

  • i

A(ti1, . . . , tin). From the last formula, the original formula can be proved in PC. Can be extended to prenex formulas (by “Herbrandization”) Can be extended to all formulas, since PC proves every formula equivalent to prenex form.

Richard Zach Epsilon Calculus ICLA 2017 14 / 39

slide-15
SLIDE 15

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Extended First Epsilon Theorem

Extended First Epsilon Theorem Suppose E(e1, . . . , em) is a quantifier-free formula containing only the ε-terms e1, …, em, and ECε ⊢π E(e1, . . . , em) , then there are ε-free terms ti

j such that

EC ⊢

n

  • i=1

E(ti

1, . . . , ti m)

where n ≤ 22...23·cc(π) stack of 3 · cc(π) 2’s.

Richard Zach Epsilon Calculus ICLA 2017 15 / 39

slide-16
SLIDE 16

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Superintuitionistic Logics

In classical logic, ∃ and ∀ are interdefinable Not true in subclassical logics such as intuitionistic logic Epsilon operator seems intuitively related to choice, so intuitionistically suspect So: what happens when ε added to a superintuitionistic logic?

Richard Zach Epsilon Calculus ICLA 2017 16 / 39

slide-17
SLIDE 17

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Interdefinability of ∀ and ∃

In classical logic: ¬∃x ¬A(x) ↔ ∀x A(x) ¬¬A(εx¬A(x)) ↔ A(εx¬A(x)) → fails in intuitionistic logic

Richard Zach Epsilon Calculus ICLA 2017 17 / 39

slide-18
SLIDE 18

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Solution: ε and τ

Introduce dual operator τ: τxA(x) Critical formulas now: A(t) → A(εxA(x)) and A(τxA(x)) → A(t) ετ-translation just like ε-translation, except for: ∃x A(x) ⇔ A(εxA(x)) ∀x A(x) ⇔ A(τxA(x))

Richard Zach Epsilon Calculus ICLA 2017 18 / 39

slide-19
SLIDE 19

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Effect of ετ on Propositional Level

In classical logic, addition of ε is conservative. Question: Does addition of ε and τ to superintuitionistic logic have effect on theorems? Results by Bell and DeVidi suggest yes: under certain assumptions, even excluded middle A ∨ ¬A becomes provable. However, these results rely on presence of = and need axioms. What about pure logic?

◮ No effect on propositional level. ◮ All quantifier shifts become provable. Richard Zach Epsilon Calculus ICLA 2017 19 / 39

slide-20
SLIDE 20

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

ετ Conservative for Propositional Logic

Conservativity of ετ If A1, . . . , An ⊢Lετ B, then As

1, . . . , As n ⊢ Bs, provided

removing quantfiers results in propositional theorems A → A is provable

Richard Zach Epsilon Calculus ICLA 2017 20 / 39

slide-21
SLIDE 21

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Quantifier Shifts

(∀∨) ∀x(A ∨ B) → (∀x A ∨ B) (A(τx(A ∨ B)) ∨ B) → (A(τxA) ∨ B) (→)∃ (B → ∃x A) → ∃x(B → A) (B → A(εxA)) → (B → A(εx(B → A))) ∃(→) (∀x A → B) → ∃x(A → B) (A(τxA) → B) → (A(εx(A → B)) → B)

In each case, x is not free in B.

Richard Zach Epsilon Calculus ICLA 2017 21 / 39

slide-22
SLIDE 22

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Epsilon Theorem in Subclassical Logics

In intuitionistic and Gödel logics, there are no (usual) prenex normal forms However, in intuitionistic and Gödel ετ-calculi, all quantifier shifts are provable, so every formula is equivalent to a prenex formula Provability of

◮ “Herbrand form” from prenex formula, and ◮ of prenex formula from Herbrand disjunction

require only weak assumptions on the logic (true in intuitionistic and Gödel logic) Question: extended epsilon theorem true in intuitionistic and Gödel ετ-calculi?

Richard Zach Epsilon Calculus ICLA 2017 22 / 39

slide-23
SLIDE 23

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

No Herbrand Theorem in Subclassical ετ-Logics

Theorem Suppose Lετ has the extended first epsilon theorem, ⊢L A → A, and in L, ∨ is provably commutative, associative, and idempotent, and has weakening (A → (A ∨ B)). Then L ⊢ (A1 → A2) ∨ . . . ∨ (Ak → Ak+1) for some k. Corollary Intuitionistic and Gödel ετ-calculi do not have the extended first epsilon theorem.

Richard Zach Epsilon Calculus ICLA 2017 23 / 39

slide-24
SLIDE 24

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Summary of Results

Adding ε (and τ) to intuitionistic and intermediate logics has

◮ no effect on propositional level ◮ results in all quantifier shifts becoming provable

Epsilon elimination is much more problematic than in classical logic

◮ Logics where forking sentences are all invalid (i.e., all logics with

frames of unbounded size) cannot have extended epsilon theorem

◮ This includes in particular intuitionistic and (infinite-valued)

Gödel ετ-logics

◮ In ετ-logics of k-valued Gödel logics, epsilon theorem holds Richard Zach Epsilon Calculus ICLA 2017 24 / 39

slide-25
SLIDE 25

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

A One-sided Sequent Calculus

Axiom: A, ¬A Rules: Γ, A Γ, B Γ, A ∧ B ∧R Γ, ¬A, ¬B Γ, ¬(A ∧ B) ∧L Γ, A Γ, ¬¬A ¬¬ Γ, A, B Γ, A ∨ B ∨R Γ, ¬A Γ, ¬B Γ, ¬(A ∨ B) ∨L Π, A Λ, ¬A Π, Λ cut Γ, A(t) Γ, ∃x A(x) ∃R Γ, ¬A(x) Γ, ¬∃x A(x) ∃L Γ, A(x) Γ, ∀x A(x) ∀R Γ, ¬A(t) Γ, ¬∀x A(x) ∀L

Richard Zach Epsilon Calculus ICLA 2017 25 / 39

slide-26
SLIDE 26

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Leisenring’s Sequent Calculus

Γ, A(t) Γ, ∃x A(x) ∃R Γ, ¬A(εxA(x)) Γ, ¬∃x A(x) ∃L Γ, A(εx¬A(x)) Γ, ∀x A(x) ∀R Γ, ¬A(t) Γ, ¬∀x A(x) ∀L No eigenvariable conditions!

Richard Zach Epsilon Calculus ICLA 2017 26 / 39

slide-27
SLIDE 27

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Completeness: Deriving Critical Formulas

Derives everything ECε derives: ¬A(t), A(t) ¬A(t), ∃x A(x) ∃R ¬A(εxA(x)), A(εxA(x)) ¬∃x A(x), A(εxA(x)) ∃L ¬A(t), A(εxA(x)) cut Obviously has no cut-free proof Hence, Leisenring’s system not cut-free complete

Richard Zach Epsilon Calculus ICLA 2017 27 / 39

slide-28
SLIDE 28

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Maehara’s Sequent Calculus

Axioms: ¬A, A ¬A(t), A(εxA(x)) Complete, since additional axioms allow derivation of critical formulas. However, not cut-free complete.

Richard Zach Epsilon Calculus ICLA 2017 28 / 39

slide-29
SLIDE 29

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Maehara’s System Not Cut-free Complete

Converse of critical formulas derivable: ¬¬A(t), ¬A(εx¬A(x)) ¬A(t), A(t) ¬A(εx¬A(x)), A(t) cut But obviously no cut-free proof

Richard Zach Epsilon Calculus ICLA 2017 29 / 39

slide-30
SLIDE 30

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

The Mints-Yasuhara System

Additional rule: Γ, ∆(εxA(x)), ¬A(εxA(x)) Γ, A(t) Γ, ∆(εxA(x)) ε1 ∆(εxA(x)) must be not empty. Derives critical formulas: A(εxA(x)), ¬A(εxA(x)) ¬A(t)

Γ

, A(εxA(x))

, ¬A(εxA(x)) w ¬A(t)

Γ

, A(t) ¬A(t), A(εxA(x)) ε1

Richard Zach Epsilon Calculus ICLA 2017 30 / 39

slide-31
SLIDE 31

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Gentzen-style Cut Elimination

Main induction on cut length, i.e., height of tree above uppermost cut. Induction step: permute cut upward. For instance, replace proof ending in cut . . . . D Π, A . . . . D′ ¬A, Λ, B(t) ¬A, Λ, ∃x B(x) ∃R Π, Λ, ∃x B(x) cut by . . . . D Π, A . . . . D′ ¬A, Λ, B(t) Π, Λ, B(t) cut Π, Λ, ∃x B(x) ∃R

Richard Zach Epsilon Calculus ICLA 2017 31 / 39

slide-32
SLIDE 32

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Gentzen-style Cut Elimination in the M-Y system

Permute cut across ε1 rule: . . . . D Π, A . . . . D′ ¬A, Γ, ∆(εxB(x)), ¬B(εxB(x)) . . . . D′′ Γ, B(t) ¬A, Γ, ∆(εxB(x)) ε1 Π, Γ, ∆(εxB(x)) cut replace with . . . . D Π, A . . . . D′ ¬A, Γ, ∆(εxB(x)), ¬B(εxB(x)) Π, Γ, ∆(εxB(x)), ¬B(εxB(x)) cut . . . . D′′ Γ, B(t) Π, Γ, ∆(εxB(x)) ε1 Condition on ε1 is violated if ¬A is ∆.

Richard Zach Epsilon Calculus ICLA 2017 32 / 39

slide-33
SLIDE 33

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Gentzen-style Cut Elimination in the M-Y system

Permute cut across ε1 rule: . . . . D Π, A(εxB(x)) . . . . D′ ¬A(εxB(x)), Γ, ¬B(εxB(x)) . . . . D′′ Γ, B(t) ¬A(εxB(x)), Γ ε1 Π, Γ cut replace with . . . . D Π, A(εxB(x)) . . . . D′ ¬A(εxB(x)), Γ, ¬B(εxB(x)) Π, Γ, ¬B(εxB(x)) cut . . . . D′′ Γ, B(t) Π, Γ ε1 Condition on ε1 is violated.

Richard Zach Epsilon Calculus ICLA 2017 33 / 39

slide-34
SLIDE 34

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Schütte-Tait Style Cut Elimination

Main induction on cut rank, i.e., complexity of cut formula. Induction step: reduce complexity of cut formula. For instance, if proof ends in . . . . D Π, ¬(A ∧ B) . . . . D′ Λ, A ∧ B Π, Λ cut replace with . . . . D1 Π, ¬A, ¬B . . . . D′

1

Λ, A Π, Λ, ¬B cut . . . . D′

2

Λ, B Π, Λ cut

Richard Zach Epsilon Calculus ICLA 2017 34 / 39

slide-35
SLIDE 35

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Schütte-Tait Style Cut Elimination: Inversion Lemma

Requires inversion lemma. Typical case: If D′ ⊢ Π, A ∧ B then there is a D′

1 ⊢ Π, A of cut

rank and length ≤ that of D′. Proof idea: Replace all ancestors of A ∧ B in D′ by A and fix rules that get broken. For instance, replace . . . . Γ, A . . . . Γ, B Γ, A ∧R by . . . . Γ, A

Richard Zach Epsilon Calculus ICLA 2017 35 / 39

slide-36
SLIDE 36

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Schütte-Tait Style Cut Elimination in the M-Y System

Consider derivation D′ which contains ε1 rule: . . . . Π, A ∧ B(εxC(x)), ¬C(εxC(x)) . . . . Π, C(t) Π, A ∧ B(εxC(x) ε1 (A ∧ B(εxC(x)) is ∆(εxC(x))). Inversion lemma produces . . . . Π, A, ¬C(εxC(x)) . . . . Π, C(t) Π, A ε1 No longer satisfies condition of ε1.

Richard Zach Epsilon Calculus ICLA 2017 36 / 39

slide-37
SLIDE 37

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Semantics

Choice functions Intensional semantics complete for Hilbert’s original system Other semantics possible (Blass & Gurevich, Gratzl) Linguistic interest, arbitrary objects Further work:

◮ Generic consequence ◮ Semantics for intutionistic systems Richard Zach Epsilon Calculus ICLA 2017 37 / 39

slide-38
SLIDE 38

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Proof Theory

Epsilon theorem alternative proof theoretic approach Herbrand complexity depending ony on critical count However:

◮ Does not work in intuitionistic logic ◮ Does not (yet) combine well with sequent systems

Further work:

◮ Find nice sequent system or prove cut elimination for M-Y ◮ Investigate Meyer Viol’s natural deduction systems ◮ Intuitionistic systems Richard Zach Epsilon Calculus ICLA 2017 38 / 39

slide-39
SLIDE 39

Introduction Classical Logic Subclassical Logics Proof Theory Conclusion

Further Reading

  • G. Asser.

Theorie der logischen Auswahlfunktionen.

  • Z. Logik Grundl. Math. 3 (1957) 30–68
  • J. Avigad and R. Zach.

The epsilon calculus. Stanford Encyclopedia of Philosophy.

  • D. Hilbert and P. Bernays.

Grundlagen der Mathematik II. Springer, Berlin, 1939/1970. A.C. Leisenring. Mathematical Logic and Hilbert’s ε-symbol. MacDonald, London, 1969.

  • W. P. M. Meyer Viol.

Instantial Logic. An Investigation into Reasoning with Instances. ILLC Dissertation Series 1995–11. ILLC, Amsterdam, 1995.

  • G. Moser and R. Zach.

The epsilon calculus and Herbrand complexity. Studia Logica 82 (2006) 133–155.

  • M. Yasuhara.

Cut elimination in ε-calculus.

  • Z. Logik Grundl. Math. 28 (1982) 311–316
  • R. Zach.

The practice of finitism. Epsilon calculus and consistency proofs in Hilbert’s program. Synthese 137 (2003) 211–259.

  • G. Mints and D. Sarenac.

Completeness of indexed epsilon-calculus Archive of Mathematical Logic 42 (2003) 617–625. Richard Zach Epsilon Calculus ICLA 2017 39 / 39