Barker (2002): Continuations and the nature of quantification #
This file formalizes Barker's continuized grammar. A continuation is what the rest of the sentence does with a constituent's value, and continuizing a grammar hands every constituent its continuation. Noun phrases then come out as generalized quantifiers, everyone and someone can be stated in situ, and they take scope without movement, storage or type-shifting. A rule with two daughters continuizes in two ways, one per priority order of the daughters, which is where scope ambiguity comes from. A scope island hands its continuation the finished clause, and coordination distributes its continuation over the conjuncts.
A derivation is a tree over the direct grammar with each binary node marked for priority.
Deriv.continuize is the Continuation Schema, Deriv.direct the meaning the direct grammar
assigns, and Deriv.scopeOrder the order in which the quantificational items take scope. The
Simulation Theorem (Deriv.continuize_eq_pure) says that a derivation the direct grammar
interprets denotes its direct meaning, and Integrity (Deriv.Constituent.scopeOrder_isInfix)
that the quantifiers of a constituent are contiguous in the scope order of the sentence.
Implementation notes #
- The paper states the schema for rules of any arity, with one continuized rule per permutation
of the daughters. Its grammar has rules of arity at most two, and so does
Deriv. - The expository determiners, which apply to the continuized nominal, are
Deriv.bindat a generalized-quantifier denotation. The determiners of the final grammar quantify over choice functions. - Transitive verbs take the object first, so
saw m jis John saw Mary.
TODO #
The paper calls the four scopings of someone saw a friend of everyone logically distinct. The
restrictor of a contains the variable that everyone binds, so by
Reference.ChoiceFunction.exists_forall_apply_iff the two scopings that differ in the order of
a and everyone are equivalent (a_everyone_iff_everyone_a), and the grammar gives the
sentence two truth conditions. A wide-scope a friend common to everyone is not among them.
References #
Derivations and the Continuation Schema #
The daughter of a binary rule that takes priority, and with it scope over the other.
Instances For
Equations
- Barker2002.instDecidableEqPriority x✝ y✝ = if h : x✝.ctorIdx = y✝.ctorIdx then isTrue ⋯ else isFalse ⋯
Equations
- Barker2002.instFintypePriority = { elems := { val := ↑Barker2002.Priority.enumList, nodup := Barker2002.Priority.enumList_nodup }, complete := Barker2002.instFintypePriority._proof_1 }
A derivation with quantificational items labelled in ι is a lexical item of the direct
grammar, a quantificational item stated only in continuized terms, a rule of arity one or two
applied to its daughters, a quantificational item applied to the value of its daughter, a clause
closed off as a scope island, or a coordination.
- lex {ι α : Type} (a : α) : Deriv ι α
- quant {ι α : Type} (i : ι) (q : Cont Prop α) : Deriv ι α
- unary {ι α β : Type} (M : α → β) (d : Deriv ι α) : Deriv ι β
- binary {ι α β γ : Type} (M : α → β → γ) (p : Priority) (d₁ : Deriv ι α) (d₂ : Deriv ι β) : Deriv ι γ
- bind {ι α β : Type} (i : ι) (q : α → Cont Prop β) (d : Deriv ι α) : Deriv ι β
- island {ι : Type} (d : Deriv ι Prop) : Deriv ι Prop
- coord {ι α : Type} (d₁ d₂ : Deriv ι α) : Deriv ι α
Instances For
The Continuation Schema makes a lexical item a unit and has a rule nest the continuations of its daughters in priority order. An island evaluates its clause, and coordination hands its continuation to each conjunct.
Equations
- (Barker2002.Deriv.lex a).continuize = pure a
- (Barker2002.Deriv.quant i q).continuize = q
- (Barker2002.Deriv.unary M d).continuize = M <$> d.continuize
- (Barker2002.Deriv.binary M Barker2002.Priority.left d₁ d₂).continuize = M <$> d₁.continuize <*> d₂.continuize
- (Barker2002.Deriv.binary M Barker2002.Priority.right d₁ d₂).continuize = flip M <$> d₂.continuize <*> d₁.continuize
- (Barker2002.Deriv.bind i q d).continuize = d.continuize >>= q
- d.island.continuize = ContT.reset d.continuize
- (d₁.coord d₂).continuize = fun (k : x✝ → Id Prop) => d₁.continuize k ∧ d₂.continuize k
Instances For
The sentence meaning is the continuized meaning at the trivial continuation.
Equations
- d.eval = ContT.eval d.continuize
Instances For
The meaning the direct grammar assigns, where it assigns one.
Equations
- (Barker2002.Deriv.lex a).direct = some a
- (Barker2002.Deriv.unary M d).direct = Option.map M d.direct
- (Barker2002.Deriv.binary M p d₁ d₂).direct = d₁.direct.bind fun (x : α) => Option.map (M x) d₂.direct
- d.island.direct = d.direct
- (Barker2002.Deriv.quant i q).direct = none
- (Barker2002.Deriv.bind i q d).direct = none
- (d₁.coord d₂).direct = none
Instances For
The quantificational items in the order they take scope. Those of an island are trapped, and those of a coordination are listed together although neither conjunct outscopes the other.
Equations
- (Barker2002.Deriv.lex a).scopeOrder = []
- d.island.scopeOrder = []
- (Barker2002.Deriv.quant i q).scopeOrder = [i]
- (Barker2002.Deriv.unary M d).scopeOrder = d.scopeOrder
- (Barker2002.Deriv.binary M Barker2002.Priority.left d₁ d₂).scopeOrder = d₁.scopeOrder ++ d₂.scopeOrder
- (d₁.coord d₂).scopeOrder = d₁.scopeOrder ++ d₂.scopeOrder
- (Barker2002.Deriv.binary M Barker2002.Priority.right d₁ d₂).scopeOrder = d₂.scopeOrder ++ d₁.scopeOrder
- (Barker2002.Deriv.bind i q d).scopeOrder = d.scopeOrder ++ [i]
Instances For
Simulation #
The lemma behind the Simulation Theorem says that a derivation the direct grammar interprets denotes the unit at its direct meaning.
Priority is idle next to a left daughter that the direct grammar interprets.
Priority is idle next to a right daughter that the direct grammar interprets.
Integrity #
Constituent d' d says that d' is a constituent of d that no island separates from
it.
- refl {ι α : Type} (d : Deriv ι α) : d.Constituent d
- unary {ι α β γ : Type} {d' : Deriv ι α} {d : Deriv ι β} (M : β → γ) : d'.Constituent d → d'.Constituent (Deriv.unary M d)
- binaryLeft {ι α β γ δ : Type} {d' : Deriv ι α} {d₁ : Deriv ι β} (M : β → γ → δ) (p : Priority) (d₂ : Deriv ι γ) : d'.Constituent d₁ → d'.Constituent (binary M p d₁ d₂)
- binaryRight {ι α β γ δ : Type} {d' : Deriv ι α} {d₂ : Deriv ι γ} (M : β → γ → δ) (p : Priority) (d₁ : Deriv ι β) : d'.Constituent d₂ → d'.Constituent (binary M p d₁ d₂)
- bind {ι α β γ : Type} {d' : Deriv ι α} {d : Deriv ι β} (i : ι) (q : β → Cont Prop γ) : d'.Constituent d → d'.Constituent (Deriv.bind i q d)
- coordLeft {ι α β : Type} {d' : Deriv ι α} {d₁ : Deriv ι β} (d₂ : Deriv ι β) : d'.Constituent d₁ → d'.Constituent (d₁.coord d₂)
- coordRight {ι α β : Type} {d' : Deriv ι α} {d₂ : Deriv ι β} (d₁ : Deriv ι β) : d'.Constituent d₂ → d'.Constituent (d₁.coord d₂)
Instances For
Integrity says that the quantifiers of a constituent are contiguous in the scope order of the whole, so an outside quantifier scopes over all of them or under all of them.
Integrity is a test on a scope order in which no item occurs twice, since the items of a constituent are then an uninterrupted stretch of the order.
The grammar #
S → NP VP, VP(NP).
Equations
- Barker2002.S p np vp = Barker2002.Deriv.binary (fun (x : E) (P : E → Prop) => P x) p np vp
Instances For
VP → Vt NP, Vt(NP).
Equations
- Barker2002.VP p vt obj = Barker2002.Deriv.binary (fun (R : E → E → Prop) (x : E) => R x) p vt obj
Instances For
NP → Det N, Det(N), with determiners denoting choice functions.
Equations
- Barker2002.NP p det n = Barker2002.Deriv.binary (fun (D : Reference.ChoiceFunction E) (P : E → Prop) => D P) p det n
Instances For
N → Nr PPof, Nr(PP).
Equations
- Barker2002.N p nr pp = Barker2002.Deriv.binary (fun (R : E → E → Prop) (x : E) => R x) p nr pp
Instances For
PPof → of NP, with a transparent preposition.
Equations
- Barker2002.PPof np = Barker2002.Deriv.unary id np
Instances For
everyone is a universal over its continuation.
Equations
- Barker2002.everyone = Barker2002.Deriv.quant "everyone" fun (k : E → Id Prop) => ∀ (x : E), k x
Instances For
someone is an existential over its continuation.
Equations
- Barker2002.someone = Barker2002.Deriv.quant "someone" fun (k : E → Id Prop) => ∃ (x : E), k x
Instances For
The expository NP → Det N applies a generalized-quantifier determiner to the continuized nominal, so the determiner scopes under whatever the nominal contains.
Equations
- Barker2002.NPgq w Q n = Barker2002.Deriv.bind w (fun (P : E → Prop) => Q P) n
Instances For
every quantifies universally over choice functions.
Equations
- Barker2002.every = Barker2002.Deriv.quant "every" fun (D : Reference.ChoiceFunction E → Id Prop) => ∀ (f : Reference.ChoiceFunction E), D f
Instances For
a quantifies existentially over choice functions.
Equations
- Barker2002.a = Barker2002.Deriv.quant "a" fun (D : Reference.ChoiceFunction E → Id Prop) => ∃ (f : Reference.ChoiceFunction E), D f
Instances For
Scope displacement and scope ambiguity #
A quantifier in object position takes scope over the clause, whatever determiner it has, as in John saw every man and John saw most men.
Every man saw a woman with VP priority has the inverse reading.
With subject priority it has the surface reading.
In someone saw the friend of the friend of everyone the embedded quantifier takes scope from any depth, and the priority at S decides between the two scopings.
Choice-function determiners #
John saw every man says that for every way of choosing a man, John saw him.
When there are men, the choice-function every and the generalized-quantifier every give John saw every man the same truth conditions.
When there are no men they come apart, since the choice-function sentence says that John saw everyone and the generalized-quantifier sentence is vacuously true.
The scopings of someone saw a friend of everyone #
The priorities at S and NP fix the scope order.
The truth conditions follow the scope order.
The priority at NP orders the object's two quantifiers.
The object noun phrase is a constituent of the sentence.
Integrity excludes the orders that split the object's quantifiers around the subject.
The order of a and everyone makes no difference to the truth conditions, because the restrictor of a contains the variable that everyone binds.
Generalized coordination #
With subject priority, coordinated verb phrases denote their pointwise conjunction, as in Partee and Rooth's generalized conjunction.
With VP priority the conjunction distributes over the subject.
The paper's examples #
The words of a string, split at a separator.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The readings the paper lists for someone saw a friend of everyone are exactly the scope orders some prioritization of its derivation induces.
Wherever the paper names a constituent holding two of a sentence's quantifiers, the
readings it accepts are those that keep the two together, as
Deriv.Constituent.filter_scopeOrder_isInfix requires.