- Let $(G,\circ)$ be a group, $(H,\circ|_{H})$ is its subgroup.
- Let $(X,d)$ be a metric space, $(Y,d|_{Y\times Y})$ is its metric subspace.
In both case, the right notation seems to be what I wrote(i.e. use a restriction to the original function). However, I'm not sure if someone just write $(H,\circ)$ is a subgroup of $(G,\circ)$ and $(Y,d)$ is a metric subspace of $(X,d)$. Well, this is not consistent of the definition of subgroup or subspace, because the domain of the function(e.g. $\circ$ and $d$), are all exceed the range of these sub-structure(the subset $H$) or sub-space(the subset $Y$) themselves. So which notation is in common used?
Would the restriction style too lengthy? Or would the non-restriction style too informal?