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

Theorem modsubdir 13309
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 13242 . . . 4 ((𝐴 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐴 mod 𝐶) ∈ ℝ)
213adant2 1127 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐴 mod 𝐶) ∈ ℝ)
3 modcl 13242 . . . 4 ((𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐵 mod 𝐶) ∈ ℝ)
433adant1 1126 . . 3 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐵 mod 𝐶) ∈ ℝ)
52, 4subge0d 11230 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (0 ≤ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) ↔ (𝐵 mod 𝐶) ≤ (𝐴 mod 𝐶)))
6 resubcl 10950 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) → (𝐴𝐵) ∈ ℝ)
763adant3 1128 . . . . . . 7 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐴𝐵) ∈ ℝ)
8 simp3 1134 . . . . . . 7 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → 𝐶 ∈ ℝ+)
9 rerpdivcl 12420 . . . . . . . . . 10 ((𝐴 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐴 / 𝐶) ∈ ℝ)
109flcld 13169 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (⌊‘(𝐴 / 𝐶)) ∈ ℤ)
11103adant2 1127 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (⌊‘(𝐴 / 𝐶)) ∈ ℤ)
12 rerpdivcl 12420 . . . . . . . . . 10 ((𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐵 / 𝐶) ∈ ℝ)
1312flcld 13169 . . . . . . . . 9 ((𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (⌊‘(𝐵 / 𝐶)) ∈ ℤ)
14133adant1 1126 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (⌊‘(𝐵 / 𝐶)) ∈ ℤ)
1511, 14zsubcld 12093 . . . . . . 7 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → ((⌊‘(𝐴 / 𝐶)) − (⌊‘(𝐵 / 𝐶))) ∈ ℤ)
16 modcyc2 13276 . . . . . . 7 (((𝐴𝐵) ∈ ℝ ∧ 𝐶 ∈ ℝ+ ∧ ((⌊‘(𝐴 / 𝐶)) − (⌊‘(𝐵 / 𝐶))) ∈ ℤ) → (((𝐴𝐵) − (𝐶 · ((⌊‘(𝐴 / 𝐶)) − (⌊‘(𝐵 / 𝐶))))) mod 𝐶) = ((𝐴𝐵) mod 𝐶))
177, 8, 15, 16syl3anc 1367 . . . . . 6 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (((𝐴𝐵) − (𝐶 · ((⌊‘(𝐴 / 𝐶)) − (⌊‘(𝐵 / 𝐶))))) mod 𝐶) = ((𝐴𝐵) mod 𝐶))
18 recn 10627 . . . . . . . . . 10 (𝐴 ∈ ℝ → 𝐴 ∈ ℂ)
19183ad2ant1 1129 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → 𝐴 ∈ ℂ)
20 recn 10627 . . . . . . . . . 10 (𝐵 ∈ ℝ → 𝐵 ∈ ℂ)
21203ad2ant2 1130 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → 𝐵 ∈ ℂ)
22 rpre 12398 . . . . . . . . . . . . 13 (𝐶 ∈ ℝ+𝐶 ∈ ℝ)
2322adantl 484 . . . . . . . . . . . 12 ((𝐴 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → 𝐶 ∈ ℝ)
24 refldivcl 13194 . . . . . . . . . . . 12 ((𝐴 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (⌊‘(𝐴 / 𝐶)) ∈ ℝ)
2523, 24remulcld 10671 . . . . . . . . . . 11 ((𝐴 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐶 · (⌊‘(𝐴 / 𝐶))) ∈ ℝ)
2625recnd 10669 . . . . . . . . . 10 ((𝐴 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐶 · (⌊‘(𝐴 / 𝐶))) ∈ ℂ)
27263adant2 1127 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐶 · (⌊‘(𝐴 / 𝐶))) ∈ ℂ)
2822adantl 484 . . . . . . . . . . . 12 ((𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → 𝐶 ∈ ℝ)
29 refldivcl 13194 . . . . . . . . . . . 12 ((𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (⌊‘(𝐵 / 𝐶)) ∈ ℝ)
3028, 29remulcld 10671 . . . . . . . . . . 11 ((𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐶 · (⌊‘(𝐵 / 𝐶))) ∈ ℝ)
3130recnd 10669 . . . . . . . . . 10 ((𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐶 · (⌊‘(𝐵 / 𝐶))) ∈ ℂ)
32313adant1 1126 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐶 · (⌊‘(𝐵 / 𝐶))) ∈ ℂ)
3319, 21, 27, 32sub4d 11046 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → ((𝐴𝐵) − ((𝐶 · (⌊‘(𝐴 / 𝐶))) − (𝐶 · (⌊‘(𝐵 / 𝐶))))) = ((𝐴 − (𝐶 · (⌊‘(𝐴 / 𝐶)))) − (𝐵 − (𝐶 · (⌊‘(𝐵 / 𝐶))))))
34223ad2ant3 1131 . . . . . . . . . . 11 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → 𝐶 ∈ ℝ)
3534recnd 10669 . . . . . . . . . 10 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → 𝐶 ∈ ℂ)
3624recnd 10669 . . . . . . . . . . 11 ((𝐴 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (⌊‘(𝐴 / 𝐶)) ∈ ℂ)
37363adant2 1127 . . . . . . . . . 10 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (⌊‘(𝐴 / 𝐶)) ∈ ℂ)
3829recnd 10669 . . . . . . . . . . 11 ((𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (⌊‘(𝐵 / 𝐶)) ∈ ℂ)
39383adant1 1126 . . . . . . . . . 10 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (⌊‘(𝐵 / 𝐶)) ∈ ℂ)
4035, 37, 39subdid 11096 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐶 · ((⌊‘(𝐴 / 𝐶)) − (⌊‘(𝐵 / 𝐶)))) = ((𝐶 · (⌊‘(𝐴 / 𝐶))) − (𝐶 · (⌊‘(𝐵 / 𝐶)))))
4140oveq2d 7172 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → ((𝐴𝐵) − (𝐶 · ((⌊‘(𝐴 / 𝐶)) − (⌊‘(𝐵 / 𝐶))))) = ((𝐴𝐵) − ((𝐶 · (⌊‘(𝐴 / 𝐶))) − (𝐶 · (⌊‘(𝐵 / 𝐶))))))
42 modval 13240 . . . . . . . . . 10 ((𝐴 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐴 mod 𝐶) = (𝐴 − (𝐶 · (⌊‘(𝐴 / 𝐶)))))
43423adant2 1127 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐴 mod 𝐶) = (𝐴 − (𝐶 · (⌊‘(𝐴 / 𝐶)))))
44 modval 13240 . . . . . . . . . 10 ((𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐵 mod 𝐶) = (𝐵 − (𝐶 · (⌊‘(𝐵 / 𝐶)))))
45443adant1 1126 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐵 mod 𝐶) = (𝐵 − (𝐶 · (⌊‘(𝐵 / 𝐶)))))
4643, 45oveq12d 7174 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) = ((𝐴 − (𝐶 · (⌊‘(𝐴 / 𝐶)))) − (𝐵 − (𝐶 · (⌊‘(𝐵 / 𝐶))))))
4733, 41, 463eqtr4d 2866 . . . . . . 7 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → ((𝐴𝐵) − (𝐶 · ((⌊‘(𝐴 / 𝐶)) − (⌊‘(𝐵 / 𝐶))))) = ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)))
4847oveq1d 7171 . . . . . 6 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (((𝐴𝐵) − (𝐶 · ((⌊‘(𝐴 / 𝐶)) − (⌊‘(𝐵 / 𝐶))))) mod 𝐶) = (((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) mod 𝐶))
4917, 48eqtr3d 2858 . . . . 5 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → ((𝐴𝐵) mod 𝐶) = (((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) mod 𝐶))
5049adantr 483 . . . 4 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) ∧ 0 ≤ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))) → ((𝐴𝐵) mod 𝐶) = (((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) mod 𝐶))
512, 4resubcld 11068 . . . . . 6 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) ∈ ℝ)
5251adantr 483 . . . . 5 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) ∧ 0 ≤ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))) → ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) ∈ ℝ)
53 simpl3 1189 . . . . 5 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) ∧ 0 ≤ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))) → 𝐶 ∈ ℝ+)
54 simpr 487 . . . . 5 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) ∧ 0 ≤ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))) → 0 ≤ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)))
55 modge0 13248 . . . . . . . . 9 ((𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → 0 ≤ (𝐵 mod 𝐶))
56553adant1 1126 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → 0 ≤ (𝐵 mod 𝐶))
572, 4subge02d 11232 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (0 ≤ (𝐵 mod 𝐶) ↔ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) ≤ (𝐴 mod 𝐶)))
5856, 57mpbid 234 . . . . . . 7 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) ≤ (𝐴 mod 𝐶))
59 modlt 13249 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐴 mod 𝐶) < 𝐶)
60593adant2 1127 . . . . . . 7 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (𝐴 mod 𝐶) < 𝐶)
6151, 2, 34, 58, 60lelttrd 10798 . . . . . 6 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) < 𝐶)
6261adantr 483 . . . . 5 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) ∧ 0 ≤ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))) → ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) < 𝐶)
63 modid 13265 . . . . 5 (((((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) ∈ ℝ ∧ 𝐶 ∈ ℝ+) ∧ (0 ≤ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) ∧ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) < 𝐶)) → (((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) mod 𝐶) = ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)))
6452, 53, 54, 62, 63syl22anc 836 . . . 4 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) ∧ 0 ≤ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))) → (((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) mod 𝐶) = ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)))
6550, 64eqtrd 2856 . . 3 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) ∧ 0 ≤ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))) → ((𝐴𝐵) mod 𝐶) = ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)))
66 modge0 13248 . . . . . 6 (((𝐴𝐵) ∈ ℝ ∧ 𝐶 ∈ ℝ+) → 0 ≤ ((𝐴𝐵) mod 𝐶))
676, 66stoic3 1777 . . . . 5 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → 0 ≤ ((𝐴𝐵) mod 𝐶))
6867adantr 483 . . . 4 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) ∧ ((𝐴𝐵) mod 𝐶) = ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))) → 0 ≤ ((𝐴𝐵) mod 𝐶))
69 simpr 487 . . . 4 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) ∧ ((𝐴𝐵) mod 𝐶) = ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))) → ((𝐴𝐵) mod 𝐶) = ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)))
7068, 69breqtrd 5092 . . 3 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) ∧ ((𝐴𝐵) mod 𝐶) = ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))) → 0 ≤ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)))
7165, 70impbida 799 . 2 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → (0 ≤ ((𝐴 mod 𝐶) − (𝐵 mod 𝐶)) ↔ ((𝐴𝐵) mod 𝐶) = ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))))
725, 71bitr3d 283 1 ((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ+) → ((𝐵 mod 𝐶) ≤ (𝐴 mod 𝐶) ↔ ((𝐴𝐵) mod 𝐶) = ((𝐴 mod 𝐶) − (𝐵 mod 𝐶))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  w3a 1083   = wceq 1537  wcel 2114   class class class wbr 5066  cfv 6355  (class class class)co 7156  cc 10535  cr 10536  0cc0 10537   · cmul 10542   < clt 10675  cle 10676  cmin 10870   / cdiv 11297  cz 11982  +crp 12390  cfl 13161   mod cmo 13238
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5203  ax-nul 5210  ax-pow 5266  ax-pr 5330  ax-un 7461  ax-cnex 10593  ax-resscn 10594  ax-1cn 10595  ax-icn 10596  ax-addcl 10597  ax-addrcl 10598  ax-mulcl 10599  ax-mulrcl 10600  ax-mulcom 10601  ax-addass 10602  ax-mulass 10603  ax-distr 10604  ax-i2m1 10605  ax-1ne0 10606  ax-1rid 10607  ax-rnegex 10608  ax-rrecex 10609  ax-cnre 10610  ax-pre-lttri 10611  ax-pre-lttrn 10612  ax-pre-ltadd 10613  ax-pre-mulgt0 10614  ax-pre-sup 10615
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-nel 3124  df-ral 3143  df-rex 3144  df-reu 3145  df-rmo 3146  df-rab 3147  df-v 3496  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-pss 3954  df-nul 4292  df-if 4468  df-pw 4541  df-sn 4568  df-pr 4570  df-tp 4572  df-op 4574  df-uni 4839  df-iun 4921  df-br 5067  df-opab 5129  df-mpt 5147  df-tr 5173  df-id 5460  df-eprel 5465  df-po 5474  df-so 5475  df-fr 5514  df-we 5516  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-res 5567  df-ima 5568  df-pred 6148  df-ord 6194  df-on 6195  df-lim 6196  df-suc 6197  df-iota 6314  df-fun 6357  df-fn 6358  df-f 6359  df-f1 6360  df-fo 6361  df-f1o 6362  df-fv 6363  df-riota 7114  df-ov 7159  df-oprab 7160  df-mpo 7161  df-om 7581  df-wrecs 7947  df-recs 8008  df-rdg 8046  df-er 8289  df-en 8510  df-dom 8511  df-sdom 8512  df-sup 8906  df-inf 8907  df-pnf 10677  df-mnf 10678  df-xr 10679  df-ltxr 10680  df-le 10681  df-sub 10872  df-neg 10873  df-div 11298  df-nn 11639  df-n0 11899  df-z 11983  df-uz 12245  df-rp 12391  df-fl 13163  df-mod 13239
This theorem is referenced by:  modeqmodmin  13310  digit1  13599  4sqlem12  16292
  Copyright terms: Public domain W3C validator