User:Magnap/Inquisitive Semantics Proposal: Difference between revisions

From The Toaq Wiki
m (Restructure a little)
(Elucidate proposal aims)
Line 38: Line 38:
<math>!\exists x. \text{P}\left(x\right)</math> is only the assertion of existence.
<math>!\exists x. \text{P}\left(x\right)</math> is only the assertion of existence.


==TODO proposal aims/goals==
==Proposal aims (not final)==
'''Note''': this is an ordered list, in order of decreasing priority.


1. Preserve "declarative Toaq" fully.
No non-question Toaq sentence should have its meaning altered.
2. Minimal changes to existing question grammar
Ideally none, depending on my comfort level (and that of the community when I ask!) with new mandatory grammar words vs adding implicit behavior. Ideally I can find default behavior that is simultaneously least informative ''and'' least inquisitive, allowing Toaq users to add it on demand, while never accidentally implying something they didn't mean to nor asking for information they didn't necessarily require.
3. Opening up new possibilities for communication
Propositions like <math>\text{P} \lor \text{Q}</math> and <math>\text{P} \to{} ?\text{Q}</math> ("would <math>\text{Q}</math> necessarily be true if <math>\text{P}</math> were?") are useful-seeming, delightful, and intriguing to me, and I want to preserve as many of them in the semantics of Toaq clauses as possible, albeit only to such an extent that Toaq remains a language learnable, understandable, and usable by humans.
4. Simplicity
A Heyting algebra as opposed to a Boolean one means a lot of new no longer equivalent logic constructions, among these a whole host of possible connectives. Let's aim for the smaller side when picking a subset of those that must nevertheless not only be sufficient for natural communication, but allow expressing every possible statement without too much hassle. NAND is functionally complete on its own for Boolean logic but you don't want to speak a language whose only connective is NAND.


==TODO proposal details==
==TODO proposal details==

Revision as of 20:17, 23 September 2024

Inquisitive semantics provides a framework that we can use to give well-defined and reasonable semantics to questions (both direct and indirect) in Toaq.

Background

This page assumes some background in classical first-order logic and possible-world semantics. If you know enough to get the gist of the basics of Toaq semantics, you should be good to go. If not, here's very briefly what you need to know: we can have a model of classical propositional logic where we represent each proposition by the set of "possible worlds" where it is true, where a "possible world" for this model is some object that completely determines the truth value of every proposition. Then, to judge truth, we distinguish a possible world that we call the real world, and say that a proposition is true if the set that represents it contains the real world. Then, we have ways to interpret , , and the other symbols of propositional logic as functions on sets, such that we can translate any statement in propositional logic to a set of possible worlds, in such a way that it "is true" (contains the real world) exactly when the statement is true. Oh, and this generalizes to classical first-order logic as well. Finally, if we have functions, we don't need to explicitly have sets as a "type of object": we can represent a set as a function that tells you whether some object is in the set or not, and you can "get the set back" by applying that function to everything and only keeping the things it returns true on. That way, you can choose to think of a proposition as either a set of possible worlds, or as a function from possible worlds to a truth value.

In inquisitive semantics, rather than being subsets of all possible worlds (of type ), propositions are taken to be nonempty sets of subsets of all possible worlds (of type ), downward closed under containment (meaning that, for some proposition , if , then for all , ). In other words, they are specially-structured sets of what we are used to thinking of as propositions. On the basis of this idea of a proposition, a semantics for first-order logic can be built, that, if we take truth for a proposition to be , is extensionally equivalent to classical predicate logic.

For an explanation of this semantics, see the book chapter "A first-order inquisitive semantics". Briefly:

  • A proposition in the truth-conditional sense (the set of possible worlds where it holds) is lifted into the semantics by taking it to its powerset
  • Negation takes a proposition to its complement
  • Conjunction is intersection
  • Disjunction is union
  • Universal quantification is conjunction over all individuals
  • Existential quantification is disjunction over all individuals
  • (for implication, look at the paper, I don't have a brief explanation for it)

With propositions being downward closed sets, we can always represent them in terms of their maximal elements, which are those elements which are not subsets of any other element. If you think of inquisitive propositions as sets of truth-conditional propositions, the maximal elements are those elements that don't imply any other element. The maximal elements of a proposition are called its alternatives, and are meaningful to inquisitive semantics. A proposition asserts that the real world is in at least one of the (possibly overlapping) alternatives, and simultaneously asks for enough information to conclude, for at least one alternative, that the real world is in it.

An important thing to bear in mind about inquisitive semantics is that it does not give us a Boolean algebra, but only a Heyting algebra, meaning that is not guaranteed. In fact, the non-inquisitive projection operator , which collapses all the alternatives of a proposition into just one which contains them all, thus keeping the assertion the same but ensuring that no question is asked, is just . Another important operator is the non-informative projection operator , which ensures that a proposition does assert anything by adding an alternative which covers all worlds that would otherwise have been ruled out.

Examples

does not assert anything, but asks (for enough information to conclude) whether is the case.

asserts that at least one of and is the case, and asks for enough information to conclude, for one of them, that it is true. In other words, it asks to know "which one is true?" without the implication that it couldn't be both.

asserts the same, but asks for more information. It asks (for enough information) to be able to conclude exactly which of the 3 cases is true: only , only , or both?

only asserts that at least one of and is the case, without asking anything.

does not assert anything, and asks, for each , whether is the case or not.

asserts that that an exists such that , and asks for enough information to identify at least one such .

does not assert anything, and asks either to be able to conclude that no exists which satisfies , or to be able to identify at least one which does.

is only the assertion of existence.

Proposal aims (not final)

Note: this is an ordered list, in order of decreasing priority.

1. Preserve "declarative Toaq" fully.

No non-question Toaq sentence should have its meaning altered.

2. Minimal changes to existing question grammar

Ideally none, depending on my comfort level (and that of the community when I ask!) with new mandatory grammar words vs adding implicit behavior. Ideally I can find default behavior that is simultaneously least informative and least inquisitive, allowing Toaq users to add it on demand, while never accidentally implying something they didn't mean to nor asking for information they didn't necessarily require.

3. Opening up new possibilities for communication

Propositions like and ("would necessarily be true if were?") are useful-seeming, delightful, and intriguing to me, and I want to preserve as many of them in the semantics of Toaq clauses as possible, albeit only to such an extent that Toaq remains a language learnable, understandable, and usable by humans.

4. Simplicity

A Heyting algebra as opposed to a Boolean one means a lot of new no longer equivalent logic constructions, among these a whole host of possible connectives. Let's aim for the smaller side when picking a subset of those that must nevertheless not only be sufficient for natural communication, but allow expressing every possible statement without too much hassle. NAND is functionally complete on its own for Boolean logic but you don't want to speak a language whose only connective is NAND.

TODO proposal details

Lift Toaq's current first-order truth-conditional semantics into first-order inquisitive semantics.

TODO Show how and can be used to build a good semantics for questions, such as with and variants for exhaustivity. Do we end up needing the completeness operators? For embedded clauses only or also main clauses?