Building and reading syntactic objects #
Merge on the carrier is written *: External Merge of two objects, and the re-merge of a mover
with the remainder in Internal Merge. Concrete objects are built ordered, as
PlanarSyntacticObjects, and forgotten to the carrier by toSyntacticObject. The accessors read
the root token, the leaf and node counts, and the trace predicate, which recognizes the trace
leaves, bare or indexed.
Main definitions #
Minimalist.SyntacticObject.mkLeaf,mkLeafPhon: lexical leaves from features.Minimalist.SyntacticObject.token?,isTrace,leafCount,nodeCount,IsLeaf.
The default syntactic object is the bare trace.
Equations
- Minimalist.SyntacticObject.instInhabited = { default := Minimalist.SyntacticObject.trace }
Merge as multiplication #
Merge on the carrier is written l * r.
Equations
A lexical item is a leaf.
Equations
Merge in braces, as [MCB25] writes it: {l, r} = merge l r, with
{s} = s.
Equations
Equations
- Minimalist.SyntacticObject.instSingleton = { singleton := id }
Merge on the ordered carrier, in the given order, is written l * r.
Equations
A lexical item is a leaf.
Equations
An ordered object is an object.
Forgetting the order is a homomorphism of magmas.
Equations
Instances For
Merge in braces #
[MCB25] writes Merge as set formation, {α, β}. Lean's {a, b} is
insert a {b}, so with {p} = p the object {T, {V, PossP}} is T * (V * PossP), in the given
order; its elements are objects, a head entering as its leaf.
Equations
- Minimalist.PlanarSyntacticObject.instSingleton = { singleton := id }
Lexical leaves from features #
A lexical leaf from a category and selectional stack.
Equations
- Minimalist.SyntacticObject.mkLeaf cat sel id = ↑{ item := Minimalist.LexicalItem.of cat sel, id := id }
Instances For
A lexical leaf with a phonological form.
Equations
- Minimalist.SyntacticObject.mkLeafPhon cat sel phon id = ↑{ item := Minimalist.LexicalItem.of cat sel phon, id := id }
Instances For
Accessors #
The lexical token at the root, if the root is a lexical leaf.
Instances For
s is a lexical leaf whose item's category is c.
Equations
- Minimalist.SyntacticObject.isLeafOf c s = (Option.map (fun (x : Minimalist.LexicalItem.Token) => x.item.cat) s.token? = some c)
Instances For
A trace leaf, bare or indexed.
Instances For
Equations
- s.instDecidableIsTrace = { decide := decide (Sum.isRight (↑s).value = true) && decide ((↑s).numNodes = 1), reflects_decide := ⋯ }
The number of leaves, traces included.
Instances For
An object is a lexical or trace leaf exactly when its leaf count is one.
Instances For
Equations
- x✝.instDecidablePredIsLeaf = { decide := x✝.leafCount.beq 1, reflects_decide := ⋯ }
A shape summary; the full tree is a quotient with no faithful readout.
Equations
- One or more equations did not get rendered due to their size.