Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
leanprover
/
lean4
/
b4d4e371d263c827659efeaeb0f09d03e4fcfe19
/
.
/
tests
/
pkg
/
structure_docstrings
/
StructureDocstrings
/
A.lean
blob: 9deb4c357b960bda11f07782dfbc271a842999e8 [
file
]
module
public
section
class
Monoid
(
M
:
Type
)
extends
Mul
M
where
class
DivInvMonoid
(
G
:
Type
)
extends
Mul
G
where
/--
The
power operation
:
`a ^ n = a * ··· * a`
;
`a ^ (-n) = a⁻¹ * ··· a⁻¹`
(
`n`
times
)
-/
protected
zpow
:
Int
→
G
→
G