Documentation

Linglib.Theories.Semantics.Exhaustification.Interface

Positions where EXH can occur in a doubly-quantified sentence.

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

      Convert EXH positions to a parse

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

        All 8 EXH parses for doubly-quantified sentences

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

          Check if a parse includes a specific EXH position

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

            Different exhaustification strategies from the literature.

            • IE: Innocent Exclusion Excludes alternatives that can be consistently excluded in ALL maximal ways.

            • MW: Maximal Worlds / Minimal Models Keeps only minimal worlds relative to the alternative ordering.

            Theorem 9: When ALT is closed under ∧, exhIE = exhMW.

            Instances For
              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                def Exhaustification.Interface.applyExh {World : Type u_1} (op : ExhOperator) (ALT : Set (Prop' World)) (φ : Prop' World) :
                Prop' World

                Apply an exhaustification operator to a proposition given alternatives.

                This is the single entry point for applying EXH to a proposition. All theories should use this rather than calling exhIE/exhMW directly.

                Equations
                Instances For
                  theorem Exhaustification.Interface.ie_eq_mw_when_closed {World : Type u_1} (ALT : Set (Prop' World)) (φ : Prop' World) (hclosed : closedUnderConj ALT) :

                  When ALT is closed under conjunction, both operators agree. This is Theorem 9 from @cite{spector-2016}.

                  @[reducible, inline]

                  Alternatives can vary by EXH position.

                  For "Q₁ Xs V'd Q₂ Ys":

                  • Position M (matrix): alternatives to the whole sentence
                  • Position O (outer): alternatives to Q₁
                  • Position I (inner): alternatives to Q₂

                  Each position may have different scalar alternatives.

                  Equations
                  Instances For
                    def Exhaustification.Interface.applyExhAtParse {World : Type u_1} (op : ExhOperator) (p : Core.Parse) (base : Prop' World) (altsAt : AlternativesAtPosition World) :
                    Prop' World

                    Apply EXH at positions indicated by a Parse.

                    This is the single entry point for parse-guided exhaustification.

                    Given:

                    • op: Which EXH operator to use (IE or MW)
                    • p: A parse indicating EXH positions (e.g., "MOI" means EXH at M, O, and I)
                    • base: The literal meaning (no EXH)
                    • altsAt: Alternatives at each position

                    Returns: The meaning after applying EXH at all indicated positions.

                    Application order: I → O → M (innermost first, standard scope convention).

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      theorem Exhaustification.Interface.literal_parse_is_identity {World : Type u_1} (op : ExhOperator) (base : Prop' World) (altsAt : AlternativesAtPosition World) :

                      The literal parse (no EXH) returns the base meaning unchanged.

                      theorem Exhaustification.Interface.single_position_exh {World : Type u_1} (op : ExhOperator) (pos : ExhPosition) (base : Prop' World) (altsAt : AlternativesAtPosition World) :
                      have p := parseFromExhPositions [pos]; applyExhAtParse op p base altsAt = applyExh op (altsAt pos) base

                      EXH at a single position applies that operator once.

                      Typeclass for sentence types where EXH can insert at parse positions.

                      Design decisions:

                      1. exhOperator: Which operator to use (default: IE)
                      2. literalMeaning: Base meaning before any EXH
                      3. alternativesAt: Position-dependent alternatives

                      The meaning under a parse is computed by meaningAtParse, which calls applyExhAtParse with the unified EXH machinery.

                      When to use this:

                      • RSA models with grammatical ambiguity about EXH placement
                      • Any theory that needs to reason about EXH insertion sites

                      When not to use this:

                      • exhOperator : ExhOperator

                        Which EXH operator to use (default: Innocent Exclusion)

                      • parses : List Core.Parse

                        Available EXH parses (typically Core.exhParses)

                      • literalMeaning : SentenceWorldBool

                        Literal meaning (no EXH applied)

                      • alternativesAt : SentenceAlternativesAtPosition World

                        Alternatives at each EXH position, given a sentence

                      Instances

                        Compute the meaning of a sentence under a specific parse.

                        This uses the unified applyExhAtParse machinery, ensuring all theories that use Exhaustifiable apply EXH consistently.

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

                          The literal parse gives the literal meaning.

                          @cite{spector-2007}'s insight: Exhaustification is derivable from Gricean maxims.

                          This doesn't add computational content, but documents the theoretical connection between:

                          • WHY we exhaustify (Gricean reasoning, @cite{spector-2007})
                          • HOW we exhaustify (exhIE/exhMW operators, @cite{spector-2016})
                          • WHERE we exhaustify (Parse positions, this interface)
                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For

                            Convert to RSA meaning function (φ : Interp → World → Utt → Bool)

                            Equations
                            Instances For