Beyond the context-free boundary: generalizing Lambek calculus - - PowerPoint PPT Presentation

beyond the context free boundary generalizing lambek
SMART_READER_LITE
LIVE PREVIEW

Beyond the context-free boundary: generalizing Lambek calculus - - PowerPoint PPT Presentation

Beyond the context-free boundary: generalizing Lambek calculus Michael Moortgat Flowincat 2010 Oxford Abstract Lambeks syntactic calculi, both the associative and the non-associative variant, are strictly contextfree. A well-tried


slide-1
SLIDE 1

Beyond the context-free boundary: generalizing Lambek calculus

Michael Moortgat Flowin’cat 2010 Oxford

slide-2
SLIDE 2

Abstract Lambek’s syntactic calculi, both the associative and the non-associative variant, are strictly contextfree. A well-tried strategy to overcome this expressive limitation has been to extend the calculi with unary modalities allowing for controlled forms

  • f associativity/commutativity, cf the use of exponentials in linear logic.

Here we pursue an alternative strategy, exploiting the symmetries between resid- uated and Galois connected families of connectives, and between these and their

  • duals. Communication between these families takes the form of linear, structure-

preserving distributivity principles. Background reading: Moortgat 2009, Symmetric categorial grammar. JPL, 38 (6) 681-710. Moortgat 2010, Symmetric categorial grammar: residuation and Galois

  • connections. Linguistic Analysis. Special issue dedicated to Jim Lambek,

36(1–4), 2010. CoRR 1008.0170.

slide-3
SLIDE 3

1. Motivation

Lambek’s syntactic calculus — (N)L, pregroup grammar — is strictly context-free. Expressive limitations Problematic are discontinuous dependencies: ◮ Extraction. Who stole the tarts? vs What did Alice find there? ◮ Infixation. Alice thinks someone is cheating local vs non-local interpretation.

slide-4
SLIDE 4

1. Motivation

Lambek’s syntactic calculus — (N)L, pregroup grammar — is strictly context-free. Expressive limitations Problematic are discontinuous dependencies: ◮ Extraction. Who stole the tarts? vs What did Alice find there? ◮ Infixation. Alice thinks someone is cheating local vs non-local interpretation. Stragegies for reconciling form/meaning ◮ NL: controlled structural options, embedding translations; ∼ LL !,? ◮ Lambek-Grishin calculus LG, after Grishin 1983 ⊲ symmetry: residuated, Galois connected operations and their duals ⊲ structural rules logical distributivity principles ⊲ continuation semantics: relieves the burden on syntactic source calculus

slide-5
SLIDE 5

2. LG: some results so far

◮ Prooftheoretic formats ⊲ Display sequent calculus, cut-elimination. MM 2007. ⊲ Proof nets: Moot 2007. Tableaux: Bastenhof 2010. ⊲ Focused proof search. Bastenhof (.)

slide-6
SLIDE 6

2. LG: some results so far

◮ Prooftheoretic formats ⊲ Display sequent calculus, cut-elimination. MM 2007. ⊲ Proof nets: Moot 2007. Tableaux: Bastenhof 2010. ⊲ Focused proof search. Bastenhof (.) ◮ Models, completeness ⊲ Relational: Kurtonina&MM ’07/’10, Areces ea ’04, Bimbo&Dunn ’09. . . ⊲ Algebraic: Buszkowski 2010; phase semantics: Bastenhof (.)

slide-7
SLIDE 7

2. LG: some results so far

◮ Prooftheoretic formats ⊲ Display sequent calculus, cut-elimination. MM 2007. ⊲ Proof nets: Moot 2007. Tableaux: Bastenhof 2010. ⊲ Focused proof search. Bastenhof (.) ◮ Models, completeness ⊲ Relational: Kurtonina&MM ’07/’10, Areces ea ’04, Bimbo&Dunn ’09. . . ⊲ Algebraic: Buszkowski 2010; phase semantics: Bastenhof (.) ◮ Expressivity, complexity ⊲ Without distr: context-free (Bastenhof 2010), polynomial (Capelletti 2007) ⊲ With distr: beyond Mild CS (Melissen 2009), NP-complete (Bransen 2010)

slide-8
SLIDE 8

2. LG: some results so far

◮ Prooftheoretic formats ⊲ Display sequent calculus, cut-elimination. MM 2007. ⊲ Proof nets: Moot 2007. Tableaux: Bastenhof 2010. ⊲ Focused proof search. Bastenhof (.) ◮ Models, completeness ⊲ Relational: Kurtonina&MM ’07/’10, Areces ea ’04, Bimbo&Dunn ’09. . . ⊲ Algebraic: Buszkowski 2010; phase semantics: Bastenhof (.) ◮ Expressivity, complexity ⊲ Without distr: context-free (Bastenhof 2010), polynomial (Capelletti 2007) ⊲ With distr: beyond Mild CS (Melissen 2009), NP-complete (Bransen 2010) ◮ Continuation-passing-style interpretation. Bernardi&MM 2007/2010. References See: Categorial type logics. Chapter update. Handbook of Logic and Language, 2nd edition. Elsevier, 2010.

slide-9
SLIDE 9

3. Recap: residuated pairs, Galois connections

Basic concepts Posets (X, ≤), (Y, ≤′) with mappings f : X − → Y , g : Y − → X. The pair (f, g) is called a residuated pair (rp), a dual residuated pair (drp), a Galois connection (gc), a dual Galois connection (dgc) depending on which of the following biconditionals holds: (rp) fx ≤′ y ⇔ x ≤ gy (drp) y ≤′ fx ⇔ gy ≤ x (gc) y ≤′ fx ⇔ x ≤ gy (dgc) fx ≤′ y ⇔ gy ≤ x

slide-10
SLIDE 10

3. Recap: residuated pairs, Galois connections

Basic concepts Posets (X, ≤), (Y, ≤′) with mappings f : X − → Y , g : Y − → X. The pair (f, g) is called a residuated pair (rp), a dual residuated pair (drp), a Galois connection (gc), a dual Galois connection (dgc) depending on which of the following biconditionals holds: (rp) fx ≤′ y ⇔ x ≤ gy (drp) y ≤′ fx ⇔ gy ≤ x (gc) y ≤′ fx ⇔ x ≤ gy (dgc) fx ≤′ y ⇔ gy ≤ x Alternative characterization in terms of tonicity, compositions (rp) f, g : isotone, x ≤ gfx, fgy ≤′ y (drp) f, g : isotone, gfx ≤ x, y ≤′ fgx (gc) f, g : antitone, x ≤ gfx, y ≤′ fgy (dgc) f, g : antitone, fgx ≤ x, gfy ≤′ y

slide-11
SLIDE 11

3. Recap: residuated pairs, Galois connections

Basic concepts Posets (X, ≤), (Y, ≤′) with mappings f : X − → Y , g : Y − → X. The pair (f, g) is called a residuated pair (rp), a dual residuated pair (drp), a Galois connection (gc), a dual Galois connection (dgc) depending on which of the following biconditionals holds: (rp) fx ≤′ y ⇔ x ≤ gy (drp) y ≤′ fx ⇔ gy ≤ x (gc) y ≤′ fx ⇔ x ≤ gy (dgc) fx ≤′ y ⇔ gy ≤ x Alternative characterization in terms of tonicity, compositions (rp) f, g : isotone, x ≤ gfx, fgy ≤′ y (drp) f, g : isotone, gfx ≤ x, y ≤′ fgx (gc) f, g : antitone, x ≤ gfx, y ≤′ fgy (dgc) f, g : antitone, fgx ≤ x, gfy ≤′ y Generalization Residuated triples, etc. Galatos e.a., Dunn.

slide-12
SLIDE 12

4. Lambek-Grishin calculus: fusion vs fission

Lambek-Grishin calculus NL has ⊗, left and right division \, / forming a residuated

  • triple. LG adds a dual residuated triple: coproduct ⊕, right and left difference ⊘, .

A → C/B ⇔ A ⊗ B → C ⇔ B → A\C B C → A ⇔ C → B ⊕ A ⇔ C ⊘ A → B

slide-13
SLIDE 13

4. Lambek-Grishin calculus: fusion vs fission

Lambek-Grishin calculus NL has ⊗, left and right division \, / forming a residuated

  • triple. LG adds a dual residuated triple: coproduct ⊕, right and left difference ⊘, .

A → C/B ⇔ A ⊗ B → C ⇔ B → A\C B C → A ⇔ C → B ⊕ A ⇔ C ⊘ A → B Interpretation Algebraic (Ono, Buszkowski); Kripke-style relational (Dunn, Kurton- ina). For the latter: frames (W, R, S), with operations defined on subsets of W. A ⊗ B = {x | ∃yz (Rxyz ∧ y ∈ A ∧ z ∈ B)} C/B = {y | ∀xz ((Rxyz ∧ z ∈ B) ⇒ x ∈ C)} A\C = {z | ∀xy ((Rxyz ∧ y ∈ A) ⇒ x ∈ C)} A ⊕ B = {x | ∀yz (Sxyz ⇒ (y ∈ A ∨ z ∈ B))} C ⊘ B = {y | ∃xz (Sxyz ∧ z ∈ B ∧ x ∈ C)} A C = {z | ∃xy (Sxyz ∧ y ∈ A ∧ x ∈ C)} Note As yet no assumptions about relation between fusion R, fission S.

slide-14
SLIDE 14

5. Through the Looking Glass

Two symmetries To the left-right symmetry ·⊲

⊳ of NL, LG adds an arrow reversal

symmetry ·∞. Together with identity and composition: Klein group. A⊲

f ⊲

− − → B⊲

⇔ A f − − → B ⇔ B∞ f ∞ − − → A∞ Translation tables ⊲ ⊳ C/D A ⊗ B B ⊕ A D C D\C B ⊗ A A ⊕ B C ⊘ D ∞ C/B A ⊗ B A\C B C B ⊕ A C ⊘ A

slide-15
SLIDE 15

5. Through the Looking Glass

Two symmetries To the left-right symmetry ·⊲

⊳ of NL, LG adds an arrow reversal

symmetry ·∞. Together with identity and composition: Klein group. A⊲

f ⊲

− − → B⊲

⇔ A f − − → B ⇔ B∞ f ∞ − − → A∞ Translation tables ⊲ ⊳ C/D A ⊗ B B ⊕ A D C D\C B ⊗ A A ⊕ B C ⊘ D ∞ C/B A ⊗ B A\C B C B ⊕ A C ⊘ A theorems form quartets: (B ⊘ A) B → A B ⊘ (A B) → A

  • A → B/(A\B)
  • A → (B/A)\B

slide-16
SLIDE 16

6. Distributivity

Interaction fusion, fission Grishin considers two groups of distributivity principles ◮ respecting resources, cf weak/linear distributivities Cockett-Seely, de Paiva ◮ respecting structure: non-associativity/commutativity ⊗/⊕

slide-17
SLIDE 17

6. Distributivity

Interaction fusion, fission Grishin considers two groups of distributivity principles ◮ respecting resources, cf weak/linear distributivities Cockett-Seely, de Paiva ◮ respecting structure: non-associativity/commutativity ⊗/⊕ Option A Recipe: select a ⊗/⊕ factor in the premise; simultaneously introduce the residual operations for the remaining two in the conclusion. Note: ·⊲

⊳ symmetry.

A ⊗ B → C ⊕ D C A → D / B A ⊗ B → C ⊕ D B ⊘ D → A \ C A ⊗ B → C ⊕ D C B → A \ D A ⊗ B → C ⊕ D A ⊘ D → C / B Option B Converses of A. Characteristic theorems: (A ⊕ B) ⊗ C → A ⊕ (B ⊗ C) etc Conservativity Adding A or B to the pure residuation logic is conservative; with A+B structure-preservation is lost.

slide-18
SLIDE 18

7. Generalizing arity: unary operators

Isotone Residuated pairs: inverse duals wrt interpreting binary relation. A = {x | ∃y (Rxy ∧ y ∈ A)} ′A = {y | ∀x (Rxy ⇒ x ∈ A)} A = {x | ∀y (Sxy ⇒ y ∈ A)} ′A = {y | ∃x (Sxy ∧ x ∈ A)}

slide-19
SLIDE 19

7. Generalizing arity: unary operators

Isotone Residuated pairs: inverse duals wrt interpreting binary relation. A = {x | ∃y (Rxy ∧ y ∈ A)} ′A = {y | ∀x (Rxy ⇒ x ∈ A)} A = {x | ∀y (Sxy ⇒ y ∈ A)} ′A = {y | ∃x (Sxy ∧ x ∈ A)} Antitone Galois connection 0·, ·0; dual Galois connection ·1, 1·

0A = {x | ∀y (y ∈ A ⇒ Rxy)}

A0 = {y | ∀x (x ∈ A ⇒ Rxy)} A1 = {y | ∃x (Sxy ∧ x ∈ A)}

1A = {x | ∃y (Sxy ∧ y ∈ A)}

Galois laws: B → A0 ⇔ A → 0B ;

1B → A

⇔ A1 → B Properties of the compositions: A → 0(A0) , A → (0A)0 ; (1A)1 → A ,

1(A1) → A

Composition 0·, ·0 (either order): closure operation (expanding, isotone, idempotent); dually, composition of ·1, 1·: interior operation (contracting, isotone, and idempotent).

slide-20
SLIDE 20

8. Distributivity: negations

◮ Grishin: defined negations in terms of multiplicative units A0 A\0, 1A 1⊘A and the ·⊲

⊳ symmetric cases.

◮ Here: primitive negations — multiplicative units overgenerate ◮ But: we use the defined negations to extrapolate for the 0·, ·0,·1, 1· distributivities

slide-21
SLIDE 21

8. Distributivity: negations

◮ Grishin: defined negations in terms of multiplicative units A0 A\0, 1A 1⊘A and the ·⊲

⊳ symmetric cases.

◮ Here: primitive negations — multiplicative units overgenerate ◮ But: we use the defined negations to extrapolate for the 0·, ·0,·1, 1· distributivities Illustration Interaction among the (dual) Galois connected operators: A → B 1 ⊗ A → B ⊕ 0 B 1 → 0/A

  • A → B

B1 → 0A

slide-22
SLIDE 22

8. Distributivity: negations

◮ Grishin: defined negations in terms of multiplicative units A0 A\0, 1A 1⊘A and the ·⊲

⊳ symmetric cases.

◮ Here: primitive negations — multiplicative units overgenerate ◮ But: we use the defined negations to extrapolate for the 0·, ·0,·1, 1· distributivities Illustration Interaction among the (dual) Galois connected operators: A → B 1 ⊗ A → B ⊕ 0 B 1 → 0/A

  • A → B

B1 → 0A Interaction between Galois connected and residuated families: A → B ⊕ C 1 ⊗ A → B ⊕ C B 1 → C/A

  • A → B ⊕ C

B1 → C/A

slide-23
SLIDE 23

9. Display sequent calculus

Motivation At first sight, it looks like the Grishin distributivity laws could be absorbed in Lambek’s logical sequent rules. Compare (∆[B\A]: B\A in a structural ⊕ context): NL: (B, Γ) ⊢ A Γ ⊢ B\A \R

?

  • LG:

(B, Γ) ⊢ ∆[A] Γ ⊢ ∆[B\A] \R But, this LG rule (and the ⊲ ⊳, ∞ duals) is incomplete: no cut-free derivations below. (a, (c ⊘ ((a\b) c))) ⊢ b b ⊢ (((c/(b ⊘ a))\c), a)

slide-24
SLIDE 24

9. Display sequent calculus

Motivation At first sight, it looks like the Grishin distributivity laws could be absorbed in Lambek’s logical sequent rules. Compare (∆[B\A]: B\A in a structural ⊕ context): NL: (B, Γ) ⊢ A Γ ⊢ B\A \R

?

  • LG:

(B, Γ) ⊢ ∆[A] Γ ⊢ ∆[B\A] \R But, this LG rule (and the ⊲ ⊳, ∞ duals) is incomplete: no cut-free derivations below. (a, (c ⊘ ((a\b) c))) ⊢ b b ⊢ (((c/(b ⊘ a))\c), a) Display sequent calculus Gor´ e 1999, MM 2007. ◮ structural punctuation for every logical connective ◮ (dual) residuation, Galois principles: structural rules, display equivalences ◮ Grishin’s distributivity laws: structural too

slide-25
SLIDE 25

10. LG display calculus: structural rules

Sequents Arrows A → B to sequents X ⊢ Y , with X (Y ) input (output) structures. I ::= x : A | I · ⊗ · I | I · ⊘ · O | O · · I | 1·O | O ·1 O ::= α : A | O · ⊕ · O | I · \ · O | O · / · I | I ·0 | 0·I

slide-26
SLIDE 26

10. LG display calculus: structural rules

Sequents Arrows A → B to sequents X ⊢ Y , with X (Y ) input (output) structures. I ::= x : A | I · ⊗ · I | I · ⊘ · O | O · · I | 1·O | O ·1 O ::= α : A | O · ⊕ · O | I · \ · O | O · / · I | I ·0 | 0·I Axiom, formula cut A ⊢ A X ⊢ A A ⊢ Y X ⊢ Y Residuation, Galois laws Display equivalences. For example: A → C/B A ⊗ B → C

  • X ⊢ Z · / · Y

X · ⊗ · Y ⊢ Z ;

1B → A

A1 → B

  • 1·Y → X

X ·1 → Y Distributivity laws All operations are structural. For example: A ⊗ B → C ⊕ D C A → D/B

  • X · ⊗ · Y ⊢ Z · ⊕ · W

Z · · X ⊢ W · / · Y

slide-27
SLIDE 27

11. LG display calculus: logical rules

Each connective has a left and a right introduction rule. They fall in two groups. Rewrite rules

  • Reversible. Toggle between logical, structural operation.

A · ⊘ · B ⊢ Y A ⊘ B ⊢ Y ⊘L A ·1 ⊢ Y A1 ⊢ Y ·1L

slide-28
SLIDE 28

11. LG display calculus: logical rules

Each connective has a left and a right introduction rule. They fall in two groups. Rewrite rules

  • Reversible. Toggle between logical, structural operation.

A · ⊘ · B ⊢ Y A ⊘ B ⊢ Y ⊘L A ·1 ⊢ Y A1 ⊢ Y ·1L Monotonicity rules X ⊢ A B ⊢ Y X · ⊘ · Y ⊢ A ⊘ B ⊘R A ⊢ Y Y ·1 ⊢ A1 ·1R Complete the picture using the ⊲ ⊳ and ∞ symmetries (exercise).

slide-29
SLIDE 29

11. LG display calculus: logical rules

Each connective has a left and a right introduction rule. They fall in two groups. Rewrite rules

  • Reversible. Toggle between logical, structural operation.

A · ⊘ · B ⊢ Y A ⊘ B ⊢ Y ⊘L A ·1 ⊢ Y A1 ⊢ Y ·1L Monotonicity rules X ⊢ A B ⊢ Y X · ⊘ · Y ⊢ A ⊘ B ⊘R A ⊢ Y Y ·1 ⊢ A1 ·1R Complete the picture using the ⊲ ⊳ and ∞ symmetries (exercise). Cut elimination MM 2007.

slide-30
SLIDE 30

12. Cut-free derivation

Display property Any formula component of a sequent can be displayed as the sole antecedent or succedent part, where the logical rules are applicable. / /

slide-31
SLIDE 31

12. Cut-free derivation

Display property Any formula component of a sequent can be displayed as the sole antecedent or succedent part, where the logical rules are applicable. / / b ⊢ ((c/(b ⊘ a))\c) · ⊕ · a

slide-32
SLIDE 32

12. Cut-free derivation

Display property Any formula component of a sequent can be displayed as the sole antecedent or succedent part, where the logical rules are applicable. / / b ⊢ ((c/(b ⊘ a))\c) · ⊕ · a dr

slide-33
SLIDE 33

12. Cut-free derivation

Display property Any formula component of a sequent can be displayed as the sole antecedent or succedent part, where the logical rules are applicable. / / b · ⊘ · a ⊢ (c/(b ⊘ a))\c b ⊢ ((c/(b ⊘ a))\c) · ⊕ · a dr

slide-34
SLIDE 34

12. Cut-free derivation

Display property Any formula component of a sequent can be displayed as the sole antecedent or succedent part, where the logical rules are applicable. / / b · ⊘ · a ⊢ (c/(b ⊘ a))\c \R b ⊢ ((c/(b ⊘ a))\c) · ⊕ · a dr

slide-35
SLIDE 35

12. Cut-free derivation

Display property Any formula component of a sequent can be displayed as the sole antecedent or succedent part, where the logical rules are applicable. / / b · ⊘ · a ⊢ (c/(b ⊘ a)) · \ · c b · ⊘ · a ⊢ (c/(b ⊘ a))\c \R b ⊢ ((c/(b ⊘ a))\c) · ⊕ · a dr

slide-36
SLIDE 36

12. Cut-free derivation

Display property Any formula component of a sequent can be displayed as the sole antecedent or succedent part, where the logical rules are applicable. / / b · ⊘ · a ⊢ (c/(b ⊘ a)) · \ · c r b · ⊘ · a ⊢ (c/(b ⊘ a))\c \R b ⊢ ((c/(b ⊘ a))\c) · ⊕ · a dr

slide-37
SLIDE 37

12. Cut-free derivation

Display property Any formula component of a sequent can be displayed as the sole antecedent or succedent part, where the logical rules are applicable. / / c/(b ⊘ a) ⊢ c · / · (b · ⊘ · a) b · ⊘ · a ⊢ (c/(b ⊘ a)) · \ · c r b · ⊘ · a ⊢ (c/(b ⊘ a))\c \R b ⊢ ((c/(b ⊘ a))\c) · ⊕ · a dr

slide-38
SLIDE 38

12. Cut-free derivation

Display property Any formula component of a sequent can be displayed as the sole antecedent or succedent part, where the logical rules are applicable. / / c/(b ⊘ a) ⊢ c · / · (b · ⊘ · a) /L b · ⊘ · a ⊢ (c/(b ⊘ a)) · \ · c r b · ⊘ · a ⊢ (c/(b ⊘ a))\c \R b ⊢ ((c/(b ⊘ a))\c) · ⊕ · a dr

slide-39
SLIDE 39

12. Cut-free derivation

Display property Any formula component of a sequent can be displayed as the sole antecedent or succedent part, where the logical rules are applicable. / b · ⊘ · a ⊢ b ⊘ a / c/(b ⊘ a) ⊢ c · / · (b · ⊘ · a) /L b · ⊘ · a ⊢ (c/(b ⊘ a)) · \ · c r b · ⊘ · a ⊢ (c/(b ⊘ a))\c \R b ⊢ ((c/(b ⊘ a))\c) · ⊕ · a dr

slide-40
SLIDE 40

12. Cut-free derivation

Display property Any formula component of a sequent can be displayed as the sole antecedent or succedent part, where the logical rules are applicable. / b · ⊘ · a ⊢ b ⊘ a ⊘R / c/(b ⊘ a) ⊢ c · / · (b · ⊘ · a) /L b · ⊘ · a ⊢ (c/(b ⊘ a)) · \ · c r b · ⊘ · a ⊢ (c/(b ⊘ a))\c \R b ⊢ ((c/(b ⊘ a))\c) · ⊕ · a dr

slide-41
SLIDE 41

12. Cut-free derivation

Display property Any formula component of a sequent can be displayed as the sole antecedent or succedent part, where the logical rules are applicable. / b ⊢ b b · ⊘ · a ⊢ b ⊘ a ⊘R / c/(b ⊘ a) ⊢ c · / · (b · ⊘ · a) /L b · ⊘ · a ⊢ (c/(b ⊘ a)) · \ · c r b · ⊘ · a ⊢ (c/(b ⊘ a))\c \R b ⊢ ((c/(b ⊘ a))\c) · ⊕ · a dr

slide-42
SLIDE 42

12. Cut-free derivation

Display property Any formula component of a sequent can be displayed as the sole antecedent or succedent part, where the logical rules are applicable. / b ⊢ b b · ⊘ · a ⊢ b ⊘ a ⊘R / c/(b ⊘ a) ⊢ c · / · (b · ⊘ · a) /L b · ⊘ · a ⊢ (c/(b ⊘ a)) · \ · c r b · ⊘ · a ⊢ (c/(b ⊘ a))\c \R b ⊢ ((c/(b ⊘ a))\c) · ⊕ · a dr

slide-43
SLIDE 43

12. Cut-free derivation

Display property Any formula component of a sequent can be displayed as the sole antecedent or succedent part, where the logical rules are applicable. a ⊢ a / b ⊢ b b · ⊘ · a ⊢ b ⊘ a ⊘R / c/(b ⊘ a) ⊢ c · / · (b · ⊘ · a) /L b · ⊘ · a ⊢ (c/(b ⊘ a)) · \ · c r b · ⊘ · a ⊢ (c/(b ⊘ a))\c \R b ⊢ ((c/(b ⊘ a))\c) · ⊕ · a dr

slide-44
SLIDE 44

12. Cut-free derivation

Display property Any formula component of a sequent can be displayed as the sole antecedent or succedent part, where the logical rules are applicable. a ⊢ a / b ⊢ b b · ⊘ · a ⊢ b ⊘ a ⊘R / c/(b ⊘ a) ⊢ c · / · (b · ⊘ · a) /L b · ⊘ · a ⊢ (c/(b ⊘ a)) · \ · c r b · ⊘ · a ⊢ (c/(b ⊘ a))\c \R b ⊢ ((c/(b ⊘ a))\c) · ⊕ · a dr

slide-45
SLIDE 45

12. Cut-free derivation

Display property Any formula component of a sequent can be displayed as the sole antecedent or succedent part, where the logical rules are applicable. a ⊢ a / b ⊢ b b · ⊘ · a ⊢ b ⊘ a ⊘R / c ⊢ c c/(b ⊘ a) ⊢ c · / · (b · ⊘ · a) /L b · ⊘ · a ⊢ (c/(b ⊘ a)) · \ · c r b · ⊘ · a ⊢ (c/(b ⊘ a))\c \R b ⊢ ((c/(b ⊘ a))\c) · ⊕ · a dr

slide-46
SLIDE 46

12. Cut-free derivation

Display property Any formula component of a sequent can be displayed as the sole antecedent or succedent part, where the logical rules are applicable. a ⊢ a / b ⊢ b b · ⊘ · a ⊢ b ⊘ a ⊘R / c ⊢ c c/(b ⊘ a) ⊢ c · / · (b · ⊘ · a) /L b · ⊘ · a ⊢ (c/(b ⊘ a)) · \ · c r b · ⊘ · a ⊢ (c/(b ⊘ a))\c \R b ⊢ ((c/(b ⊘ a))\c) · ⊕ · a dr

slide-47
SLIDE 47

12. Cut-free derivation

Display property Any formula component of a sequent can be displayed as the sole antecedent or succedent part, where the logical rules are applicable. a ⊢ a / b ⊢ b b · ⊘ · a ⊢ b ⊘ a ⊘R / c ⊢ c c/(b ⊘ a) ⊢ c · / · (b · ⊘ · a) /L b · ⊘ · a ⊢ (c/(b ⊘ a)) · \ · c r b · ⊘ · a ⊢ (c/(b ⊘ a))\c \R b ⊢ ((c/(b ⊘ a))\c) · ⊕ · a dr Observe This sequent is problematic for a standard Gentzen presentation, with only structural punctuation for ⊗ and ⊕.

slide-48
SLIDE 48

13. Lambek-Grishin proof nets

◮ Links. Type: (co)tensor; premises P1, . . . , Pn, conclusions C1, . . . , Cm, 0 ≤ n, m. Main formula: empty or one of the Pi, Cj.

slide-49
SLIDE 49

13. Lambek-Grishin proof nets

◮ Links. Type: (co)tensor; premises P1, . . . , Pn, conclusions C1, . . . , Cm, 0 ≤ n, m. Main formula: empty or one of the Pi, Cj. ◮ Proof structure. Set of links over finite set of frm’s s.t. every frm is at most once premise and at most once conclusion of a link. ⊲ hypotheses: ¬ conclusion of any link ⊲ conclusions: ¬ premise of any link ⊲ axioms: ¬ main formula of any link

slide-50
SLIDE 50

13. Lambek-Grishin proof nets

◮ Links. Type: (co)tensor; premises P1, . . . , Pn, conclusions C1, . . . , Cm, 0 ≤ n, m. Main formula: empty or one of the Pi, Cj. ◮ Proof structure. Set of links over finite set of frm’s s.t. every frm is at most once premise and at most once conclusion of a link. ⊲ hypotheses: ¬ conclusion of any link ⊲ conclusions: ¬ premise of any link ⊲ axioms: ¬ main formula of any link ◮ Abstract proof structure: PS with formulas at internal nodes erased.

slide-51
SLIDE 51

13. Lambek-Grishin proof nets

◮ Links. Type: (co)tensor; premises P1, . . . , Pn, conclusions C1, . . . , Cm, 0 ≤ n, m. Main formula: empty or one of the Pi, Cj. ◮ Proof structure. Set of links over finite set of frm’s s.t. every frm is at most once premise and at most once conclusion of a link. ⊲ hypotheses: ¬ conclusion of any link ⊲ conclusions: ¬ premise of any link ⊲ axioms: ¬ main formula of any link ◮ Abstract proof structure: PS with formulas at internal nodes erased. ◮ Rewriting: logical and structural conversions next slides

slide-52
SLIDE 52

13. Lambek-Grishin proof nets

◮ Links. Type: (co)tensor; premises P1, . . . , Pn, conclusions C1, . . . , Cm, 0 ≤ n, m. Main formula: empty or one of the Pi, Cj. ◮ Proof structure. Set of links over finite set of frm’s s.t. every frm is at most once premise and at most once conclusion of a link. ⊲ hypotheses: ¬ conclusion of any link ⊲ conclusions: ¬ premise of any link ⊲ axioms: ¬ main formula of any link ◮ Abstract proof structure: PS with formulas at internal nodes erased. ◮ Rewriting: logical and structural conversions next slides ◮ Proof net: APS converting to a tensor tree (possibly unrooted)

slide-53
SLIDE 53

13. Lambek-Grishin proof nets

◮ Links. Type: (co)tensor; premises P1, . . . , Pn, conclusions C1, . . . , Cm, 0 ≤ n, m. Main formula: empty or one of the Pi, Cj. ◮ Proof structure. Set of links over finite set of frm’s s.t. every frm is at most once premise and at most once conclusion of a link. ⊲ hypotheses: ¬ conclusion of any link ⊲ conclusions: ¬ premise of any link ⊲ axioms: ¬ main formula of any link ◮ Abstract proof structure: PS with formulas at internal nodes erased. ◮ Rewriting: logical and structural conversions next slides ◮ Proof net: APS converting to a tensor tree (possibly unrooted) References Moot & Puite (2002), Proof nets for the multimodal Lambek calculus. Studia Logica 71(3). Moot (2007), Proof nets for display logic. CoRR 0711.2444.

slide-54
SLIDE 54

14. Binary links, contractions: tensor

A / B B A A / B B A A B A ⊗ B A B A ⊗ B A A \ B B A A \ B B

  • C
  • H
  • C
  • H
  • C
  • H
  • [R\]

[L⊗] [R/]

slide-55
SLIDE 55

15. Binary links, contractions: tensor∞

A B A ⊕ B A B B A A A B B A B A ⊕ B A B B A A A B B

  • H
  • C
  • H
  • C
  • H
  • C
  • [L]

[R⊕] [L]

slide-56
SLIDE 56

16. Structural rewriting

Example Two of Grishin’s distributivity laws.

  • X
  • V
  • W
  • Y

←Gr1

  • X
  • Y
  • V
  • W
  • X
  • W
  • V
  • Y
  • →Gr2

X · · V ⊢ Y · / · W

Gr1

⇐ V · ⊗ · W ⊢ X · ⊕ · Y

Gr2

⇒ X · · W ⊢ V · \ · Y

slide-57
SLIDE 57

17. Lexicon: partial proof trees

John np np np \ s s (np \ s) / s s believes np np \ s s left (s s) np np someone s s s s

Clicking these together, one can produce sentences such as: John left, someone left, J believes someone left, someone believes J left, . . .

slide-58
SLIDE 58

18. Rewriting: structural

John

  • believes
  • left
  • someone
  • s

→Gr2 John

  • believes
  • left
  • someone
  • s
  • →Gr2
  • s

John believes

  • left
  • someone
  • . . .
slide-59
SLIDE 59

19. Rewriting: structural, logical

→Gr2

  • s

John believes

  • left
  • someone
  • →Gr1
  • s

John believes

  • left
  • someone
  • →L
  • s

John believes

  • left

someone

  • Final result

Tensor tree, root s. Yield: recognized string. Reading: wide scope ∃.

slide-60
SLIDE 60

20. The syntax-semantics mapping

The standard view Compositional mapping, cf Montague’s Universal Grammar. (N)L{n,np,s}

/,\

(·)′ − − − − − − − − − − − − → LP{e,t}

(MILL) syntactic calculus homomorphism semantic calculus np′ = e ; s′ = t ; n′ = e → t ; (A\B)′ = (B/A)′ = A′ → B′ desirable recipes for meaning assembly are lost in translation.

slide-61
SLIDE 61

20. The syntax-semantics mapping

The standard view Compositional mapping, cf Montague’s Universal Grammar. (N)L{n,np,s}

/,\

(·)′ − − − − − − − − − − − − → LP{e,t}

(MILL) syntactic calculus homomorphism semantic calculus np′ = e ; s′ = t ; n′ = e → t ; (A\B)′ = (B/A)′ = A′ → B′ desirable recipes for meaning assembly are lost in translation. Continuation semantics More structured view of the syn/sem mapping: ◮ distinction: values vs continuations: functions from values to answer type ◮ evaluation context explicit part of interpretation process ◮ more balanced division of labour between source and target calculus

slide-62
SLIDE 62

21. LG: continuation semantics

Bernardi & MM 2007, 2010, after Curien/Herbelin, Lengrand. LGA

/,\,⊘,,·1,1·,·0,0·

⌈·⌉ − − − − → LPA∪{r}

· − − − − → IL{e,t}

Two-step interpretation ◮ ⌈·⌉ : double-negation/continuation-passing-style translation ⊲ maps multiple conclusion source logic to intuitionistic linear logic ⊲ introduces special response type r

slide-63
SLIDE 63

21. LG: continuation semantics

Bernardi & MM 2007, 2010, after Curien/Herbelin, Lengrand. LGA

/,\,⊘,,·1,1·,·0,0·

⌈·⌉ − − − − → LPA∪{r}

· − − − − → IL{e,t}

Two-step interpretation ◮ ⌈·⌉ : double-negation/continuation-passing-style translation ⊲ maps multiple conclusion source logic to intuitionistic linear logic ⊲ introduces special response type r ◮ · : combining lexical with derivational semantics ⊲ atomic types: np = e, s = r = t ⊲ terms: nonlinearity restricted to constants; (M N) = (M N) ; λx.M = λ x.M

slide-64
SLIDE 64

21. LG: continuation semantics

Bernardi & MM 2007, 2010, after Curien/Herbelin, Lengrand. LGA

/,\,⊘,,·1,1·,·0,0·

⌈·⌉ − − − − → LPA∪{r}

· − − − − → IL{e,t}

Two-step interpretation ◮ ⌈·⌉ : double-negation/continuation-passing-style translation ⊲ maps multiple conclusion source logic to intuitionistic linear logic ⊲ introduces special response type r ◮ · : combining lexical with derivational semantics ⊲ atomic types: np = e, s = r = t ⊲ terms: nonlinearity restricted to constants; (M N) = (M N) ; λx.M = λ x.M ◮ target interpretation: composition · ◦ ⌈·⌉

slide-65
SLIDE 65

22. CPS translation

Below the call-by-value ⌈·⌉ version. Call by name: ⌊A⌋ = ⌈A∞⌉. CPS mapping ◮ Source: LG display sequent calculus. ◮ Target: fragment of natural deduction LP (MILL) with response type r; all functions have head type r. ◮ Notation: A⊥ A → r.

slide-66
SLIDE 66

22. CPS translation

Below the call-by-value ⌈·⌉ version. Call by name: ⌊A⌋ = ⌈A∞⌉. CPS mapping ◮ Source: LG display sequent calculus. ◮ Target: fragment of natural deduction LP (MILL) with response type r; all functions have head type r. ◮ Notation: A⊥ A → r. Types For source types A, the target calculus makes a distinction between values: ⌈A⌉, continuations: ⌈A⌉⊥, and computations: ⌈A⌉⊥⊥. ◮ For p atomic, ⌈p⌉ = p. ◮ Target is non-directional: ⌈A⊲

⊳⌉ = ⌈A⌉.

◮ Duality (co)implication: ⌈A\B⌉ = ⌈B⌉⊥ → ⌈A⌉⊥ ; ⌈A ⊘ B⌉ = ⌈A\B⌉⊥ ◮ Negations: ⌈A0⌉ = ⌈1A⌉ = ⌈A⌉⊥

slide-67
SLIDE 67

23. Translation (cont’d)

Structures LG structures are translated into MILL linear typing environments: ◮ Atomic structures: ⌈x : A⌉ = { x : ⌈A⌉} ; ⌈α : A⌉ = { α : ⌈A⌉⊥} ◮ Composite, for n-place structure building operations f: ⌈f(X1, . . . , Xn)⌉ =

n

  • i=1

⌈Xi⌉

slide-68
SLIDE 68

23. Translation (cont’d)

Structures LG structures are translated into MILL linear typing environments: ◮ Atomic structures: ⌈x : A⌉ = { x : ⌈A⌉} ; ⌈α : A⌉ = { α : ⌈A⌉⊥} ◮ Composite, for n-place structure building operations f: ⌈f(X1, . . . , Xn)⌉ =

n

  • i=1

⌈Xi⌉ Sequents Neutral (commands); active output (terms) or input (contexts) formula. Invariants of the translation source: LGA

/,\,⊘,,·1,1·,·0,0· ⌈·⌉

− − − − → CPS target: LPA ∪{r}

terms X ⊢ B contexts A ⊢ Y commands X ⊢ Y ⌈X⌉ ⊢ M : ⌈B⌉⊥⊥ ⌈Y ⌉ ⊢ K : ⌈A⌉⊥ ⌈X⌉ ∪ ⌈Y ⌉ ⊢ S : r

slide-69
SLIDE 69

24. Translation (cont’d)

Identity Axiom, co-axiom; cut. x : A ⊢ A Ax X ⊢ A A ⊢ Y X ⊢ Y Cut A ⊢ α : A Co-Ax ⌈Ax⌉ = λk.(k x) : ⌈A⌉⊥⊥ ⌈Cut⌉ = (M ⌈A⌉⊥⊥ K⌈A⌉⊥) : r ⌈Co-Ax⌉ = α : ⌈A⌉⊥

slide-70
SLIDE 70

24. Translation (cont’d)

Identity Axiom, co-axiom; cut. x : A ⊢ A Ax X ⊢ A A ⊢ Y X ⊢ Y Cut A ⊢ α : A Co-Ax ⌈Ax⌉ = λk.(k x) : ⌈A⌉⊥⊥ ⌈Cut⌉ = (M ⌈A⌉⊥⊥ K⌈A⌉⊥) : r ⌈Co-Ax⌉ = α : ⌈A⌉⊥ Activate a passive formula New wrt the neutral sequent presentation. X ⊢ α : A X ⊢ A µ x : A ⊢ Y A ⊢ Y

  • µ

⌈µ⌉ = λ α.Sr : ⌈A⌉⊥⊥ ⌈ µ⌉ = λ x.Sr : ⌈A⌉⊥ Deactivate cuts with a (co)axiom as premise.

slide-71
SLIDE 71

25. LG: logical rules

Monotonicity X ⊢ A B ⊢ Y A\B ⊢ X · \ · Y \L X ⊢ A B ⊢ Y X · ⊘ · Y ⊢ A ⊘ B ⊘R ⌈\L⌉ = λu.(M ⌈A⌉⊥⊥(u K⌈B⌉⊥)) : ⌈A\B⌉⊥ ⌈⊘R⌉ = λk.(k ⌈\L⌉) : ⌈A ⊘ B⌉⊥⊥

slide-72
SLIDE 72

25. LG: logical rules

Monotonicity X ⊢ A B ⊢ Y A\B ⊢ X · \ · Y \L X ⊢ A B ⊢ Y X · ⊘ · Y ⊢ A ⊘ B ⊘R ⌈\L⌉ = λu.(M ⌈A⌉⊥⊥(u K⌈B⌉⊥)) : ⌈A\B⌉⊥ ⌈⊘R⌉ = λk.(k ⌈\L⌉) : ⌈A ⊘ B⌉⊥⊥ Rewrites reversible X ⊢ x : A · \ · β : B X ⊢ A\B \R x : A · ⊘ · β : B ⊢ X A ⊘ B ⊢ X ⊘L ⌈⊘L⌉ = ⌈\R⌉ = λh.(h λ βλ x.Sr) : ⌈A\B⌉⊥⊥ = ⌈A ⊘ B⌉⊥

slide-73
SLIDE 73

26. Logical rules: negations

Galois X ⊢ 0·(x : A) X ⊢ 0A

0· R

λk.(k λ x.Sr) : ⌈0A⌉⊥⊥ X ⊢ A

0A ⊢ 0·X 0· L

M : ⌈0A⌉⊥ = ⌈A⌉⊥⊥

slide-74
SLIDE 74

26. Logical rules: negations

Galois X ⊢ 0·(x : A) X ⊢ 0A

0· R

λk.(k λ x.Sr) : ⌈0A⌉⊥⊥ X ⊢ A

0A ⊢ 0·X 0· L

M : ⌈0A⌉⊥ = ⌈A⌉⊥⊥ Dual Galois A ⊢ Y Y ·1 ⊢ A1 ·1R λk.(k K⌈A⌉⊥) : ⌈A1⌉⊥⊥ (α : A)·1 ⊢ Y A1 ⊢ Y ·1L λ α.Sr : ⌈A1⌉⊥

slide-75
SLIDE 75

27. Scope ambiguity in base logic

We use the interior operation 1( · 1) to obtain scope ambiguities. This example does not involve distributivity principles. Compare the (†) and (‡) derivations. np ⊢ · np · np·1 ⊢ np1 ·1R

1·(np1) ⊢ np

⇀ ⇁ s

α

⊢ · s · np\s ⊢ 1·(np1) · \ · s \L · np ·

y

⊢ np (np\s)/np ⊢ (1·(np1) · \ · s) · / · np /L np ⊢ (np\s)/np · \ · (1·(np1) · \ · s) ↼ ↽ † ((np\s)/np · \ · (1·(np1) · \ · s))·1 ⊢ np1 ·1R (direct object)

1(np1) ⊢ (np\s)/np · \ · (1·(np1) · \ · s) 1· L 1(np1) ⊢ s · / · ((np\s)/np · ⊗ · 1(np1)) 1· L 1(np1) su

· ⊗ ·((np\s)/np

  • tv

· ⊗ · 1(np1)

do

) ⊢ s ⇌ ⌈·⌉ translation: λ α.(do λ y.((tv λu.(su (u α))) y))

slide-76
SLIDE 76

28. Object wide scope: step by step

·1R λk.(k β) : ⌈np1⌉⊥⊥ ⇀ ⇁ λ β.( γ β) = γ : ⌈np1⌉⊥ = ⌈np⌉⊥⊥ \L λu.( γ (u α)) : ⌈np\s⌉⊥ /L λu′.(u′ λu.( γ (u α)) y) : ⌈(np\s)/np⌉⊥ ↼ ↽ λ y.(tv λu.( γ (u α)) y) : ⌈np⌉⊥ ·1R λk.(k λ y.(tv λu.( γ (u α)) y)) : ⌈np1⌉⊥⊥

1· L

λ κ.( κ λ y.(tv λu.( γ (u α)) y)) : ⌈1(np1)⌉⊥

1· L

λ γ.(do λ y.(tv λu.( γ (u α)) y)) : ⌈1(np1)⌉⊥ ⇌ λ α.(do λ y.((tv λu.(su (u α))) y)) : ⌈s⌉⊥⊥

slide-77
SLIDE 77

29. Subject wide scope

Below an alternative derivation, targeting first the subject, rather than the direct object. · np ·

x

⊢ np s

α

⊢ · s · np\s ⊢ np · \ · s \L . . .

1·(np1) ⊢ np

⇀ ⇁ (np\s)/np ⊢ (np · \ · s) · / · 1·(np1) /L np ⊢ s · / · ((np\s)/np · ⊗ · 1·(np1)) ↼ ↽ ‡ (s · / · ((np\s)/np · ⊗ · 1·(np1)))·1 ⊢ np1 ·1R (subject) . . . ⌈·⌉ translation: λ α.(su λ x.(do (tv λu.((u α) x))))

slide-78
SLIDE 78

30. Translating the lexical constants

The table below gives the · translation of the constants, for the sample sentence ‘everyone saw something’, assuming np = e, s = r = t, and a target constant ‘see’ of type e → e → t. source · translation everyone : ⌈np⌉⊥⊥ ∀ : (e → t) → t someone : ⌈np⌉⊥⊥ ∃ : (e → t) → t saw : (⌈s⌉⊥ → ⌈np⌉⊥)⊥ → ⌈np⌉⊥ λvλy.(v λcλx.(c ((see y) x))) : (((t → t) → e → t) → t) → e → t

slide-79
SLIDE 79

30. Translating the lexical constants

The table below gives the · translation of the constants, for the sample sentence ‘everyone saw something’, assuming np = e, s = r = t, and a target constant ‘see’ of type e → e → t. source · translation everyone : ⌈np⌉⊥⊥ ∀ : (e → t) → t someone : ⌈np⌉⊥⊥ ∃ : (e → t) → t saw : (⌈s⌉⊥ → ⌈np⌉⊥)⊥ → ⌈np⌉⊥ λvλy.(v λcλx.(c ((see y) x))) : (((t → t) → e → t) → t) → e → t Final result Composition · ◦ ⌈·⌉, and an evaluation step, providing the identity function λp.p for the abstraction over the parameter c of type t → t. λ α.(do λ y.((tv λu.(su (u α))) y)) = λc.(∃ λy.(∀ λx.(c ((see y) x)))) λ α.(su λ x.(do (tv λu.((u α) x)))) = λc.(∀ λx.(∃ λy.(c ((see y) x))))

slide-80
SLIDE 80

31. Comparison

1(np1) is an optimization w.r.t. the following typing alternatives.

◮ (B ⊘ C) A modeling in situ binder q(A, B, C), Bernardi/Moortgat ⊲ behaves locally as A within domain B; acts as function mapping B into C. ⊲ semantically: λh.((h λu.(u M ⌈B\C⌉)) N ⌈A⌉) ⊲ someone(s⊘s)np = λh.(∃ λx.((h λu.(u id)

  • ⌈s⊘s⌉⊥

) x)) : s ⊘ s vacuous ◮ 1(np1) versus s ⊘ (np s) ⊲ syntax: same behaviour in source calculus ⊲ semantics: vacuous contribution from s component in s ⊘ (np s) ⌈s ⊘ (np s)⌉ = (⌈np s⌉⊥ → ⌈s⌉⊥)⊥ someone = λh.(h λg.(g λke→tλpt.((∃ k) ∧ p))

  • ⌈nps⌉⊥

  • ⌈s⌉

)

slide-81
SLIDE 81

32. Conclusions

The symmetric Lambek-Grishin calculus offers some strategies to tackle the expressive limitations of the original Lambek calculi: ◮ Form ⊲ logical distributivity laws relating dual families ⊲ narrows the options for structural reasoning: preservation properties ◮ Meaning ⊲ continuation semantics for multiple-conclusion source calculus ⊲ optimizes division of labour between syntax and semantics

slide-82
SLIDE 82

32. Conclusions

The symmetric Lambek-Grishin calculus offers some strategies to tackle the expressive limitations of the original Lambek calculi: ◮ Form ⊲ logical distributivity laws relating dual families ⊲ narrows the options for structural reasoning: preservation properties ◮ Meaning ⊲ continuation semantics for multiple-conclusion source calculus ⊲ optimizes division of labour between syntax and semantics More to explore ESSLLI 2007 course wiki http://symcg.pbworks.com/