Documentation

Linglib.Theories.Syntax.Minimalist.Derivation

Derivation Steps and Traces #

Ordered derivation tracking for Minimalist syntax: the sequence of Merge/Move operations that produces a SyntacticObject tree.

Key definitions #

Equations
Instances For
    @[simp]
    theorem Minimalist.SyntacticObject.replace_leaf (tok : LIToken) (target rep : SyntacticObject) :
    (leaf tok).replace target rep = if leaf tok = target then rep else leaf tok
    @[simp]
    theorem Minimalist.SyntacticObject.replace_trace (n : ) (target rep : SyntacticObject) :
    (trace n).replace target rep = if trace n = target then rep else trace n
    @[simp]
    theorem Minimalist.SyntacticObject.replace_mul (l r target rep : SyntacticObject) :
    (l * r).replace target rep = if l * r = target then rep else l.replace target rep * r.replace target rep

    A single derivation step.

    • emL (item : SyntacticObject) : Step

      External Merge: new item becomes left daughter.

    • emR (item : SyntacticObject) : Step

      External Merge: new item becomes right daughter.

    • im (mover : SyntacticObject) (traceId : ) : Step

      Internal Merge: move mover to left edge, leaving a trace with traceId.

    Instances For
      def Minimalist.instReprStep.repr :
      StepStd.Format
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        @[implicit_reducible]
        Equations

        Apply a derivation step to the current tree.

        • emL: new item merges as left daughter (head/specifier above current)
        • emR: new item merges as right daughter (complement of current)
        • im: mover is extracted (replaced by trace) then re-merged at the left edge

        Since * is commutative on SyntacticObject (the carrier is the free commutative magma), emL and emR produce the same SO; the distinction matters only for the planar projection at PF (which happens via linearize / phonYield, downstream of derivation).

        Equations
        Instances For

          An ordered derivation: an initial SO plus a sequence of steps.

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

              The final tree produced by applying all derivation steps.

              Equations
              Instances For

                The intermediate tree after the first n steps.

                Equations
                Instances For

                  Number of derivation steps.

                  Equations
                  Instances For

                    The subtrees that underwent Internal Merge (movement).

                    Equations
                    Instances For

                      Stage 0 is the initial tree (no steps applied).

                      Stage at full length equals the final tree.

                      theorem Minimalist.replace_self (so replacement : SyntacticObject) :
                      so.replace so replacement = replacement

                      Replacing so when it is the root returns the replacement.