typelevel / algebra

Experimental project to lay out basic algebra type classes
https://typelevel.org/algebra/
Other
378 stars 69 forks source link

Name for a rig + division #120

Open johnynek opened 8 years ago

johnynek commented 8 years ago

Consider the non-negative reals (or computable reals if you're a constructivist).

You can have inverses in multiplication, even if you don't have them for addition. In fact, the positive (so here we are excluding 0) reals form an Abelian group under multiplication/division.

Is there a name for this kind of structure?

johnynek commented 8 years ago

Of course the above is also true of the rationals.

non commented 8 years ago

This might be a semifield [1] but I'm not sure (look at the ring theory definition).

I've heard of division rings/skew fields (fields without commutativity) and near fields (division rings with only one distributive law) but am not confident about what this would be.

[1] https://en.wikipedia.org/wiki/Semifield

denisrosset commented 8 years ago

In general, we should consider units, i.e. elements in a ring that have inverses. This is for example the case for matrix rings, where the subset of invertible matrices form a multiplicative group.