Skip to content

Commit

Permalink
docs(algebra/field/basic): fix typo (#16241)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcommelin committed Aug 25, 2022
1 parent b6931e1 commit 36e16da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/algebra/field/basic.lean
Expand Up @@ -80,7 +80,7 @@ class division_semiring (α : Type*) extends semiring α, group_with_zero α
An instance of `division_ring K` includes maps `of_rat : ℚ → K` and `qsmul : ℚ → K → K`.
If the division ring has positive characteristic p, we define `of_rat (1 / p) = 1 / 0 = 0`
for consistency with our division by zero convention.
The fields `of_rat` and `qsmul are needed to implement the
The fields `of_rat` and `qsmul` are needed to implement the
`algebra_rat [division_ring K] : algebra ℚ K` instance, since we need to control the specific
definitions for some special cases of `K` (in particular `K = ℚ` itself).
See also Note [forgetful inheritance].
Expand Down

0 comments on commit 36e16da

Please sign in to comment.