φ-agreement between word tokens #
Word.phi projects a word's person, number, and gender. Two words Agree when
these features unify (UD.MorphFeatures.compatible), an unspecified feature
acting as a wildcard; the relation is reflexive and symmetric but not
transitive. HasPhi.Agree is its generic form.
@[instance_reducible]
Equations
- Morphology.instHasPhiWord = { phi := Morphology.Word.phi }
Two words agree when their φ-features (person, number, gender) are compatible, an unspecified feature acting as a wildcard. This is the feature-based agreement check binding and concord consumers share.
Equations
- w1.Agree w2 = (w1.phi.compatible w2.phi = true)
Instances For
On word tokens, generic agreement is Word.Agree.
@[instance_reducible]
Equations
- Morphology.instDecidableAgree w1 w2 = id inferInstance
φ-agreement is symmetric.
theorem
Morphology.Word.Agree.hasNumber_compatible
{w1 w2 : Word}
(h : w1.Agree w2)
:
HasNumber.Compatible w1 w2
φ-agreement entails number compatibility (HasNumber.Compatible).