Documentation

Linglib.Syntax.PolarInterrogative

Polar interrogatives and their answers #

This file formalizes the syntax of yes–no questions and their answers of [Hol16]. A PolarInterrogative is a sentence radical, its positive alternative, with a ClauseNegation, the negation of the clause, if any, with its height relative to the polarity head. Its primary alternative is the radical under the polarity the negation gives it, and it denotes the polar question of that alternative; a negative interrogative and its positive counterpart denote the same question, differing only in which alternative is primary (PolarInterrogative.denote_eq_polar_radical), whose alternatives are the polarity alternatives of the radical (PolarInterrogative.alt_denote).

The polarity head is merged unvalued, and a short answer merges a focused valued polarity feature, spelled out by an answer particle, with the clause inherited from the question, normally elided. An AnswerFeature is that feature: a valued [+Pol] or [−Pol], or the affirmative [+Pol, REV] of a polarity-reversing particle such as Swedish jo, which eliminates the negation in the answer. Given the negation of the clause the answer inherits, AnswerFeature.answer computes the polarity of the alternative the answer confirms, relative to the question's positive alternative, or none for an ill-formed answer; the action of Polarity on propositions turns that polarity into the alternative itself.

A negation out of the polarity head's reach, such as a low, VP-internal one, leaves the particle to value the head, and the value composes with the negation: an affirmative particle confirms the negative alternative, a negative one is a double negation. A middle negation values the head itself: a negative particle agrees with it and a plain affirmative clashes with it.

The answers a feature gives to the questions whose negations a language allows form a set of Discourse.Responses (AnswerFeature.responses), the carrier of the polarity features of [FB10], to whom [Hol16] credits REV: a reversing feature gives exactly the [reverse, +] answers (AnswerFeature.responses_reversing). The systems for answering negative questions are properties of these sets (Discourse.Response.ConfirmsNegativeQuestion), and the mechanism derives them from the height of the negation: the affirmative feature confirms the negative alternative just when the negation is low, the truth-based system (AnswerFeature.confirmsNegativeQuestion_responses_positive_iff), and the negative feature just when it is middle, the polarity-based system (AnswerFeature.confirmsNegativeQuestion_responses_negative_iff); after a high negation neither does, the question being answered like a neutral one.

Implementation notes #

References #

inductive AnswerFeature :

The feature an answer particle spells out ([Hol16]): a valued polarity feature, or the affirmative polarity-reversing feature of jo, [jo, +Pol, REV].

  • value (p : Polarity) : AnswerFeature

    A valued polarity feature, [+Pol] or [−Pol].

  • reversing : AnswerFeature

    [+Pol, REV]: positive polarity eliminating a negation in the answer.

Instances For
    @[instance_reducible]
    Equations
    def instReprAnswerFeature.repr :
    AnswerFeature → ℕ → Std.Format
    Equations
    • One or more equations did not get rendered due to their size.
    • instReprAnswerFeature.repr AnswerFeature.reversing prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "AnswerFeature.reversing")).group prec✝
    Instances For
      inductive NegationHeight :

      Structural height of a sentential negation relative to the polarity head. The height classifies constructions, not languages: English not is read low by some speakers and middle by others, and low by all after an adverb; -n't in positive-bias questions is high.

      • low : NegationHeight

        Negation below the reach of the polarity head, VP-internal (English not on its low reading).

      • middle : NegationHeight

        Negation in a local c-command relation to the polarity head (Swedish, Finnish, English not on its middle reading).

      • high : NegationHeight

        Negation above the polarity head, in the C-domain (English -n't in positive-bias questions).

      Instances For
        @[instance_reducible]
        Equations
        def instReprNegationHeight.repr :
        NegationHeight → ℕ → Std.Format
        Equations
        Instances For
          @[instance_reducible]
          Equations
          @[instance_reducible]
          Equations

          The position of the negation of a negative polar interrogative relative to the rest of the clause ([RH04]): preposed with the finite verb, as English n't in Isn't Jane coming?, or not, as not in Is Jane not coming?. What matters is the relative position, not a particular one. The form of a polar interrogative is an Option NegationPosition, none for a positive question: [Rom24]'s PosQ, LoNQ and HiNQ.

          Instances For
            @[instance_reducible]
            Equations
            @[instance_reducible]
            Equations
            Equations
            Instances For
              inductive ClauseNegation :

              The negation of a clause relative to its polarity head, if any. An answer inherits the negation of the clause it answers.

              • absent : ClauseNegation

                No negation: a neutral question or a positive statement.

              • height (h : NegationHeight) : ClauseNegation

                A negation of the given height, nothing intervening between it and the polarity head.

              • screened : ClauseNegation

                A middle negation screened from the polarity head by an adverb scoping over it, as in Swedish Har Johan nångång inte kommit i tid?.

              Instances For
                def instReprClauseNegation.repr :
                ClauseNegation → ℕ → Std.Format
                Equations
                Instances For
                  @[instance_reducible]
                  Equations
                  @[instance_reducible]
                  Equations

                  The negation is inside the clause the answer inherits, so that both alternatives of the question contain it: a low or middle negation.

                  Equations
                  Instances For
                    @[instance_reducible]
                    Equations
                    • One or more equations did not get rendered due to their size.

                    The polarity of the question's primary alternative relative to its positive alternative: negative when the negation is inside the inherited clause.

                    Equations
                    Instances For

                      The negation values the polarity head: a middle negation not screened off by an adverb.

                      Equations
                      Instances For
                        structure PolarInterrogative (W : Type u_1) :
                        Type u_1

                        A polar interrogative: its sentence radical, the positive alternative, and its negation.

                        • radical : Set W

                          The sentence radical, the positive alternative.

                        • negation : ClauseNegation

                          The negation of the interrogative.

                        Instances For

                          The primary alternative: the radical under the polarity its negation gives it, negative when the negation is inside the clause.

                          Equations
                          Instances For
                            @[instance_reducible]

                            A polar interrogative denotes the polar question of its primary alternative, the disjunction of that alternative and its negation.

                            Equations
                            @[simp]

                            A negative interrogative denotes the same question as its positive counterpart: the negation decides which alternative is primary, not what the alternatives are.

                            theorem PolarInterrogative.alt_denote {W : Type u_1} {q : PolarInterrogative W} (hne : q.radical ≠ ∅) (hnu : q.radical ≠ Set.univ) :

                            The alternatives of a polar interrogative with a nontrivial radical are the values of its polarity variable applied to the radical, its polarity alternatives.

                            The polarity of the alternative an answer confirms, relative to the positive alternative, or none when the answer is ill formed. A reversing feature eliminates the negation inside the inherited clause and values the head, and is ill formed without one. Otherwise, if the negation values the head, a negative feature agrees with it and an affirmative one clashes with it; if not, the feature values the head, composing with a negation inside the clause.

                            Equations
                            Instances For

                              A reversing feature eliminates the negation inside the clause and values the head.

                              A reversing feature has no negation to eliminate outside a negative-bias question.

                              A negation valuing the head: a negative feature agrees with it, confirming the negative alternative, and an affirmative one clashes with it.

                              Without a negation valuing the head, a valued feature values it and composes with the polarity of the primary alternative.

                              A negation inside the clause that does not value the head admits every feature, so a truth-based configuration has no need of a reversing particle.

                              The answers a feature gives to polar questions whose negations are among N: the polarity of a question's primary alternative, and that of the alternative the answer confirms.

                              Equations
                              Instances For

                                REV is [reverse, +] ([FB10]): once some negation of N is inside the clause, a reversing feature gives exactly the positive answers reversing the primary alternative.

                                The answers of a feature to questions whose negations are among N confirm the negative alternative of a negative question iff some negation of N inside the clause yields it.

                                The truth-based system: the affirmative feature confirms the negative alternative of a question whose negation has height h iff the negation is low, out of the polarity head's reach.

                                The polarity-based system: the negative feature confirms the negative alternative of a question whose negation has height h iff the negation is middle, valuing the polarity head.