In category theory, the domain of a morphism is generally the same as its source; that is, the domain of is .
However, this can conflict with other meanings of ‘domain’, especially in a category like Rel; any subset of is the domain of some relation .
Other similar meanings of the term include:
A separate meaning of ‘domain’ occurs in domain theory, which is at the interface of logic and theoretical computer science. There a domain is a particular type of poset.