Labeled mixed graphs #
A labeled mixed graph ⟨V, E, A, ℓ⟩ has labeled vertices, undirected
association edges, and directed order arcs — the autosegmental representation
of [Jar19], with no further structure. Graph S carries the quadruple
as fields: a vertex type, a SimpleGraph of association edges, a Digraph of
order arcs, and a labeling ℓ : V → S. Tiers are
not part of the object: a tier assignment t : S → ι on the labels induces a
vertex coloring X.tier t, and the §4.2 well-formedness axioms (AR.lean)
carve the representations out of the raw graphs relative to it.
Main definitions #
Graph S: the labeled mixed graph ([Jar19]'sGR(Γ)) and the category thereof, withHasInitialandHasBinaryCoproducts;Graph.Homare label- and association-preserving maps,precPreservingmarks the full-structure homomorphisms,Graph.Isothe full-structure equivalences.Graph.concat t: concatenation — the vertex sum with a same-tier bridge, [JH15] Definition 2 in the order signature, minus itsR_IDmerge (OCP.collapse);Graph.sumis the bridge-free coproduct.
Main results #
concatEmptyIso,emptyConcatIso,concatAssocIso: [JH15] Theorems 1 and 3 up toIso, unconditional in the order signature.
Implementation notes #
concat bridges every same-tier pair, so its arcs are order-closed
representatives: [Jar19]'s operative concatenation bridges one partial
(last, first) pair per tier, and the two forms are interconvertible as Hasse
diagram ↔ transitive closure on the finite per-tier strict orders. The complete
bridge is total and functorial where first/last are partial and not
hom-preserved, and its monoid laws are unconditional where the successor form's
associativity requires string-graph tier classes ([JH15]'s Lemma 1
remark). The choice is not free elsewhere: subgraph-based notions such as
ASL.lean's forbidden factors are signature-sensitive ([Jar17a]).
Morphisms deliberately do not preserve precedence — reassociation analyses move
material across the order — so Hom is the broad class where the coproduct and the
OCP repair live; precPreserving marks the wide class of full-structure maps.
The category of labeled mixed graphs #
An object of the category of labeled mixed graphs over S, the literature's
labeled mixed graph ⟨V, E, A, ℓ⟩ ([Jar19]'s GR(Γ)) carried fieldwise.
- V : Type u_4
The vertex type.
- edges : SimpleGraph self.V
The undirected association edges (
E). - arcs : Digraph self.V
The directed order arcs (
A). - label : self.V → S
The labeling (
ℓ).
Instances For
The tier of a vertex under a tier assignment on the alphabet.
Equations
- Autosegmental.Graph.tier t X = t ∘ X.label
Instances For
Morphisms #
A label- and association-preserving map of labeled mixed graphs.
The vertex map.
Association edges are preserved.
Labels are preserved.
Instances For
The identity morphism.
Equations
- Autosegmental.Graph.Hom.id X = { toFun := id, edge_map := ⋯, label_comp := ⋯ }
Instances For
Isomorphism #
The identity isomorphism.
Equations
- Autosegmental.Graph.Iso.refl X = { toEquiv := Equiv.refl X.V, edges_iff := ⋯, arcs_iff := ⋯, label_comp := ⋯ }
Instances For
The empty graph #
The empty labeled mixed graph, on the empty vertex type.
Equations
- Autosegmental.Graph.empty S = { V := PEmpty.{?u.1 + 1}, edges := ⊥, arcs := ⊥, label := PEmpty.elim }
Instances For
Tier-bridging concatenation #
Per tier class, concatenation is the ordinal sum: blockwise arcs plus a bridge
from every X-vertex to every same-tier Y-vertex. On the choice of the
complete bridge over [Jar19]'s partial (last, first) pair, see the
implementation notes above.
The concatenation of two labeled mixed graphs, the disjoint edge sum with per-tier
ordinal-sum arcs ([JH15] Definition 2 minus its R_ID melody merge).
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concatenation with the empty graph on the right, up to isomorphism.
Equations
- Autosegmental.Graph.concatEmptyIso t X = { toEquiv := Equiv.sumEmpty X.V PEmpty.{?u.1 + 1}, edges_iff := ⋯, arcs_iff := ⋯, label_comp := ⋯ }
Instances For
Concatenation with the empty graph on the left, up to isomorphism.
Equations
- Autosegmental.Graph.emptyConcatIso t X = { toEquiv := Equiv.emptySum PEmpty.{?u.1 + 1} X.V, edges_iff := ⋯, arcs_iff := ⋯, label_comp := ⋯ }
Instances For
Functoriality of concatenation #
The concatenation of morphisms, Sum.map on vertices.
Equations
- Autosegmental.Graph.Hom.concatMap t f g = { toFun := Sum.map f.toFun g.toFun, edge_map := ⋯, label_comp := ⋯ }
Instances For
The concatenation of isomorphisms.
Equations
- Autosegmental.Graph.Iso.concatCongr t e₁ e₂ = { toEquiv := e₁.sumCongr e₂.toEquiv, edges_iff := ⋯, arcs_iff := ⋯, label_comp := ⋯ }
Instances For
The bridge-free sum #
The plain blockwise sum carries no bridging arcs and is the categorical coproduct
of the broad category; not_isTierOrdered_sum (AR.lean) shows why concat
bridges instead.
Category structure, initial object, and coproducts #
Equations
- One or more equations did not get rendered due to their size.
The bridge-free sum is the categorical coproduct of the broad category.
The property of morphisms that also preserve the order arcs; such maps are the model-theoretic full-structure homomorphisms.
Equations
Instances For
A full isomorphism's underlying morphism preserves precedence.
The concatenation of precedence-preserving morphisms preserves precedence.