Users' Mathboxes 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 39400
Description: Divisibility is a Diophantine relation. (Contributed by Stefan O'Rear, 11-Oct-2014.)
Assertion
Ref Expression
dvdsrabdioph ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑡 ∈ (ℕ0m (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 39391 . . . 4 ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) → ∀𝑡 ∈ (ℕ0m (1...𝑁))𝐴 ∈ ℤ)
2 rabdiophlem1 39391 . . . 4 ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁)) → ∀𝑡 ∈ (ℕ0m (1...𝑁))𝐵 ∈ ℤ)
3 divides 15603 . . . . . . 7 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (𝐴𝐵 ↔ ∃𝑎 ∈ ℤ (𝑎 · 𝐴) = 𝐵))
4 oveq1 7157 . . . . . . . . 9 (𝑎 = 𝑏 → (𝑎 · 𝐴) = (𝑏 · 𝐴))
54eqeq1d 2823 . . . . . . . 8 (𝑎 = 𝑏 → ((𝑎 · 𝐴) = 𝐵 ↔ (𝑏 · 𝐴) = 𝐵))
6 oveq1 7157 . . . . . . . . 9 (𝑎 = -𝑏 → (𝑎 · 𝐴) = (-𝑏 · 𝐴))
76eqeq1d 2823 . . . . . . . 8 (𝑎 = -𝑏 → ((𝑎 · 𝐴) = 𝐵 ↔ (-𝑏 · 𝐴) = 𝐵))
85, 7rexzrexnn0 39394 . . . . . . 7 (∃𝑎 ∈ ℤ (𝑎 · 𝐴) = 𝐵 ↔ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵))
93, 8syl6bb 289 . . . . . 6 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (𝐴𝐵 ↔ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)))
109ralimi 3160 . . . . 5 (∀𝑡 ∈ (ℕ0m (1...𝑁))(𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → ∀𝑡 ∈ (ℕ0m (1...𝑁))(𝐴𝐵 ↔ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)))
11 r19.26 3170 . . . . 5 (∀𝑡 ∈ (ℕ0m (1...𝑁))(𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ↔ (∀𝑡 ∈ (ℕ0m (1...𝑁))𝐴 ∈ ℤ ∧ ∀𝑡 ∈ (ℕ0m (1...𝑁))𝐵 ∈ ℤ))
12 rabbi 3383 . . . . 5 (∀𝑡 ∈ (ℕ0m (1...𝑁))(𝐴𝐵 ↔ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)) ↔ {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ 𝐴𝐵} = {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)})
1310, 11, 123imtr3i 293 . . . 4 ((∀𝑡 ∈ (ℕ0m (1...𝑁))𝐴 ∈ ℤ ∧ ∀𝑡 ∈ (ℕ0m (1...𝑁))𝐵 ∈ ℤ) → {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ 𝐴𝐵} = {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)})
141, 2, 13syl2an 597 . . 3 (((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ 𝐴𝐵} = {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)})
15143adant1 1126 . 2 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ 𝐴𝐵} = {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)})
16 nfcv 2977 . . . 4 𝑡(ℕ0m (1...𝑁))
17 nfcv 2977 . . . 4 𝑎(ℕ0m (1...𝑁))
18 nfv 1911 . . . 4 𝑎𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)
19 nfcv 2977 . . . . 5 𝑡0
20 nfcv 2977 . . . . . . . 8 𝑡𝑏
21 nfcv 2977 . . . . . . . 8 𝑡 ·
22 nfcsb1v 3906 . . . . . . . 8 𝑡𝑎 / 𝑡𝐴
2320, 21, 22nfov 7180 . . . . . . 7 𝑡(𝑏 · 𝑎 / 𝑡𝐴)
24 nfcsb1v 3906 . . . . . . 7 𝑡𝑎 / 𝑡𝐵
2523, 24nfeq 2991 . . . . . 6 𝑡(𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵
26 nfcv 2977 . . . . . . . 8 𝑡-𝑏
2726, 21, 22nfov 7180 . . . . . . 7 𝑡(-𝑏 · 𝑎 / 𝑡𝐴)
2827, 24nfeq 2991 . . . . . 6 𝑡(-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵
2925, 28nfor 1901 . . . . 5 𝑡((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)
3019, 29nfrex 3309 . . . 4 𝑡𝑏 ∈ ℕ0 ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)
31 csbeq1a 3896 . . . . . . . 8 (𝑡 = 𝑎𝐴 = 𝑎 / 𝑡𝐴)
3231oveq2d 7166 . . . . . . 7 (𝑡 = 𝑎 → (𝑏 · 𝐴) = (𝑏 · 𝑎 / 𝑡𝐴))
33 csbeq1a 3896 . . . . . . 7 (𝑡 = 𝑎𝐵 = 𝑎 / 𝑡𝐵)
3432, 33eqeq12d 2837 . . . . . 6 (𝑡 = 𝑎 → ((𝑏 · 𝐴) = 𝐵 ↔ (𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵))
3531oveq2d 7166 . . . . . . 7 (𝑡 = 𝑎 → (-𝑏 · 𝐴) = (-𝑏 · 𝑎 / 𝑡𝐴))
3635, 33eqeq12d 2837 . . . . . 6 (𝑡 = 𝑎 → ((-𝑏 · 𝐴) = 𝐵 ↔ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵))
3734, 36orbi12d 915 . . . . 5 (𝑡 = 𝑎 → (((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵) ↔ ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)))
3837rexbidv 3297 . . . 4 (𝑡 = 𝑎 → (∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵) ↔ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)))
3916, 17, 18, 30, 38cbvrabw 3489 . . 3 {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)} = {𝑎 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)}
40 simp1 1132 . . . 4 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → 𝑁 ∈ ℕ0)
41 peano2nn0 11931 . . . . . . 7 (𝑁 ∈ ℕ0 → (𝑁 + 1) ∈ ℕ0)
42413ad2ant1 1129 . . . . . 6 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → (𝑁 + 1) ∈ ℕ0)
43 ovex 7183 . . . . . . . . . 10 (1...(𝑁 + 1)) ∈ V
44 nn0p1nn 11930 . . . . . . . . . . 11 (𝑁 ∈ ℕ0 → (𝑁 + 1) ∈ ℕ)
45 elfz1end 12931 . . . . . . . . . . 11 ((𝑁 + 1) ∈ ℕ ↔ (𝑁 + 1) ∈ (1...(𝑁 + 1)))
4644, 45sylib 220 . . . . . . . . . 10 (𝑁 ∈ ℕ0 → (𝑁 + 1) ∈ (1...(𝑁 + 1)))
47 mzpproj 39327 . . . . . . . . . 10 (((1...(𝑁 + 1)) ∈ V ∧ (𝑁 + 1) ∈ (1...(𝑁 + 1))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (𝑐‘(𝑁 + 1))) ∈ (mzPoly‘(1...(𝑁 + 1))))
4843, 46, 47sylancr 589 . . . . . . . . 9 (𝑁 ∈ ℕ0 → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (𝑐‘(𝑁 + 1))) ∈ (mzPoly‘(1...(𝑁 + 1))))
4948adantr 483 . . . . . . . 8 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (𝑐‘(𝑁 + 1))) ∈ (mzPoly‘(1...(𝑁 + 1))))
50 eqid 2821 . . . . . . . . 9 (𝑁 + 1) = (𝑁 + 1)
5150rabdiophlem2 39392 . . . . . . . 8 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) ∈ (mzPoly‘(1...(𝑁 + 1))))
52 mzpmulmpt 39332 . . . . . . . 8 (((𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (𝑐‘(𝑁 + 1))) ∈ (mzPoly‘(1...(𝑁 + 1))) ∧ (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) ∈ (mzPoly‘(1...(𝑁 + 1)))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)) ∈ (mzPoly‘(1...(𝑁 + 1))))
5349, 51, 52syl2anc 586 . . . . . . 7 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)) ∈ (mzPoly‘(1...(𝑁 + 1))))
54533adant3 1128 . . . . . 6 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)) ∈ (mzPoly‘(1...(𝑁 + 1))))
5550rabdiophlem2 39392 . . . . . . 7 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (𝑐 ↾ (1...𝑁)) / 𝑡𝐵) ∈ (mzPoly‘(1...(𝑁 + 1))))
56553adant2 1127 . . . . . 6 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (𝑐 ↾ (1...𝑁)) / 𝑡𝐵) ∈ (mzPoly‘(1...(𝑁 + 1))))
57 eqrabdioph 39367 . . . . . 6 (((𝑁 + 1) ∈ ℕ0 ∧ (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)) ∈ (mzPoly‘(1...(𝑁 + 1))) ∧ (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (𝑐 ↾ (1...𝑁)) / 𝑡𝐵) ∈ (mzPoly‘(1...(𝑁 + 1)))) → {𝑐 ∈ (ℕ0m (1...(𝑁 + 1))) ∣ ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵} ∈ (Dioph‘(𝑁 + 1)))
5842, 54, 56, 57syl3anc 1367 . . . . 5 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑐 ∈ (ℕ0m (1...(𝑁 + 1))) ∣ ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵} ∈ (Dioph‘(𝑁 + 1)))
59 mzpnegmpt 39334 . . . . . . . . 9 ((𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (𝑐‘(𝑁 + 1))) ∈ (mzPoly‘(1...(𝑁 + 1))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ -(𝑐‘(𝑁 + 1))) ∈ (mzPoly‘(1...(𝑁 + 1))))
6049, 59syl 17 . . . . . . . 8 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ -(𝑐‘(𝑁 + 1))) ∈ (mzPoly‘(1...(𝑁 + 1))))
61 mzpmulmpt 39332 . . . . . . . 8 (((𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ -(𝑐‘(𝑁 + 1))) ∈ (mzPoly‘(1...(𝑁 + 1))) ∧ (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) ∈ (mzPoly‘(1...(𝑁 + 1)))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)) ∈ (mzPoly‘(1...(𝑁 + 1))))
6260, 51, 61syl2anc 586 . . . . . . 7 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)) ∈ (mzPoly‘(1...(𝑁 + 1))))
63623adant3 1128 . . . . . 6 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)) ∈ (mzPoly‘(1...(𝑁 + 1))))
64 eqrabdioph 39367 . . . . . 6 (((𝑁 + 1) ∈ ℕ0 ∧ (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)) ∈ (mzPoly‘(1...(𝑁 + 1))) ∧ (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (𝑐 ↾ (1...𝑁)) / 𝑡𝐵) ∈ (mzPoly‘(1...(𝑁 + 1)))) → {𝑐 ∈ (ℕ0m (1...(𝑁 + 1))) ∣ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵} ∈ (Dioph‘(𝑁 + 1)))
6542, 63, 56, 64syl3anc 1367 . . . . 5 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑐 ∈ (ℕ0m (1...(𝑁 + 1))) ∣ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵} ∈ (Dioph‘(𝑁 + 1)))
66 orrabdioph 39371 . . . . 5 (({𝑐 ∈ (ℕ0m (1...(𝑁 + 1))) ∣ ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵} ∈ (Dioph‘(𝑁 + 1)) ∧ {𝑐 ∈ (ℕ0m (1...(𝑁 + 1))) ∣ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵} ∈ (Dioph‘(𝑁 + 1))) → {𝑐 ∈ (ℕ0m (1...(𝑁 + 1))) ∣ (((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵 ∨ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵)} ∈ (Dioph‘(𝑁 + 1)))
6758, 65, 66syl2anc 586 . . . 4 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑐 ∈ (ℕ0m (1...(𝑁 + 1))) ∣ (((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵 ∨ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵)} ∈ (Dioph‘(𝑁 + 1)))
68 oveq1 7157 . . . . . . 7 (𝑏 = (𝑐‘(𝑁 + 1)) → (𝑏 · 𝑎 / 𝑡𝐴) = ((𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴))
6968eqeq1d 2823 . . . . . 6 (𝑏 = (𝑐‘(𝑁 + 1)) → ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ↔ ((𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵))
70 negeq 10872 . . . . . . . 8 (𝑏 = (𝑐‘(𝑁 + 1)) → -𝑏 = -(𝑐‘(𝑁 + 1)))
7170oveq1d 7165 . . . . . . 7 (𝑏 = (𝑐‘(𝑁 + 1)) → (-𝑏 · 𝑎 / 𝑡𝐴) = (-(𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴))
7271eqeq1d 2823 . . . . . 6 (𝑏 = (𝑐‘(𝑁 + 1)) → ((-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ↔ (-(𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵))
7369, 72orbi12d 915 . . . . 5 (𝑏 = (𝑐‘(𝑁 + 1)) → (((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵) ↔ (((𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-(𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)))
74 csbeq1 3885 . . . . . . . 8 (𝑎 = (𝑐 ↾ (1...𝑁)) → 𝑎 / 𝑡𝐴 = (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)
7574oveq2d 7166 . . . . . . 7 (𝑎 = (𝑐 ↾ (1...𝑁)) → ((𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴))
76 csbeq1 3885 . . . . . . 7 (𝑎 = (𝑐 ↾ (1...𝑁)) → 𝑎 / 𝑡𝐵 = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵)
7775, 76eqeq12d 2837 . . . . . 6 (𝑎 = (𝑐 ↾ (1...𝑁)) → (((𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ↔ ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵))
7874oveq2d 7166 . . . . . . 7 (𝑎 = (𝑐 ↾ (1...𝑁)) → (-(𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴))
7978, 76eqeq12d 2837 . . . . . 6 (𝑎 = (𝑐 ↾ (1...𝑁)) → ((-(𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ↔ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵))
8077, 79orbi12d 915 . . . . 5 (𝑎 = (𝑐 ↾ (1...𝑁)) → ((((𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-(𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵) ↔ (((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵 ∨ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵)))
8150, 73, 80rexrabdioph 39384 . . . 4 ((𝑁 ∈ ℕ0 ∧ {𝑐 ∈ (ℕ0m (1...(𝑁 + 1))) ∣ (((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵 ∨ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵)} ∈ (Dioph‘(𝑁 + 1))) → {𝑎 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)} ∈ (Dioph‘𝑁))
8240, 67, 81syl2anc 586 . . 3 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑎 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)} ∈ (Dioph‘𝑁))
8339, 82eqeltrid 2917 . 2 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)} ∈ (Dioph‘𝑁))
8415, 83eqeltrd 2913 1 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ 𝐴𝐵} ∈ (Dioph‘𝑁))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wo 843  w3a 1083   = wceq 1533  wcel 2110  wral 3138  wrex 3139  {crab 3142  Vcvv 3494  csb 3882   class class class wbr 5058  cmpt 5138  cres 5551  cfv 6349  (class class class)co 7150  m cmap 8400  1c1 10532   + caddc 10534   · cmul 10536  -cneg 10865  cn 11632  0cn0 11891  cz 11975  ...cfz 12886  cdvds 15601  mzPolycmzp 39312  Diophcdioph 39345
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-rep 5182  ax-sep 5195  ax-nul 5202  ax-pow 5258  ax-pr 5321  ax-un 7455  ax-inf2 9098  ax-cnex 10587  ax-resscn 10588  ax-1cn 10589  ax-icn 10590  ax-addcl 10591  ax-addrcl 10592  ax-mulcl 10593  ax-mulrcl 10594  ax-mulcom 10595  ax-addass 10596  ax-mulass 10597  ax-distr 10598  ax-i2m1 10599  ax-1ne0 10600  ax-1rid 10601  ax-rnegex 10602  ax-rrecex 10603  ax-cnre 10604  ax-pre-lttri 10605  ax-pre-lttrn 10606  ax-pre-ltadd 10607  ax-pre-mulgt0 10608
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  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 3772  df-csb 3883  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-pss 3953  df-nul 4291  df-if 4467  df-pw 4540  df-sn 4561  df-pr 4563  df-tp 4565  df-op 4567  df-uni 4832  df-int 4869  df-iun 4913  df-br 5059  df-opab 5121  df-mpt 5139  df-tr 5165  df-id 5454  df-eprel 5459  df-po 5468  df-so 5469  df-fr 5508  df-we 5510  df-xp 5555  df-rel 5556  df-cnv 5557  df-co 5558  df-dm 5559  df-rn 5560  df-res 5561  df-ima 5562  df-pred 6142  df-ord 6188  df-on 6189  df-lim 6190  df-suc 6191  df-iota 6308  df-fun 6351  df-fn 6352  df-f 6353  df-f1 6354  df-fo 6355  df-f1o 6356  df-fv 6357  df-riota 7108  df-ov 7153  df-oprab 7154  df-mpo 7155  df-of 7403  df-om 7575  df-1st 7683  df-2nd 7684  df-wrecs 7941  df-recs 8002  df-rdg 8040  df-1o 8096  df-oadd 8100  df-er 8283  df-map 8402  df-en 8504  df-dom 8505  df-sdom 8506  df-fin 8507  df-dju 9324  df-card 9362  df-pnf 10671  df-mnf 10672  df-xr 10673  df-ltxr 10674  df-le 10675  df-sub 10866  df-neg 10867  df-nn 11633  df-n0 11892  df-z 11976  df-uz 12238  df-fz 12887  df-hash 13685  df-dvds 15602  df-mzpcl 39313  df-mzp 39314  df-dioph 39346
This theorem is referenced by:  rmydioph  39604  expdiophlem2  39612
  Copyright terms: Public domain W3C validator