Quantifiers and Functions in Intuitionistic Logic Collegium Logicum - - PowerPoint PPT Presentation

quantifiers and functions in intuitionistic logic
SMART_READER_LITE
LIVE PREVIEW

Quantifiers and Functions in Intuitionistic Logic Collegium Logicum - - PowerPoint PPT Presentation

Quantifiers and Functions in Intuitionistic Logic Collegium Logicum Proof Theory: Herbrands Theorem revisited Vienna, 2527 May, 2017 Rosalie Iemhoff Utrecht University, the Netherlands 1 / 28 Skolemization in classical logic Thm For any


slide-1
SLIDE 1

Quantifiers and Functions in Intuitionistic Logic

Collegium Logicum Proof Theory: Herbrand’s Theorem revisited Vienna, 25–27 May, 2017 Rosalie Iemhoff Utrecht University, the Netherlands

1 / 28

slide-2
SLIDE 2

Skolemization in classical logic Thm For any formula ϕ and function symbol f that does not occur in ϕ: ⊢c ∃x∀yϕ(x, y) ⇔ ⊢c ∃xϕ(x, f (x)). (⊢c denotes derivability in classical predicate logic CQC) The equivalent in terms of satisfiability: Thm For any formula ϕ and function symbol f that does not occur in ϕ: ∀x∃yϕ(x, y) is satisfiable if and only if ∀xϕ(x, f (x)) is satisfiable. Thm For any formula ϕ and any theory T, for any function symbols f1, f2, . . . , fn not in ϕ and T: T ⊢c ∃x1∀y1 . . . ∃xn∀ynϕ(x1, y1, . . . , xn, yn) ⇔ T ⊢c ∃x1 . . . ∃xnϕ

  • x1, f1(x1), x2, f2(x1, x2), . . . , xn, fn(x1 . . . xn)
  • .

2 / 28

slide-3
SLIDE 3

Functions and quantifiers in intuitionistic logic Question Does there exist the same connection between functions and quantifiers in intuitionistic logic as in classical logic? Answer No, but . . . (content of the rest of the talk). Note Quantifiers in classical logic are different from those in intuitionistic

  • logic. The following formulas hold in the former but not in the latter:
  • ∃xϕ(x) ↔ ¬∀x¬ϕ(x),
  • ∃x
  • ϕ(x) → ∀yϕ(y)
  • ,
  • ¬¬∀x
  • ϕ(x) ∨ ¬ϕ(x)
  • .

3 / 28

slide-4
SLIDE 4

Constructive reading of quantifiers In a constructive reading:

  • a proof of ∀xϕ(x) consists of a construction that from a proof that

d belongs to the domain produces a proof of ϕ(d).

  • a proof of ∃xϕ(x) consists of the construction of an element d in

the domain and a proof of ϕ(d). Thus in a constructive reading, a proof of ∀x∃yϕ(x, y) consists of a construction that for every d in the domain produces an element e in the domain and a proof of ϕ(d, e). Heyting Arithmetic, the constructive theory of the natural numbers, is consistent with Church Thesis, which states that if ∀x∃yϕ(x, y) holds, then there exists a total computable function h such that ∀xϕ(x, h(x)) holds. But what about the quantifier combination ∃x∀y? What is to be concluded from the derivability of ∃x∀yϕ(x, y)?

4 / 28

slide-5
SLIDE 5

Skolemization in intuitionistic logic Question Does Skolemization hold in IQC? For any formula ϕ and any theory T, for any function symbols f1, f2, . . . , fn not in ϕ and T: ¿ T ⊢i ∃x1∀y1 . . . ∃xn∀ynϕ(x1, y1, . . . , xn, yn) ⇐ ⇒ T ⊢i ∃x1 . . . ∃xnϕ

  • x1, f1(x1), x2, f2(x1, x2), . . . , xn, fn(x1 . . . xn)
  • ?

⊢i denotes derivability in intuitionistic predicate logic IQC. Answer No. Counterexample: ⊢i ¬¬∀x

  • ϕ(x) ∨ ¬ϕ(x)
  • ⊢i ¬¬
  • ϕ(c) ∨ ¬ϕ(c)
  • .

5 / 28

slide-6
SLIDE 6

Prenex normal form Fact In intuitionistic predicate logic IQC not every formula has a prenex normal form. Dfn An occurrence of a quantifier ∀x (∃x) in a formula is strong if it

  • ccurs positively (negatively) in the formula, and weak otherwise.

Ex ∃x and ∀y occur strongly in ∃xϕ(x) → ∀yψ(y) and weakly in ∃xϕ(x) ∧ ¬∀yψ(y). In ∃x1∀y1 . . . ∃xn∀ynϕ, the ∀yi are strong occurrences and the ∃xi are weak occurrences.

6 / 28

slide-7
SLIDE 7

Skolemization for infix formulas Dfn An occurrence of ∀x (∃x) in a formula is strong if it occurs positively (negatively) in the formula, and weak otherwise. ϕs is the skolemization of ϕ if it does not contain strong quantifiers and there are formulas ϕ = ϕ1, . . . , ϕn = ϕs such that ϕi+1 is the result of replacing the leftmost strong quantifier Qxψ(x, ¯ y) in ϕi by ψ(fi(¯ y), ¯ y), where ¯ y are the variables of the weak quantifiers in the scope of which Qxψ(x, ¯ y) occurs, and fi does not occur in any ϕj with j ≤ i. Ex

  • ∃x(∃yϕ(x, y) → ∀zψ(x, z))

s = ∃x(ϕ(x, fx) → ψ(x, gx)). From now on, fx and f ¯ x denote f (x) and f (¯ x), respectively. In case ϕ is in prenex normal form, this definition of Skolemization coincides with the earlier one. Fact For any formula ϕ and any theory T: T ⊢c ϕ ⇔ T ⊢c ϕs.

7 / 28

slide-8
SLIDE 8

Nonclassical theories Dfn Skolemization is sound and complete for a theory T if T ⊢ ϕ ⇒ T ⊢ ϕs (sound) T ⊢ ϕ ⇐ T ⊢ ϕs (complete) A theory admits Skolemization if Skolemization is both sound and complete. Many nonclassical theories (including IQC) do not admit Skolemization: it is sound but not complete for such theories. For infix formulas it is in general not complete. Examples are formula skolemization DLEM ¬¬∀x(ϕx ∨ ¬ϕx) ¬¬(ϕc ∨ ¬ϕc) CD ∀x(ϕx ∨ ψ) → ∀xϕx ∨ ψ ∀x(ϕx ∨ ψ) → ϕc ∨ ψ EDNS ¬¬∃xϕx → ∃x¬¬ϕx ¬¬ϕc → ∃x¬¬ϕx. From now on, ϕx abbreviates ϕ(x).

8 / 28

slide-9
SLIDE 9

Existence predicate Extend IQC with an existence predicate E: Et is interpreted as t exists. Dfn (Scott 1977) The logic IQCE has quantifier rules: ϕt ∧ Et ∃xϕx ∃xϕx [ϕy, Ey] . . . . ψ ψ Ey . . . . ϕy ∀xϕx ∀xϕx ∧ Et ϕt . Note IQCE is conservative over IQC. IQCE has a well–behaved sequent calculus and Kripke semantics. A Kripke model K for IQCE is a regular Kripke model with constant domain D, where E is interpreted as a unary predicate E on D and the forcing conditions for the qfs are: K, k ∃xϕ(x) ≡df ∃d ∈ D K, k E(d) ∧ ϕ(d) K, k ∀xϕ(x) ≡df ∀d ∈ D∀l k K, l E(d) → ϕ(d).

9 / 28

slide-10
SLIDE 10

Eskolemization Dfn The eskolemization of ϕ is a formula ϕe without strong quantifiers such that there are formulas ϕ = ϕ1, . . . , ϕn = ϕe such that ϕi+1 is the result of replacing the leftmost strong quantifier Qxψ(x, ¯ y) in ϕi by

  • E(f ¯

y) → ψ(f ¯ y, ¯ y) if Q = ∀ E(f ¯ y) ∧ ψ(f ¯ y, ¯ y) if Q = ∃, where ¯ y are the variables of the weak quantifiers in the scope of which Qxψ(x, ¯ y) occurs, and fi does not occur in any ϕj with j ≤ i. If only existential qfs are replaced, the result is denoted by ϕE. Ex ⊢IQCE ¬¬∃xϕx → ∃x¬¬ϕx ⊢IQCE ¬¬(Ec ∧ ϕc) → ∃x¬¬ϕx. ⊢IQCE ∀x(ϕx ∨ ψ) → ∀xϕx ∨ ψ ⊢IQCE ∀x(ϕx ∨ ψ) →

  • (Ec → ϕc) ∨ ψ
  • .

10 / 28

slide-11
SLIDE 11

Soundness and completeness of eskolemization for existential quantifiers Thm (Baaz&Iemhoff 2011) For theories T not containing the existence predicate: T ⊢IQCE ϕ ⇔ T ⊢IQCE ϕE. Thus for ϕ not containing the existence predicate: T ⊢i ϕ ⇔ T ⊢IQCE ϕE.

11 / 28

slide-12
SLIDE 12

Three questions about Skolemization

  • For which (intermediate) logics is eskolemization complete?
  • For which Skolem functions is skolemization sound and complete?
  • Are there useful alternative skolemization methods?

12 / 28

slide-13
SLIDE 13

Soundness and completeness of eskolemization Thm (Baaz&Iemhoff 2016) For all theories T with the witness property: T ⊢ ϕ ⇔ T ⊢ ϕe. Cor Eskolemization is sound and complete for all theories complete w.r.t. a class of well-founded and conversely well-founded models. This holds in particular for theories with the finite model property. The previous results have the following theorems, proved by Craig Smory´ nski in the 1970s, as a corollary. Thm (Smory´ nski) The constructive theory of decidable equality is decidable. Thm (Smory´ nski) The constructive theory of decidable monadic predicates is decidable.

13 / 28

slide-14
SLIDE 14

The witness property Dfn A model has the witness property if for all nodes k refuting a formula ∀xϕx there is a l k and d ∈ Dl such that l ϕd and l ϕd ↔ ∀xϕx. D = N

  • ∀xϕ(x)

. . . D = N

  • ϕ(2)
  • D = N
  • ϕ(1)
  • D = N
  • ϕ(0)
  • model without the witness property

Note Every conversely well-founded model has the witness property. Dfn A theory has the witness property if it is sound and complete w.r.t. a class of well-founded models that all have the witness property.

14 / 28

slide-15
SLIDE 15

Two remaining questions

  • For which (intermediate) logics is eskolemization complete?

At least for logics with the witness property.

  • For which Skolem functions is skolemization sound and complete?
  • Are there useful alternative skolemization methods?

15 / 28

slide-16
SLIDE 16

Question For which Skolem functions is skolemization sound and complete? Aim Extend IQCE in a minimal way to a theory, say IQCO, that admits a translation similar to Skolemization. Such an extension, IQCO, has been developed some years ago. A related but “lighter” extension, IQCT, is currently being developed.

16 / 28

slide-17
SLIDE 17

IQCO Dfn L can be any first-order language, Ls consists of (Skolem) function

  • symbols. Lo consists of L ∪ Ls, constants ι, ⊤, unary predicate E and

binary predicate and binary function ·, ·. ϕk, ¯ a is short for ϕ(k, a1, . . . , k, an) and should be thought of as k ϕ(¯ a). Ek, ¯ a is short for Ek, a1, . . . , Ek, an. IQCO is an extension of IQCE, with axioms stating that is a preorder with root ι and axioms Ek, x → Ek, fx (for all f ∈ L) (terms in L exist) Pk, ¯ x ∧ Ek, ¯ x ∧ k l → Pl, ¯ x (upwards persistency) In particular, for closed terms t in L, Ek, t is an axiom. Dfn CQCO is the classical version of IQCO. IQCO (intuitionistic order logic) similar to Sara Negri’s labelled sequent calculus, but for IQCE instead of IQC. CQCO and IQCO have cut–free sequent calculi.

17 / 28

slide-18
SLIDE 18

Orderization Dfn The orderization of ϕ is ϕo = ϕks = (ϕk)s, where (·)k is defined as

Pk(¯ s) = Pk, ¯ s (P atomic) (·)k commutes with ∧ and ∨ (ϕ → ψ)k = ∀l k(ϕl → ψl)

  • thus (¬ϕ)k = ∀l k¬ϕl

(∃xϕx)k = ∃x(Ek, x ∧ ϕkx) (∀xϕx)k = ∀l k∀x(El, x → ϕlx).

Ex Because of the existence of a counter model to ¬¬∀x(Px ∨ ¬Px): ⊢IQCO

  • ¬¬∀x(Px ∨ ¬Px)
  • .

18 / 28

slide-19
SLIDE 19

Completeness of orderization Thm (Baaz&Iemhoff 2008) Any theory T in L admits orderization, i.e. for all ϕ in L: T ⊢i ϕ ⇔ T k ⊢IQCO ϕk ⇔ T k ⊢CQCO ϕk ⇔ T k ⊢CQCO ϕo ⇔ T k ⊢IQCO ϕo. Note For T k close to T, the above is a genuine Skolemization theorem. Dfn If T contains equality, Tk is the extension of T with, for all f ∈ L, the axioms (¯ x = ¯ y → f ¯ x = f ¯ y)k . Lem Tk is L-conservative over T. Thm For any theory T in L such that the antecedents of the axioms only contain predicates on free variables and the succedents are atomic formulas that derive T k, Tk admits orderization: T ⊢i ϕ ⇔ Tk ⊢IQCO ϕk ⇔ Tk ⊢CQCO ϕk ⇔ Tk ⊢CQCO ϕo ⇔ Tk ⊢IQCO ϕo. Applications: the intuitionistic theory of apartness, of groups, . . .

19 / 28

slide-20
SLIDE 20

Skolem functions Note In IQCO the Skolem functions are relations that are not necessarily functional. Partial: E ¯ x ⇒ Ef (¯ x) is an axiom only for f ∈ L. Not functional: if equality is present in T, then ¯ x = ¯ y ⇒ f ¯ x = f ¯ y

  • nly holds for the functions in L but not necessarily for the Skolem

functions in Ls.

20 / 28

slide-21
SLIDE 21

One remaining question

  • For which (intermediate) logics is eskolemization complete?

At least those with the witness property.

  • For which Skolem functions is skolemization sound and complete?

For relations that are not necessarily functional.

  • Are there useful alternative skolemization methods?

The answer depends on the meaning of “alternative skolemization method”.

21 / 28

slide-22
SLIDE 22

Alternative Skolemization methods Dfn An alternative Skolemization method is a computable total translation (·)a from formulas to formulas such that for all formulas ϕ, ϕa does not contain strong quantifiers. A theory T admits the alternative Skolemization method if T ⊢ ϕ ⇔ T ⊢ ϕa. (1) The method is strict if for every Kripke model K of T and all formulas ϕ: K ϕa ⇒ K ϕ. (2) Ex For a fixed n, replacing quantifiers ∃xψ(x, ¯ y) and ∀xψ(x, ¯ y) by

n

  • i=1

ψ(fi(¯ y), ¯ y) and

n

  • i=1

ψ(fi(¯ y), ¯ y), is an alternative Skolemization method, admitted by any intermediate logic complete w.r.t. frames with at most n branches (Baaz&Iemhoff’16).

22 / 28

slide-23
SLIDE 23

Kripke models Dfn Given a class of Kripke models K, Kcd denotes the set of those models in K that have constant domains. Dfn For a Kripke model K:

  • K ↓ denotes the Kripke model that is the result of replacing every

domain in K by the domain at the root of K and defining, for elements ¯ d in D: K ↓, k P( ¯ d) iff K, k P( ¯ d).

  • K ↑ denotes the Kripke model that is the result of replacing every

domain in K by the union of all domains in K and defining, for elements ¯ d in that union: K ↓, k P( ¯ d) if K, k P( ¯ d) and ¯ d are elements in Dk.

D1 K D2 D0

D0 K ↓ D0 D0

  • 23 / 28
slide-24
SLIDE 24

No alternative Skolemization Dfn The strong quantifier free fragment (sqff) of a theory consists of those theorems of the theory that do not contain strong quantifiers, and likewise for weak quantifiers. Thm Let T be a theory that is sound and complete with respect to a class of Kripke models K closed under ↑ and ↓, then the sqff of T is sound and complete with respect to Kcd, and so is the wqff. Thm (I. 2017) Except for CQC, there is no intermediate logic that is sound and complete with respect to a class of frames and that admits a strict, alternative Skolemization method. Cor The intermediate logics IQC,

  • QDn (the logic of frames of branching at most n),
  • QKC (the logic of frames with one maximal node),
  • QLC (the logic of linear frames),

and all tabular logics, do not admit any strict, alternative Skolemization method.

24 / 28

slide-25
SLIDE 25

Three (partial) answers

  • For which (intermediate) logics is eskolemization complete?

At least for those with the witness property.

  • For which Skolem functions is skolemization sound and complete?

For relations that are not necessarily functional.

  • Are there useful strict alternative skolemization methods?

Not for any intermediate logic that is sound and complete with respect to a class of frames.

25 / 28

slide-26
SLIDE 26

Questions

  • Are there useful alternative nonstrict Skolemization methods?
  • Can the result on orderization be improved?
  • What are the philosophical implications of the results thus far?

26 / 28

slide-27
SLIDE 27

Finis

27 / 28