MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  modsubdir Structured version   Visualization version   GIF version

Theorem modsubdir 13303
Description: Distribute the modulo operation over a subtraction. (Contributed by NM, 30-Dec-2008.)
Assertion
Ref Expression
modsubdir ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → ((𝐵 mod 𝐶) ≤ (𝐴 mod 𝐶) ↔ ((𝐴𝐵) mod 𝐶) = ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))))

Proof of Theorem modsubdir
StepHypRef Expression
1 modcl 13236 . . . 4 ((𝐴 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐴 mod 𝐶) ∈ ℝ)
213adant2 1128 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐴 mod 𝐶) ∈ ℝ)
3 modcl 13236 . . . 4 ((𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐵 mod 𝐶) ∈ ℝ)
433adant1 1127 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐵 mod 𝐶) ∈ ℝ)
52, 4subge0d 11219 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (0 ≤ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) ↔ (𝐵 mod 𝐶) ≤ (𝐴 mod 𝐶)))
6 resubcl 10939 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴𝐵) ∈ ℝ)
763adant3 1129 . . . . . . 7 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐴𝐵) ∈ ℝ)
8 simp3 1135 . . . . . . 7 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → 𝐶 ∈ ℝ+)
9 rerpdivcl 12407 . . . . . . . . . 10 ((𝐴 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐴 / 𝐶) ∈ ℝ)
109flcld 13163 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (⌊‘(𝐴 / 𝐶)) ∈ ℤ)
11103adant2 1128 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (⌊‘(𝐴 / 𝐶)) ∈ ℤ)
12 rerpdivcl 12407 . . . . . . . . . 10 ((𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐵 / 𝐶) ∈ ℝ)
1312flcld 13163 . . . . . . . . 9 ((𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (⌊‘(𝐵 / 𝐶)) ∈ ℤ)
14133adant1 1127 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (⌊‘(𝐵 / 𝐶)) ∈ ℤ)
1511, 14zsubcld 12080 . . . . . . 7 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → ((⌊‘(𝐴 / 𝐶)) − (⌊‘(𝐵 / 𝐶))) ∈ ℤ)
16 modcyc2 13270 . . . . . . 7 (((𝐴𝐵) ∈ ℝ ∧ 𝐶 ∈ ℝ+ ∧ ((⌊‘(𝐴 / 𝐶)) − (⌊‘(𝐵 / 𝐶))) ∈ ℤ) → (((𝐴𝐵) − (𝐶 · ((⌊‘(𝐴 / 𝐶)) − (⌊‘(𝐵 / 𝐶))))) mod 𝐶) = ((𝐴𝐵) mod 𝐶))
177, 8, 15, 16syl3anc 1368 . . . . . 6 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (((𝐴𝐵) − (𝐶 · ((⌊‘(𝐴 / 𝐶)) − (⌊‘(𝐵 / 𝐶))))) mod 𝐶) = ((𝐴𝐵) mod 𝐶))
18 recn 10616 . . . . . . . . . 10 (𝐴 ∈ ℝ → 𝐴 ∈ ℂ)
19183ad2ant1 1130 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → 𝐴 ∈ ℂ)
20 recn 10616 . . . . . . . . . 10 (𝐵 ∈ ℝ → 𝐵 ∈ ℂ)
21203ad2ant2 1131 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → 𝐵 ∈ ℂ)
22 rpre 12385 . . . . . . . . . . . . 13 (𝐶 ∈ ℝ+𝐶 ∈ ℝ)
2322adantl 485 . . . . . . . . . . . 12 ((𝐴 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → 𝐶 ∈ ℝ)
24 refldivcl 13188 . . . . . . . . . . . 12 ((𝐴 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (⌊‘(𝐴 / 𝐶)) ∈ ℝ)
2523, 24remulcld 10660 . . . . . . . . . . 11 ((𝐴 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐶 · (⌊‘(𝐴 / 𝐶))) ∈ ℝ)
2625recnd 10658 . . . . . . . . . 10 ((𝐴 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐶 · (⌊‘(𝐴 / 𝐶))) ∈ ℂ)
27263adant2 1128 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐶 · (⌊‘(𝐴 / 𝐶))) ∈ ℂ)
2822adantl 485 . . . . . . . . . . . 12 ((𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → 𝐶 ∈ ℝ)
29 refldivcl 13188 . . . . . . . . . . . 12 ((𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (⌊‘(𝐵 / 𝐶)) ∈ ℝ)
3028, 29remulcld 10660 . . . . . . . . . . 11 ((𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐶 · (⌊‘(𝐵 / 𝐶))) ∈ ℝ)
3130recnd 10658 . . . . . . . . . 10 ((𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐶 · (⌊‘(𝐵 / 𝐶))) ∈ ℂ)
32313adant1 1127 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐶 · (⌊‘(𝐵 / 𝐶))) ∈ ℂ)
3319, 21, 27, 32sub4d 11035 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → ((𝐴𝐵) − ((𝐶 · (⌊‘(𝐴 / 𝐶))) − (𝐶 · (⌊‘(𝐵 / 𝐶))))) = ((𝐴 − (𝐶 · (⌊‘(𝐴 / 𝐶)))) − (𝐵 − (𝐶 · (⌊‘(𝐵 / 𝐶))))))
34223ad2ant3 1132 . . . . . . . . . . 11 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → 𝐶 ∈ ℝ)
3534recnd 10658 . . . . . . . . . 10 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → 𝐶 ∈ ℂ)
3624recnd 10658 . . . . . . . . . . 11 ((𝐴 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (⌊‘(𝐴 / 𝐶)) ∈ ℂ)
37363adant2 1128 . . . . . . . . . 10 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (⌊‘(𝐴 / 𝐶)) ∈ ℂ)
3829recnd 10658 . . . . . . . . . . 11 ((𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (⌊‘(𝐵 / 𝐶)) ∈ ℂ)
39383adant1 1127 . . . . . . . . . 10 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (⌊‘(𝐵 / 𝐶)) ∈ ℂ)
4035, 37, 39subdid 11085 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐶 · ((⌊‘(𝐴 / 𝐶)) − (⌊‘(𝐵 / 𝐶)))) = ((𝐶 · (⌊‘(𝐴 / 𝐶))) − (𝐶 · (⌊‘(𝐵 / 𝐶)))))
4140oveq2d 7151 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → ((𝐴𝐵) − (𝐶 · ((⌊‘(𝐴 / 𝐶)) − (⌊‘(𝐵 / 𝐶))))) = ((𝐴𝐵) − ((𝐶 · (⌊‘(𝐴 / 𝐶))) − (𝐶 · (⌊‘(𝐵 / 𝐶))))))
42 modval 13234 . . . . . . . . . 10 ((𝐴 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐴 mod 𝐶) = (𝐴 − (𝐶 · (⌊‘(𝐴 / 𝐶)))))
43423adant2 1128 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐴 mod 𝐶) = (𝐴 − (𝐶 · (⌊‘(𝐴 / 𝐶)))))
44 modval 13234 . . . . . . . . . 10 ((𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐵 mod 𝐶) = (𝐵 − (𝐶 · (⌊‘(𝐵 / 𝐶)))))
45443adant1 1127 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐵 mod 𝐶) = (𝐵 − (𝐶 · (⌊‘(𝐵 / 𝐶)))))
4643, 45oveq12d 7153 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) = ((𝐴 − (𝐶 · (⌊‘(𝐴 / 𝐶)))) − (𝐵 − (𝐶 · (⌊‘(𝐵 / 𝐶))))))
4733, 41, 463eqtr4d 2843 . . . . . . 7 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → ((𝐴𝐵) − (𝐶 · ((⌊‘(𝐴 / 𝐶)) − (⌊‘(𝐵 / 𝐶))))) = ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)))
4847oveq1d 7150 . . . . . 6 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (((𝐴𝐵) − (𝐶 · ((⌊‘(𝐴 / 𝐶)) − (⌊‘(𝐵 / 𝐶))))) mod 𝐶) = (((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) mod 𝐶))
4917, 48eqtr3d 2835 . . . . 5 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → ((𝐴𝐵) mod 𝐶) = (((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) mod 𝐶))
5049adantr 484 . . . 4 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) ∧ 0 ≤ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))) → ((𝐴𝐵) mod 𝐶) = (((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) mod 𝐶))
512, 4resubcld 11057 . . . . . 6 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) ∈ ℝ)
5251adantr 484 . . . . 5 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) ∧ 0 ≤ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))) → ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) ∈ ℝ)
53 simpl3 1190 . . . . 5 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) ∧ 0 ≤ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))) → 𝐶 ∈ ℝ+)
54 simpr 488 . . . . 5 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) ∧ 0 ≤ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))) → 0 ≤ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)))
55 modge0 13242 . . . . . . . . 9 ((𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → 0 ≤ (𝐵 mod 𝐶))
56553adant1 1127 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → 0 ≤ (𝐵 mod 𝐶))
572, 4subge02d 11221 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (0 ≤ (𝐵 mod 𝐶) ↔ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) ≤ (𝐴 mod 𝐶)))
5856, 57mpbid 235 . . . . . . 7 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) ≤ (𝐴 mod 𝐶))
59 modlt 13243 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐴 mod 𝐶) < 𝐶)
60593adant2 1128 . . . . . . 7 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐴 mod 𝐶) < 𝐶)
6151, 2, 34, 58, 60lelttrd 10787 . . . . . 6 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) < 𝐶)
6261adantr 484 . . . . 5 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) ∧ 0 ≤ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))) → ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) < 𝐶)
63 modid 13259 . . . . 5 (((((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) ∈ ℝ ∧ 𝐶 ∈ ℝ+) ∧ (0 ≤ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) ∧ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) < 𝐶)) → (((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) mod 𝐶) = ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)))
6452, 53, 54, 62, 63syl22anc 837 . . . 4 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) ∧ 0 ≤ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))) → (((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) mod 𝐶) = ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)))
6550, 64eqtrd 2833 . . 3 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) ∧ 0 ≤ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))) → ((𝐴𝐵) mod 𝐶) = ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)))
66 modge0 13242 . . . . . 6 (((𝐴𝐵) ∈ ℝ ∧ 𝐶 ∈ ℝ+) → 0 ≤ ((𝐴𝐵) mod 𝐶))
676, 66stoic3 1778 . . . . 5 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → 0 ≤ ((𝐴𝐵) mod 𝐶))
6867adantr 484 . . . 4 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) ∧ ((𝐴𝐵) mod 𝐶) = ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))) → 0 ≤ ((𝐴𝐵) mod 𝐶))
69 simpr 488 . . . 4 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) ∧ ((𝐴𝐵) mod 𝐶) = ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))) → ((𝐴𝐵) mod 𝐶) = ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)))
7068, 69breqtrd 5056 . . 3 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) ∧ ((𝐴𝐵) mod 𝐶) = ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))) → 0 ≤ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)))
7165, 70impbida 800 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (0 ≤ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) ↔ ((𝐴𝐵) mod 𝐶) = ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))))
725, 71bitr3d 284 1 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → ((𝐵 mod 𝐶) ≤ (𝐴 mod 𝐶) ↔ ((𝐴𝐵) mod 𝐶) = ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  w3a 1084   = wceq 1538  wcel 2111   class class class wbr 5030  cfv 6324  (class class class)co 7135  cc 10524  cr 10525  0cc0 10526   · cmul 10531   < clt 10664  cle 10665  cmin 10859   / cdiv 11286  cz 11969  +crp 12377  cfl 13155   mod cmo 13232
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441  ax-cnex 10582  ax-resscn 10583  ax-1cn 10584  ax-icn 10585  ax-addcl 10586  ax-addrcl 10587  ax-mulcl 10588  ax-mulrcl 10589  ax-mulcom 10590  ax-addass 10591  ax-mulass 10592  ax-distr 10593  ax-i2m1 10594  ax-1ne0 10595  ax-1rid 10596  ax-rnegex 10597  ax-rrecex 10598  ax-cnre 10599  ax-pre-lttri 10600  ax-pre-lttrn 10601  ax-pre-ltadd 10602  ax-pre-mulgt0 10603  ax-pre-sup 10604
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-nel 3092  df-ral 3111  df-rex 3112  df-reu 3113  df-rmo 3114  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-pss 3900  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-tp 4530  df-op 4532  df-uni 4801  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-tr 5137  df-id 5425  df-eprel 5430  df-po 5438  df-so 5439  df-fr 5478  df-we 5480  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-pred 6116  df-ord 6162  df-on 6163  df-lim 6164  df-suc 6165  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-riota 7093  df-ov 7138  df-oprab 7139  df-mpo 7140  df-om 7561  df-wrecs 7930  df-recs 7991  df-rdg 8029  df-er 8272  df-en 8493  df-dom 8494  df-sdom 8495  df-sup 8890  df-inf 8891  df-pnf 10666  df-mnf 10667  df-xr 10668  df-ltxr 10669  df-le 10670  df-sub 10861  df-neg 10862  df-div 11287  df-nn 11626  df-n0 11886  df-z 11970  df-uz 12232  df-rp 12378  df-fl 13157  df-mod 13233
This theorem is referenced by:  modeqmodmin  13304  digit1  13594  4sqlem12  16282
  Copyright terms: Public domain W3C validator