Documentation

Linglib.Theories.Syntax.Minimalism.Formal.Workspace

A numeration entry: a lexical item with a count (how many times it can be used)

The count allows the same LI to appear multiple times in a derivation. E.g., "John said John left" uses 'John' twice.

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

      A numeration is a collection of LIs available for the derivation

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

          Empty numeration

          Equations
          Instances For
            def Minimalism.Numeration.add (n : Numeration) (li : ExtendedLI) (count : ) (h : count > 0) :

            Add an LI to the numeration

            Equations
            • n.add li count h = { entries := { item := li, count := count, countPos := h } :: n.entries }
            Instances For

              Check if numeration is exhausted (all counts = 0)

              Equations
              Instances For

                Check if numeration contains a given LI

                Equations
                Instances For

                  Total items remaining in numeration

                  Equations
                  Instances For

                    The workspace contains the active syntactic objects being combined

                    At any point in a derivation, the workspace contains:

                    • SOs that have been built so far
                    • LIs that have been selected but not yet merged
                    Instances For
                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For

                        Empty workspace

                        Equations
                        Instances For

                          Number of objects in workspace

                          Equations
                          Instances For

                            Check if workspace contains a single object (derivation complete condition)

                            Equations
                            Instances For

                              Get the result if workspace is singleton

                              Equations
                              Instances For

                                Result of a select operation

                                Instances For

                                  Select: Move an LI from numeration to workspace

                                  This operation:

                                  1. Finds the LI in the numeration
                                  2. Decrements its count
                                  3. Creates a token and adds it to the workspace
                                  Equations
                                  • One or more equations did not get rendered due to their size.
                                  Instances For
                                    Equations
                                    Instances For

                                      What triggers Merge? In Minimalism, uninterpretable features drive operations

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

                                          Check if an LI needs to merge (has unsatisfied selectional features)

                                          Equations
                                          Instances For

                                            Get the category that an LI selects (if any)

                                            Equations
                                            Instances For

                                              External Merge: combine two separate SOs from the workspace

                                              This is feature-driven: we merge when there's a selectional relationship

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

                                                  Apply external merge to the workspace

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

                                                    Check if external merge is valid (selector selects the selected)

                                                    Equations
                                                    Instances For

                                                      Internal Merge: re-merge an SO already in the structure (movement)

                                                      This handles cases where an element moves to a new position

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

                                                          Check if mover is contained in target

                                                          Equations
                                                          Instances For

                                                            Apply internal merge to workspace

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

                                                              A derivation state captures everything needed to continue a derivation.

                                                              features maps token IDs to their current feature bundles, tracking feature state across Agree operations. Populated by selectStep (which registers an LI's features under its token ID) and modified by agreeStep (which values the probe's features from the goal).

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

                                                                  Initial state from a numeration

                                                                  Equations
                                                                  Instances For

                                                                    Is the derivation complete?

                                                                    A derivation is complete when:

                                                                    1. The numeration is exhausted (all items used)
                                                                    2. The workspace contains exactly one SO
                                                                    Equations
                                                                    Instances For

                                                                      An Agree operation between a probe and a goal, identified by token ID.

                                                                      Records which feature type is being checked, enabling the derivation trace to track feature valuation step by step.

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

                                                                          Look up the current feature bundle for a token by ID.

                                                                          Equations
                                                                          Instances For

                                                                            Update the feature bundle for a token by ID.

                                                                            Equations
                                                                            Instances For

                                                                              A single step in a derivation

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

                                                                                  Apply a derivation step to a state

                                                                                  Equations
                                                                                  Instances For

                                                                                    A derivation is a sequence of steps from initial state to completion

                                                                                    Instances For

                                                                                      Execute a list of steps from an initial numeration

                                                                                      Equations
                                                                                      Instances For

                                                                                        Intermediate workspace state after the first k steps.

                                                                                        Analogous to Derivation.stageAt but for the workspace model. Returns none if any step in the prefix fails.

                                                                                        Equations
                                                                                        Instances For

                                                                                          Look up a token's feature state at a given derivation stage.

                                                                                          Equations
                                                                                          Instances For

                                                                                            Extract the final syntactic object from a completed derivation.

                                                                                            Equations
                                                                                            Instances For

                                                                                              A workspace FullDerivation agrees with a core Derivation when both produce the same final tree. This connects the feature-driven workspace model to the step-by-step tree-building model.

                                                                                              Equations
                                                                                              Instances For

                                                                                                Example: Numeration for "the cat"

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

                                                                                                  A Minimalist grammar specifies the lexicon as a list of extended LIs.

                                                                                                  Instances For

                                                                                                    Minimalist derivations link a formal derivation to a clause type.

                                                                                                    Instances For

                                                                                                      Minimalism Grammar instance.

                                                                                                      Derivations are formal FullDerivations from Workspace.lean. Realization checks that the phonological yield matches.

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