Because of the lack of function types in PG, the usual method of giving a semantics via the
λ-calculus or via function denotations is not available in any obvious way. Instead, two different methods exist, one purely formal method that corresponds to the λ-calculus, and one denotational method analogous to (a fragment of) the tensor mathematics of
quantum mechanics.
Purely formal semantics The purely formal semantics for PG consists of a logical language defined according to the following rules: • Given a set of atomic terms
T = {
a,
b, ...} and atomic function symbols
F = {
fm, gn, ...} (where subscripts are meta-notational indicating
arity), and variables
x,
y, ..., all constants, variables, and well-formed function applications are basic terms (a function application is well-formed when the function symbol is applied to the appropriate number of arguments, which can be drawn from the atomic terms, variables, or can be other basic terms) • Any basic term is a term • Given any variable
x, [
x] is a term • Given any terms
m and
n, m \cdot n is a term Some examples of terms are
f(
x),
g(
a,
h(
x,
y)), g(x,b) \cdot [x]. A variable
x is free in a term
t if [
x] does not appear in
t, and a term with no free variables is a closed term. Terms can be typed with pregroup types in the obvious manner. The usual conventions regarding α conversion apply. For a given language, we give an assignment
I that maps typed words to typed closed terms in a way that respects the pregroup structure of the types. For the English fragment given above we might therefore have the following assignment (with the obvious, implicit set of atomic terms and function symbols): : \begin{align} I(\textit{John} : N) &= j : E \\ I(\textit{Mary} : N) &= m : E \\ I(the : N \cdot N_0^l) &= \iota(p) \cdot [p] : E \cdot E_0^l \\ I(dog : N_0) &= dog : E_0 \\ I(cat : N_0) &= cat : E_0 \\ I(met : N^r \cdot S \cdot N^l) &= [x] \cdot met(x,y) \cdot [y] : E^r \cdot T \cdot E^l \\ I(barked : N^r \cdot S) &= [x] \cdot barked(x) : E^r \cdot T \\ I(at : S^r \cdot N^{rr} \cdot N^r \cdot S \cdot N^l) &= [x] \cdot y \cdot [y] \cdot at(x,z) \cdot [z] : T^r \cdot E^{rr} \cdot E^r \cdot T \cdot E^l \end{align} where
E is the type of entities in the domain, and
T is the type of truth values. Together with this core definition of the semantics of PG, we also have a reduction rules that are employed in parallel with the type reductions. Placing the syntactic types at the top and semantics below, we have For example, applying this to the types and semantics for the sentence \textit{John}\ \textit{met}\ \textit{Mary} : N \cdot (N^r \cdot S \cdot N^l) \cdot N (emphasizing the link being reduced) For the sentence \textit{the}\ \textit{dog}\ \textit{barked}\ \textit{at}\ \textit{the}\ \textit{cat} : (N \cdot N_0^l) \cdot N_0 \cdot (N^r \cdot S) \cdot (S^r \cdot N^{rr} \cdot N^r \cdot S \cdot N^l) \cdot (N \cdot N_0^l) \cdot N_0: == See also ==