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

Theorem modmul1 14068
Description: Multiplication property of the modulo operation. Note that the multiplier 𝐶 must be an integer. (Contributed by NM, 12-Nov-2008.)
Assertion
Ref Expression
modmul1 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+) ∧ (𝐴 mod 𝐷) = (𝐵 mod 𝐷)) → ((𝐴 · 𝐶) mod 𝐷) = ((𝐵 · 𝐶) mod 𝐷))

Proof of Theorem modmul1
StepHypRef Expression
1 modval 14012 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 𝐷 ∈ ℝ+) → (𝐴 mod 𝐷) = (𝐴 − (𝐷 · (⌊‘(𝐴 / 𝐷)))))
2 modval 14012 . . . . . . . 8 ((𝐵 ∈ ℝ ∧ 𝐷 ∈ ℝ+) → (𝐵 mod 𝐷) = (𝐵 − (𝐷 · (⌊‘(𝐵 / 𝐷)))))
31, 2eqeqan12d 2774 . . . . . . 7 (((𝐴 ∈ ℝ ∧ 𝐷 ∈ ℝ+) ∧ (𝐵 ∈ ℝ ∧ 𝐷 ∈ ℝ+)) → ((𝐴 mod 𝐷) = (𝐵 mod 𝐷) ↔ (𝐴 − (𝐷 · (⌊‘(𝐴 / 𝐷)))) = (𝐵 − (𝐷 · (⌊‘(𝐵 / 𝐷))))))
43anandirs 692 . . . . . 6 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ 𝐷 ∈ ℝ+) → ((𝐴 mod 𝐷) = (𝐵 mod 𝐷) ↔ (𝐴 − (𝐷 · (⌊‘(𝐴 / 𝐷)))) = (𝐵 − (𝐷 · (⌊‘(𝐵 / 𝐷))))))
54adantrl 729 . . . . 5 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → ((𝐴 mod 𝐷) = (𝐵 mod 𝐷) ↔ (𝐴 − (𝐷 · (⌊‘(𝐴 / 𝐷)))) = (𝐵 − (𝐷 · (⌊‘(𝐵 / 𝐷))))))
6 oveq1 7427 . . . . 5 ((𝐴 − (𝐷 · (⌊‘(𝐴 / 𝐷)))) = (𝐵 − (𝐷 · (⌊‘(𝐵 / 𝐷)))) → ((𝐴 − (𝐷 · (⌊‘(𝐴 / 𝐷)))) · 𝐶) = ((𝐵 − (𝐷 · (⌊‘(𝐵 / 𝐷)))) · 𝐶))
75, 6biimtrdi 256 . . . 4 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → ((𝐴 mod 𝐷) = (𝐵 mod 𝐷) → ((𝐴 − (𝐷 · (⌊‘(𝐴 / 𝐷)))) · 𝐶) = ((𝐵 − (𝐷 · (⌊‘(𝐵 / 𝐷)))) · 𝐶)))
8 rpcn 13132 . . . . . . . . . . 11 (𝐷 ∈ ℝ+ → 𝐷 ∈ ℂ)
98ad2antll 742 . . . . . . . . . 10 ((𝐴 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → 𝐷 ∈ ℂ)
10 zcn 12699 . . . . . . . . . . 11 (𝐶 ∈ ℤ → 𝐶 ∈ ℂ)
1110ad2antrl 741 . . . . . . . . . 10 ((𝐴 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → 𝐶 ∈ ℂ)
12 rerpdivcl 13153 . . . . . . . . . . . . 13 ((𝐴 ∈ ℝ ∧ 𝐷 ∈ ℝ+) → (𝐴 / 𝐷) ∈ ℝ)
1312flcld 13939 . . . . . . . . . . . 12 ((𝐴 ∈ ℝ ∧ 𝐷 ∈ ℝ+) → (⌊‘(𝐴 / 𝐷)) ∈ ℤ)
1413zcnd 12805 . . . . . . . . . . 11 ((𝐴 ∈ ℝ ∧ 𝐷 ∈ ℝ+) → (⌊‘(𝐴 / 𝐷)) ∈ ℂ)
1514adantrl 729 . . . . . . . . . 10 ((𝐴 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → (⌊‘(𝐴 / 𝐷)) ∈ ℂ)
169, 11, 15mulassd 11333 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → ((𝐷 · 𝐶) · (⌊‘(𝐴 / 𝐷))) = (𝐷 · (𝐶 · (⌊‘(𝐴 / 𝐷)))))
179, 11, 15mul32d 11521 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → ((𝐷 · 𝐶) · (⌊‘(𝐴 / 𝐷))) = ((𝐷 · (⌊‘(𝐴 / 𝐷))) · 𝐶))
1816, 17eqtr3d 2797 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → (𝐷 · (𝐶 · (⌊‘(𝐴 / 𝐷)))) = ((𝐷 · (⌊‘(𝐴 / 𝐷))) · 𝐶))
1918oveq2d 7436 . . . . . . 7 ((𝐴 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → ((𝐴 · 𝐶) − (𝐷 · (𝐶 · (⌊‘(𝐴 / 𝐷))))) = ((𝐴 · 𝐶) − ((𝐷 · (⌊‘(𝐴 / 𝐷))) · 𝐶)))
20 recn 11291 . . . . . . . . 9 (𝐴 ∈ ℝ → 𝐴 ∈ ℂ)
2120adantr 486 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → 𝐴 ∈ ℂ)
228adantl 487 . . . . . . . . . 10 ((𝐴 ∈ ℝ ∧ 𝐷 ∈ ℝ+) → 𝐷 ∈ ℂ)
2322, 14mulcld 11330 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ 𝐷 ∈ ℝ+) → (𝐷 · (⌊‘(𝐴 / 𝐷))) ∈ ℂ)
2423adantrl 729 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → (𝐷 · (⌊‘(𝐴 / 𝐷))) ∈ ℂ)
2521, 24, 11subdird 11774 . . . . . . 7 ((𝐴 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → ((𝐴 − (𝐷 · (⌊‘(𝐴 / 𝐷)))) · 𝐶) = ((𝐴 · 𝐶) − ((𝐷 · (⌊‘(𝐴 / 𝐷))) · 𝐶)))
2619, 25eqtr4d 2798 . . . . . 6 ((𝐴 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → ((𝐴 · 𝐶) − (𝐷 · (𝐶 · (⌊‘(𝐴 / 𝐷))))) = ((𝐴 − (𝐷 · (⌊‘(𝐴 / 𝐷)))) · 𝐶))
2726adantlr 728 . . . . 5 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → ((𝐴 · 𝐶) − (𝐷 · (𝐶 · (⌊‘(𝐴 / 𝐷))))) = ((𝐴 − (𝐷 · (⌊‘(𝐴 / 𝐷)))) · 𝐶))
288ad2antll 742 . . . . . . . . . 10 ((𝐵 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → 𝐷 ∈ ℂ)
2910ad2antrl 741 . . . . . . . . . 10 ((𝐵 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → 𝐶 ∈ ℂ)
30 rerpdivcl 13153 . . . . . . . . . . . . 13 ((𝐵 ∈ ℝ ∧ 𝐷 ∈ ℝ+) → (𝐵 / 𝐷) ∈ ℝ)
3130flcld 13939 . . . . . . . . . . . 12 ((𝐵 ∈ ℝ ∧ 𝐷 ∈ ℝ+) → (⌊‘(𝐵 / 𝐷)) ∈ ℤ)
3231zcnd 12805 . . . . . . . . . . 11 ((𝐵 ∈ ℝ ∧ 𝐷 ∈ ℝ+) → (⌊‘(𝐵 / 𝐷)) ∈ ℂ)
3332adantrl 729 . . . . . . . . . 10 ((𝐵 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → (⌊‘(𝐵 / 𝐷)) ∈ ℂ)
3428, 29, 33mulassd 11333 . . . . . . . . 9 ((𝐵 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → ((𝐷 · 𝐶) · (⌊‘(𝐵 / 𝐷))) = (𝐷 · (𝐶 · (⌊‘(𝐵 / 𝐷)))))
3528, 29, 33mul32d 11521 . . . . . . . . 9 ((𝐵 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → ((𝐷 · 𝐶) · (⌊‘(𝐵 / 𝐷))) = ((𝐷 · (⌊‘(𝐵 / 𝐷))) · 𝐶))
3634, 35eqtr3d 2797 . . . . . . . 8 ((𝐵 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → (𝐷 · (𝐶 · (⌊‘(𝐵 / 𝐷)))) = ((𝐷 · (⌊‘(𝐵 / 𝐷))) · 𝐶))
3736oveq2d 7436 . . . . . . 7 ((𝐵 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → ((𝐵 · 𝐶) − (𝐷 · (𝐶 · (⌊‘(𝐵 / 𝐷))))) = ((𝐵 · 𝐶) − ((𝐷 · (⌊‘(𝐵 / 𝐷))) · 𝐶)))
38 recn 11291 . . . . . . . . 9 (𝐵 ∈ ℝ → 𝐵 ∈ ℂ)
3938adantr 486 . . . . . . . 8 ((𝐵 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → 𝐵 ∈ ℂ)
408adantl 487 . . . . . . . . . 10 ((𝐵 ∈ ℝ ∧ 𝐷 ∈ ℝ+) → 𝐷 ∈ ℂ)
4140, 32mulcld 11330 . . . . . . . . 9 ((𝐵 ∈ ℝ ∧ 𝐷 ∈ ℝ+) → (𝐷 · (⌊‘(𝐵 / 𝐷))) ∈ ℂ)
4241adantrl 729 . . . . . . . 8 ((𝐵 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → (𝐷 · (⌊‘(𝐵 / 𝐷))) ∈ ℂ)
4339, 42, 29subdird 11774 . . . . . . 7 ((𝐵 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → ((𝐵 − (𝐷 · (⌊‘(𝐵 / 𝐷)))) · 𝐶) = ((𝐵 · 𝐶) − ((𝐷 · (⌊‘(𝐵 / 𝐷))) · 𝐶)))
4437, 43eqtr4d 2798 . . . . . 6 ((𝐵 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → ((𝐵 · 𝐶) − (𝐷 · (𝐶 · (⌊‘(𝐵 / 𝐷))))) = ((𝐵 − (𝐷 · (⌊‘(𝐵 / 𝐷)))) · 𝐶))
4544adantll 727 . . . . 5 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → ((𝐵 · 𝐶) − (𝐷 · (𝐶 · (⌊‘(𝐵 / 𝐷))))) = ((𝐵 − (𝐷 · (⌊‘(𝐵 / 𝐷)))) · 𝐶))
4627, 45eqeq12d 2776 . . . 4 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → (((𝐴 · 𝐶) − (𝐷 · (𝐶 · (⌊‘(𝐴 / 𝐷))))) = ((𝐵 · 𝐶) − (𝐷 · (𝐶 · (⌊‘(𝐵 / 𝐷))))) ↔ ((𝐴 − (𝐷 · (⌊‘(𝐴 / 𝐷)))) · 𝐶) = ((𝐵 − (𝐷 · (⌊‘(𝐵 / 𝐷)))) · 𝐶)))
477, 46sylibrd 262 . . 3 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → ((𝐴 mod 𝐷) = (𝐵 mod 𝐷) → ((𝐴 · 𝐶) − (𝐷 · (𝐶 · (⌊‘(𝐴 / 𝐷))))) = ((𝐵 · 𝐶) − (𝐷 · (𝐶 · (⌊‘(𝐵 / 𝐷)))))))
48 oveq1 7427 . . . 4 (((𝐴 · 𝐶) − (𝐷 · (𝐶 · (⌊‘(𝐴 / 𝐷))))) = ((𝐵 · 𝐶) − (𝐷 · (𝐶 · (⌊‘(𝐵 / 𝐷))))) → (((𝐴 · 𝐶) − (𝐷 · (𝐶 · (⌊‘(𝐴 / 𝐷))))) mod 𝐷) = (((𝐵 · 𝐶) − (𝐷 · (𝐶 · (⌊‘(𝐵 / 𝐷))))) mod 𝐷))
49 zre 12698 . . . . . . . . 9 (𝐶 ∈ ℤ → 𝐶 ∈ ℝ)
50 remulcl 11286 . . . . . . . . 9 ((𝐴 ∈ ℝ ∧ 𝐶 ∈ ℝ) → (𝐴 · 𝐶) ∈ ℝ)
5149, 50sylan2 605 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ 𝐶 ∈ ℤ) → (𝐴 · 𝐶) ∈ ℝ)
5251adantrr 730 . . . . . . 7 ((𝐴 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → (𝐴 · 𝐶) ∈ ℝ)
53 simprr 785 . . . . . . 7 ((𝐴 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → 𝐷 ∈ ℝ+)
54 simprl 783 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → 𝐶 ∈ ℤ)
5513adantrl 729 . . . . . . . 8 ((𝐴 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → (⌊‘(𝐴 / 𝐷)) ∈ ℤ)
5654, 55zmulcld 12810 . . . . . . 7 ((𝐴 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → (𝐶 · (⌊‘(𝐴 / 𝐷))) ∈ ℤ)
57 modcyc2 14048 . . . . . . 7 (((𝐴 · 𝐶) ∈ ℝ ∧ 𝐷 ∈ ℝ+ ∧ (𝐶 · (⌊‘(𝐴 / 𝐷))) ∈ ℤ) → (((𝐴 · 𝐶) − (𝐷 · (𝐶 · (⌊‘(𝐴 / 𝐷))))) mod 𝐷) = ((𝐴 · 𝐶) mod 𝐷))
5852, 53, 56, 57syl3anc 1398 . . . . . 6 ((𝐴 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → (((𝐴 · 𝐶) − (𝐷 · (𝐶 · (⌊‘(𝐴 / 𝐷))))) mod 𝐷) = ((𝐴 · 𝐶) mod 𝐷))
5958adantlr 728 . . . . 5 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → (((𝐴 · 𝐶) − (𝐷 · (𝐶 · (⌊‘(𝐴 / 𝐷))))) mod 𝐷) = ((𝐴 · 𝐶) mod 𝐷))
60 remulcl 11286 . . . . . . . . 9 ((𝐵 ∈ ℝ ∧ 𝐶 ∈ ℝ) → (𝐵 · 𝐶) ∈ ℝ)
6149, 60sylan2 605 . . . . . . . 8 ((𝐵 ∈ ℝ ∧ 𝐶 ∈ ℤ) → (𝐵 · 𝐶) ∈ ℝ)
6261adantrr 730 . . . . . . 7 ((𝐵 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → (𝐵 · 𝐶) ∈ ℝ)
63 simprr 785 . . . . . . 7 ((𝐵 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → 𝐷 ∈ ℝ+)
64 simprl 783 . . . . . . . 8 ((𝐵 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → 𝐶 ∈ ℤ)
6531adantrl 729 . . . . . . . 8 ((𝐵 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → (⌊‘(𝐵 / 𝐷)) ∈ ℤ)
6664, 65zmulcld 12810 . . . . . . 7 ((𝐵 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → (𝐶 · (⌊‘(𝐵 / 𝐷))) ∈ ℤ)
67 modcyc2 14048 . . . . . . 7 (((𝐵 · 𝐶) ∈ ℝ ∧ 𝐷 ∈ ℝ+ ∧ (𝐶 · (⌊‘(𝐵 / 𝐷))) ∈ ℤ) → (((𝐵 · 𝐶) − (𝐷 · (𝐶 · (⌊‘(𝐵 / 𝐷))))) mod 𝐷) = ((𝐵 · 𝐶) mod 𝐷))
6862, 63, 66, 67syl3anc 1398 . . . . . 6 ((𝐵 ∈ ℝ ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → (((𝐵 · 𝐶) − (𝐷 · (𝐶 · (⌊‘(𝐵 / 𝐷))))) mod 𝐷) = ((𝐵 · 𝐶) mod 𝐷))
6968adantll 727 . . . . 5 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → (((𝐵 · 𝐶) − (𝐷 · (𝐶 · (⌊‘(𝐵 / 𝐷))))) mod 𝐷) = ((𝐵 · 𝐶) mod 𝐷))
7059, 69eqeq12d 2776 . . . 4 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → ((((𝐴 · 𝐶) − (𝐷 · (𝐶 · (⌊‘(𝐴 / 𝐷))))) mod 𝐷) = (((𝐵 · 𝐶) − (𝐷 · (𝐶 · (⌊‘(𝐵 / 𝐷))))) mod 𝐷) ↔ ((𝐴 · 𝐶) mod 𝐷) = ((𝐵 · 𝐶) mod 𝐷)))
7148, 70imbitrid 247 . . 3 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → (((𝐴 · 𝐶) − (𝐷 · (𝐶 · (⌊‘(𝐴 / 𝐷))))) = ((𝐵 · 𝐶) − (𝐷 · (𝐶 · (⌊‘(𝐵 / 𝐷))))) → ((𝐴 · 𝐶) mod 𝐷) = ((𝐵 · 𝐶) mod 𝐷)))
7247, 71syld 48 . 2 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+)) → ((𝐴 mod 𝐷) = (𝐵 mod 𝐷) → ((𝐴 · 𝐶) mod 𝐷) = ((𝐵 · 𝐶) mod 𝐷)))
73723impia 1135 1 (((𝐴 ∈ ℝ ∧ 𝐵 ∈ ℝ) ∧ (𝐶 ∈ ℤ ∧ 𝐷 ∈ ℝ+) ∧ (𝐴 mod 𝐷) = (𝐵 mod 𝐷)) → ((𝐴 · 𝐶) mod 𝐷) = ((𝐵 · 𝐶) mod 𝐷))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144  ‘cfv 6538  (class class class)co 7420  ℂcc 11199  ℝcr 11200   · cmul 11206   − cmin 11542   / cdiv 11974  ℤcz 12694  ℝ+crp 13121  ⌊cfl 13931   mod cmo 14010
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7751  ax-cnex 11257  ax-resscn 11258  ax-1cn 11259  ax-icn 11260  ax-addcl 11261  ax-addrcl 11262  ax-mulcl 11263  ax-mulrcl 11264  ax-mulcom 11265  ax-addass 11266  ax-mulass 11267  ax-distr 11268  ax-i2m1 11269  ax-1ne0 11270  ax-1rid 11271  ax-rnegex 11272  ax-rrecex 11273  ax-cnre 11274  ax-pre-lttri 11275  ax-pre-lttrn 11276  ax-pre-ltadd 11277  ax-pre-mulgt0 11278  ax-pre-sup 11279
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-riota 7377  df-ov 7423  df-oprab 7424  df-mpo 7425  df-om 7878  df-2nd 8002  df-frecs 8300  df-wrecs 8331  df-recs 8380  df-rdg 8419  df-er 8718  df-en 8975  df-dom 8976  df-sdom 8977  df-sup 9435  df-inf 9436  df-pnf 11346  df-mnf 11347  df-xr 11348  df-ltxr 11349  df-le 11350  df-sub 11544  df-neg 11545  df-div 11975  df-nn 12337  df-n0 12608  df-z 12695  df-uz 12967  df-rp 13122  df-fl 13933  df-mod 14011
This theorem is used by:  modmul12d  14069  modnegd  14070  modmulmod  14080  eulerthlem2  16960  fermltl  16962  odzdvds  16974  wilthlem2  27397  lgsdir2lem4  27656  lgsdirprm  27659  gausslemma2d  27702  pellexlem6  43917
  Copyright terms: Public domain W3C validator