Documentation

Linglib.Processing.Cost.Profile

Processing profiles and Pareto comparison #

[LV05]

A ProcessingProfile records the ordinal difficulty of a linguistic dependency along four dimensions (locality, boundaries crossed, referential load, retrieval ease). Profiles are compared by Pareto dominance — the partial order that is the product of the three cost dimensions with the dualized ease dimension — so a condition counts as harder only when it is worse-or-equal on every dimension and strictly worse on one; conflicting dimensions are honestly incomparable. Core.Optimization.Linearization characterizes this order: dominance is exactly agreement of every strictly positive weighted-sum reading, so no magic weights are chosen here.

Main definitions #

Main results #

A processing profile characterizing the difficulty of a linguistic dependency. Each dimension is ordinal (higher = more of that factor); comparison is via Pareto dominance — no numeric aggregation.

  • locality :

    Distance (words/nodes) between filler and integration site

  • boundaries :

    Clause or phrase boundaries crossed

  • referentialLoad :

    Referential processing load from intervening material (0 = none/pronominal, 1 = indefinite, 2 = definite/proper name)

  • ease :

    Retrieval facilitation: richer fillers, higher predictability (higher = easier retrieval, so this dimension is dualized in comparison)

Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      def ProcessingModel.instDecidableEqProcessingProfile.decEq (x✝ x✝¹ : ProcessingProfile) :
      Decidable (x✝ = x✝¹)
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        Result of comparing two processing profiles via Pareto dominance.

        • harder : CompareResult

          Worse-or-equal on all dimensions, strictly worse on at least one.

        • easier : CompareResult

          Better-or-equal on all dimensions, strictly better on at least one.

        • equal : CompareResult

          Identical on all dimensions.

        • incomparable : CompareResult

          Some dimensions harder, some easier.

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

            Pareto order: a ≤ b iff a is at most as hard as b — at most as high on every cost dimension and at least as high on ease.

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

            The four-way readout of the Pareto order.

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

              Monotonicity #

              Increasing a cost dimension (or decreasing ease) cannot make processing easier — one-line consequences of the order.

              theorem ProcessingModel.ProcessingProfile.locality_monotone (p : ProcessingProfile) (k : ) :
              { locality := p.locality + k + 1, boundaries := p.boundaries, referentialLoad := p.referentialLoad, ease := p.ease }.compare p CompareResult.easier

              More locality → not easier (working memory decay).

              theorem ProcessingModel.ProcessingProfile.boundaries_monotone (p : ProcessingProfile) (k : ) :
              { locality := p.locality, boundaries := p.boundaries + k + 1, referentialLoad := p.referentialLoad, ease := p.ease }.compare p CompareResult.easier

              More boundaries → not easier (interference at retrieval).

              theorem ProcessingModel.ProcessingProfile.referentialLoad_monotone (p : ProcessingProfile) (k : ) :
              { locality := p.locality, boundaries := p.boundaries, referentialLoad := p.referentialLoad + k + 1, ease := p.ease }.compare p CompareResult.easier

              More referential load → not easier (similarity-based interference).

              theorem ProcessingModel.ProcessingProfile.ease_monotone (p : ProcessingProfile) (k : ) :
              { locality := p.locality, boundaries := p.boundaries, referentialLoad := p.referentialLoad, ease := p.ease + k + 1 }.compare p CompareResult.harder

              More ease → not harder (facilitation aids retrieval).

              Typeclass for types that can be mapped to processing profiles: the shared vocabulary modules use to state processing-based predictions.

              Instances

                An ordering prediction: condition harder should be harder than easier.

                • harder : α
                • easier : α
                • description : String
                Instances For
                  def ProcessingModel.instReprOrderingPrediction.repr {α✝ : Type} {inst✝ : HasProcessingProfile α✝} [Repr α✝] :
                  OrderingPrediction α✝Std.Format
                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For

                    Verify that Pareto ordering matches the predicted direction.

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