The rational numbers are a commutative ring #
This file contains the commutative ring instance on the rational numbers.
See note [foundational algebra order theory].
Instances #
Equations
- One or more equations did not get rendered due to their size.
The characteristic of ℚ
is 0.
Stacks Tag 09FS (Second part.)
Extra instances to short-circuit type class resolution #
These also prevent non-computable instances being used to construct these instances non-computably.
Miscellaneous lemmas #
@[deprecated Rat.natCast_eq_divInt (since := "2024-04-07")]
Alias of Rat.natCast_eq_divInt
.