Documentation

Linglib.Theories.Syntax.Minimalist.Merge.Phase

Algebraic Phase Theory #

@cite{marcolli-chomsky-berwick-2025} §1.14

Implements the MCB algebraic formulation of Phase Theory, building on the vertex-keyed head function headAtVertex from HeadFunction.lean.

What MCB §1.14 says #

Phase Theory is defined via the head function, not stipulated. Given a head function h_T on T, Lemma 1.14.1 partitions the vertices of T into projection paths γ_ℓ — one per leaf ℓ — where γ_ℓ is the path from ℓ up to its maximal projection vertex v_ℓ (the highest vertex w with h_T(w) = ℓ). Definition 1.14.3 then identifies the phases Φ_ℓ ⊂ T as the accessible terms inside v_ℓ, partitioning the syntactic object.

The inaccessibility set Y_ℓ (eq 1.14.5) is then the set of accessible terms in the interior of any lower phase. The phase coproduct Δ^c_Φ (Definition 1.14.5) is the algebraic operator that extracts only the accessible (= non-inaccessible) terms from T — this is the algebraic implementation of the Phase Impenetrability Condition. Lemma 1.14.6 proves Δ^c_Φ is well-defined and coassociative.

Encoding (post Phase 3.B.1 refoundation) #

What this file does #

Out of scope (queued for Phase 3.C) #

The projection path γ_ℓ of leaf ℓ in T under head function h (@cite{marcolli-chomsky-berwick-2025} Lemma 1.14.1): the multiset of vertices w ∈ V(T) such that headAtVertex h T w = ℓ.

Per Lemma 1.14.1, this multiset forms a path in T from ℓ up to the maximal projection vertex v_ℓ. The path is trivial (contains only ℓ itself) when ℓ is not the head of any internal vertex of T.

Equations
Instances For
    theorem Minimalist.Merge.projectionPath_chain (h : HeadFunction) (T : SyntacticObject) (hCoh : h.LocallyCoherent T) (hNodup : (leafTokensPlanar (h.section_.σ T)).Nodup) ( : LIToken) {w₁ w₂ : SyntacticObject} (h₁ : w₁ projectionPath h T ) (h₂ : w₂ projectionPath h T ) :
    contains w₁ w₂ contains w₂ w₁ w₁ = w₂

    Lemma 1.14.1 chain property (Phase 3.D: discharged). Public-facing version: decodes projectionPath membership into T.subtrees + headAtVertex T w = ℓ and dispatches to the inductive helper projectionPath_chain_aux.

    The maximal projection vertex v_ℓ of leaf ℓ in T (@cite{marcolli-chomsky-berwick-2025} Lemma 1.14.1): the topmost vertex on projectionPath h T ℓ, ordered by containment.

    Returns none if projectionPath h T ℓ is empty (ℓ ∉ L(T) under h). Otherwise returns the vertex containing all others on γ_ℓ (the unique maximal element under containment, well-defined by projectionPath_chain).

    Implementation: filter T.subtrees to those on γ_ℓ that are NOT properly contained in any other γ_ℓ vertex. Returns the first (in Multiset.toList order) — by projectionPath_chain this is unique when nonempty.

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

      A projection path is non-trivial (contains at least one internal vertex) when its cardinality exceeds 1 — i.e., the leaf has ascended at least one level in T. Per Definition 1.14.3, only non-trivial projection paths give rise to phases.

      Equations
      Instances For

        The set L(T) of leaves of T as LITokens, under head function h. Renamed alias for HeadFunction.leafTokens matching MCB notation.

        Equations
        Instances For

          @cite{marcolli-chomsky-berwick-2025} Definition 1.14.3 (eq 1.14.1): L_Φ(T) = the set of leaves ℓ ∈ L(T) such that γ_ℓ contains interior (non-leaf) vertices. Each such ℓ is the head of a phase.

          Equations
          Instances For

            @cite{marcolli-chomsky-berwick-2025} Definition 1.14.3 (eq 1.14.3): For ℓ ∈ L_Φ(T) with maximal projection v_ℓ, the interior of the phase Φ_ℓ is

            Φ°ℓ := {T_v ∈ Acc'(T) | T_v ⊆ T{v_ℓ}}

            — the accessible terms strictly inside the maximal projection. Per MCB Remark 1.14.4, this is the part of the phase that becomes inaccessible to further computation once a higher phase is built via External Merge.

            NB: the "complemented" version of this definition (Def 1.14.3 step 4, using the complement Z_v from ComplementedHeadFunction.complementOf) refines the interior to T_{s_ℓ} (the head's complement-side sister) rather than all of T_{v_ℓ}. The simpler T_{v_ℓ} form here is the bare-head version; the complemented refinement is Phase 3.B.3 work.

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

              @cite{marcolli-chomsky-berwick-2025} Definition 1.14.3 (eq 1.14.4): The edge ∂Φ_ℓ of phase Φ_ℓ, parameterized over a ComplementedHeadFunction.

              For ℓ ∈ L_Φ(T) with maximal projection v_ℓ and complement h.complementOf T v_ℓ = some Z_v (non-empty case): the edge consists of accessible terms contained in T_{v_ℓ} but NOT in Z_v (the complement of the head):

              ∂Φ_ℓ := { T_v ∈ Acc'(T) | T_v ⊆ T_{v_ℓ} ∧ T_v ⊄ Z_v }

              For h.complementOf T v_ℓ = none (exocentric head, no complement): ∂Φ_ℓ = Φ_ℓ (the entire phase content is at the edge).

              Note: this signature takes a ComplementedHeadFunction (extending HeadFunction with complement info per MCB Def 1.14.2). For consumers holding only a bare HeadFunction, lift via ComplementedHeadFunction.leftSpine (or supply a custom complementOf).

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                noncomputable def Minimalist.Merge.phaseEdge (h : HeadFunction) (T : SyntacticObject) ( : LIToken) :

                Bare phaseEdge for HeadFunction-only consumers: lifts to the trivial ComplementedHeadFunction with complementOf = none (exocentric). Returns the entire phase content per the empty-complement case.

                Equations
                Instances For
                  noncomputable def Minimalist.Merge.isLowerPhaseThan (h : HeadFunction) (T : SyntacticObject) (ℓ' : LIToken) :
                  Bool

                  The partial order on phases (@cite{marcolli-chomsky-berwick-2025} after Definition 1.14.3): Φ_ℓ is a lower phase than Φ_ℓ' when Φ_ℓ ⊂ Φ_ℓ' as sets of accessible terms. We approximate this by interior containment of the maximal projection vertices.

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

                    @cite{marcolli-chomsky-berwick-2025} eq (1.14.5): the inaccessibility set Y_ℓ for phase Φ_ℓ:

                    Y_ℓ := { T_v ∈ Acc'(T) | T_v ∈ ⋃_{ℓ' < ℓ} Φ°_ℓ' }

                    — accessible terms that lie in the interior of any strictly lower phase. The complement Φ_ℓ ∖ Y_ℓ is the set of terms available for computation in phase Φ_ℓ.

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

                      The accessible terms in phase Φ_ℓ: the phase content minus the inaccessibility set. These are the terms available for further Merge computation when phase Φ_ℓ is being built or extended.

                      This is the set summed over by the algebraic phase coproduct Δ^c_Φ (Definition 1.14.5 eq 1.14.6) — the algebraic-side substrate is queued for Phase 3.C.

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