The φ-bundle capability #
HasPhi equips a carrier with its agreement features as an Agreement.Bundle;
HasPhi.Agree is the induced agreement relation, compatibility of the bundles,
an unspecified dimension acting as a wildcard.
A φ-bearer is an expression that exposes its agreement features as a bundle.
- phi : α → Agreement.Bundle
The agreement features.
Instances
@[instance_reducible]
A token's features bear their agreement dimensions.
Equations
- instHasPhiFeatures = { phi := Agreement.Bundle.ofFeatures }
@[instance_reducible]
instance
instDecidableAgree
{α : Type u_1}
{β : Type u_2}
[HasPhi α]
[HasPhi β]
(a : α)
(b : β)
:
Decidable (HasPhi.Agree a b)
Equations
- instDecidableAgree a b = id inferInstance