Semantics: Difference between revisions
(Add a note to self to explain properties) |
(link to uploaded version of hoemui.pdf) |
||
(23 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
Toaq is a loglang, which means that | Toaq is a loglang, which means that given any sentence, we can unambiguously derive its meaning in logic notation. '''Semantics''', the study of meaning, guides us in determining what those results should look like, and how we might use our knowledge of [[syntax]] to derive them. | ||
The refgram tells you that {{Derani| |Luı nuo sá tıqra nîe náokua}} translates to <math>\exists x: \text{tıqra}_\text{w}(x).\ \exists e.\ \text{τ}(e)<\text{t}\land \text{nuo}_\text{w}(x)(e)\land \text{nıe}_\text{w}(e, \text{n}\mathrm{\acute{a}}\text{okua})</math>. The reality is that this isn't "just" logic notation: it's a very specific notation that has been purpose-built for describing natural language semantics, and this article will help you understand the core concepts behind it. | The refgram tells you that {{Derani| |Luı nuo sá tıqra nîe náokua}} translates to <math>\exists x: \text{tıqra}_\text{w}(x).\ \exists e.\ \text{τ}(e)<\text{t}\land \text{nuo}_\text{w}(x)(e)\land \text{nıe}_\text{w}(e, \text{n}\mathrm{\acute{a}}\text{okua})</math>. The reality is that this isn't "just" logic notation: it's a very specific notation that has been purpose-built for describing natural language semantics, and this article will help you understand the core concepts behind it. | ||
Line 24: | Line 24: | ||
Say that you have an idea of what the world is like—maybe you have a mental model in your head, or maybe you have a database to look things up in. If your knowledge is complete enough, then that model lets you answer a question, or tell whether what someone said is true, by interpreting their words and then "looking up" the answer. But more often than not, people are working with incomplete knowledge. In this case, if someone tells you something, a model lets you interpret their words and then ''work backwards'' from the meaning to figure out what must be true about the world. | Say that you have an idea of what the world is like—maybe you have a mental model in your head, or maybe you have a database to look things up in. If your knowledge is complete enough, then that model lets you answer a question, or tell whether what someone said is true, by interpreting their words and then "looking up" the answer. But more often than not, people are working with incomplete knowledge. In this case, if someone tells you something, a model lets you interpret their words and then ''work backwards'' from the meaning to figure out what must be true about the world. | ||
A note for the adventurous: There are alternative approaches to semantics that don't involve models, such as [https://plato.stanford.edu/entries/proof-theoretic-semantics/#InfIntAntRea proof-theoretic semantics], which | A note for the adventurous: There are alternative approaches to semantics that don't involve models, such as [https://plato.stanford.edu/entries/proof-theoretic-semantics/#InfIntAntRea proof-theoretic semantics], in which the meaning of a statement is determined purely by its relationships to other statements in a formal proof system. There have been some attempts to apply this approach to Lojban and Toaq semantics<ref>[https://mostawesomedude.github.io/brismu/ brismu], a sketch of an inferential approach to Lojban semantics</ref><ref>[[:File:Hoemuı.pdf|Hoemuı]], the beginnings of a sketch of an inferential approach to Toaq semantics (super outdated)</ref>, but when it comes to natural language semantics, the model-based approach described here is far more common. | ||
== | == Basic notation == | ||
Now, we're ready to talk about notation. When you see something like <math>\exist x: \text{kato}_\text{w}(x). \exist e. \text{τ}(e) \subseteq \text{t} \land \text{neo}_\text{w}(x, \text{m}\mathrm{\acute{u}}\text{ao})(e)</math>, what you're looking at are a bunch of things from the domain of the model. A lot of these words (<math>\text{kato}</math>, <math>\text{neo}</math>, <math>\exist</math>, <math>\text{τ}</math>, <math>\land</math>) are '''functions'''; some others (<math>\text{m}\mathrm{\acute{u}}\text{ao}</math>) represent literal "things" from the domain, like physical objects, people, and ideas, which we'll call '''individuals'''. Together, these words form an expression that shows you how to calculate the truth value of a specific sentence (in this case, {{Derani| |Neo sá kato múao}}), given that you have | Now, we're ready to talk about notation. When you see something like <math>\exist x: \text{kato}_\text{w}(x). \exist e. \text{τ}(e) \subseteq \text{t} \land \text{neo}_\text{w}(x, \text{m}\mathrm{\acute{u}}\text{ao})(e)</math>, what you're looking at are a bunch of things from the domain of the model. A lot of these words (<math>\text{kato}</math>, <math>\text{neo}</math>, <math>\exist</math>, <math>\text{τ}</math>, <math>\land</math>) are '''functions'''; some others (<math>\text{m}\mathrm{\acute{u}}\text{ao}</math>) represent literal "things" from the domain, like physical objects, people, and ideas, which we'll call '''individuals'''. Together, these words form an expression that shows you how to calculate the truth value of a specific sentence (in this case, {{Derani| |Neo sá kato múao}}), given that you have a model. | ||
There's | There's an important subtlety here: In languages like English and mathematical logic, you can use words to form statements such as "The sky is blue" and "<math>x + 1 = 2</math>", or you can use them to form smaller expressions, like "the author of this book" and "<math>\left\{1, 2, 3\right\}</math>". But in the semantic notation we're looking at, there are no statements, only expressions, because the point of semantics is to examine the values that things denote, including the values of statements themselves. As such, it doesn't make sense to call this a "logic notation", because on its own, it can't form statements. Instead, we'll call it a '''semantic calculus'''. | ||
One interesting thing about this notation is that every expression has a '''type''', like some programming languages do. These include: | One interesting thing about this notation is that every expression has a '''type''', like some programming languages do. These include: | ||
* <math>\text{e}</math>, the type of individuals, which encompasses everything you can refer in Toaq. This is a rather broad category, so to help us get more specific when we need it, it includes a couple of subtypes: | * <math>\text{e}</math>, the type of individuals, which encompasses everything you can refer to in Toaq. This is a rather broad category, so to help us get more specific when we need it, it includes a couple of subtypes: | ||
** <math>\text{v}</math>, the type of [[Event|events]] (things that can happen). More on them later. | ** <math>\text{v}</math>, the type of [[Event|events]] (things that can happen). More on them later. | ||
** <math>\text{i}</math>, the type of time intervals | ** <math>\text{i}</math>, the type of time intervals | ||
Line 47: | Line 47: | ||
** <math>t,\ t',\ t'',\ \dots</math> for time intervals | ** <math>t,\ t',\ t'',\ \dots</math> for time intervals | ||
* <math>w,\ w',\ w'',\ \dots</math> for worlds | * <math>w,\ w',\ w'',\ \dots</math> for worlds | ||
* <math>P,\ Q,\ R,\ \dots</math> for functions (the exact type is left to context) | |||
It turns out we don't need variables for truth values | It turns out we don't need variables for truth values, so we don't assign them any. | ||
Be careful when reading these letters, because italics are meaningful. There are some tricky pairs of symbols such as <math>w</math>, which is a world variable, versus <math>\text{w}</math>, which is a constant referring to the real world, and <math>t</math>, which is a time interval variable, versus <math>\text{t}</math>, which is a constant referring to the salient time interval. | |||
Another important feature of this language is that it has a special syntax for writing functions, known as a '''lambda expression'''. They're easy to spot because they start with the Greek letter <math>\lambda</math>, and have two components: a variable name representing the function's input, and an expression representing the function's output. For example, <math>\lambda n.\ 2n + 1</math> is a function that takes a value <math>n</math> as its input, and outputs the value <math>2n + 1</math>. Since <math>n</math> is a variable of type <math>\text{e}</math>, and <math>2n + 1</math> is an expression of type <math>\text{e}</math>, we can tell that this function has type <math>\left\langle \text{e}, \text{e} \right\rangle</math>. Similarly, <math>\lambda e.\ \text{saqsu}(\text{j}\mathrm{\acute{i}})(e)</math> is a function of type <math>\left\langle \text{v}, \text{t} \right\rangle</math> which computes whether <math>e</math> is an event of the speaker whispering. | |||
You can apply these lambda functions to an argument in the same way you would apply a named function: by placing them before their argument, surrounded with parentheses. For example, if we say that <math>P</math> is the function <math>\lambda x.\ \text{ruq}(x)</math>, then <math>P(r)</math> and <math>(\lambda x.\ \text{ruq}(x))(r)</math> are two ways of saying the same thing—they both evaluate to <math>\text{ruq}(r)</math>. | |||
Finally, here are some common symbols that you'll see. It's no coincidence that these match the symbols used in mathematical logic, and even share the same syntax! But in the world of semantics, you should learn think of them as functions rather than operators that get special syntactic treatment. | |||
* Conjunctions, which attach to two truth values and output a new truth value (type <math>\left\langle \text{t}, \left\langle \text{t}, \text{t} \right\rangle \right\rangle</math>) | |||
** <math>\land</math> for "and" | |||
** <math>\lor</math> for "or" | |||
* Polarizers, which attach to one truth value and output a new truth value (type <math>\left\langle \text{t}, \text{t} \right\rangle</math>) | |||
** <math>\neg</math> for "not" | |||
** <math>\dagger</math> for "indeed", "in fact" | |||
* Quantifiers, which take a predicate (and optionally, another predicate to restrict the domain) and output a truth value (type <math>\left\langle \left\langle \text{e}, \text{t} \right\rangle, \text{t} \right\rangle</math> or <math>\left\langle \left\langle \text{e}, \text{t} \right\rangle, \left\langle \left\langle \text{e}, \text{t} \right\rangle, \text{t} \right\rangle \right\rangle </math>) | |||
** <math>\exist</math> for "some" | |||
** <math>\forall</math> for "every" | |||
For example, we might write the interpretation of "indeed, every person is living or dead" as <math>\dagger \forall a : \text{poq}(a).\ \text{mie}(a) \lor \text{muaq}(a)</math>. | |||
== Events == | == Events == | ||
One of the most basic jobs of any semantic theory is to define how verbs work. The traditional approach, used widely throughout mathematics, is to represent {{Derani| |Fa jí náomi}} as <math>\text{fa}(\text{j}\mathrm{\acute{i}}, \text{n}\mathrm{\acute{a}}\text{omi})</math>, where the verb is interpreted as a function (here, <math>\left\langle \text{e} \left\langle \text{e}, \text{t} \right\rangle \right\rangle</math>) receiving the subject and any objects as arguments. But sadly, this approach is unable to account for tense, aspect, or adverbs. | |||
Modern semantics research has settled on a single concept to overcome all of these issues: '''events'''. An event is an extra argument passed to a verb representing the action itself; the instance of that verb "happening". For instance, <math>\text{fa}(\text{j}\mathrm{\acute{i}}, \text{n}\mathrm{\acute{a}}\text{omi})(e)</math> represents whether <math>e</math> is an event of the speaker going to the sea. Whereas the first two arguments represent the participants in the action (the goer and the destination), ''e'' stands for the thing that connects them: the going, or the journey. Then, a sentence like {{Derani| |Fa jí náomi}} can be understood as claiming that there ''is'' such an event: <math>\exists e.\ \text{fa}(\text{j}\mathrm{\acute{i}}, \text{n}\mathrm{\acute{a}}\text{omi})(e)</math>. This system is credited to philosopher Donald Davidson, giving it the name '''Davidsonian event semantics'''. | |||
This gives us a systematic way to deal with adverbs: to modify the verb, modify the ''event variable introduced by the verb''. This is intended to reflect the intuition that "I slept briefly" has the same meaning as "My sleep was brief". For example, {{Derani| |Nuo jîm jí}} can be interpreted as <math>\exists e.\ \text{nuo}(\text{j}\mathrm{\acute{i}})(e) \land \text{jim}(e)</math>. And prepositions work similarly: for {{Derani| |Lao jí nîe jío}} we would use <math>\exists e.\ \text{lao}(\text{j}\mathrm{\acute{i}})(e) \land \text{nie}(e, \text{j}\mathrm{\acute{i}}\text{o})</math> — "whether there is some event of me waiting that is inside the building". | |||
With events in our toolbox, tense and aspect also fall into place. If we imagine that every event has a temporal footprint (the points in time at which it takes place), then it seems reasonable that there should be a function to access this information. We call this <math>\tau</math>, the '''temporal trace function''' (type <math>\left\langle \text{v}, \text{i} \right\rangle</math>). Aspect is then understood as making a claim about an event's temporal structure, relative to a reference time determined by the tense. For instance, {{Derani||tam}} makes the claim that the event's temporal trace lies fully within the reference time: <math>\tau(e) \subseteq \text{t}</math>. (This one comes up a lot, because {{Derani||tam}} is the default aspect.) And {{Derani||luı}} makes the claim that the event's temporal trace comes before the reference time: <math>\tau(e) < \text{t}</math>. | |||
So including aspect, the ''complete'' interpretation of {{Derani| |Fa jí náomi}} should be <math>\exists e.\ \tau(e) \subseteq \text{t} \land \text{fa}(\text{j}\mathrm{\acute{i}}, \text{n}\mathrm{\acute{a}}\text{omi})(e)</math>. This is a little cumbersome to read, so you will sometimes see it abbreviated to <math>\text{fa}(\text{j}\mathrm{\acute{i}}, \text{n}\mathrm{\acute{a}}\text{omi})</math> when we're being lazy. | |||
== Presuppositions == | |||
Some statements carry a set of assumptions in addition to their main semantic content. When we say "The current king of France is bald", it is assumed that there ''is'' a current king of France. And likewise, the sentence {{Derani| |Luı nuo sá tıqra nîe náokua}} carries the assumption that {{Derani||náokua}} actually refers to a bathroom. (It would be nonsensical to say such a thing while pointing to, say, a car!) The technical term for an assumption of this kind is a '''presupposition'''. | |||
There's a trick that we can use to write presuppositions alongside a semantic expression: by leveraging the mathematical notion of an expression being '''undefined'''. Just as <math>1 \div x</math> is undefined when <math>x = 0</math>, "the current king of France" should be undefined when France has no king. In semantic notation, we write this as <math>\text{bald}(\text{k})\text{, defined only if king}(\text{k}, \text{France}) </math>. This restricts the possible models to only those that set <math>\text{k}</math> to be a king of France. | |||
Note that this <math>\text{defined only if}</math> clause can appear anywhere within an expression, not just at the top level. One example where it ''needs'' to be embedded in a sub-expression is in {{Derani| |Gaq tú deo ké pao âq}}. This becomes: <math>\forall a : \text{deo}(a).\ \exists e.\ \tau(e) \subseteq \text{t}\ \land\ \text{gaq}(a, [\text{P}(a)\text{, defined only if }\text{pao}(\text{P}(a), a)])(e)</math>. Moving the <math>\text{defined only if}</math> clause to the top level wouldn't work, because it uses the variable <math>a</math>, which is only available inside the scope of the <math>\forall</math> function. | |||
In lambda expressions, you might also come across the syntax <math>\lambda a : \text{naokua}(a).\ \text{ti}(\text{t}\mathrm{\acute{i}}\text{qra}, a)</math>, where <math>\lambda</math> is imagined to be a quantifier restricted by <math>\text{naokua}(a)</math>. This is the same thing as writing <math>\lambda a .\ (\text{ti}(\text{t}\mathrm{\acute{i}}\text{qra}, a)\text{, defined only if naokua}(a))</math>. | |||
== Worlds == | == Worlds == | ||
Another important concept for any semantic theory to cover is '''modality''': the treatment of words such as {{Derani||she}}, {{Derani||daı}}, {{Derani||ao}}, and {{Derani||dı}}. We use these words to make claims not about the actual state of the world, but about possibilities, obligations, or beliefs. The tried and true system for reasoning about modality, named after philosopher Saul Kripke, is known as '''Kripke semantics'''. | |||
In Kripke semantics, we imagine that there are a multitude of '''worlds''': one world, <math>\text{w}</math>, represents the real world, while others represent alternate timelines. Then, every verb is extended to take a world argument: for example, <math>\exists e.\ \text{saqsu}_\text{w}(\text{j}\mathrm{\acute{i}})(e)</math> computes whether there is an event of the speaker whispering ''in the real world'', with the world variable being written in a subscript for readability. | |||
In this framework, we can understand modals as making claims about alternate worlds. For instance, {{Derani| |Shê, ꝡä tao sı súq fáfuaq, nä cho súq hóq}} means "in all possible worlds, minimally different from the real world, in which you go to see the movie, you like it". In semantic notation, that looks like: <math>\forall w: (\text{SHE}(\text{w}, w)\ \land\ \exists e.\ \tau(e) \subseteq \text{t}\ \land\ \text{si}_w(\text{s}\mathrm{\acute{u}}\text{q}, \text{f}\mathrm{\acute{a}}\text{fuaq})(e))).\ \exists e.\ \tau(e) \subseteq \text{t'}\ \land\ \text{cho}_w(\text{s}\mathrm{\acute{u}}\text{q}, \text{f}\mathrm{\acute{a}}\text{fuaq})(e)</math>. The function <math>\text{SHE}(\text{w}, w)</math> is the part that stands for "<math>w</math> is a possible world minimally different from the real world". The technical term for this function is the '''accessibility relation''', because it defines which worlds we can "access" and talk about using the modal {{Derani||she}}. | |||
Some modals, such as {{Derani||daı}}, use the quantifier <math>\exists</math> instead of <math>\forall</math>, because for something to be possible, it only needs to be true in one possible world. Other modals, such as {{Derani||dı}}, use a completely different accessibility relation (<math>\text{DUAI}</math>) to talk about ''acceptable worlds'' rather than possible worlds. And other modals, such as {{Derani||ao}}, use an accessibility relation that presupposes that the complement is not true in the reference world, to achieve a counterfactual effect. This world metaphor really is flexible enough to account for all modals! | |||
Note that similarly to events, we sometimes get lazy and neglect to write the world arguments on verbs. | |||
== Propositions == | == Propositions == | ||
A '''proposition''' is, in the broadest sense, anything that bears a truth value, such as a fact, a belief, or the meaning of a sentence. We can say that the sentence "Die Erde ist ein Planet" expresses the proposition that the Earth is a planet, and likewise, in the sentence "I believe that I saw a ghost", we can identify "that I saw a ghost" as referring to the proposition that the speaker saw a ghost. | |||
In Toaq, we use the complementizer {{Derani||ꝡä}} to create a reference to a proposition, which can then become the complement of another verb. So, our semantic theory needs to account for this construct, and it turns out that it's best to use two different "interpretations" of propositions for this purpose. | |||
The first interpretation is '''propositions as functions'''. The idea is to interpret a complementizer phrase as a function which takes a world as an input, and outputs the truth value of the proposition in that world (type <math>\left\langle \text{s}, \text{t} \right\rangle</math>). So for example, in {{Derani| |Chı jí, ꝡä za ruqshua}}, we would interpret the complementizer phrase as <math>\lambda w.\ \exists e.\ \tau(e) > \text{t} \land \text{ruqshua}_w(e)</math>, and pass this as an argument to the main verb, giving <math>\exists e'.\ \tau(e') \subseteq \text{t'} \land \text{chi}_{\text{w}}(\text{ji}, \lambda w.\ \exists e.\ \tau(e) > \text{t} \land \text{ruqshua}_w(e))(e')</math>. Note that it would be wrong to interpret the complementizer phrase as <math>\exists e.\ \tau(e) > \text{t} \land \text{ruqshua}_{\text{w}}(e)</math>, because this evaluates to a simple truth value, which fails to capture the statement's semantic content. No one goes around saying "I believe [TRUE]" or "I believe [FALSE]". By using a function, we capture the statement's '''intension''' (its abstract connotation) rather than its '''extension''' (the concrete truth value held by the statement in the real world). | |||
This approach is nice and simple, but it does have limitations. In Toaq, we can not only reference propositions with {{Derani||ꝡä}}, but we can also assign them to variables, or even quantify over them, as in the sentence {{Derani| |Dua jí sía raı}}. A naive approach to interpreting this sentence would be <math>\neg\exists P.\ \exists e.\ \tau(e) \subseteq \text{t} \land \text{dua}_{\text{w}}(\text{ji}, P)(e)</math>, where the variable {{Derani||ráı}} is taken to range over functions of type <math>\left\langle \text{s}, \text{t} \right\rangle</math>. But if you let Toaq variables range over functions from the model, this now lets you construct the '''liar paradox''', a sentence which contradicts itself: {{Derani| |Sahu ní ruaqse}}. Interpreting this sentence, we get <math>\text{L}_\text{w} = \text{sahu}_\text{w}(\text{L}) = \neg \text{L}_\text{w}</math>, which is problematic. Philosophers have studied this paradox extensively, and come up with a few different possible responses: | |||
* Restrict the language's syntax so that it can't even express the liar paradox (not an option for a human language like Toaq) | |||
* Allow models to contain contradictions, by departing from classical logic in some way (for example, by adding a 3rd truth value, or otherwise weakening the logic to prevent [[wikipedia:Principle_of_explosion|explosion]]) | |||
* Use a more specific notion of truth for propositions, so that the language doesn't literally contain its own truth predicate | |||
Both of the last two options will work, and we should ensure that our semantic notation can accommodate either of them as resolutions to the paradox. This is where the second interpretation comes in: '''propositions as individuals'''. The idea is to let some individuals stand for propositions, and use the functions <math>\text{juna}</math> and <math>\text{sahu}</math> (both of type <math>\left\langle \text{e}, \left\langle \text{s}, \text{t} \right\rangle \right\rangle</math>) to access their semantic content. There could also be a function <math>\text{prop}</math> (type <math>\left\langle \left\langle \text{s}, \text{t} \right\rangle, \text{e} \right\rangle</math>) which lets you convert propositions in the other direction, from functions to individuals. With this approach, quantifying over propositions, as in {{Derani| |Dua jí sía raı}}, looks like this: <math>\neg\exists a.\ \exists e.\ \tau(e) \subseteq \text{t} \land \text{dua}_{\text{w}}(\text{ji}, \text{juna}(a))(e)</math>. Note the use of <math>\text{juna}</math> to convert the variable <math>a</math> into an <math>\left\langle \text{s}, \text{t} \right\rangle</math>, which enables us to reuse the same version of <math>\text{dua}</math> that takes <math>\left\langle \text{s}, \text{t} \right\rangle</math> propositions. | |||
The consequence of this approach is that we now have a layer of abstraction to play with (<math>\text{juna}</math> and <math>\text{sahu}</math>), so that models are free to apply any reasonable resolution to the liar paradox. For example, we can allow the contradiction to exist by setting <math>\text{sahu}_\text{w}(\text{prop}(P))</math> directly equal to <math>\neg P_\text{w}</math>, or we can let <math>\text{juna}</math> and <math>\text{sahu}</math> refer to some more specific notion of truth that is resistant to the liar paradox, such as Kripkean truth<ref>Kripke, S., 1975, “Outline of a theory of truth”, ''Journal of Philosophy'', 72: 690–716.</ref> or stable/categorical truth<ref>[https://plato.stanford.edu/entries/truth-revision/index.html The Revision Theory of Truth (Stanford Encyclopedia of Philosophy)]</ref>. | |||
== Properties == | == Properties == | ||
A '''property''' is an incomplete proposition; a claim with blanks to be filled. A simple example would be the property "◯ is red", also known as "to be red" or simply "redness". By filling in the blank, you get a proposition: "the apple is red". Properties can be arbitrarily complex, containing nested clauses or even multiple blanks: for example, "◯ can't believe that ◯ is not butter". In Toaq, properties are marked by the complementizer {{Derani||lä}}. | |||
The good news is that once you understand the semantics behind propositions, properties aren't far out of reach. We still have the same concerns: capturing the intension rather than the extension, and enabling variables to refer to properties without creating a paradox. Properties are represented in the same way as propositions, just with an extra parameter or two added for the blanks. This means we get both function-type and individual-type representations. | |||
We use the function representation whenever a property in Toaq is spelled out explicitly with the complementizer {{Derani||lä}}. For example, the property in {{Derani| |Leo jí, lä nuo já}} would be interpreted as <math>\lambda a.\ \lambda w.\ \exists e.\ \tau(e) \subseteq \text{t} \land \text{nuo}_w(a)(e)</math>, a function of type <math>\left\langle \text{e}, \left\langle \text{s}, \text{t} \right\rangle \right\rangle</math>. And for a property with two blanks, you would use a function of type <math>\left\langle \text{e}, \left\langle \text{e}, \left\langle \text{s}, \text{t} \right\rangle \right\rangle \right\rangle</math>. | |||
But whenever a Toaq variable is used as a property, we need to fall back to the properties as individuals approach, using <math>\text{iq}</math> (type <math>\left\langle \text{e}, \left\langle \text{e}, \left\langle \text{s}, \text{t} \right\rangle \right\rangle \right\rangle</math>) or <math>\text{cuoi}</math> (type <math>\left\langle \text{e}, \left\langle \text{e}, \left\langle \text{e}, \left\langle \text{s}, \text{t} \right\rangle \right\rangle \right\rangle \right\rangle</math>) to access its semantic content. So, the correct interpretation of {{Derani| |Che nháo sá jua}} would be <math>\exists a : \text{jua}_\text{w}(a).\ \exists e.\ \tau(e) \subseteq \text{t} \land \text{che}_\text{w}(\text{nh}\mathrm{\acute{a}}\text{o}, \lambda b.\ \text{iq}(b, a))(e) </math>. | |||
== Notes == | == Notes == | ||
<references /> | <references /> |
Latest revision as of 18:49, 11 March 2024
Toaq is a loglang, which means that given any sentence, we can unambiguously derive its meaning in logic notation. Semantics, the study of meaning, guides us in determining what those results should look like, and how we might use our knowledge of syntax to derive them.
The refgram tells you that (Luı nuo sá tıqra nîe náokua) translates to . The reality is that this isn't "just" logic notation: it's a very specific notation that has been purpose-built for describing natural language semantics, and this article will help you understand the core concepts behind it.
Models
To help us reason about meaning more directly, mathematicians have come up with the idea of a model: a mathematical object that tells us exactly how to interpret statements in a given formal language. In its most basic form, a model has three parts:
- A signature, which is the set of all words and symbols found in the language, along with their syntactic properties.
- A domain, which is the set of all objects, functions, relations, etc. that the language is capable of representing.
- An interpretation, which is a function defining which symbols correspond to which elements of the domain.
For example, consider the language of basic arithmetic. A model for this language might look like this:
As it turns out, Toaq is a formal language too, which means we can reason about it using models. Now, being a human language, Toaq's semantics are quite a bit more complicated than that of arithmetic, but luckily for us, models are a pretty flexible concept, and we can extend them with extra features as we need them.
In its most basic form, a model for Toaq might look something like this:
As you can see, this model holds not just concepts like the meaning of "muao", but also context-sensitive information, such as what "káto" and "jí" refer to.
Say that you have an idea of what the world is like—maybe you have a mental model in your head, or maybe you have a database to look things up in. If your knowledge is complete enough, then that model lets you answer a question, or tell whether what someone said is true, by interpreting their words and then "looking up" the answer. But more often than not, people are working with incomplete knowledge. In this case, if someone tells you something, a model lets you interpret their words and then work backwards from the meaning to figure out what must be true about the world.
A note for the adventurous: There are alternative approaches to semantics that don't involve models, such as proof-theoretic semantics, in which the meaning of a statement is determined purely by its relationships to other statements in a formal proof system. There have been some attempts to apply this approach to Lojban and Toaq semantics[1][2], but when it comes to natural language semantics, the model-based approach described here is far more common.
Basic notation
Now, we're ready to talk about notation. When you see something like , what you're looking at are a bunch of things from the domain of the model. A lot of these words ( , , , , ) are functions; some others ( ) represent literal "things" from the domain, like physical objects, people, and ideas, which we'll call individuals. Together, these words form an expression that shows you how to calculate the truth value of a specific sentence (in this case, (Neo sá kato múao)), given that you have a model.
There's an important subtlety here: In languages like English and mathematical logic, you can use words to form statements such as "The sky is blue" and " ", or you can use them to form smaller expressions, like "the author of this book" and " ". But in the semantic notation we're looking at, there are no statements, only expressions, because the point of semantics is to examine the values that things denote, including the values of statements themselves. As such, it doesn't make sense to call this a "logic notation", because on its own, it can't form statements. Instead, we'll call it a semantic calculus.
One interesting thing about this notation is that every expression has a type, like some programming languages do. These include:
- , the type of individuals, which encompasses everything you can refer to in Toaq. This is a rather broad category, so to help us get more specific when we need it, it includes a couple of subtypes:
- , the type of events (things that can happen). More on them later.
- , the type of time intervals
- , the type of truth values, such as 'true' and 'false'
- , the type of worlds (frames of reference to evaluate claims by). More on them later.
There are also functions, for which we use angle brackets: is the type of functions that take an event as their input, and return a truth value as their output. Functions can take or return other functions: for example, is the type of functions that take a function from events to truth values, and return a function from time intervals to truth values.
To keep all these types straight, we give each a dedicated set of variables:
- for individuals
- for events
- for time intervals
- for worlds
- for functions (the exact type is left to context)
It turns out we don't need variables for truth values, so we don't assign them any.
Be careful when reading these letters, because italics are meaningful. There are some tricky pairs of symbols such as , which is a world variable, versus , which is a constant referring to the real world, and , which is a time interval variable, versus , which is a constant referring to the salient time interval.
Another important feature of this language is that it has a special syntax for writing functions, known as a lambda expression. They're easy to spot because they start with the Greek letter , and have two components: a variable name representing the function's input, and an expression representing the function's output. For example, is a function that takes a value as its input, and outputs the value . Since is a variable of type , and is an expression of type , we can tell that this function has type . Similarly, is a function of type which computes whether is an event of the speaker whispering.
You can apply these lambda functions to an argument in the same way you would apply a named function: by placing them before their argument, surrounded with parentheses. For example, if we say that is the function , then and are two ways of saying the same thing—they both evaluate to .
Finally, here are some common symbols that you'll see. It's no coincidence that these match the symbols used in mathematical logic, and even share the same syntax! But in the world of semantics, you should learn think of them as functions rather than operators that get special syntactic treatment.
- Conjunctions, which attach to two truth values and output a new truth value (type )
- for "and"
- for "or"
- Polarizers, which attach to one truth value and output a new truth value (type )
- for "not"
- for "indeed", "in fact"
- Quantifiers, which take a predicate (and optionally, another predicate to restrict the domain) and output a truth value (type or )
- for "some"
- for "every"
For example, we might write the interpretation of "indeed, every person is living or dead" as .
Events
One of the most basic jobs of any semantic theory is to define how verbs work. The traditional approach, used widely throughout mathematics, is to represent (Fa jí náomı) as , where the verb is interpreted as a function (here, ) receiving the subject and any objects as arguments. But sadly, this approach is unable to account for tense, aspect, or adverbs.
Modern semantics research has settled on a single concept to overcome all of these issues: events. An event is an extra argument passed to a verb representing the action itself; the instance of that verb "happening". For instance, represents whether is an event of the speaker going to the sea. Whereas the first two arguments represent the participants in the action (the goer and the destination), e stands for the thing that connects them: the going, or the journey. Then, a sentence like (Fa jí náomı) can be understood as claiming that there is such an event: . This system is credited to philosopher Donald Davidson, giving it the name Davidsonian event semantics.
This gives us a systematic way to deal with adverbs: to modify the verb, modify the event variable introduced by the verb. This is intended to reflect the intuition that "I slept briefly" has the same meaning as "My sleep was brief". For example, (Nuo jîm jí) can be interpreted as . And prepositions work similarly: for (Lao jí nîe jío) we would use — "whether there is some event of me waiting that is inside the building".
With events in our toolbox, tense and aspect also fall into place. If we imagine that every event has a temporal footprint (the points in time at which it takes place), then it seems reasonable that there should be a function to access this information. We call this , the temporal trace function (type ). Aspect is then understood as making a claim about an event's temporal structure, relative to a reference time determined by the tense. For instance, (tam) makes the claim that the event's temporal trace lies fully within the reference time: . (This one comes up a lot, because (tam) is the default aspect.) And (luı) makes the claim that the event's temporal trace comes before the reference time: .
So including aspect, the complete interpretation of (Fa jí náomı) should be . This is a little cumbersome to read, so you will sometimes see it abbreviated to when we're being lazy.
Presuppositions
Some statements carry a set of assumptions in addition to their main semantic content. When we say "The current king of France is bald", it is assumed that there is a current king of France. And likewise, the sentence (Luı nuo sá tıqra nîe náokua) carries the assumption that (náokua) actually refers to a bathroom. (It would be nonsensical to say such a thing while pointing to, say, a car!) The technical term for an assumption of this kind is a presupposition.
There's a trick that we can use to write presuppositions alongside a semantic expression: by leveraging the mathematical notion of an expression being undefined. Just as is undefined when , "the current king of France" should be undefined when France has no king. In semantic notation, we write this as . This restricts the possible models to only those that set to be a king of France.
Note that this clause can appear anywhere within an expression, not just at the top level. One example where it needs to be embedded in a sub-expression is in (Gaq tú deo ké pao âq). This becomes: . Moving the clause to the top level wouldn't work, because it uses the variable , which is only available inside the scope of the function.
In lambda expressions, you might also come across the syntax , where is imagined to be a quantifier restricted by . This is the same thing as writing .
Worlds
Another important concept for any semantic theory to cover is modality: the treatment of words such as (she), (daı), (ao), and (dı). We use these words to make claims not about the actual state of the world, but about possibilities, obligations, or beliefs. The tried and true system for reasoning about modality, named after philosopher Saul Kripke, is known as Kripke semantics.
In Kripke semantics, we imagine that there are a multitude of worlds: one world, , represents the real world, while others represent alternate timelines. Then, every verb is extended to take a world argument: for example, computes whether there is an event of the speaker whispering in the real world, with the world variable being written in a subscript for readability.
In this framework, we can understand modals as making claims about alternate worlds. For instance, (Shê, ꝡä tao sı súq fáfuaq, nä cho súq hóq) means "in all possible worlds, minimally different from the real world, in which you go to see the movie, you like it". In semantic notation, that looks like: . The function is the part that stands for " is a possible world minimally different from the real world". The technical term for this function is the accessibility relation, because it defines which worlds we can "access" and talk about using the modal (she).
Some modals, such as (daı), use the quantifier instead of , because for something to be possible, it only needs to be true in one possible world. Other modals, such as (dı), use a completely different accessibility relation ( ) to talk about acceptable worlds rather than possible worlds. And other modals, such as (ao), use an accessibility relation that presupposes that the complement is not true in the reference world, to achieve a counterfactual effect. This world metaphor really is flexible enough to account for all modals!
Note that similarly to events, we sometimes get lazy and neglect to write the world arguments on verbs.
Propositions
A proposition is, in the broadest sense, anything that bears a truth value, such as a fact, a belief, or the meaning of a sentence. We can say that the sentence "Die Erde ist ein Planet" expresses the proposition that the Earth is a planet, and likewise, in the sentence "I believe that I saw a ghost", we can identify "that I saw a ghost" as referring to the proposition that the speaker saw a ghost.
In Toaq, we use the complementizer (ꝡä) to create a reference to a proposition, which can then become the complement of another verb. So, our semantic theory needs to account for this construct, and it turns out that it's best to use two different "interpretations" of propositions for this purpose.
The first interpretation is propositions as functions. The idea is to interpret a complementizer phrase as a function which takes a world as an input, and outputs the truth value of the proposition in that world (type ). So for example, in (Chı jí, ꝡä za ruqshua), we would interpret the complementizer phrase as , and pass this as an argument to the main verb, giving . Note that it would be wrong to interpret the complementizer phrase as , because this evaluates to a simple truth value, which fails to capture the statement's semantic content. No one goes around saying "I believe [TRUE]" or "I believe [FALSE]". By using a function, we capture the statement's intension (its abstract connotation) rather than its extension (the concrete truth value held by the statement in the real world).
This approach is nice and simple, but it does have limitations. In Toaq, we can not only reference propositions with (ꝡä), but we can also assign them to variables, or even quantify over them, as in the sentence (Dua jí sía raı). A naive approach to interpreting this sentence would be , where the variable (ráı) is taken to range over functions of type . But if you let Toaq variables range over functions from the model, this now lets you construct the liar paradox, a sentence which contradicts itself: (Sahu ní ruaqse). Interpreting this sentence, we get , which is problematic. Philosophers have studied this paradox extensively, and come up with a few different possible responses:
- Restrict the language's syntax so that it can't even express the liar paradox (not an option for a human language like Toaq)
- Allow models to contain contradictions, by departing from classical logic in some way (for example, by adding a 3rd truth value, or otherwise weakening the logic to prevent explosion)
- Use a more specific notion of truth for propositions, so that the language doesn't literally contain its own truth predicate
Both of the last two options will work, and we should ensure that our semantic notation can accommodate either of them as resolutions to the paradox. This is where the second interpretation comes in: propositions as individuals. The idea is to let some individuals stand for propositions, and use the functions and (both of type ) to access their semantic content. There could also be a function (type ) which lets you convert propositions in the other direction, from functions to individuals. With this approach, quantifying over propositions, as in (Dua jí sía raı), looks like this: . Note the use of to convert the variable into an , which enables us to reuse the same version of that takes propositions.
The consequence of this approach is that we now have a layer of abstraction to play with ( and ), so that models are free to apply any reasonable resolution to the liar paradox. For example, we can allow the contradiction to exist by setting directly equal to , or we can let and refer to some more specific notion of truth that is resistant to the liar paradox, such as Kripkean truth[3] or stable/categorical truth[4].
Properties
A property is an incomplete proposition; a claim with blanks to be filled. A simple example would be the property "◯ is red", also known as "to be red" or simply "redness". By filling in the blank, you get a proposition: "the apple is red". Properties can be arbitrarily complex, containing nested clauses or even multiple blanks: for example, "◯ can't believe that ◯ is not butter". In Toaq, properties are marked by the complementizer (lä).
The good news is that once you understand the semantics behind propositions, properties aren't far out of reach. We still have the same concerns: capturing the intension rather than the extension, and enabling variables to refer to properties without creating a paradox. Properties are represented in the same way as propositions, just with an extra parameter or two added for the blanks. This means we get both function-type and individual-type representations.
We use the function representation whenever a property in Toaq is spelled out explicitly with the complementizer (lä). For example, the property in (Leo jí, lä nuo já) would be interpreted as , a function of type . And for a property with two blanks, you would use a function of type .
But whenever a Toaq variable is used as a property, we need to fall back to the properties as individuals approach, using (type ) or (type ) to access its semantic content. So, the correct interpretation of (Che nháo sá jua) would be .
Notes
- ↑ brismu, a sketch of an inferential approach to Lojban semantics
- ↑ Hoemuı, the beginnings of a sketch of an inferential approach to Toaq semantics (super outdated)
- ↑ Kripke, S., 1975, “Outline of a theory of truth”, Journal of Philosophy, 72: 690–716.
- ↑ The Revision Theory of Truth (Stanford Encyclopedia of Philosophy)