Skip to content

Commit

Permalink
docs: fix typo (#12659)
Browse files Browse the repository at this point in the history
`single 1 1` is the `MonoidAlgebra` unit, while the `AddMonoidAlgebra` unit is `single 0 1`.
  • Loading branch information
adomani committed May 4, 2024
1 parent a4b23a6 commit b632537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mathlib/Algebra/MonoidAlgebra/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -1358,7 +1358,7 @@ section One

variable [Semiring k] [Zero G] [NonAssocSemiring R]

/-- The unit of the multiplication is `single 1 1`, i.e. the function
/-- The unit of the multiplication is `single 0 1`, i.e. the function
that is `1` at `0` and zero elsewhere. -/
instance one : One k[G] :=
⟨single 0 1
Expand Down

0 comments on commit b632537

Please sign in to comment.