Documentation

Linglib.Syntax.DependencyGrammar.Formal.HarmonicOrder

Harmonic Word Order via Dependency Length Minimization #

[Dry92] [FLG20] [Gib25] [Gre63]

[Gib25] argues that dependency length minimization (DLM) explains the head-direction generalization: consistent head direction (HH or FF) keeps spine dependencies local, while mixed direction (HF or FH) forces intervening subtree material between a head and its spine dependent. For single-word (leaf) dependents the direction is irrelevant because there is no subtree to intervene.

Main declarations #

Implementation notes #

Chain total dependency length #

For a sequence of positions p[0], p[1], …, p[k] representing a chain of dependencies (head → dep₁ → dep₂ → …), the total dependency length is the sum of |p[i+1] - p[i]|. Monotone sequences achieve the lower bound span = max - min; non-monotone sequences strictly exceed it.

def DepGrammar.HarmonicOrder.chainTDL :
List

Total dependency length of a chain of positions: sum of consecutive absolute differences |p[i+1] - p[i]|.

Equations
Instances For

    A list is monotone ascending.

    Equations
    Instances For
      @[implicit_reducible]
      Equations
      • One or more equations did not get rendered due to their size.
      def DepGrammar.HarmonicOrder.listSpan (l : List ) :

      The span of a list: max - min. For a chain of k+1 positions this is the minimum possible chainTDL.

      Equations
      Instances For

        Chain TDL substrate (foldl helpers) #

        Core chain TDL theorems #

        Triangle inequality for chains: chainTDL l ≥ listSpan l.

        A monotone-ascending chain achieves chainTDL = listSpan.

        Intervening material in projective trees #

        The structural heart of [Gib25]'s argument: dependency length between head h and dependent d is bounded below by 1 plus the number of d's subtree members that fall between h and d in linear order.

        def DepGrammar.HarmonicOrder.subtreeMembers (t : DepTree) (idx : ) :
        List

        All transitive descendants of idx, excluding idx itself.

        Equations
        Instances For
          def DepGrammar.HarmonicOrder.interveningSubtreeNodes (t : DepTree) (headPos depPos : ) :

          Number of nodes from subtreeMembers t depPos that fall strictly between headPos and depPos in linear order.

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

            Dependency length is at least 1 plus the number of intervening subtree nodes of the dependent. Strict equality holds when d's subtree is the sole occupant of (h, d) — the harmonic-order scenario in ### Harmonic vs disharmonic trees.

            Leaf (single-word) exception #

            A leaf dependent has no subtree, so no nodes can intervene regardless of direction. This is the formal basis for [Gib25]'s exception for single-word adjectives, demonstratives, intensifiers, and negation markers.

            def DepGrammar.HarmonicOrder.isLeaf (t : DepTree) (idx : ) :
            Bool

            A node is a leaf if it has no dependents.

            Equations
            Instances For
              theorem DepGrammar.HarmonicOrder.leaf_no_subtree_members (t : DepTree) (idx : ) (h : isLeaf t idx = true) :
              subtreeMembers t idx = []

              A leaf has no subtree members.

              theorem DepGrammar.HarmonicOrder.leaf_no_intervening (t : DepTree) (headPos depPos : ) (h : isLeaf t depPos = true) :
              interveningSubtreeNodes t headPos depPos = 0

              A leaf contributes zero intervening nodes for any head position.

              theorem DepGrammar.HarmonicOrder.leaf_direction_irrelevant_bridge (h d : ) :
              DependencyLength.depLength { headIdx := h, depIdx := d, depType := UD.DepRel.amod } = DependencyLength.depLength { headIdx := d, depIdx := h, depType := UD.DepRel.amod }

              Bridge to single_dep_direction_irrelevant: a single leaf dependency has the same length regardless of direction.

              Harmonic vs disharmonic trees #

              [Gib25]'s recursive-embedding pattern: a verb takes a clausal complement, embedded three levels deep. Head-initial (HI) and head-final (HF) consistent orders share the same TDL; mixed orders inflate it.

              Consistent head-initial (HI) tree: V₁ S₁ V₂ S₂ V₃ O₃.

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

                Consistent head-final (HF) tree: O₃ V₃ S₂ V₂ S₁ V₁ — mirror of harmonicHI.

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

                  Disharmonic HF tree: head-initial main clause, head-final embedding.

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

                    Disharmonic FH tree: head-final main clause, head-initial embedding.

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

                      DLM predicts harmonic order is cheaper. Consumed by Studies/Gibson2025 and Studies/HahnDegenFutrell2021.

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