Denotation #
This file defines Semantics.Denotes, the class of objects that have a denotation, and the
bracket notation ⟦x⟧ for it ([HK98]). A lexical item, a reading, or a whole
sentence denotes in whatever domain its instance names, so the class gives the library one name
for the map from a semantic object to its meaning, whether that map is compositional or
stipulated per object. An object that denotes in the Montague type system denotes in
Montague.Denotation E W M D, a semantic type paired with a value in its domain, and is
thereby a terminal for the composition engine.
Implementation notes #
The class has one field, like FunLike: the parameters an interpretation is relativized to,
the model, context, index and assignment of [Mon73] and [Kap89], are not slots of
the class but Reader arguments of the domain D, in that order, so a Kaplanian expression
denotes a Reference.Character, an assignment-sensitive one an Assignment E → _, and an
intension a W → _. Instance resolution requires every type parameter of D to be fixed by
α. An object interpreted relative to data its type does not mention denotes the family over
that data, D quantifying over the model's types with the model's data as Reader arguments, as
a lexical quantifier denotes a Quantifier.GQ.Family and an article its readings on every model;
a tree relative to a lexicon keeps an explicit interpretation function (Composition.Tree.interp,
mathlib's Term.realize) and gains an instance once its type is indexed by that data.
Main definitions #
Semantics.Denotes α D: every object ofαdenotes inD;⟦x⟧isDenotes.denote x.⟦x⟧ᴹ, in the scopeSemantics.Superscript: the denotation ofxat the parameterM.
References #
⟦x⟧ is the denotation of x.
Equations
- One or more equations did not get rendered due to their size.
Instances For
⟦x⟧ᴹ is the denotation of x at the parameter M, the first Reader argument written
as a superscript. The parameter is a name in superscript letters. The notation has its own
scope because it would otherwise capture a superscript operator applied to a denotation, such
as the complement ⟦x⟧ᶜ.
Equations
- One or more equations did not get rendered due to their size.