Documentation

Linglib.Semantics.Focus.Marking

Focus marking #

A focus indicates the presence of alternatives that are relevant to interpretation, Krifka's definition of the notion after Rooth's alternative semantics. A constituent is F-marked or unfeatured (Focus.Mark). An F-marked constituent keeps its ordinary value and evokes every value of its type, and an unfeatured one evokes what its parts compose (WithAlternatives.mark), so the two marks are ordered by the alternatives they evoke, unfeatured below F-marked. Where a language realizes a focus is a separate matter, and one cut is whether the focused constituent stays in its base position or is fronted (Focus.Strategy).

Main definitions #

Main results #

References #

inductive Focus.Mark :

A constituent is F-marked or unfeatured.

  • unfeatured : Mark

    The constituent bears no focus feature.

  • focused : Mark

    The constituent bears the focus feature.

Instances For
    @[instance_reducible]
    instance Focus.instDecidableEqMark :
    DecidableEq Mark
    Equations
    @[instance_reducible]
    instance Focus.instReprMark :
    Repr Mark
    Equations
    def Focus.instReprMark.repr :
    Mark → ℕ → Std.Format
    Equations
    Instances For
      @[instance_reducible]
      instance Focus.instFintypeMark :
      Fintype Mark
      Equations
      @[instance_reducible]
      instance Focus.instLinearOrderMark :
      LinearOrder Mark
      Equations
      instance Focus.instIsSimpleOrderMark :
      IsSimpleOrder Mark
      inductive Focus.Strategy :

      A focused constituent is realized in its base position or fronted to the left periphery of its clause.

      • inSitu : Strategy

        The focus stays in its base position.

      • exSitu : Strategy

        The focus is fronted.

      Instances For
        @[instance_reducible]
        Equations
        def Focus.instReprStrategy.repr :
        Strategy → ℕ → Std.Format
        Equations
        Instances For
          @[instance_reducible]
          Equations
          @[instance_reducible]
          Equations

          The meaning of a constituent bearing a mark. F-marking keeps the ordinary value and makes the alternatives the whole type; an unfeatured constituent keeps the alternatives of its parts.

          Equations
          Instances For
            @[simp]

            An F-marked constituent of a type with two values evokes two alternatives.

            @[simp]
            theorem WithAlternatives.alternatives_map₂_focused_unfeatured {α : Type u_1} {β : Type u_2} {γ : Type u_3} (f : α → β → γ) (x : α) (y : β) :
            (map₂ f ((unfeatured x).mark Focus.Mark.focused) ((unfeatured y).mark Focus.Mark.unfeatured)).alternatives = Set.range fun (x : α) => f x y

            Narrow focus on the first argument of a predication f x y evokes f x' y for every x'.

            @[simp]
            theorem WithAlternatives.alternatives_map₂_unfeatured_focused {α : Type u_1} {β : Type u_2} {γ : Type u_3} (f : α → β → γ) (x : α) (y : β) :

            Narrow focus on the second argument of a predication f x y evokes f x y' for every y'.

            theorem WithAlternatives.alternatives_mark_subset_alternatives_mark_iff {α : Type u_1} {d : WithAlternatives α} (hd : d.alternatives ≠ Set.univ) {m m' : Focus.Mark} :
            (d.mark m).alternatives ⊆ (d.mark m').alternatives ↔ m ≤ m'

            Unless a constituent already evokes its whole type, its alternatives grow exactly along the order of the marks: the order on marks is the order of the alternatives they evoke.

            theorem WithAlternatives.mark_eq_bind {σ : Type u} {d : WithAlternatives σ} (hd : d.WellFormed) (m : Focus.Mark) :
            d.mark m = do let a ← d (pure a).mark m

            On a well-formed meaning a mark is a continuation: each alternative is bound into the meaning of a terminal bearing the mark, so F-marking replaces it by the whole type.

            theorem WithAlternatives.ordinary_eq_of_given_mark_focused_bind {σ τ : Type u} {d : WithAlternatives σ} {k : σ → WithAlternatives τ} (hk : ∀ (a : σ), (k a).WellFormed) {c : τ} (h : (d.mark Focus.Mark.focused >>= k).Given c) (a : σ) :
            (k a).ordinary = c

            An F-marked constituent under a continuation with well-formed values is Given only if the ordinary values of the continuation ignore it.