(4steps total) PrintForm Definitions Lemmas graph 1 1 Sections Graphs Doc

At: div floor mod properties

a:, n:. a = (a n)n+(a mod n) & (a mod n) < n

By:
RepeatFor 2 (Analyze 0)
THEN
Unfolds [`div_floor`;`modulus`] 0
THEN
Repeat SplitOnConclITE


Generated subgoals:

11. a:
2. n:
3. 0a
a = (a n)n+(a rem n) & (a rem n) < n
1 step
 
21. a:
2. n:
3. a < 0
4. ((-a) rem n) = 0
a = (-((-a) n))n+0 & 0 < n
1 step
 
31. a:
2. n:
3. a < 0
4. ((-a) rem n) = 0
a = (-((-a) n)+-1)n+n-((-a) rem n) & n-((-a) rem n) < n
1 step

About:
intnatural_numberminusaddsubtractmultiplydivideremainderless_thanequalandall

(4steps total) PrintForm Definitions Lemmas graph 1 1 Sections Graphs Doc