Divisibility #
This file defines the basics of the divisibility relation in the context of (Comm)
Monoid
s.
Main definitions #
Implementation notes #
The divisibility relation is defined for all monoids, and as such, depends on the order of
multiplication if the monoid is not commutative. There are two possible conventions for
divisibility in the noncommutative context, and this relation follows the convention for ordinals,
so a | b
is defined as ∃ c, b = a * c
.
Tags #
divisibility, divides
There are two possible conventions for divisibility, which coincide in a CommMonoid
.
This matches the convention for ordinals.
Transitivity of |
for use in calc
blocks.
Alias of dvd_mul_of_dvd_left
.
An element a
in a semigroup is primal if whenever a
is a divisor of b * c
, it can be
factored as the product of a divisor of b
and a divisor of c
.
Equations
Instances For
A monoid is a decomposition monoid if every element is primal. An integral domain whose multiplicative monoid is a decomposition monoid, is called a pre-Schreier domain; it is a Schreier domain if it is moreover integrally closed.
- primal (a : α) : IsPrimal a
Instances
Alias of Dvd.intro_left
.
Alias of dvd_mul_of_dvd_right
.