Mathbox for Stefan O'Rear < Previous   Next > Nearby theorems Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  dvdsrabdioph Structured version   Visualization version   GIF version

Theorem dvdsrabdioph 36854
 Description: Divisibility is a Diophantine relation. (Contributed by Stefan O'Rear, 11-Oct-2014.)
Assertion
Ref Expression
dvdsrabdioph ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑡 ∈ (ℕ0𝑚 (1...𝑁)) ∣ 𝐴𝐵} ∈ (Dioph‘𝑁))
Distinct variable group:   𝑡,𝑁
Allowed substitution hints:   𝐴(𝑡)   𝐵(𝑡)

Proof of Theorem dvdsrabdioph
Dummy variables 𝑎 𝑏 𝑐 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 rabdiophlem1 36845 . . . 4 ((𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) → ∀𝑡 ∈ (ℕ0𝑚 (1...𝑁))𝐴 ∈ ℤ)
2 rabdiophlem1 36845 . . . 4 ((𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁)) → ∀𝑡 ∈ (ℕ0𝑚 (1...𝑁))𝐵 ∈ ℤ)
3 divides 14909 . . . . . . 7 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (𝐴𝐵 ↔ ∃𝑎 ∈ ℤ (𝑎 · 𝐴) = 𝐵))
4 oveq1 6611 . . . . . . . . 9 (𝑎 = 𝑏 → (𝑎 · 𝐴) = (𝑏 · 𝐴))
54eqeq1d 2623 . . . . . . . 8 (𝑎 = 𝑏 → ((𝑎 · 𝐴) = 𝐵 ↔ (𝑏 · 𝐴) = 𝐵))
6 oveq1 6611 . . . . . . . . 9 (𝑎 = -𝑏 → (𝑎 · 𝐴) = (-𝑏 · 𝐴))
76eqeq1d 2623 . . . . . . . 8 (𝑎 = -𝑏 → ((𝑎 · 𝐴) = 𝐵 ↔ (-𝑏 · 𝐴) = 𝐵))
85, 7rexzrexnn0 36848 . . . . . . 7 (∃𝑎 ∈ ℤ (𝑎 · 𝐴) = 𝐵 ↔ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵))
93, 8syl6bb 276 . . . . . 6 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (𝐴𝐵 ↔ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)))
109ralimi 2947 . . . . 5 (∀𝑡 ∈ (ℕ0𝑚 (1...𝑁))(𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → ∀𝑡 ∈ (ℕ0𝑚 (1...𝑁))(𝐴𝐵 ↔ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)))
11 r19.26 3057 . . . . 5 (∀𝑡 ∈ (ℕ0𝑚 (1...𝑁))(𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ↔ (∀𝑡 ∈ (ℕ0𝑚 (1...𝑁))𝐴 ∈ ℤ ∧ ∀𝑡 ∈ (ℕ0𝑚 (1...𝑁))𝐵 ∈ ℤ))
12 rabbi 3109 . . . . 5 (∀𝑡 ∈ (ℕ0𝑚 (1...𝑁))(𝐴𝐵 ↔ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)) ↔ {𝑡 ∈ (ℕ0𝑚 (1...𝑁)) ∣ 𝐴𝐵} = {𝑡 ∈ (ℕ0𝑚 (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)})
1310, 11, 123imtr3i 280 . . . 4 ((∀𝑡 ∈ (ℕ0𝑚 (1...𝑁))𝐴 ∈ ℤ ∧ ∀𝑡 ∈ (ℕ0𝑚 (1...𝑁))𝐵 ∈ ℤ) → {𝑡 ∈ (ℕ0𝑚 (1...𝑁)) ∣ 𝐴𝐵} = {𝑡 ∈ (ℕ0𝑚 (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)})
141, 2, 13syl2an 494 . . 3 (((𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑡 ∈ (ℕ0𝑚 (1...𝑁)) ∣ 𝐴𝐵} = {𝑡 ∈ (ℕ0𝑚 (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)})
15143adant1 1077 . 2 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑡 ∈ (ℕ0𝑚 (1...𝑁)) ∣ 𝐴𝐵} = {𝑡 ∈ (ℕ0𝑚 (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)})
16 nfcv 2761 . . . 4 𝑡(ℕ0𝑚 (1...𝑁))
17 nfcv 2761 . . . 4 𝑎(ℕ0𝑚 (1...𝑁))
18 nfv 1840 . . . 4 𝑎𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)
19 nfcv 2761 . . . . 5 𝑡0
20 nfcv 2761 . . . . . . . 8 𝑡𝑏
21 nfcv 2761 . . . . . . . 8 𝑡 ·
22 nfcsb1v 3530 . . . . . . . 8 𝑡𝑎 / 𝑡𝐴
2320, 21, 22nfov 6630 . . . . . . 7 𝑡(𝑏 · 𝑎 / 𝑡𝐴)
24 nfcsb1v 3530 . . . . . . 7 𝑡𝑎 / 𝑡𝐵
2523, 24nfeq 2772 . . . . . 6 𝑡(𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵
26 nfcv 2761 . . . . . . . 8 𝑡-𝑏
2726, 21, 22nfov 6630 . . . . . . 7 𝑡(-𝑏 · 𝑎 / 𝑡𝐴)
2827, 24nfeq 2772 . . . . . 6 𝑡(-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵
2925, 28nfor 1831 . . . . 5 𝑡((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)
3019, 29nfrex 3001 . . . 4 𝑡𝑏 ∈ ℕ0 ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)
31 csbeq1a 3523 . . . . . . . 8 (𝑡 = 𝑎𝐴 = 𝑎 / 𝑡𝐴)
3231oveq2d 6620 . . . . . . 7 (𝑡 = 𝑎 → (𝑏 · 𝐴) = (𝑏 · 𝑎 / 𝑡𝐴))
33 csbeq1a 3523 . . . . . . 7 (𝑡 = 𝑎𝐵 = 𝑎 / 𝑡𝐵)
3432, 33eqeq12d 2636 . . . . . 6 (𝑡 = 𝑎 → ((𝑏 · 𝐴) = 𝐵 ↔ (𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵))
3531oveq2d 6620 . . . . . . 7 (𝑡 = 𝑎 → (-𝑏 · 𝐴) = (-𝑏 · 𝑎 / 𝑡𝐴))
3635, 33eqeq12d 2636 . . . . . 6 (𝑡 = 𝑎 → ((-𝑏 · 𝐴) = 𝐵 ↔ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵))
3734, 36orbi12d 745 . . . . 5 (𝑡 = 𝑎 → (((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵) ↔ ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)))
3837rexbidv 3045 . . . 4 (𝑡 = 𝑎 → (∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵) ↔ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)))
3916, 17, 18, 30, 38cbvrab 3184 . . 3 {𝑡 ∈ (ℕ0𝑚 (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)} = {𝑎 ∈ (ℕ0𝑚 (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)}
40 simp1 1059 . . . 4 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → 𝑁 ∈ ℕ0)
41 peano2nn0 11277 . . . . . . 7 (𝑁 ∈ ℕ0 → (𝑁 + 1) ∈ ℕ0)
42413ad2ant1 1080 . . . . . 6 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → (𝑁 + 1) ∈ ℕ0)
43 ovex 6632 . . . . . . . . . 10 (1...(𝑁 + 1)) ∈ V
44 nn0p1nn 11276 . . . . . . . . . . 11 (𝑁 ∈ ℕ0 → (𝑁 + 1) ∈ ℕ)
45 elfz1end 12313 . . . . . . . . . . 11 ((𝑁 + 1) ∈ ℕ ↔ (𝑁 + 1) ∈ (1...(𝑁 + 1)))
4644, 45sylib 208 . . . . . . . . . 10 (𝑁 ∈ ℕ0 → (𝑁 + 1) ∈ (1...(𝑁 + 1)))
47 mzpproj 36780 . . . . . . . . . 10 (((1...(𝑁 + 1)) ∈ V ∧ (𝑁 + 1) ∈ (1...(𝑁 + 1))) → (𝑐 ∈ (ℤ ↑𝑚 (1...(𝑁 + 1))) ↦ (𝑐‘(𝑁 + 1))) ∈ (mzPoly‘(1...(𝑁 + 1))))
4843, 46, 47sylancr 694 . . . . . . . . 9 (𝑁 ∈ ℕ0 → (𝑐 ∈ (ℤ ↑𝑚 (1...(𝑁 + 1))) ↦ (𝑐‘(𝑁 + 1))) ∈ (mzPoly‘(1...(𝑁 + 1))))
4948adantr 481 . . . . . . . 8 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑𝑚 (1...(𝑁 + 1))) ↦ (𝑐‘(𝑁 + 1))) ∈ (mzPoly‘(1...(𝑁 + 1))))
50 eqid 2621 . . . . . . . . 9 (𝑁 + 1) = (𝑁 + 1)
5150rabdiophlem2 36846 . . . . . . . 8 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑𝑚 (1...(𝑁 + 1))) ↦ (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) ∈ (mzPoly‘(1...(𝑁 + 1))))
52 mzpmulmpt 36785 . . . . . . . 8 (((𝑐 ∈ (ℤ ↑𝑚 (1...(𝑁 + 1))) ↦ (𝑐‘(𝑁 + 1))) ∈ (mzPoly‘(1...(𝑁 + 1))) ∧ (𝑐 ∈ (ℤ ↑𝑚 (1...(𝑁 + 1))) ↦ (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) ∈ (mzPoly‘(1...(𝑁 + 1)))) → (𝑐 ∈ (ℤ ↑𝑚 (1...(𝑁 + 1))) ↦ ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)) ∈ (mzPoly‘(1...(𝑁 + 1))))
5349, 51, 52syl2anc 692 . . . . . . 7 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑𝑚 (1...(𝑁 + 1))) ↦ ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)) ∈ (mzPoly‘(1...(𝑁 + 1))))
54533adant3 1079 . . . . . 6 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑𝑚 (1...(𝑁 + 1))) ↦ ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)) ∈ (mzPoly‘(1...(𝑁 + 1))))
5550rabdiophlem2 36846 . . . . . . 7 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑𝑚 (1...(𝑁 + 1))) ↦ (𝑐 ↾ (1...𝑁)) / 𝑡𝐵) ∈ (mzPoly‘(1...(𝑁 + 1))))
56553adant2 1078 . . . . . 6 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑𝑚 (1...(𝑁 + 1))) ↦ (𝑐 ↾ (1...𝑁)) / 𝑡𝐵) ∈ (mzPoly‘(1...(𝑁 + 1))))
57 eqrabdioph 36821 . . . . . 6 (((𝑁 + 1) ∈ ℕ0 ∧ (𝑐 ∈ (ℤ ↑𝑚 (1...(𝑁 + 1))) ↦ ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)) ∈ (mzPoly‘(1...(𝑁 + 1))) ∧ (𝑐 ∈ (ℤ ↑𝑚 (1...(𝑁 + 1))) ↦ (𝑐 ↾ (1...𝑁)) / 𝑡𝐵) ∈ (mzPoly‘(1...(𝑁 + 1)))) → {𝑐 ∈ (ℕ0𝑚 (1...(𝑁 + 1))) ∣ ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵} ∈ (Dioph‘(𝑁 + 1)))
5842, 54, 56, 57syl3anc 1323 . . . . 5 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑐 ∈ (ℕ0𝑚 (1...(𝑁 + 1))) ∣ ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵} ∈ (Dioph‘(𝑁 + 1)))
59 mzpnegmpt 36787 . . . . . . . . 9 ((𝑐 ∈ (ℤ ↑𝑚 (1...(𝑁 + 1))) ↦ (𝑐‘(𝑁 + 1))) ∈ (mzPoly‘(1...(𝑁 + 1))) → (𝑐 ∈ (ℤ ↑𝑚 (1...(𝑁 + 1))) ↦ -(𝑐‘(𝑁 + 1))) ∈ (mzPoly‘(1...(𝑁 + 1))))
6049, 59syl 17 . . . . . . . 8 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑𝑚 (1...(𝑁 + 1))) ↦ -(𝑐‘(𝑁 + 1))) ∈ (mzPoly‘(1...(𝑁 + 1))))
61 mzpmulmpt 36785 . . . . . . . 8 (((𝑐 ∈ (ℤ ↑𝑚 (1...(𝑁 + 1))) ↦ -(𝑐‘(𝑁 + 1))) ∈ (mzPoly‘(1...(𝑁 + 1))) ∧ (𝑐 ∈ (ℤ ↑𝑚 (1...(𝑁 + 1))) ↦ (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) ∈ (mzPoly‘(1...(𝑁 + 1)))) → (𝑐 ∈ (ℤ ↑𝑚 (1...(𝑁 + 1))) ↦ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)) ∈ (mzPoly‘(1...(𝑁 + 1))))
6260, 51, 61syl2anc 692 . . . . . . 7 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑𝑚 (1...(𝑁 + 1))) ↦ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)) ∈ (mzPoly‘(1...(𝑁 + 1))))
63623adant3 1079 . . . . . 6 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑𝑚 (1...(𝑁 + 1))) ↦ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)) ∈ (mzPoly‘(1...(𝑁 + 1))))
64 eqrabdioph 36821 . . . . . 6 (((𝑁 + 1) ∈ ℕ0 ∧ (𝑐 ∈ (ℤ ↑𝑚 (1...(𝑁 + 1))) ↦ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)) ∈ (mzPoly‘(1...(𝑁 + 1))) ∧ (𝑐 ∈ (ℤ ↑𝑚 (1...(𝑁 + 1))) ↦ (𝑐 ↾ (1...𝑁)) / 𝑡𝐵) ∈ (mzPoly‘(1...(𝑁 + 1)))) → {𝑐 ∈ (ℕ0𝑚 (1...(𝑁 + 1))) ∣ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵} ∈ (Dioph‘(𝑁 + 1)))
6542, 63, 56, 64syl3anc 1323 . . . . 5 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑐 ∈ (ℕ0𝑚 (1...(𝑁 + 1))) ∣ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵} ∈ (Dioph‘(𝑁 + 1)))
66 orrabdioph 36825 . . . . 5 (({𝑐 ∈ (ℕ0𝑚 (1...(𝑁 + 1))) ∣ ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵} ∈ (Dioph‘(𝑁 + 1)) ∧ {𝑐 ∈ (ℕ0𝑚 (1...(𝑁 + 1))) ∣ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵} ∈ (Dioph‘(𝑁 + 1))) → {𝑐 ∈ (ℕ0𝑚 (1...(𝑁 + 1))) ∣ (((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵 ∨ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵)} ∈ (Dioph‘(𝑁 + 1)))
6758, 65, 66syl2anc 692 . . . 4 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑐 ∈ (ℕ0𝑚 (1...(𝑁 + 1))) ∣ (((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵 ∨ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵)} ∈ (Dioph‘(𝑁 + 1)))
68 oveq1 6611 . . . . . . 7 (𝑏 = (𝑐‘(𝑁 + 1)) → (𝑏 · 𝑎 / 𝑡𝐴) = ((𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴))
6968eqeq1d 2623 . . . . . 6 (𝑏 = (𝑐‘(𝑁 + 1)) → ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ↔ ((𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵))
70 negeq 10217 . . . . . . . 8 (𝑏 = (𝑐‘(𝑁 + 1)) → -𝑏 = -(𝑐‘(𝑁 + 1)))
7170oveq1d 6619 . . . . . . 7 (𝑏 = (𝑐‘(𝑁 + 1)) → (-𝑏 · 𝑎 / 𝑡𝐴) = (-(𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴))
7271eqeq1d 2623 . . . . . 6 (𝑏 = (𝑐‘(𝑁 + 1)) → ((-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ↔ (-(𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵))
7369, 72orbi12d 745 . . . . 5 (𝑏 = (𝑐‘(𝑁 + 1)) → (((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵) ↔ (((𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-(𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)))
74 csbeq1 3517 . . . . . . . 8 (𝑎 = (𝑐 ↾ (1...𝑁)) → 𝑎 / 𝑡𝐴 = (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)
7574oveq2d 6620 . . . . . . 7 (𝑎 = (𝑐 ↾ (1...𝑁)) → ((𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴))
76 csbeq1 3517 . . . . . . 7 (𝑎 = (𝑐 ↾ (1...𝑁)) → 𝑎 / 𝑡𝐵 = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵)
7775, 76eqeq12d 2636 . . . . . 6 (𝑎 = (𝑐 ↾ (1...𝑁)) → (((𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ↔ ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵))
7874oveq2d 6620 . . . . . . 7 (𝑎 = (𝑐 ↾ (1...𝑁)) → (-(𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴))
7978, 76eqeq12d 2636 . . . . . 6 (𝑎 = (𝑐 ↾ (1...𝑁)) → ((-(𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ↔ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵))
8077, 79orbi12d 745 . . . . 5 (𝑎 = (𝑐 ↾ (1...𝑁)) → ((((𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-(𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵) ↔ (((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵 ∨ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵)))
8150, 73, 80rexrabdioph 36838 . . . 4 ((𝑁 ∈ ℕ0 ∧ {𝑐 ∈ (ℕ0𝑚 (1...(𝑁 + 1))) ∣ (((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵 ∨ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵)} ∈ (Dioph‘(𝑁 + 1))) → {𝑎 ∈ (ℕ0𝑚 (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)} ∈ (Dioph‘𝑁))
8240, 67, 81syl2anc 692 . . 3 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑎 ∈ (ℕ0𝑚 (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)} ∈ (Dioph‘𝑁))
8339, 82syl5eqel 2702 . 2 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑡 ∈ (ℕ0𝑚 (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)} ∈ (Dioph‘𝑁))
8415, 83eqeltrd 2698 1 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑𝑚 (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑡 ∈ (ℕ0𝑚 (1...𝑁)) ∣ 𝐴𝐵} ∈ (Dioph‘𝑁))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 196   ∨ wo 383   ∧ wa 384   ∧ w3a 1036   = wceq 1480   ∈ wcel 1987  ∀wral 2907  ∃wrex 2908  {crab 2911  Vcvv 3186  ⦋csb 3514   class class class wbr 4613   ↦ cmpt 4673   ↾ cres 5076  ‘cfv 5847  (class class class)co 6604   ↑𝑚 cmap 7802  1c1 9881   + caddc 9883   · cmul 9885  -cneg 10211  ℕcn 10964  ℕ0cn0 11236  ℤcz 11321  ...cfz 12268   ∥ cdvds 14907  mzPolycmzp 36765  Diophcdioph 36798 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-rep 4731  ax-sep 4741  ax-nul 4749  ax-pow 4803  ax-pr 4867  ax-un 6902  ax-inf2 8482  ax-cnex 9936  ax-resscn 9937  ax-1cn 9938  ax-icn 9939  ax-addcl 9940  ax-addrcl 9941  ax-mulcl 9942  ax-mulrcl 9943  ax-mulcom 9944  ax-addass 9945  ax-mulass 9946  ax-distr 9947  ax-i2m1 9948  ax-1ne0 9949  ax-1rid 9950  ax-rnegex 9951  ax-rrecex 9952  ax-cnre 9953  ax-pre-lttri 9954  ax-pre-lttrn 9955  ax-pre-ltadd 9956  ax-pre-mulgt0 9957 This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-nel 2894  df-ral 2912  df-rex 2913  df-reu 2914  df-rmo 2915  df-rab 2916  df-v 3188  df-sbc 3418  df-csb 3515  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-pss 3571  df-nul 3892  df-if 4059  df-pw 4132  df-sn 4149  df-pr 4151  df-tp 4153  df-op 4155  df-uni 4403  df-int 4441  df-iun 4487  df-br 4614  df-opab 4674  df-mpt 4675  df-tr 4713  df-eprel 4985  df-id 4989  df-po 4995  df-so 4996  df-fr 5033  df-we 5035  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-res 5086  df-ima 5087  df-pred 5639  df-ord 5685  df-on 5686  df-lim 5687  df-suc 5688  df-iota 5810  df-fun 5849  df-fn 5850  df-f 5851  df-f1 5852  df-fo 5853  df-f1o 5854  df-fv 5855  df-riota 6565  df-ov 6607  df-oprab 6608  df-mpt2 6609  df-of 6850  df-om 7013  df-1st 7113  df-2nd 7114  df-wrecs 7352  df-recs 7413  df-rdg 7451  df-1o 7505  df-oadd 7509  df-er 7687  df-map 7804  df-en 7900  df-dom 7901  df-sdom 7902  df-fin 7903  df-card 8709  df-cda 8934  df-pnf 10020  df-mnf 10021  df-xr 10022  df-ltxr 10023  df-le 10024  df-sub 10212  df-neg 10213  df-nn 10965  df-n0 11237  df-z 11322  df-uz 11632  df-fz 12269  df-hash 13058  df-dvds 14908  df-mzpcl 36766  df-mzp 36767  df-dioph 36799 This theorem is referenced by:  rmydioph  37061  expdiophlem2  37069
 Copyright terms: Public domain W3C validator