1 Fifth Workshop on Lambda Calculus and Formal Grammar 2 Fifth - - PowerPoint PPT Presentation

1
SMART_READER_LITE
LIVE PREVIEW

1 Fifth Workshop on Lambda Calculus and Formal Grammar 2 Fifth - - PowerPoint PPT Presentation

1 Fifth Workshop on Lambda Calculus and Formal Grammar 2 Fifth Workshop on Lambda Calculus and Formal Grammar A Type-Theoretic View of Dynamic Logic Philippe de Groote LORIA & Inria-Lorraine 3 Fifth Workshop on Lambda Calculus and


slide-1
SLIDE 1

Fifth Workshop on Lambda Calculus and Formal Grammar

1

slide-2
SLIDE 2

Fifth Workshop on Lambda Calculus and Formal Grammar

2

A Type-Theoretic View

  • f Dynamic Logic

Philippe de Groote LORIA & Inria-Lorraine

slide-3
SLIDE 3

Fifth Workshop on Lambda Calculus and Formal Grammar

3

A Type-Theoretic Reconstruction of DRT

slide-4
SLIDE 4

Fifth Workshop on Lambda Calculus and Formal Grammar

3

A Type-Theoretic Reconstruction of DRT

Motivation:

  • to formalize DRT within Church’s simple theory of type (aka, Higher-Order Logic),

which will allow DRT and Montague semantics to rest on the same logical foundations.

slide-5
SLIDE 5

Fifth Workshop on Lambda Calculus and Formal Grammar

3

A Type-Theoretic Reconstruction of DRT

Motivation:

  • to formalize DRT within Church’s simple theory of type (aka, Higher-Order Logic),

which will allow DRT and Montague semantics to rest on the same logical foundations. Challenge:

  • to express dynamics using “static” primitives (in particular, to avoid the “destructive

assignment” problem, wich necessitates a LISP-like gensym operator).

slide-6
SLIDE 6

Fifth Workshop on Lambda Calculus and Formal Grammar

3

A Type-Theoretic Reconstruction of DRT

Motivation:

  • to formalize DRT within Church’s simple theory of type (aka, Higher-Order Logic),

which will allow DRT and Montague semantics to rest on the same logical foundations. Challenge:

  • to express dynamics using “static” primitives (in particular, to avoid the “destructive

assignment” problem, wich necessitates a LISP-like gensym operator). Proposed solution:

  • to interpret a sentence according to both its left and right contexts;
  • to abstract these two kinds of contexts over the meaning of the sentences.
slide-7
SLIDE 7

Fifth Workshop on Lambda Calculus and Formal Grammar

4 Typing the left and the right contexts

slide-8
SLIDE 8

Fifth Workshop on Lambda Calculus and Formal Grammar

4 Typing the left and the right contexts Montague semantics is based on Church’s simple type theory, which provides a full hierarchy

  • f functional types built upon two atomic types:
  • ι, the type of individuals (a.k.a. entities).
  • o, the type of propositions (a.k.a. truth values).
slide-9
SLIDE 9

Fifth Workshop on Lambda Calculus and Formal Grammar

4 Typing the left and the right contexts Montague semantics is based on Church’s simple type theory, which provides a full hierarchy

  • f functional types built upon two atomic types:
  • ι, the type of individuals (a.k.a. entities).
  • o, the type of propositions (a.k.a. truth values).

We add a third atomic type, γ, which stands for the type of the left contexts.

slide-10
SLIDE 10

Fifth Workshop on Lambda Calculus and Formal Grammar

4 Typing the left and the right contexts Montague semantics is based on Church’s simple type theory, which provides a full hierarchy

  • f functional types built upon two atomic types:
  • ι, the type of individuals (a.k.a. entities).
  • o, the type of propositions (a.k.a. truth values).

We add a third atomic type, γ, which stands for the type of the left contexts. What about the type of the right contexts?

slide-11
SLIDE 11

Fifth Workshop on Lambda Calculus and Formal Grammar

4 Typing the left and the right contexts Montague semantics is based on Church’s simple type theory, which provides a full hierarchy

  • f functional types built upon two atomic types:
  • ι, the type of individuals (a.k.a. entities).
  • o, the type of propositions (a.k.a. truth values).

We add a third atomic type, γ, which stands for the type of the left contexts. What about the type of the right contexts?

slide-12
SLIDE 12

Fifth Workshop on Lambda Calculus and Formal Grammar

4 Typing the left and the right contexts Montague semantics is based on Church’s simple type theory, which provides a full hierarchy

  • f functional types built upon two atomic types:
  • ι, the type of individuals (a.k.a. entities).
  • o, the type of propositions (a.k.a. truth values).

We add a third atomic type, γ, which stands for the type of the left contexts. What about the type of the right contexts?

slide-13
SLIDE 13

Fifth Workshop on Lambda Calculus and Formal Grammar

4 Typing the left and the right contexts Montague semantics is based on Church’s simple type theory, which provides a full hierarchy

  • f functional types built upon two atomic types:
  • ι, the type of individuals (a.k.a. entities).
  • o, the type of propositions (a.k.a. truth values).

We add a third atomic type, γ, which stands for the type of the left contexts. What about the type of the right contexts?

left context

slide-14
SLIDE 14

Fifth Workshop on Lambda Calculus and Formal Grammar

4 Typing the left and the right contexts Montague semantics is based on Church’s simple type theory, which provides a full hierarchy

  • f functional types built upon two atomic types:
  • ι, the type of individuals (a.k.a. entities).
  • o, the type of propositions (a.k.a. truth values).

We add a third atomic type, γ, which stands for the type of the left contexts. What about the type of the right contexts?

left context

  • right context
slide-15
SLIDE 15

Fifth Workshop on Lambda Calculus and Formal Grammar

4 Typing the left and the right contexts Montague semantics is based on Church’s simple type theory, which provides a full hierarchy

  • f functional types built upon two atomic types:
  • ι, the type of individuals (a.k.a. entities).
  • o, the type of propositions (a.k.a. truth values).

We add a third atomic type, γ, which stands for the type of the left contexts. What about the type of the right contexts?

left context

  • right context
  • γ
slide-16
SLIDE 16

Fifth Workshop on Lambda Calculus and Formal Grammar

4 Typing the left and the right contexts Montague semantics is based on Church’s simple type theory, which provides a full hierarchy

  • f functional types built upon two atomic types:
  • ι, the type of individuals (a.k.a. entities).
  • o, the type of propositions (a.k.a. truth values).

We add a third atomic type, γ, which stands for the type of the left contexts. What about the type of the right contexts?

left context

  • right context
  • γ
slide-17
SLIDE 17

Fifth Workshop on Lambda Calculus and Formal Grammar

4 Typing the left and the right contexts Montague semantics is based on Church’s simple type theory, which provides a full hierarchy

  • f functional types built upon two atomic types:
  • ι, the type of individuals (a.k.a. entities).
  • o, the type of propositions (a.k.a. truth values).

We add a third atomic type, γ, which stands for the type of the left contexts. What about the type of the right contexts?

left context

  • right context
  • γ
  • γ → o
slide-18
SLIDE 18

Fifth Workshop on Lambda Calculus and Formal Grammar

5 Semantic interpretation of the sentences

slide-19
SLIDE 19

Fifth Workshop on Lambda Calculus and Formal Grammar

5 Semantic interpretation of the sentences Let s be the syntactic category of sentences. Remember that we intend to abstract our notions of left and right contexts over the meaning of the sentences.

slide-20
SLIDE 20

Fifth Workshop on Lambda Calculus and Formal Grammar

5 Semantic interpretation of the sentences Let s be the syntactic category of sentences. Remember that we intend to abstract our notions of left and right contexts over the meaning of the sentences.

s = γ → (γ → o) → o

slide-21
SLIDE 21

Fifth Workshop on Lambda Calculus and Formal Grammar

5 Semantic interpretation of the sentences Let s be the syntactic category of sentences. Remember that we intend to abstract our notions of left and right contexts over the meaning of the sentences.

s = γ → (γ → o) → o

Composition of two sentence interpretations

slide-22
SLIDE 22

Fifth Workshop on Lambda Calculus and Formal Grammar

5 Semantic interpretation of the sentences Let s be the syntactic category of sentences. Remember that we intend to abstract our notions of left and right contexts over the meaning of the sentences.

s = γ → (γ → o) → o

Composition of two sentence interpretations

  • S1. S2 = λeφ. S1 e (λe′. S2 e′ φ)
slide-23
SLIDE 23

Fifth Workshop on Lambda Calculus and Formal Grammar

6 Semantic interpretation of the syntactic categories

slide-24
SLIDE 24

Fifth Workshop on Lambda Calculus and Formal Grammar

6 Semantic interpretation of the syntactic categories Montague’s interpretation s =

  • n

= ι → o np = (ι → o) → o

slide-25
SLIDE 25

Fifth Workshop on Lambda Calculus and Formal Grammar

6 Semantic interpretation of the syntactic categories Montague’s interpretation s =

  • n

= ι → o np = (ι → o) → o may be rephrased as follows: s =

  • (1)

n = ι →s (2) np = (ι →s) →s (3)

slide-26
SLIDE 26

Fifth Workshop on Lambda Calculus and Formal Grammar

6 Semantic interpretation of the syntactic categories Montague’s interpretation s =

  • n

= ι → o np = (ι → o) → o may be rephrased as follows: s =

  • (1)

n = ι →s (2) np = (ι →s) →s (3) Replacing (1) with: s = γ → (γ → o) → o

slide-27
SLIDE 27

Fifth Workshop on Lambda Calculus and Formal Grammar

6 Semantic interpretation of the syntactic categories Montague’s interpretation s =

  • n

= ι → o np = (ι → o) → o may be rephrased as follows: s =

  • (1)

n = ι →s (2) np = (ι →s) →s (3) Replacing (1) with: s = γ → (γ → o) → o we obtain: n = ι → γ → (γ → o) → o np = (ι → γ → (γ → o) → o) → γ → (γ → o) → o

slide-28
SLIDE 28

Fifth Workshop on Lambda Calculus and Formal Grammar

7 This interpretation results in handcrafted lexical semantics such as the following:

slide-29
SLIDE 29

Fifth Workshop on Lambda Calculus and Formal Grammar

7 This interpretation results in handcrafted lexical semantics such as the following: farmer = λxeφ. farmer x ∧ φ e donkey = λxeφ. donkey x ∧ φ e

  • wns = λos. s (λx. o (λyeφ. own x y ∧ φ e))

beats = λos. s (λx. o (λyeφ. beat x y ∧ φ e)) who = λrnxeφ. n x e (λe. r (λψ. ψ x) e φ) a = λnψeφ. ∃x. n x e (λe. ψ x (x::e) φ) every = λnψeφ. (∀x. ¬(n x e (λe. ¬(ψ x (x::e) (λe. ⊤))))) ∧ φ e it = λψeφ. ψ (sel e) e φ

slide-30
SLIDE 30

Fifth Workshop on Lambda Calculus and Formal Grammar

7 This interpretation results in handcrafted lexical semantics such as the following: farmer = λxeφ. farmer x ∧ φ e donkey = λxeφ. donkey x ∧ φ e

  • wns = λos. s (λx. o (λyeφ. own x y ∧ φ e))

beats = λos. s (λx. o (λyeφ. beat x y ∧ φ e)) who = λrnxeφ. n x e (λe. r (λψ. ψ x) e φ) a = λnψeφ. ∃x. n x e (λe. ψ x (x::e) φ) every = λnψeφ. (∀x. ¬(n x e (λe. ¬(ψ x (x::e) (λe. ⊤))))) ∧ φ e it = λψeφ. ψ (sel e) e φ ...which might seem a little bit involved.

slide-31
SLIDE 31

Fifth Workshop on Lambda Calculus and Formal Grammar

8 Questions:

slide-32
SLIDE 32

Fifth Workshop on Lambda Calculus and Formal Grammar

8 Questions:

  • is there a systematic way of obtaining the new lexical semantics from Montague’s?
slide-33
SLIDE 33

Fifth Workshop on Lambda Calculus and Formal Grammar

8 Questions:

  • is there a systematic way of obtaining the new lexical semantics from Montague’s?
  • can we find any “modular” presentation of the approach?
slide-34
SLIDE 34

Fifth Workshop on Lambda Calculus and Formal Grammar

8 Questions:

  • is there a systematic way of obtaining the new lexical semantics from Montague’s?
  • can we find any “modular” presentation of the approach?
  • is there some dynamic logic hidden in the approach?
slide-35
SLIDE 35

Fifth Workshop on Lambda Calculus and Formal Grammar

9

A Dynamic Logic

slide-36
SLIDE 36

Fifth Workshop on Lambda Calculus and Formal Grammar

9

A Dynamic Logic

Let Ω γ → (γ → o) → o. We intend to design a logic acting on propositions of type Ω

slide-37
SLIDE 37

Fifth Workshop on Lambda Calculus and Formal Grammar

9

A Dynamic Logic

Let Ω γ → (γ → o) → o. We intend to design a logic acting on propositions of type Ω We share with DRT the two following assumptions:

  • discourse composition is mainly conjunctive (roughly speaking, a discourse consists

in the conjunction of its sentences);

  • the main form of quantification is existential (it introduces referential markers).
slide-38
SLIDE 38

Fifth Workshop on Lambda Calculus and Formal Grammar

9

A Dynamic Logic

Let Ω γ → (γ → o) → o. We intend to design a logic acting on propositions of type Ω We share with DRT the two following assumptions:

  • discourse composition is mainly conjunctive (roughly speaking, a discourse consists

in the conjunction of its sentences);

  • the main form of quantification is existential (it introduces referential markers).

Consequently, our logic will be based on conjunction and existential quantification (defined as primitives). The other connectives will be obtained using negation (a third primitive) and de Morgan’s laws.

slide-39
SLIDE 39

Fifth Workshop on Lambda Calculus and Formal Grammar

10 Formal Framework We consider a simply-typed λ-calculus, the terms of which are built upon asignature in- cluding the following constants:

slide-40
SLIDE 40

Fifth Workshop on Lambda Calculus and Formal Grammar

10 Formal Framework We consider a simply-typed λ-calculus, the terms of which are built upon asignature in- cluding the following constants: FIRST-ORDER LOGIC ⊤ :

  • (truth)

¬ :

  • → o

(negation) ∧ :

  • → o → o

(conjunction) ∃ : (ι → o) → o (existential quantification)

slide-41
SLIDE 41

Fifth Workshop on Lambda Calculus and Formal Grammar

10 Formal Framework We consider a simply-typed λ-calculus, the terms of which are built upon asignature in- cluding the following constants: FIRST-ORDER LOGIC ⊤ :

  • (truth)

¬ :

  • → o

(negation) ∧ :

  • → o → o

(conjunction) ∃ : (ι → o) → o (existential quantification) DYNAMIC PRIMITIVES :: : ι → γ → γ (context updating) sel : γ → ι (choice operator)

slide-42
SLIDE 42

Fifth Workshop on Lambda Calculus and Formal Grammar

11 Conjunction

slide-43
SLIDE 43

Fifth Workshop on Lambda Calculus and Formal Grammar

11 Conjunction Conjunction is nothing but sentence composition. We therefore define: A ⊓ B λeφ. A e (λe. B e φ)

slide-44
SLIDE 44

Fifth Workshop on Lambda Calculus and Formal Grammar

11 Conjunction Conjunction is nothing but sentence composition. We therefore define: A ⊓ B λeφ. A e (λe. B e φ) Existential quantification

slide-45
SLIDE 45

Fifth Workshop on Lambda Calculus and Formal Grammar

11 Conjunction Conjunction is nothing but sentence composition. We therefore define: A ⊓ B λeφ. A e (λe. B e φ) Existential quantification Existential quantification introduces “reference markers”. It is therefore responsible for context updating: Σx. P x λeφ. ∃x. P x (x::e) φ

slide-46
SLIDE 46

Fifth Workshop on Lambda Calculus and Formal Grammar

11 Conjunction Conjunction is nothing but sentence composition. We therefore define: A ⊓ B λeφ. A e (λe. B e φ) Existential quantification Existential quantification introduces “reference markers”. It is therefore responsible for context updating: Σx. P x λeφ. ∃x. P x (x::e) φ Negation

slide-47
SLIDE 47

Fifth Workshop on Lambda Calculus and Formal Grammar

11 Conjunction Conjunction is nothing but sentence composition. We therefore define: A ⊓ B λeφ. A e (λe. B e φ) Existential quantification Existential quantification introduces “reference markers”. It is therefore responsible for context updating: Σx. P x λeφ. ∃x. P x (x::e) φ Negation We do not want the continuation of the discourse to fall into the scope of the negation. Consequently, negation must be defined as follows:

slide-48
SLIDE 48

Fifth Workshop on Lambda Calculus and Formal Grammar

12 ∼ A λeφ. ¬ (A e (λe. ⊤)) ∧ φ e

slide-49
SLIDE 49

Fifth Workshop on Lambda Calculus and Formal Grammar

13 Implication and Universal Quantification

slide-50
SLIDE 50

Fifth Workshop on Lambda Calculus and Formal Grammar

13 Implication and Universal Quantification These are defined using de Morgan’s laws: A ⊐ B ∼(A ⊓ ∼B) Πx. P x ∼Σx. ∼(P x)

slide-51
SLIDE 51

Fifth Workshop on Lambda Calculus and Formal Grammar

13 Implication and Universal Quantification These are defined using de Morgan’s laws: A ⊐ B ∼(A ⊓ ∼B) Πx. P x ∼Σx. ∼(P x) Embedding of first-order logic into dynamic logic

slide-52
SLIDE 52

Fifth Workshop on Lambda Calculus and Formal Grammar

13 Implication and Universal Quantification These are defined using de Morgan’s laws: A ⊐ B ∼(A ⊓ ∼B) Πx. P x ∼Σx. ∼(P x) Embedding of first-order logic into dynamic logic R t1 . . . tn = λeφ. R t1 . . . tn ∧ φ e ¬A = ∼A A ∧ B = A ⊓ B ∃x. A = Σx. A

slide-53
SLIDE 53

Fifth Workshop on Lambda Calculus and Formal Grammar

13 Implication and Universal Quantification These are defined using de Morgan’s laws: A ⊐ B ∼(A ⊓ ∼B) Πx. P x ∼Σx. ∼(P x) Embedding of first-order logic into dynamic logic R t1 . . . tn = λeφ. R t1 . . . tn ∧ φ e ¬A = ∼A A ∧ B = A ⊓ B ∃x. A = Σx. A This embedding is such that, for every term e of type γ: A ≡ A e (λe. ⊤)

slide-54
SLIDE 54

Fifth Workshop on Lambda Calculus and Formal Grammar

14

Donkey Sentence Revisited

slide-55
SLIDE 55

Fifth Workshop on Lambda Calculus and Formal Grammar

14

Donkey Sentence Revisited

Montague-like semantic interpretation: farmer = farmer donkey = donkey

  • wns = λOS. S (λx. O (λy. own x y))

beats = λOS. S (λx. O (λy. beat x y)) who = λRQx. Q x ∧ R (λP. P x) a = λPQ. ∃x. P x ∧ Q x every = λPQ. ∀x. P x ⊃ Q x it = ???

slide-56
SLIDE 56

Fifth Workshop on Lambda Calculus and Formal Grammar

14

Donkey Sentence Revisited

Montague-like semantic interpretation: farmer = farmer donkey = donkey

  • wns = λOS. S (λx. O (λy. own x y))

beats = λOS. S (λx. O (λy. beat x y)) who = λRQx. Q x ∧ R (λP. P x) a = λPQ. ∃x. P x ∧ Q x every = λPQ. ∀x. P x ⊃ Q x it = ???

slide-57
SLIDE 57

Fifth Workshop on Lambda Calculus and Formal Grammar

15 Dynamic interpretation: farmer = farmer donkey = donkey

  • wns = λOS. S (λx. O (λy. own x y))

beats = λOS. S (λx. O (λy. beat x y)) who = λRQx. Q x ⊓ R (λP. P x) a = λPQ. Σx. P x ⊓ Q x every = λPQ. Πx. P x ⊐ Q x it = λPeφ. P (sel e) e φ

slide-58
SLIDE 58

Fifth Workshop on Lambda Calculus and Formal Grammar

16 With the dynamic interpretation we have that: beats it (every (who (owns (a donkey)) farmer))

slide-59
SLIDE 59

Fifth Workshop on Lambda Calculus and Formal Grammar

16 With the dynamic interpretation we have that: beats it (every (who (owns (a donkey)) farmer)) β-reduces to the following term (modulo de Morgan’s laws): λeφ. (∀x. farmer x ⊃ (∀y. donkey y ⊃ (own x y ⊃ beat x (sel (x::y::e))))) ∧ φ e

slide-60
SLIDE 60

Fifth Workshop on Lambda Calculus and Formal Grammar

16 With the dynamic interpretation we have that: beats it (every (who (owns (a donkey)) farmer)) β-reduces to the following term (modulo de Morgan’s laws): λeφ. (∀x. farmer x ⊃ (∀y. donkey y ⊃ (own x y ⊃ beat x (sel (x::y::e))))) ∧ φ e that is, assuming that sel is a “perfect” anaphora resolution operator: λeφ. (∀x. farmer x ⊃ (∀y. donkey y ⊃ (own x y ⊃ beat x y))) ∧ φ e

slide-61
SLIDE 61

Fifth Workshop on Lambda Calculus and Formal Grammar

17

The Higher-Order Case

slide-62
SLIDE 62

Fifth Workshop on Lambda Calculus and Formal Grammar

17

The Higher-Order Case

Define type “dynamization” as follows: Dι = ι Do = Ω D(α → β) = Dα → Dβ

slide-63
SLIDE 63

Fifth Workshop on Lambda Calculus and Formal Grammar

17

The Higher-Order Case

Define type “dynamization” as follows: Dι = ι Do = Ω D(α → β) = Dα → Dβ Then, define term “dynamization” as follows: Dt = λx1 . . . xn. t (Rnilx1) . . . (Rnilxn) at type α1 → . . . αn → ι Dt = λx1 . . . xneφ. t (Rex1) . . . (Rexn) ∧ (φ e) at type α1 → . . . αn → o Ret = λx1 . . . xn. t (Dx1) . . . (Dxn) at type D(α1 → . . . αn → ι) Ret = λx1 . . . xn. t (Dx1) . . . (Dxn) e (λe. ⊤) at type D(α1 → . . . αn → o)

slide-64
SLIDE 64

Fifth Workshop on Lambda Calculus and Formal Grammar

18 Finally, define λ-term translation as follows: x = x ∧ = ⊓ ∃ = Σ ¬ = ∼ k = Dk for the other constants λx. t = λx. t t u = t u

slide-65
SLIDE 65

Fifth Workshop on Lambda Calculus and Formal Grammar

18 Finally, define λ-term translation as follows: x = x ∧ = ⊓ ∃ = Σ ¬ = ∼ k = Dk for the other constants λx. t = λx. t t u = t u Then, for every closed term t of type o, and every context e, we have that: t e (λe. ⊤) ≡ t

slide-66
SLIDE 66

Fifth Workshop on Lambda Calculus and Formal Grammar

19 Comparison with existing works

slide-67
SLIDE 67

Fifth Workshop on Lambda Calculus and Formal Grammar

19 Comparison with existing works Most existing works on dynamics (DRT, Muskens’, Groenendijk & Stokhof’s) interpret dynamic propositions as binary relations on states (a.k.a., assignments or environments).

slide-68
SLIDE 68

Fifth Workshop on Lambda Calculus and Formal Grammar

19 Comparison with existing works Most existing works on dynamics (DRT, Muskens’, Groenendijk & Stokhof’s) interpret dynamic propositions as binary relations on states (a.k.a., assignments or environments). In our setting, these would be terms of type: γ → γ → o,

slide-69
SLIDE 69

Fifth Workshop on Lambda Calculus and Formal Grammar

19 Comparison with existing works Most existing works on dynamics (DRT, Muskens’, Groenendijk & Stokhof’s) interpret dynamic propositions as binary relations on states (a.k.a., assignments or environments). In our setting, these would be terms of type: γ → γ → o, and the semantics of Groenendijk & Stokhof’s DPL would be rephrased as follows: Ad λgh. h=g ∧ A (atomic proposition) (¬P)d λgh. h=g ∧ ¬(∃k. Pd h k) (negation) (P ∧ Q)d λgh. ∃k. Pd g k ∧ Qd k h (conjunction) (∃x. P)d λgh. ∃k. k[x]g ∧ Pd k h (existential)

slide-70
SLIDE 70

Fifth Workshop on Lambda Calculus and Formal Grammar

20

slide-71
SLIDE 71

Fifth Workshop on Lambda Calculus and Formal Grammar

20 There exists a canonical embedding ⌈·⌉ from γ → γ → o into γ → (γ → o) → o: ⌈R⌉ λeφ. ∃e′. φ e′ ∧ R e e′

slide-72
SLIDE 72

Fifth Workshop on Lambda Calculus and Formal Grammar

20 There exists a canonical embedding ⌈·⌉ from γ → γ → o into γ → (γ → o) → o: ⌈R⌉ λeφ. ∃e′. φ e′ ∧ R e e′ Then, we have: ⌈Ad⌉ ≡ A ⌈(¬P)d⌉ ≡ ∼ ⌈P d⌉ ⌈(P ∧ Q)d⌉ ≡ ⌈P d⌉⊓⌈Qd⌉

slide-73
SLIDE 73

Fifth Workshop on Lambda Calculus and Formal Grammar

20 There exists a canonical embedding ⌈·⌉ from γ → γ → o into γ → (γ → o) → o: ⌈R⌉ λeφ. ∃e′. φ e′ ∧ R e e′ Then, we have: ⌈Ad⌉ ≡ A ⌈(¬P)d⌉ ≡ ∼ ⌈P d⌉ ⌈(P ∧ Q)d⌉ ≡ ⌈P d⌉⊓⌈Qd⌉ As for the existential quantifier: ⌈(∃x. P)d⌉ = λeφ. ∃e′. φ e′ ∧ ∃k. k[x]e ∧ ⌈Pd⌉ k e′ Σx. ⌈Pd⌉ = λeφ. ∃e′. φ e′ ∧ ∃x. ⌈Pd⌉ (x :: e) e′

slide-74
SLIDE 74

Fifth Workshop on Lambda Calculus and Formal Grammar

21

Conclusions

slide-75
SLIDE 75

Fifth Workshop on Lambda Calculus and Formal Grammar

21

Conclusions

What do we gain?

slide-76
SLIDE 76

Fifth Workshop on Lambda Calculus and Formal Grammar

21

Conclusions

What do we gain?

  • No destructive assignment.
slide-77
SLIDE 77

Fifth Workshop on Lambda Calculus and Formal Grammar

21

Conclusions

What do we gain?

  • No destructive assignment.
  • Parametric in γ.
slide-78
SLIDE 78

Fifth Workshop on Lambda Calculus and Formal Grammar

21

Conclusions

What do we gain?

  • No destructive assignment.
  • Parametric in γ.
  • Relatively independent of the underlying logic:
slide-79
SLIDE 79

Fifth Workshop on Lambda Calculus and Formal Grammar

21

Conclusions

What do we gain?

  • No destructive assignment.
  • Parametric in γ.
  • Relatively independent of the underlying logic:

– generalizes to H.O.L.;

slide-80
SLIDE 80

Fifth Workshop on Lambda Calculus and Formal Grammar

21

Conclusions

What do we gain?

  • No destructive assignment.
  • Parametric in γ.
  • Relatively independent of the underlying logic:

– generalizes to H.O.L.; – an intuitionistic version could be worked out.

slide-81
SLIDE 81

Fifth Workshop on Lambda Calculus and Formal Grammar

21

Conclusions

What do we gain?

  • No destructive assignment.
  • Parametric in γ.
  • Relatively independent of the underlying logic:

– generalizes to H.O.L.; – an intuitionistic version could be worked out.

  • Relies on well-established existing theories (proof-theory and model theory for free).
slide-82
SLIDE 82

Fifth Workshop on Lambda Calculus and Formal Grammar

21

Conclusions

What do we gain?

  • No destructive assignment.
  • Parametric in γ.
  • Relatively independent of the underlying logic:

– generalizes to H.O.L.; – an intuitionistic version could be worked out.

  • Relies on well-established existing theories (proof-theory and model theory for free).
  • Deduction is replaced by computation.