I tried to model the Category of groups by dependent path type, but found the following errors:
Problem is that when you say val dom: Group = x, you’re erasing that underlying type you’re interested in
val dom: Group = x