Chiastic Lambda-Calculi

Size: px
Start display at page:

Download "Chiastic Lambda-Calculi"

Transcription

1 Chiastic Lambda-Calculi wren ng thornton Cognitive Science & Computational Linguistics Indiana University, Bloomington NLCS, 28 June 2013 wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

2 Examples and Motivation Associative λ-calculi Chiastic λ-calculi λ χl in action wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

3 Examples and Motivation Associative λ-calculi Chiastic λ-calculi λ χl in action wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

4 Scrambling in Japanese Tarou -ga hon -wo Nom book Acc Examples yon-da read-perf hon -wo Tarou -ga book Acc Nom Taro read the book. yon-da read-perf Keyword arguments yonda(wo= hon, ga= Tarou ) yonda(ga= Tarou, wo= hon ) Shorthands in category theory (FG)X = F (G X) (ηf )X = η FX (F η)x = F (η X ) wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

5 What do these have in common? Juxtaposition is associative f (g x) (f g) x Application is commutative f x y f y x Our Goal convert those into = wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

6 Scrambling in Japanese Many languages have free word order Tarou -ga Nom hon -wo book Acc yon-da read-perf hon -wo Tarou -ga book Acc Nom Taro read the book. yon-da read-perf Both orders are normal and natural Both have the same propositional content Though, information structure may differ wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

7 Arguments: Chomskian-style accounts Tarou N -ga NP nom\n NP nom hon.... N V -wo NP acc\n NP acc yon V \NP nom\np acc V \NP nom S -da..... S\V hon.... N -wo NP acc\n NP acc Tarou N -ga NP nom\n NP nom T V /(V \NP nom) V V \NP acc yon V \NP nom\np acc Bx S -da..... S\V wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

8 Adjuncts: Radical neo-davidsonian accounts Tarou -ga N S/S\N S/S hon.... N S -wo S/S\N S/S S yon-.... V -da..... S\V S hon.... N -wo S/S\N S/S Tarou -ga N S/S\N S/S S S yon-.... V -da..... S\V S wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

9 Adjuncts: Radical neo-davidsonian accounts Tarou -ga N S/S\N S/S S/S hon.... N -wo S/S\N S/S B S yon-.... V -da..... S\V S hon.... N -wo S/S\N S/S S/S Tarou N -ga S/S\N S/S B S yon-.... V -da..... S\V S wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

10 Why prefer adjuncts? Arguments vs Adjuncts Avoids the need for T and Bx (they re dangerous together) Syntax matches morphology/prosody Same parse tree for different word orders Online and partial parsing is easy (commutativity) (associativity) wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

11 Why prefer adjuncts? Arguments vs Adjuncts Avoids the need for T and Bx (they re dangerous together) Syntax matches morphology/prosody Same parse tree for different word orders Online and partial parsing is easy (commutativity) (associativity) Only moves the problem from syntax to semantics! Also true of other CCG approaches to scrambling wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

12 Why prefer adjuncts? Arguments vs Adjuncts Avoids the need for T and Bx (they re dangerous together) Syntax matches morphology/prosody Same parse tree for different word orders Online and partial parsing is easy (commutativity) (associativity) Only moves the problem from syntax to semantics! Also true of other CCG approaches to scrambling Chiastic λ-calculi solve the problem (in the semantics) wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

13 Examples and Motivation Associative λ-calculi Chiastic λ-calculi λ χl in action wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

14 What are functions? Traditional λ-calculi intentionally confuse two ideas Procedures operations mapping values to values Data values representing procedures Category theory keeps them distinct Morphisms functions as procedures Exponentials functions as data For associativity, we must keep them distinct too (λx. e) Unbracketed abstractions are procedures λx. e Bracketed abstractions are values wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

15 Associative λ-calculi: λ Variables x, y, z,... Terms e, f, g,... ::= x variables (λx. e) abstraction e bracketing e f juxtaposition (λx. f ) e {x e}f Beta (e f ) g e (f g) Assoc wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

16 What does juxtaposition mean? Application (λx. e) f Composition (λx. e) (λy. f ) ( ) ( ) (λx. e) (λy. f ) g (λx. e) (λy. f ) g Tupling f g (λx.λy. e) ( ) f g ( ) (λx.λy. e) f g wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

17 How powerful is it? L is at least as powerful as L Every L -term has an evaluation-equivalent L -term x = x (λx. e) = (λx. e ). e f = e f (e) = e L can be more expressive than L λ has tuples, but they can t be encoded in λ Then again, almost everything stronger than λ has tuples wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

18 Examples and Motivation Associative λ-calculi Chiastic λ-calculi λ χl in action wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

19 Chiastic λ-calculi The term level Syntax Two flavors of chiasmus Equivalence Reduction Sanity check The type level Syntax Equivalence Reduction Sanity check Well-formed types wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

20 Formalizing restricted commutativity Actually we don t want full commutativity Tarou -ga kuruma Nom car Taro has a car. % kuruma -ga Tarou car Nom The car has a Taro. -ga Nom -ga Nom ar-u have-npst ar-u have-npst Let a dimension denote a class of non-commuting elements Elements along different dimensions don t interfere with one another wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

21 Chiastic λ-calculi: λ χ Variables x, y, z,... Dimensions A, B, C,... Terms e, f, g,... ::= x variables (λ A x. e) abstraction e A bracketing e f juxtaposition Choose one A B (λ A x. λ B y. e) (λ B y. λ A x. e) Chi L A B e A f B f B e A Chi R wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

22 Chiastic λ-calculi: λ χ Variables x, y, z,... Dimensions A, B, C,... Terms e, f, g,... ::= x variables (λ A x. e) abstraction e A bracketing e f juxtaposition For this talk, we ll only consider Chi L A B (λ A x. λ B y. e) (λ B y. λ A x. e) Chi L A B e A f B f B e A Chi R wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

23 Chi L vs Chi R Should we accept terms like this? (λ A x. λ B y. e) (λ C z. a A ) b B c C Should we accept sentences like this? [sono hon -wo Hanako -ga Tarou -ga kat-ta] -to that book Acc Nom Nom buy-perf Comp omot-te iru think.prog Hanako thinks that Taro bought that book. wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

24 Term equivalence for λ χl e f A B (λ A x. λ B y. e) (λ B y. λ A x. e) e (f g) (e f ) g e e (λ A x. e) (λ A x. e ) e e e e f f e A e A e f e f e e f e e f e f f g e g wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

25 Term reduction for λ χl e e h (λ A x. f ) h e A {x e}f e e (λ A x. e) (λ A x. e ) e e e e e A e A e f e f f f e f e f e f h e (f g) h g f g h (e f ) g e h wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

26 Do our terms make sense? Theorem Term reduction is weak Church Rosser. Proof There are no critical pairs. Corollary Term reduction is Church Rosser. Proof Supposing we can prove strong normalization, then just use Newman s lemma. Conjecture Term reduction (for λ χl ) is strongly normalizing. Remark This is suspiciously difficult to prove. wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

27 The intrinsic view (à la Church) Types are manifest in terms Terms can have only one type Ill-typed terms don t exist What are types? The extrinsic view (à la Curry) Types characterize properties of terms Terms could have multiple types All terms exist, but we only care about the well-typed ones wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

28 The intrinsic view (à la Church) Types are manifest in terms Terms can have only one type Ill-typed terms don t exist What are types? The extrinsic view (à la Curry) Types characterize properties of terms Terms could have multiple types All terms exist, but we only care about the well-typed ones Our view Types give abstract interpretations of terms Γ e τ τ τ e. e e Γ e τ wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

29 Simply-typed left-chiastic λ-calculus: λ χl Types σ, τ, υ,... ::= T primitive types σ A τ arrow types τ A bracketed types σ τ juxtaposition Γ e τ ctx Γ Γ(x) τ Γ x τ Γ, x :σ e τ Γ (λ A x. e) σ A τ Γ e τ Γ e σ Γ f τ Γ e A τ A Γ e f σ τ wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

30 Type equivalence for λ χl τ σ A B σ A τ B υ τ B σ A υ σ (τ υ) (σ τ) υ σ σ τ τ σ A τ σ A τ τ τ σ σ τ τ τ A τ A σ τ σ τ τ τ σ τ τ σ σ τ τ υ σ υ wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

31 Type reduction for λ χl τ τ ρ σ A τ ρ σ A τ σ σ τ τ σ A τ σ A τ σ A τ σ A τ τ τ σ σ τ A τ A σ τ σ τ τ τ σ τ σ τ σ τ ρ σ (τ υ) ρ υ τ υ ρ (σ τ) υ τ ρ wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

32 Do our types make sense? Every type has a normal form Theorem Type reduction for λ χl is strongly normalizing Proof Theorem Type reduction for λ χl is Church Rosser Proof So we can define Γ e τ 0 NF(τ 0 ) τ type τ Γ e : τ wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

33 Do our types make sense? Every type has a normal form But, what does unresolved type juxtaposition mean? wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

34 Do our types make sense? Every type has a normal form But, what does unresolved type juxtaposition mean? Good σ A τ B wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

35 Do our types make sense? Every type has a normal form But, what does unresolved type juxtaposition mean? Good σ A τ B Bad (σ A τ B ) υ C where A C (σ A τ) υ A where σ υ wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

36 Do our types make sense? Every type has a normal form But, what does unresolved type juxtaposition mean? Good σ A τ B Bad (σ A τ B ) υ C where A C (σ A τ) υ A where σ υ Ugly σ A (τ B υ) (ρ A σ) (τ B υ) wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

37 Do our types make sense? Every type has a normal form But, what does unresolved type juxtaposition mean? Good σ A τ B Bad (σ A τ B ) υ C where A C (σ A τ) υ A where σ υ Ugly σ A (τ B υ) (ρ A σ) (τ B υ) If type τ doesn t accept ugly terms, then it doesn t have the subterm property. wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

38 Examples and Motivation Associative λ-calculi Chiastic λ-calculi λ χl in action wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

39 Using λ χl to describe Japanese Noun phrase scrambling Tarou-ga hon-wo yonda Hon-wo Tarou-ga yonda Verbal morphology Paradoxical behavior Resolving the paradox wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

40 Semantic analysis of Tarou-ga Tarou... N -ga... S/S\N S/S β S/S wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

41 Semantic analysis of Tarou-ga Tarou... Taro N : N -ga... (λ N n. λ S s. s n nom S ) : S/S\N (λ N n. λ S s. s n nom S ) Taro N : S/S β (λ S s. s Taro nom S ) : S/S wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

42 Semantic analysis of Tarou-ga... Tarou -ga... Taro N (λ N n. λ S s. s n nom S ) (λ N n. λ S s. s n nom S ) Taro N β (λ S s. s Taro nom S ) wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

43 Semantic analysis of Tarou-ga... Tarou -ga... Taro N (λ N n. λ S s. s n nom S ) (λ N n. λ S s. s n nom S ) Taro N β (λ S s. s Taro nom S ) wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

44 Semantic analysis of Tarou-ga hon-wo yonda hon-wo (λ S s. s book acc S ) yonda λ acc a. λ nom n. n read a S Tarou-ga (λ S s. s Taro nom S ) (λ S s. s book acc S ) λ acc a. λ nom n. n read a S β (λ acc a. λ nom n. n read a) book acc S β λ nom n. n read book S (λ S s. s Taro nom S ) λ nom n. n read book S β (λ nom n. n read book ) Taro nom S β Taro read book S wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

45 Semantic analysis of Tarou-ga hon-wo yonda hon-wo (λ S s. s book acc S ) yonda λ acc a. λ nom n. n read a S Tarou-ga (λ S s. s Taro nom S ) (λ S s. s book acc S ) λ acc a. λ nom n. n read a S β (λ acc a. λ nom n. n read a) book acc S β λ nom n. n read book S (λ S s. s Taro nom S ) λ nom n. n read book S β (λ nom n. n read book ) Taro nom S β Taro read book S wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

46 Semantic analysis of Tarou-ga hon-wo yonda hon-wo (λ S s. s book acc S ) yonda λ acc a. λ nom n. n read a S Tarou-ga (λ S s. s Taro nom S ) (λ S s. s book acc S ) λ acc a. λ nom n. n read a S β (λ acc a. λ nom n. n read a) book acc S β λ nom n. n read book S (λ S s. s Taro nom S ) λ nom n. n read book S β (λ nom n. n read book ) Taro nom S β Taro read book S wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

47 Semantic analysis of Tarou-ga hon-wo yonda hon-wo (λ S s. s book acc S ) yonda λ acc a. λ nom n. n read a S Tarou-ga (λ S s. s Taro nom S ) (λ S s. s book acc S ) λ acc a. λ nom n. n read a S β (λ acc a. λ nom n. n read a) book acc S β λ nom n. n read book S (λ S s. s Taro nom S ) λ nom n. n read book S β (λ nom n. n read book ) Taro nom S β Taro read book S wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

48 Semantic analysis of Tarou-ga hon-wo yonda hon-wo (λ S s. s book acc S ) yonda λ acc a. λ nom n. n read a S Tarou-ga (λ S s. s Taro nom S ) (λ S s. s book acc S ) λ acc a. λ nom n. n read a S β (λ acc a. λ nom n. n read a) book acc S β λ nom n. n read book S (λ S s. s Taro nom S ) λ nom n. n read book S β (λ nom n. n read book ) Taro nom S β Taro read book S wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

49 Semantic analysis of Tarou-ga hon-wo yonda hon-wo (λ S s. s book acc S ) yonda λ acc a. λ nom n. n read a S Tarou-ga (λ S s. s Taro nom S ) (λ S s. s book acc S ) λ acc a. λ nom n. n read a S β (λ acc a. λ nom n. n read a) book acc S β λ nom n. n read book S (λ S s. s Taro nom S ) λ nom n. n read book S β (λ nom n. n read book ) Taro nom S β Taro read book S wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

50 Semantic analysis of hon-wo Tarou-ga yonda Tarou-ga (λ S s. s Taro nom S ) yonda λ acc a. λ nom n. n read a S (λ S s. s Taro nom S ) λ acc a. λ nom n. n read a S β hon-wo (λ S s. s book acc S ) (λ acc a. λ nom n. n read a) Taro nom S β(χl ) λ acc a. Taro read a S (λ S s. s book acc S ) λ acc a. Taro read a S β (λ acc a. Taro read a) book acc S β Taro read book S wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

51 Paradoxical verbal morphology Causative and passive verb forms tabe-ru to eat tabe-sase-ru to cause to eat tabe-rare-ru to be made to eat Paradoxical behavior of causative and passive Morpho-phonologically behaves as a single word Semantically behaves as if involving complementation E.g., adverb scope ambiguity But this paradox is due to traditional notions of constituency Kubota 2008 vs GB, LFG, HPSG wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

52 General scheme for verbal morphology Let the dimension E denote eventualities Verbal roots have types of the general form τ E V Verbal inflections use multicomposition (λ V v. (λ E e. f ) v S ) v can have any arity The semantic content f, has access to the whole eventuality e So if e is a compound eventuality, f can affect all or part of it wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

53 Lexical entries for a few verbal inflections Form = Semantics Non-past -(r)u = λ V v. (λ E e. e Tense(e)=Npst) v S Perfect -ta = λ V v. (λ E e. e Tense(e)=Perf) v S Causative -(s)ase- = λ V v. λ nom n. λ dat d. (λ E e. e Cause(e)=n E ) v d nom V Passive -(r)are- = λ V v. λ nom n. λ dat d. (λ E e. e Exper(e)=n E ) v d nom V wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

54 Semantic analysis for yonda yon da λ acc a. λ nom n. n reads a E V λ V v. (λ E e. e Tense(e) = Perf) v S (λ V v. (λ E e. e Tense(e) = Perf) v S ) λ acc a. λ nom n. n reads a E V β (λ E e. e Tense(e) = Perf) (λ acc a. λ nom n. n reads a E ) S η λ acc a. λ nom n. (λ E e. e Tense(e) = Perf) n reads a E S β λ acc a. λ nom n. n reads a Tense(n reads a) = Perf E S wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

55 Semantic analysis for yonda yon da λ acc a. λ nom n. n reads a E V λ V v. (λ E e. e Tense(e) = Perf) v S (λ V v. (λ E e. e Tense(e) = Perf) v S ) λ acc a. λ nom n. n reads a E V β (λ E e. e Tense(e) = Perf) (λ acc a. λ nom n. n reads a E ) S η λ acc a. λ nom n. (λ E e. e Tense(e) = Perf) n reads a E S β λ acc a. λ nom n. n reads a Tense(n reads a) = Perf E S wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

56 Semantic analysis for yonda yon da λ acc a. λ nom n. n reads a E V λ V v. (λ E e. e Tense(e) = Perf) v S (λ V v. (λ E e. e Tense(e) = Perf) v S ) λ acc a. λ nom n. n reads a E V β (λ E e. e Tense(e) = Perf) (λ acc a. λ nom n. n reads a E ) S η λ acc a. λ nom n. (λ E e. e Tense(e) = Perf) n reads a E S β λ acc a. λ nom n. n reads a Tense(n reads a) = Perf E S wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

57 Semantic analysis for yonda yon da λ acc a. λ nom n. n reads a E V λ V v. (λ E e. e Tense(e) = Perf) v S (λ V v. (λ E e. e Tense(e) = Perf) v S ) λ acc a. λ nom n. n reads a E V β (λ E e. e Tense(e) = Perf) (λ acc a. λ nom n. n reads a E ) S η λ acc a. λ nom n. (λ E e. e Tense(e) = Perf) n reads a E S β λ acc a. λ nom n. n reads a Tense(n reads a) = Perf E S wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

58 Semantic analysis for yonda yon da λ acc a. λ nom n. n reads a E V λ V v. (λ E e. e Tense(e) = Perf) v S (λ V v. (λ E e. e Tense(e) = Perf) v S ) λ acc a. λ nom n. n reads a E V β (λ E e. e Tense(e) = Perf) (λ acc a. λ nom n. n reads a E ) S η λ acc a. λ nom n. (λ E e. e Tense(e) = Perf) n reads a E S β λ acc a. λ nom n. n reads a Tense(n reads a) = Perf E S The η is a lie! wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

59 Conclusion Associative λ-calculi Justifies shorthands in category theory Chiastic λ-calculi (namely λ χl ) Captures linguistic phenomena Type reduction is CR and SN Term reduction is WCR Current work Is term reduction SN? Can we describe Γ e : τ more directly? What about η? wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

60 fin. wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

61 Visualizing dimensions Type reduction is SN Type reduction is CR More paradoxical verbal morphology Visualizing dimensions Type reduction is strongly normalizing Type reduction is Church Rosser More paradoxical verbal morphology wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

62 Visualizing dimensions Type reduction is SN Type reduction is CR More paradoxical verbal morphology Visualizing dimensions wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

63 Visualizing dimensions Type reduction is SN Type reduction is CR More paradoxical verbal morphology Visualizing dimensions Type reduction is strongly normalizing Type reduction is Church Rosser More paradoxical verbal morphology wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

64 Visualizing dimensions Type reduction is SN Type reduction is CR More paradoxical verbal morphology Type reduction for λ χl is strongly normalizing Definition The length of a type is the number of constructors length(t ) = 1 length(σ A τ) = 1 + length(σ) + length(τ) length( τ A ) = 1 + length(τ) length(σ τ) = 1 + length(σ) + length(τ) Lemma Equivalent types have equal length. Theorem Type reduction diminishes length; i.e., τ, τ. τ τ length(τ) > length(τ ) Back wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

65 Visualizing dimensions Type reduction is SN Type reduction is CR More paradoxical verbal morphology Visualizing dimensions Type reduction is strongly normalizing Type reduction is Church Rosser More paradoxical verbal morphology wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

66 Visualizing dimensions Type reduction is SN Type reduction is CR More paradoxical verbal morphology Type reduction for λ χl is Church Rosser Lemma Type reduction commutes with type equivalence; i.e., τ σ τ * σ Theorem Type reduction is weak Church Rosser. Proof There are no critical pairs. Use the key lemma to resolve potential conflicts between β and itself. Corollary Type reduction is Church Rosser Proof By Newman s Lemma. wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34 Back

67 Visualizing dimensions Type reduction is SN Type reduction is CR More paradoxical verbal morphology Case 2 ρ σ A β(e) (ρ A )(s) r ρ ρ τ ρ σ A e e β(e ) ρ σ A ( σ A )(r) τ A σ τ A σ (τ A )(s) wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

68 Visualizing dimensions Type reduction is SN Type reduction is CR More paradoxical verbal morphology Case 3a ρ σ A β(e) ( σ A )(r) r ρ ρ τ ρ σ A e e β(e ) ρ σ A (ρ A )(s) τ A σ τ A σ (τ A )(s) wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

69 Visualizing dimensions Type reduction is SN Type reduction is CR More paradoxical verbal morphology Case 3b ρ σ A β(e) ( σ A )(r) r ρ ρ τ ρ σ A e e t τ β(e ) τ A σ τ A σ ( A σ)(t) wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

70 Visualizing dimensions Type reduction is SN Type reduction is CR More paradoxical verbal morphology Visualizing dimensions Type reduction is strongly normalizing Type reduction is Church Rosser More paradoxical verbal morphology wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

71 Visualizing dimensions Type reduction is SN Type reduction is CR More paradoxical verbal morphology More paradoxical verbal morphology -i -te to Interclausal scrambling Adverb between V1 and V2 Argument cluster coordination involving V1 Postposing of VP headed by V1 Clefting of VP headed by V1 Coordination of VP headed by V1 Focus particle between V1 and V2 Reduplication of V2 alone (Kubota 2008) wren ng thornton (Indiana University) Chiastic Lambda-Calculi NLCS, 28 June / 34

A Multi-Modal Combinatory Categorial Grammar. A MMCCG Analysis of Japanese Nonconstituent Clefting

A Multi-Modal Combinatory Categorial Grammar. A MMCCG Analysis of Japanese Nonconstituent Clefting A Multi-Modal Combinatory Categorial Grammar Analysis of Japanese Nonconstituent Clefting Department of Linguistics The Ohio State University {kubota,esmith}@ling.osu.edu A basic cleft sentence Data Clefting

More information

Semantics and Generative Grammar. A Little Bit on Adverbs and Events

Semantics and Generative Grammar. A Little Bit on Adverbs and Events A Little Bit on Adverbs and Events 1. From Adjectives to Adverbs to Events We ve just developed a theory of the semantics of adjectives, under which they denote either functions of type (intersective

More information

2 A not-quite-argument for X-bar structure in noun phrases

2 A not-quite-argument for X-bar structure in noun phrases CAS LX 321 / GRS LX 621 Syntax: Introduction to Sentential Structure ovember 16, 2017 1 and pronouns (1) he linguists yodel. (2) We linguists yodel. (3) hey looked at us linguists. (4) hey looked at linguists.

More information

COMP6463: λ-calculus

COMP6463: λ-calculus COMP6463: λ-calculus 1. Basics Michael Norrish Michael.Norrish@nicta.com.au Canberra Research Lab., NICTA Semester 2, 2015 Outline Introduction Lambda Calculus Terms Alpha Equivalence Substitution Dynamics

More information

A proof theoretical account of polarity items and monotonic inference.

A proof theoretical account of polarity items and monotonic inference. A proof theoretical account of polarity items and monotonic inference. Raffaella Bernardi UiL OTS, University of Utrecht e-mail: Raffaella.Bernardi@let.uu.nl Url: http://www.let.uu.nl/ Raffaella.Bernardi/personal

More information

Monads as a Solution for Generalized Opacity

Monads as a Solution for Generalized Opacity Monads as a Solution for Generalized Opacity Gianluca Giorgolo & Ash Asudeh April 27, 2014 - TTNLS 2014 Denotations vs. senses 1 + 1 = 2 The two sides of the equality have the same denotation But they

More information

Introduction to lambda calculus Part 2

Introduction to lambda calculus Part 2 Introduction to lambda calculus Part 2 Antti-Juhani Kaijanaho 2017-01-24... 1 Untyped lambda calculus 1.1 Syntax... x, y, z Var t, u Term t, u ::= x t u λx t... In this document, I will be using the following

More information

(7) a. [ PP to John], Mary gave the book t [PP]. b. [ VP fix the car], I wonder whether she will t [VP].

(7) a. [ PP to John], Mary gave the book t [PP]. b. [ VP fix the car], I wonder whether she will t [VP]. CAS LX 522 Syntax I Fall 2000 September 18, 2000 Paul Hagstrom Week 2: Movement Movement Last time, we talked about subcategorization. (1) a. I can solve this problem. b. This problem, I can solve. (2)

More information

3.2 Reduction 29. Truth. The constructor just forms the unit element,. Since there is no destructor, there is no reduction rule.

3.2 Reduction 29. Truth. The constructor just forms the unit element,. Since there is no destructor, there is no reduction rule. 32 Reduction 29 32 Reduction In the preceding section, we have introduced the assignment of proof terms to natural deductions If proofs are programs then we need to explain how proofs are to be executed,

More information

The Semantics of Definite DPs 1. b. Argument Position: (i) [ A politician ] arrived from Washington. (ii) Joe likes [ the politician ].

The Semantics of Definite DPs 1. b. Argument Position: (i) [ A politician ] arrived from Washington. (ii) Joe likes [ the politician ]. The Semantics of Definite DPs 1 Thus far, our semantics is able to interpret common nouns that occupy predicate position (1a). However, the most common position for common nouns to occupy is internal to

More information

Computationele grammatica

Computationele grammatica Computationele grammatica Docent: Paola Monachesi Contents First Last Prev Next Contents 1 Unbounded dependency constructions (UDCs)............... 3 2 Some data...............................................

More information

Ch. 2: Phrase Structure Syntactic Structure (basic concepts) A tree diagram marks constituents hierarchically

Ch. 2: Phrase Structure Syntactic Structure (basic concepts) A tree diagram marks constituents hierarchically Ch. 2: Phrase Structure Syntactic Structure (basic concepts) A tree diagram marks constituents hierarchically NP S AUX VP Ali will V NP help D N the man A node is any point in the tree diagram and it can

More information

S NP VP 0.9 S VP 0.1 VP V NP 0.5 VP V 0.1 VP V PP 0.1 NP NP NP 0.1 NP NP PP 0.2 NP N 0.7 PP P NP 1.0 VP NP PP 1.0. N people 0.

S NP VP 0.9 S VP 0.1 VP V NP 0.5 VP V 0.1 VP V PP 0.1 NP NP NP 0.1 NP NP PP 0.2 NP N 0.7 PP P NP 1.0 VP  NP PP 1.0. N people 0. /6/7 CS 6/CS: Natural Language Processing Instructor: Prof. Lu Wang College of Computer and Information Science Northeastern University Webpage: www.ccs.neu.edu/home/luwang The grammar: Binary, no epsilons,.9..5

More information

CKY & Earley Parsing. Ling 571 Deep Processing Techniques for NLP January 13, 2016

CKY & Earley Parsing. Ling 571 Deep Processing Techniques for NLP January 13, 2016 CKY & Earley Parsing Ling 571 Deep Processing Techniques for NLP January 13, 2016 No Class Monday: Martin Luther King Jr. Day CKY Parsing: Finish the parse Recognizer à Parser Roadmap Earley parsing Motivation:

More information

Categories, Proofs and Programs

Categories, Proofs and Programs Categories, Proofs and Programs Samson Abramsky and Nikos Tzevelekos Lecture 4: Curry-Howard Correspondence and Cartesian Closed Categories In A Nutshell Logic Computation 555555555555555555 5 Categories

More information

a. Develop a fragment of English that contains quantificational NPs. b. Develop a translation base from that fragment to Politics+λ

a. Develop a fragment of English that contains quantificational NPs. b. Develop a translation base from that fragment to Politics+λ An Algebraic Approach to Quantification and Lambda Abstraction: Applications to the Analysis of English (1) Ingredients on the Table a. A logical language with both quantification and lambda abstraction

More information

Introduction to Semantics. Common Nouns and Adjectives in Predicate Position 1

Introduction to Semantics. Common Nouns and Adjectives in Predicate Position 1 Common Nouns and Adjectives in Predicate Position 1 (1) The Lexicon of Our System at Present a. Proper Names: [[ Barack ]] = Barack b. Intransitive Verbs: [[ smokes ]] = [ λx : x D e. IF x smokes THEN

More information

NICTA Advanced Course. Theorem Proving Principles, Techniques, Applications

NICTA Advanced Course. Theorem Proving Principles, Techniques, Applications NICTA Advanced Course Theorem Proving Principles, Techniques, Applications λ 1 CONTENT Intro & motivation, getting started with Isabelle Foundations & Principles Lambda Calculus Higher Order Logic, natural

More information

The Lambda Calculus. Stephen A. Edwards. Fall Columbia University

The Lambda Calculus. Stephen A. Edwards. Fall Columbia University The Lambda Calculus Stephen A. Edwards Columbia University Fall 2014 Lambda Expressions Function application written in prefix form. Add four and five is (+ 4 5) Evaluation: select a redex and evaluate

More information

Simply Typed λ-calculus

Simply Typed λ-calculus Simply Typed λ-calculus Lecture 1 Jeremy Dawson The Australian National University Semester 2, 2017 Jeremy Dawson (ANU) COMP4630,Lecture 1 Semester 2, 2017 1 / 23 A Brief History of Type Theory First developed

More information

Class Notes: Tsujimura (2007), Ch. 5. Syntax (1), pp (3) a. [[akai hon]-no hyooshi] b. [akai [hon-no hyooshi]]

Class Notes: Tsujimura (2007), Ch. 5. Syntax (1), pp (3) a. [[akai hon]-no hyooshi] b. [akai [hon-no hyooshi]] Class otes: Tsujimura (2007), Ch. 5. yntax (1), pp. 206-220 p. 206 What is!ytx"?! n area in linguistics that deals with the REGULRLITY of how words are put together to create grammatical sentences What

More information

X-bar theory. X-bar :

X-bar theory. X-bar : is one of the greatest contributions of generative school in the filed of knowledge system. Besides linguistics, computer science is greatly indebted to Chomsky to have propounded the theory of x-bar.

More information

Control and Tough- Movement

Control and Tough- Movement Department of Linguistics Ohio State University February 2, 2012 Control (1/5) We saw that PRO is used for the unrealized subject of nonfinite verbals and predicatives where the subject plays a semantic

More information

Spring 2018 Ling 620 The Basics of Intensional Semantics, Part 1: The Motivation for Intensions and How to Formalize Them 1

Spring 2018 Ling 620 The Basics of Intensional Semantics, Part 1: The Motivation for Intensions and How to Formalize Them 1 The Basics of Intensional Semantics, Part 1: The Motivation for Intensions and How to Formalize Them 1 1. The Inadequacies of a Purely Extensional Semantics (1) Extensional Semantics a. The interpretation

More information

Surface Reasoning Lecture 2: Logic and Grammar

Surface Reasoning Lecture 2: Logic and Grammar Surface Reasoning Lecture 2: Logic and Grammar Thomas Icard June 18-22, 2012 Thomas Icard: Surface Reasoning, Lecture 2: Logic and Grammar 1 Categorial Grammar Combinatory Categorial Grammar Lambek Calculus

More information

Parsing. Based on presentations from Chris Manning s course on Statistical Parsing (Stanford)

Parsing. Based on presentations from Chris Manning s course on Statistical Parsing (Stanford) Parsing Based on presentations from Chris Manning s course on Statistical Parsing (Stanford) S N VP V NP D N John hit the ball Levels of analysis Level Morphology/Lexical POS (morpho-synactic), WSD Elements

More information

Introduction to Semantics. The Formalization of Meaning 1

Introduction to Semantics. The Formalization of Meaning 1 The Formalization of Meaning 1 1. Obtaining a System That Derives Truth Conditions (1) The Goal of Our Enterprise To develop a system that, for every sentence S of English, derives the truth-conditions

More information

Proseminar on Semantic Theory Fall 2013 Ling 720 The Proper Treatment of Quantification in Ordinary English, Part 1: The Fragment of English

Proseminar on Semantic Theory Fall 2013 Ling 720 The Proper Treatment of Quantification in Ordinary English, Part 1: The Fragment of English The Proper Treatment of Quantification in Ordinary English, Part 1: The Fragment of English We will now explore the analysis of English that Montague puts forth in his seminal paper, PTQ. As we ve already

More information

Rewriting, Explicit Substitutions and Normalisation

Rewriting, Explicit Substitutions and Normalisation Rewriting, Explicit Substitutions and Normalisation XXXVI Escola de Verão do MAT Universidade de Brasilia Part 1/3 Eduardo Bonelli LIFIA (Fac. de Informática, UNLP, Arg.) and CONICET eduardo@lifia.info.unlp.edu.ar

More information

Parsing with Context-Free Grammars

Parsing with Context-Free Grammars Parsing with Context-Free Grammars Berlin Chen 2005 References: 1. Natural Language Understanding, chapter 3 (3.1~3.4, 3.6) 2. Speech and Language Processing, chapters 9, 10 NLP-Berlin Chen 1 Grammars

More information

Semantics and Generative Grammar. Expanding Our Formalism, Part 1 1

Semantics and Generative Grammar. Expanding Our Formalism, Part 1 1 Expanding Our Formalism, Part 1 1 1. Review of Our System Thus Far Thus far, we ve built a system that can interpret a very narrow range of English structures: sentences whose subjects are proper names,

More information

Type Theory and Constructive Mathematics. Type Theory and Constructive Mathematics Thierry Coquand. University of Gothenburg

Type Theory and Constructive Mathematics. Type Theory and Constructive Mathematics Thierry Coquand. University of Gothenburg Type Theory and Constructive Mathematics Type Theory and Constructive Mathematics Thierry Coquand University of Gothenburg Content An introduction to Voevodsky s Univalent Foundations of Mathematics The

More information

CAS LX 522 Syntax I Fall 2000 October 10, 2000 Week 5: Case Theory and θ Theory. θ-theory continued

CAS LX 522 Syntax I Fall 2000 October 10, 2000 Week 5: Case Theory and θ Theory. θ-theory continued CAS LX 522 Syntax I Fall 2000 October 0, 2000 Paul Hagstrom Week 5: Case Theory and θ Theory θ-theory continued From last time: verbs have θ-roles (e.g., Agent, Theme, ) to assign, specified in the lexicon

More information

CS 4110 Programming Languages & Logics. Lecture 16 Programming in the λ-calculus

CS 4110 Programming Languages & Logics. Lecture 16 Programming in the λ-calculus CS 4110 Programming Languages & Logics Lecture 16 Programming in the λ-calculus 30 September 2016 Review: Church Booleans 2 We can encode TRUE, FALSE, and IF, as: TRUE λx. λy. x FALSE λx. λy. y IF λb.

More information

The λ-calculus and Curry s Paradox Drew McDermott , revised

The λ-calculus and Curry s Paradox Drew McDermott , revised The λ-calculus and Curry s Paradox Drew McDermott drew.mcdermott@yale.edu 2015-09-23, revised 2015-10-24 The λ-calculus was invented by Alonzo Church, building on earlier work by Gottlob Frege and Moses

More information

CSE 505, Fall 2008, Midterm Examination 29 October Please do not turn the page until everyone is ready.

CSE 505, Fall 2008, Midterm Examination 29 October Please do not turn the page until everyone is ready. CSE 505, Fall 2008, Midterm Examination 29 October 2008 Please do not turn the page until everyone is ready. Rules: The exam is closed-book, closed-note, except for one side of one 8.5x11in piece of paper.

More information

Control and Tough- Movement

Control and Tough- Movement Control and Tough- Movement Carl Pollard February 2, 2012 Control (1/5) We saw that PRO is used for the unrealized subject of nonfinite verbals and predicatives where the subject plays a semantic role

More information

Parasitic Scope (Barker 2007) Semantics Seminar 11/10/08

Parasitic Scope (Barker 2007) Semantics Seminar 11/10/08 Parasitic Scope (Barker 2007) Semantics Seminar 11/10/08 1. Overview Attempts to provide a compositional, fully semantic account of same. Elements other than NPs in particular, adjectives can be scope-taking

More information

Lazy Strong Normalization

Lazy Strong Normalization Lazy Strong Normalization Luca Paolini 1,2 Dipartimento di Informatica Università di Torino (ITALIA) Elaine Pimentel 1,2 Departamento de Matemática Universidade Federal de Minas Gerais (BRASIL) Dipartimento

More information

On the Semantics of Parsing Actions

On the Semantics of Parsing Actions On the Semantics of Parsing Actions Hayo Thielecke School of Computer Science University of Birmingham Birmingham B15 2TT, United Kingdom Abstract Parsers, whether constructed by hand or automatically

More information

1. Background. Task: Determine whether a given string of words is a grammatical (well-formed) sentence of language L i or not.

1. Background. Task: Determine whether a given string of words is a grammatical (well-formed) sentence of language L i or not. Constraints in Syntax [1] Phrase Structure and Derivations Düsseldorf LSA/DGfS Summerschool 2002 Gereon Müller (IDS Mannheim) gereon.mueller@ids-mannheim.de 1. Background Task: Determine whether a given

More information

Bringing machine learning & compositional semantics together: central concepts

Bringing machine learning & compositional semantics together: central concepts Bringing machine learning & compositional semantics together: central concepts https://githubcom/cgpotts/annualreview-complearning Chris Potts Stanford Linguistics CS 244U: Natural language understanding

More information

Handbook of Logic and Proof Techniques for Computer Science

Handbook of Logic and Proof Techniques for Computer Science Steven G. Krantz Handbook of Logic and Proof Techniques for Computer Science With 16 Figures BIRKHAUSER SPRINGER BOSTON * NEW YORK Preface xvii 1 Notation and First-Order Logic 1 1.1 The Use of Connectives

More information

The lambda calculus with constructors

The lambda calculus with constructors The lambda calculus with constructors Categorical semantic and Continuations Barbara Petit Focus - Univ. Bologna CaCos 2012 Barbara Petit (Focus - Univ. Bologna) The lambda calculus with constructors 1

More information

Church and Curry: Combining Intrinsic and Extrinsic Typing

Church and Curry: Combining Intrinsic and Extrinsic Typing Church and Curry: Combining Intrinsic and Extrinsic Typing Frank Pfenning Dedicated to Peter Andrews on the occasion of his retirement Department of Computer Science Carnegie Mellon University April 5,

More information

Analyzing Extraction. N.B.: Each type has its own set of variables (Church typing).

Analyzing Extraction. N.B.: Each type has its own set of variables (Church typing). Analyzing Extraction Carl Pollard Linguistics 602.02 Mar. 8, 2007 (1) TLC Revisited To motivate our approach to analyzing nonlocal phenomena, we first look at a reformulation TLC of that makes explicit

More information

A Type Theory for Formalising Category Theory

A Type Theory for Formalising Category Theory A Type Theory for Formalising Category Theory Robin Adams 24 July 2012 Robin Adams Type Theory for Category Theory 24 July 2012 1 / 28 1 Introduction The Problem of Notation Category Theory in Five Minutes

More information

The Lambek-Grishin calculus for unary connectives

The Lambek-Grishin calculus for unary connectives The Lambek-Grishin calculus for unary connectives Anna Chernilovskaya Utrecht Institute of Linguistics OTS, Utrecht University, the Netherlands anna.chernilovskaya@let.uu.nl Introduction In traditional

More information

Another look at PSRs: Intermediate Structure. Starting X-bar theory

Another look at PSRs: Intermediate Structure. Starting X-bar theory Another look at PSRs: Intermediate Structure Starting X-bar theory Andrew Carnie, 2006 Substitution Andrew Carnie, 2006 Substitution If a group of words can be replaced by a single word, they are a constituent.

More information

Consequence Relations and Natural Deduction

Consequence Relations and Natural Deduction Consequence Relations and Natural Deduction Joshua D. Guttman Worcester Polytechnic Institute September 9, 2010 Contents 1 Consequence Relations 1 2 A Derivation System for Natural Deduction 3 3 Derivations

More information

Categorial Grammar. Larry Moss NASSLLI. Indiana University

Categorial Grammar. Larry Moss NASSLLI. Indiana University 1/37 Categorial Grammar Larry Moss Indiana University NASSLLI 2/37 Categorial Grammar (CG) CG is the tradition in grammar that is closest to the work that we ll do in this course. Reason: In CG, syntax

More information

Linguistics 819: Seminar on TAG and CCG. Introduction to Combinatory Categorial Grammar

Linguistics 819: Seminar on TAG and CCG. Introduction to Combinatory Categorial Grammar Linguistics 819: Seminar on TAG and CCG Alexander Williams, 9 April 2008 Introduction to Combinatory Categorial Grammar Steedman and Dowty 1 The biggest picture Grammatical operations apply only to constituents.

More information

Top Down and Bottom Up Composition. 1 Notes on Notation and Terminology. 2 Top-down and Bottom-Up Composition. Two senses of functional application

Top Down and Bottom Up Composition. 1 Notes on Notation and Terminology. 2 Top-down and Bottom-Up Composition. Two senses of functional application Elizabeth Coppock Compositional Semantics coppock@phil.hhu.de Heinrich Heine University Wed. ovember 30th, 2011 Winter Semester 2011/12 Time: 14:30 16:00 Room: 25.22-U1.72 Top Down and Bottom Up Composition

More information

1 Introduction. 2 Recap The Typed λ-calculus λ. 3 Simple Data Structures

1 Introduction. 2 Recap The Typed λ-calculus λ. 3 Simple Data Structures CS 6110 S18 Lecture 21 Products, Sums, and Other Datatypes 1 Introduction In this lecture, we add constructs to the typed λ-calculus that allow working with more complicated data structures, such as pairs,

More information

CHAPTER THREE: RELATIONS AND FUNCTIONS

CHAPTER THREE: RELATIONS AND FUNCTIONS CHAPTER THREE: RELATIONS AND FUNCTIONS 1 Relations Intuitively, a relation is the sort of thing that either does or does not hold between certain things, e.g. the love relation holds between Kim and Sandy

More information

Natural Logic Welcome to the Course!

Natural Logic Welcome to the Course! 1/31 Natural Logic Welcome to the Course! Larry Moss Indiana University Nordic Logic School August 7-11, 2017 2/31 This course presents logical systems tuned to natural language The raison d être of logic

More information

Continuations in Type Logical Grammar. Grafting Trees: (with Chris Barker, UCSD) NJPLS, 27 February Harvard University

Continuations in Type Logical Grammar. Grafting Trees: (with Chris Barker, UCSD) NJPLS, 27 February Harvard University Grafting Trees: Continuations in Type Logical Grammar Chung-chieh Shan Harvard University ccshan@post.harvard.edu (with Chris Barker, UCSD) NJPLS, 27 February 2004 Computational Linguistics 1 What a linguist

More information

INTRODUCTION TO LOGIC. Propositional Logic. Examples of syntactic claims

INTRODUCTION TO LOGIC. Propositional Logic. Examples of syntactic claims Introduction INTRODUCTION TO LOGIC 2 Syntax and Semantics of Propositional Logic Volker Halbach In what follows I look at some formal languages that are much simpler than English and define validity of

More information

Consequence Relations and Natural Deduction

Consequence Relations and Natural Deduction Consequence Relations and Natural Deduction Joshua D Guttman Worcester Polytechnic Institute September 16, 2010 Contents 1 Consequence Relations 1 2 A Derivation System for Natural Deduction 3 3 Derivations

More information

Propositional Logic: Part II - Syntax & Proofs 0-0

Propositional Logic: Part II - Syntax & Proofs 0-0 Propositional Logic: Part II - Syntax & Proofs 0-0 Outline Syntax of Propositional Formulas Motivating Proofs Syntactic Entailment and Proofs Proof Rules for Natural Deduction Axioms, theories and theorems

More information

Lecture Notes on From Rules to Propositions

Lecture Notes on From Rules to Propositions Lecture Notes on From Rules to Propositions 15-816: Substructural Logics Frank Pfenning Lecture 2 September 1, 2016 We review the ideas of ephemeral truth and linear inference with another example from

More information

Relational Reasoning in Natural Language

Relational Reasoning in Natural Language 1/67 Relational Reasoning in Natural Language Larry Moss ESSLLI 10 Course on Logics for Natural Language Inference August, 2010 Adding transitive verbs the work on R, R, and other systems is joint with

More information

Beyond First-Order Logic

Beyond First-Order Logic Beyond First-Order Logic Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2008/2009 Maria João Frade (DI-UM) Beyond First-Order Logic MFES 2008/09 1 / 37 FOL

More information

First Order Logic: Syntax and Semantics

First Order Logic: Syntax and Semantics CS1081 First Order Logic: Syntax and Semantics COMP30412 Sean Bechhofer sean.bechhofer@manchester.ac.uk Problems Propositional logic isn t very expressive As an example, consider p = Scotland won on Saturday

More information

LING 130: Quantified Noun Phrases

LING 130: Quantified Noun Phrases LING 130: Quantified Noun Phrases from the handouts of James Pustejovsky March 31, 2011 1 The Type of a Quantified Expression Before Generalized Quantifiers were introduced, we only considered NPs that

More information

The Lifting Lemma. Ralf Hinze

The Lifting Lemma. Ralf Hinze The Lifting Lemma Ralf Hinze Computing Laboratory, University of Oxford Wolfson Building, Parks Road, Oxford, OX1 3QD, England ralf.hinze@comlab.ox.ac.uk http://www.comlab.ox.ac.uk/ralf.hinze/ June 2009

More information

Propositional Logic. Testing, Quality Assurance, and Maintenance Winter Prof. Arie Gurfinkel

Propositional Logic. Testing, Quality Assurance, and Maintenance Winter Prof. Arie Gurfinkel Propositional Logic Testing, Quality Assurance, and Maintenance Winter 2018 Prof. Arie Gurfinkel References Chpater 1 of Logic for Computer Scientists http://www.springerlink.com/content/978-0-8176-4762-9/

More information

Propositional Logic and Semantics

Propositional Logic and Semantics Propositional Logic and Semantics English is naturally ambiguous. For example, consider the following employee (non)recommendations and their ambiguity in the English language: I can assure you that no

More information

The formal proof sketch challenge

The formal proof sketch challenge The formal sketch challenge Freek Wiedijk University of Nijmegen Abstract. A formal sketch is a way to present a formal in a style that is close to an informal, but which also is a skeleton of the full

More information

Parsing with CFGs L445 / L545 / B659. Dept. of Linguistics, Indiana University Spring Parsing with CFGs. Direction of processing

Parsing with CFGs L445 / L545 / B659. Dept. of Linguistics, Indiana University Spring Parsing with CFGs. Direction of processing L445 / L545 / B659 Dept. of Linguistics, Indiana University Spring 2016 1 / 46 : Overview Input: a string Output: a (single) parse tree A useful step in the process of obtaining meaning We can view the

More information

Parsing with CFGs. Direction of processing. Top-down. Bottom-up. Left-corner parsing. Chart parsing CYK. Earley 1 / 46.

Parsing with CFGs. Direction of processing. Top-down. Bottom-up. Left-corner parsing. Chart parsing CYK. Earley 1 / 46. : Overview L545 Dept. of Linguistics, Indiana University Spring 2013 Input: a string Output: a (single) parse tree A useful step in the process of obtaining meaning We can view the problem as searching

More information

Euclidean Space. This is a brief review of some basic concepts that I hope will already be familiar to you.

Euclidean Space. This is a brief review of some basic concepts that I hope will already be familiar to you. Euclidean Space This is a brief review of some basic concepts that I hope will already be familiar to you. There are three sets of numbers that will be especially important to us: The set of all real numbers,

More information

Reflexives and non-fregean quantifiers

Reflexives and non-fregean quantifiers UCLA Working Papers in Linguistics, Theories of Everything Volume 17, Article 49: 439-445, 2012 Reflexives and non-fregean quantifiers Richard Zuber It is shown that depending on the subject noun phrase

More information

Computational Models - Lecture 4 1

Computational Models - Lecture 4 1 Computational Models - Lecture 4 1 Handout Mode Iftach Haitner. Tel Aviv University. November 21, 2016 1 Based on frames by Benny Chor, Tel Aviv University, modifying frames by Maurice Herlihy, Brown University.

More information

Proseminar on Semantic Theory Fall 2010 Ling 720. Remko Scha (1981/1984): Distributive, Collective and Cumulative Quantification

Proseminar on Semantic Theory Fall 2010 Ling 720. Remko Scha (1981/1984): Distributive, Collective and Cumulative Quantification 1. Introduction Remko Scha (1981/1984): Distributive, Collective and Cumulative Quantification (1) The Importance of Scha (1981/1984) The first modern work on plurals (Landman 2000) There are many ideas

More information

A Syntax-based Statistical Machine Translation Model. Alexander Friedl, Georg Teichtmeister

A Syntax-based Statistical Machine Translation Model. Alexander Friedl, Georg Teichtmeister A Syntax-based Statistical Machine Translation Model Alexander Friedl, Georg Teichtmeister 4.12.2006 Introduction The model Experiment Conclusion Statistical Translation Model (STM): - mathematical model

More information

CS 6110 Lecture 35 Solving Domain Equations 19 April 2013 Lecturer: Andrew Myers

CS 6110 Lecture 35 Solving Domain Equations 19 April 2013 Lecturer: Andrew Myers CS 6110 Lecture 35 Solving Domain Equations 19 April 2013 Lecturer: Andrew Myers To develop a denotational semantics for a language with recursive types, or to give a denotational semantics for the untyped

More information

Ling 98a: The Meaning of Negation (Week 5)

Ling 98a: The Meaning of Negation (Week 5) Yimei Xiang yxiang@fas.harvard.edu 15 October 2013 1 Review Negation in propositional logic, oppositions, term logic of Aristotle Presuppositions Projection and accommodation Three-valued logic External/internal

More information

A Polynomial Time Algorithm for Parsing with the Bounded Order Lambek Calculus

A Polynomial Time Algorithm for Parsing with the Bounded Order Lambek Calculus A Polynomial Time Algorithm for Parsing with the Bounded Order Lambek Calculus Timothy A. D. Fowler Department of Computer Science University of Toronto 10 King s College Rd., Toronto, ON, M5S 3G4, Canada

More information

Extensions to the Logic of All x are y: Verbs, Relative Clauses, and Only

Extensions to the Logic of All x are y: Verbs, Relative Clauses, and Only 1/53 Extensions to the Logic of All x are y: Verbs, Relative Clauses, and Only Larry Moss Indiana University Nordic Logic School August 7-11, 2017 2/53 An example that we ll see a few times Consider the

More information

Review. Principles of Programming Languages. Equality. The Diamond Property. The Church-Rosser Theorem. Corollaries. CSE 230: Winter 2007

Review. Principles of Programming Languages. Equality. The Diamond Property. The Church-Rosser Theorem. Corollaries. CSE 230: Winter 2007 CSE 230: Winter 2007 Principles of Programming Languages Lecture 12: The λ-calculus Ranjit Jhala UC San Diego Review The lambda calculus is a calculus of functions: e := x λx. e e 1 e 2 Several evaluation

More information

Computational Models - Lecture 3

Computational Models - Lecture 3 Slides modified by Benny Chor, based on original slides by Maurice Herlihy, Brown University. p. 1 Computational Models - Lecture 3 Equivalence of regular expressions and regular languages (lukewarm leftover

More information

Type Systems. Lecture 9: Classical Logic. Neel Krishnaswami University of Cambridge

Type Systems. Lecture 9: Classical Logic. Neel Krishnaswami University of Cambridge Type Systems Lecture 9: Classical Logic Neel Krishnaswami University of Cambridge Where We Are We have seen the Curry Howard correspondence: Intuitionistic propositional logic Simply-typed lambda calculus

More information

HPSG II: the plot thickens

HPSG II: the plot thickens Syntactic Models 2/21/06 HPSG II: the plot thickens 1 Passive: a lexical rule that rearranges ARG-ST! (1) Passive Lexical Rule < 1, tv - lxm ARG - ST INDEX i < FPSP 1 a, > part - lxm SYN HEAD FORM pass

More information

Notes for Lecture 3... x 4

Notes for Lecture 3... x 4 Stanford University CS254: Computational Complexity Notes 3 Luca Trevisan January 18, 2012 Notes for Lecture 3 In this lecture we introduce the computational model of boolean circuits and prove that polynomial

More information

Semantics and Generative Grammar. The Semantics of Adjectival Modification 1. (1) Our Current Assumptions Regarding Adjectives and Common Ns

Semantics and Generative Grammar. The Semantics of Adjectival Modification 1. (1) Our Current Assumptions Regarding Adjectives and Common Ns The Semantics of Adjectival Modification 1 (1) Our Current Assumptions Regarding Adjectives and Common Ns a. Both adjectives and common nouns denote functions of type (i) [[ male ]] = [ λx : x D

More information

Hardegree, Formal Semantics, Handout of 8

Hardegree, Formal Semantics, Handout of 8 Hardegree, Formal Semantics, Handout 2015-03-24 1 of 8 1. Number-Words By a number-word or numeral 1 we mean a word (or word-like compound 2 ) that denotes a number. 3 In English, number-words appear to

More information

Programming Languages

Programming Languages CSE 230: Winter 2010 Principles of Programming Languages Lecture 10: Programming in λ-calculusc l l Ranjit Jhala UC San Diego Review The lambda calculus is a calculus of functions: e := x λx. e e 1 e 2

More information

Scope Ambiguities through the Mirror

Scope Ambiguities through the Mirror Scope Ambiguities through the Mirror Raffaella Bernardi In this paper we look at the interpretation of Quantifier Phrases from the perspective of Symmetric Categorial Grammar. We show how the apparent

More information

Flexible Semantic Composition with DUDES

Flexible Semantic Composition with DUDES Fleible Semantic Composition ith DUDES Philipp Cimiano Web Information Systems Group TU Delft 1 DUDES In this paper e present a novel formalism for semantic construction called DUDES (Dependency-based

More information

Functional Database Query Languages as. Typed Lambda Calculi of Fixed Order. Gerd G. Hillebrand and Paris C. Kanellakis

Functional Database Query Languages as. Typed Lambda Calculi of Fixed Order. Gerd G. Hillebrand and Paris C. Kanellakis Functional Database Query Languages as Typed Lambda Calculi of Fixed Order Gerd G. Hillebrand and Paris C. Kanellakis Department of Computer Science Brown University Providence, Rhode Island 02912 CS-94-26

More information

The Lambda-Calculus Reduction System

The Lambda-Calculus Reduction System 2 The Lambda-Calculus Reduction System 2.1 Reduction Systems In this section we present basic notions on reduction systems. For a more detailed study see [Klop, 1992, Dershowitz and Jouannaud, 1990]. Definition

More information

564 Lecture 25 Nov. 23, Continuing note on presuppositional vs. nonpresuppositional dets.

564 Lecture 25 Nov. 23, Continuing note on presuppositional vs. nonpresuppositional dets. 564 Lecture 25 Nov. 23, 1999 1 Continuing note on presuppositional vs. nonpresuppositional dets. Here's the argument about the nonpresupp vs. presupp analysis of "every" that I couldn't reconstruct last

More information

Introduction to Semantic Parsing with CCG

Introduction to Semantic Parsing with CCG Introduction to Semantic Parsing with CCG Kilian Evang Heinrich-Heine-Universität Düsseldorf 2018-04-24 Table of contents 1 Introduction to CCG Categorial Grammar (CG) Combinatory Categorial Grammar (CCG)

More information

The same definition may henceforth be expressed as follows:

The same definition may henceforth be expressed as follows: 34 Executing the Fregean Program The extension of "lsit under this scheme of abbreviation is the following set X of ordered triples: X := { E D x D x D : x introduces y to z}. How is this extension

More information

Henk Barendregt and Freek Wiedijk assisted by Andrew Polonsky. Radboud University Nijmegen. March 5, 2012

Henk Barendregt and Freek Wiedijk assisted by Andrew Polonsky. Radboud University Nijmegen. March 5, 2012 1 λ Henk Barendregt and Freek Wiedijk assisted by Andrew Polonsky Radboud University Nijmegen March 5, 2012 2 reading Femke van Raamsdonk Logical Verification Course Notes Herman Geuvers Introduction to

More information

Generalized Quantifiers Logical and Linguistic Aspects

Generalized Quantifiers Logical and Linguistic Aspects Generalized Quantifiers Logical and Linguistic Aspects Lecture 1: Formal Semantics and Generalized Quantifiers Dag Westerståhl University of Gothenburg SELLC 2010 Institute for Logic and Cognition, Sun

More information

Quantification: Quantifiers and the Rest of the Sentence

Quantification: Quantifiers and the Rest of the Sentence Ling255: Sem & Cogsci Maribel Romero February 17, 2005 Quantification: Quantifiers and the Rest of the Sentence 1. Introduction. We have seen that Determiners express a relation between two sets of individuals

More information

The Importance of Being Formal. Martin Henz. February 5, Propositional Logic

The Importance of Being Formal. Martin Henz. February 5, Propositional Logic The Importance of Being Formal Martin Henz February 5, 2014 Propositional Logic 1 Motivation In traditional logic, terms represent sets, and therefore, propositions are limited to stating facts on sets

More information

Where linguistic meaning meets non-linguistic cognition

Where linguistic meaning meets non-linguistic cognition Where linguistic meaning meets non-linguistic cognition Tim Hunter and Paul Pietroski NASSLLI 2016 Friday: Putting things together (perhaps) Outline 5 Experiments with kids on most 6 So: How should we

More information