A field is a commutative ring with inverses for all non-zero elements.
- add : α → α → α
 - mul : α → α → α
 - neg : α → α
 - sub : α → α → α
 - inv : α → α
 - div : α → α → α
 Division is multiplication by the inverse.
Zero is not equal to one: fields are non trivial.
The inverse of zero is zero. This is a "junk value" convention.
The inverse of a non-zero element is a right inverse.
The zeroth power of any element is one.
The (n+1)-st power of any element is the element multiplied by the n-th power.
Raising to a negative power is the inverse of raising to the positive power.
Instances
Equations
- ⋯ = ⋯