hilbert
6
Search
☰
About
Tutorial
Roadmap
Get involved
Reference manual
Blueprint
API docs
Papers
About
Tutorial
Roadmap
Get involved
Reference manual
Blueprint
API docs
Papers
GitHub
return to top
source
Imports
Init
Mathlib.Init
Imported by
Int
.
mul_ediv_le_mul_ediv_assoc
Int
.
fdiv_fdiv_eq_fdiv_mul
Int
.
emod_eq_sub_self_emod
Mathlib
.
Data
.
Int
.
DivMod
Basic lemmas about division and modulo for integers
#
ediv
and
fdiv
#
source
theorem
Int
.
mul_ediv_le_mul_ediv_assoc
{
a
:
Int
}
(
ha
:
0
≤
a
)
(
b
:
Int
)
{
c
:
Int
}
(
hc
:
0
≤
c
)
:
a
*
(
b
/
c
)
≤
a
*
b
/
c
source
theorem
Int
.
fdiv_fdiv_eq_fdiv_mul
(
m
:
Int
)
{
n
k
:
Int
}
(
hn
:
0
≤
n
)
(
hk
:
0
≤
k
)
:
(
m
.
fdiv
n
)
.
fdiv
k
=
m
.
fdiv
(
n
*
k
)
emod
#
source
theorem
Int
.
emod_eq_sub_self_emod
{
a
b
:
Int
}
:
a
%
b
=
(
a
-
b
)
%
b