Step * 2 1 1 2 of Lemma divide-le


1. a : ℕ+
2. b : ℤ
3. x : ℤ
4. 0 < b rem a
5. ((b ÷ a) + 1) ≤ x
6. (a * ((b ÷ a) + 1)) ≤ (a * x)
7. b = (((b ÷ a) * a) + (b rem a)) ∈ ℤ
8. ¬(0 ≤ b)
⊢ (b rem a) ≤ a
BY
{ (InstLemma `rem_bounds_2` [⌜b⌝;⌜a⌝]⋅ THEN Auto) }


Latex:


Latex:

1.  a  :  \mBbbN{}\msupplus{}
2.  b  :  \mBbbZ{}
3.  x  :  \mBbbZ{}
4.  0  <  b  rem  a
5.  ((b  \mdiv{}  a)  +  1)  \mleq{}  x
6.  (a  *  ((b  \mdiv{}  a)  +  1))  \mleq{}  (a  *  x)
7.  b  =  (((b  \mdiv{}  a)  *  a)  +  (b  rem  a))
8.  \mneg{}(0  \mleq{}  b)
\mvdash{}  (b  rem  a)  \mleq{}  a


By


Latex:
(InstLemma  `rem\_bounds\_2`  [\mkleeneopen{}b\mkleeneclose{};\mkleeneopen{}a\mkleeneclose{}]\mcdot{}  THEN  Auto)




Home Index