I'm wondering how one can define a division ring in category theory. More precisely, is there a well-defined concept of "division ring object" such that a division ring object in the category of sets is a division ring in the standard sense ?
The fact that division is not defined everywhere seems to be a problem for me, so how can we categorically define division rings (or fields) ? And by "categorically define", I mean "define by using categorical tools like universal arrows and properties".
Edit :
I thought of a possible answer, although it probably isn't very satisfying.
Let's start with the concept of a ring object : it is the data of an object and several arrows satisfying some conditions. In particular, we have the arrows $0:1\rightarrow R$, $e:1\rightarrow R$ and $m:R\times R\rightarrow R$ corresponding to the additive identity, the multiplicative identity and the multiplication on $R$.
Now if we suppose that the category has image factorization and is boolean (it's a strong assumption, I know, but we can try to weaken it afterwards), then we have a subobject of $R$ given by $\text{im}\,0\rightarrow R$, and we can take its complement in the lattice of subobjects of $R$, here denoted by $i:R^\times\rightarrow R$ ($i$ is monic). Then we can add the requirement (to get a division ring) that we have an arrow $(\ )^{-1}:R^\times\rightarrow R^\times$ such that : $$ m\circ\langle i, i\circ (\ )^{-1}\rangle = e\,\circ\,! = m\circ\langle i\circ (\ )^{-1}, i\rangle $$ where $!$ is the unique arrow $R^\times\rightarrow 1$. (A diagram would be clearer but I don't know how to draw it here.) Of course, this just means that for every non-zero $a\in R$, there exists $a^{-1}$ such that $aa^{-1}=e=a^{-1}a$.
Here I lazily supposed that the category is boolean so I could form the subobject $R^\times$ of non-zero elements of $R$, but I imagine that we could define that complement by other means (as shown in Kevin Carlson's answer) and still keep the rest of the definition.
Do you think this is a viable definition of a division ring object ?