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 40548
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 40539 . . . 4 ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) → ∀𝑡 ∈ (ℕ0m (1...𝑁))𝐴 ∈ ℤ)
2 rabdiophlem1 40539 . . . 4 ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁)) → ∀𝑡 ∈ (ℕ0m (1...𝑁))𝐵 ∈ ℤ)
3 divides 15893 . . . . . . 7 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (𝐴𝐵 ↔ ∃𝑎 ∈ ℤ (𝑎 · 𝐴) = 𝐵))
4 oveq1 7262 . . . . . . . . 9 (𝑎 = 𝑏 → (𝑎 · 𝐴) = (𝑏 · 𝐴))
54eqeq1d 2740 . . . . . . . 8 (𝑎 = 𝑏 → ((𝑎 · 𝐴) = 𝐵 ↔ (𝑏 · 𝐴) = 𝐵))
6 oveq1 7262 . . . . . . . . 9 (𝑎 = -𝑏 → (𝑎 · 𝐴) = (-𝑏 · 𝐴))
76eqeq1d 2740 . . . . . . . 8 (𝑎 = -𝑏 → ((𝑎 · 𝐴) = 𝐵 ↔ (-𝑏 · 𝐴) = 𝐵))
85, 7rexzrexnn0 40542 . . . . . . 7 (∃𝑎 ∈ ℤ (𝑎 · 𝐴) = 𝐵 ↔ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵))
93, 8bitrdi 286 . . . . . 6 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (𝐴𝐵 ↔ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)))
109ralimi 3086 . . . . 5 (∀𝑡 ∈ (ℕ0m (1...𝑁))(𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → ∀𝑡 ∈ (ℕ0m (1...𝑁))(𝐴𝐵 ↔ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)))
11 r19.26 3094 . . . . 5 (∀𝑡 ∈ (ℕ0m (1...𝑁))(𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ↔ (∀𝑡 ∈ (ℕ0m (1...𝑁))𝐴 ∈ ℤ ∧ ∀𝑡 ∈ (ℕ0m (1...𝑁))𝐵 ∈ ℤ))
12 rabbi 3309 . . . . 5 (∀𝑡 ∈ (ℕ0m (1...𝑁))(𝐴𝐵 ↔ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)) ↔ {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ 𝐴𝐵} = {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)})
1310, 11, 123imtr3i 290 . . . 4 ((∀𝑡 ∈ (ℕ0m (1...𝑁))𝐴 ∈ ℤ ∧ ∀𝑡 ∈ (ℕ0m (1...𝑁))𝐵 ∈ ℤ) → {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ 𝐴𝐵} = {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)})
141, 2, 13syl2an 595 . . 3 (((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ 𝐴𝐵} = {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)})
15143adant1 1128 . 2 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ 𝐴𝐵} = {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)})
16 nfcv 2906 . . . 4 𝑡(ℕ0m (1...𝑁))
17 nfcv 2906 . . . 4 𝑎(ℕ0m (1...𝑁))
18 nfv 1918 . . . 4 𝑎𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)
19 nfcv 2906 . . . . 5 𝑡0
20 nfcv 2906 . . . . . . . 8 𝑡𝑏
21 nfcv 2906 . . . . . . . 8 𝑡 ·
22 nfcsb1v 3853 . . . . . . . 8 𝑡𝑎 / 𝑡𝐴
2320, 21, 22nfov 7285 . . . . . . 7 𝑡(𝑏 · 𝑎 / 𝑡𝐴)
24 nfcsb1v 3853 . . . . . . 7 𝑡𝑎 / 𝑡𝐵
2523, 24nfeq 2919 . . . . . 6 𝑡(𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵
26 nfcv 2906 . . . . . . . 8 𝑡-𝑏
2726, 21, 22nfov 7285 . . . . . . 7 𝑡(-𝑏 · 𝑎 / 𝑡𝐴)
2827, 24nfeq 2919 . . . . . 6 𝑡(-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵
2925, 28nfor 1908 . . . . 5 𝑡((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)
3019, 29nfrex 3237 . . . 4 𝑡𝑏 ∈ ℕ0 ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)
31 csbeq1a 3842 . . . . . . . 8 (𝑡 = 𝑎𝐴 = 𝑎 / 𝑡𝐴)
3231oveq2d 7271 . . . . . . 7 (𝑡 = 𝑎 → (𝑏 · 𝐴) = (𝑏 · 𝑎 / 𝑡𝐴))
33 csbeq1a 3842 . . . . . . 7 (𝑡 = 𝑎𝐵 = 𝑎 / 𝑡𝐵)
3432, 33eqeq12d 2754 . . . . . 6 (𝑡 = 𝑎 → ((𝑏 · 𝐴) = 𝐵 ↔ (𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵))
3531oveq2d 7271 . . . . . . 7 (𝑡 = 𝑎 → (-𝑏 · 𝐴) = (-𝑏 · 𝑎 / 𝑡𝐴))
3635, 33eqeq12d 2754 . . . . . 6 (𝑡 = 𝑎 → ((-𝑏 · 𝐴) = 𝐵 ↔ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵))
3734, 36orbi12d 915 . . . . 5 (𝑡 = 𝑎 → (((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵) ↔ ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)))
3837rexbidv 3225 . . . 4 (𝑡 = 𝑎 → (∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵) ↔ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)))
3916, 17, 18, 30, 38cbvrabw 3414 . . 3 {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)} = {𝑎 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)}
40 simp1 1134 . . . 4 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → 𝑁 ∈ ℕ0)
41 peano2nn0 12203 . . . . . . 7 (𝑁 ∈ ℕ0 → (𝑁 + 1) ∈ ℕ0)
42413ad2ant1 1131 . . . . . 6 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → (𝑁 + 1) ∈ ℕ0)
43 ovex 7288 . . . . . . . . . 10 (1...(𝑁 + 1)) ∈ V
44 nn0p1nn 12202 . . . . . . . . . . 11 (𝑁 ∈ ℕ0 → (𝑁 + 1) ∈ ℕ)
45 elfz1end 13215 . . . . . . . . . . 11 ((𝑁 + 1) ∈ ℕ ↔ (𝑁 + 1) ∈ (1...(𝑁 + 1)))
4644, 45sylib 217 . . . . . . . . . 10 (𝑁 ∈ ℕ0 → (𝑁 + 1) ∈ (1...(𝑁 + 1)))
47 mzpproj 40475 . . . . . . . . . 10 (((1...(𝑁 + 1)) ∈ V ∧ (𝑁 + 1) ∈ (1...(𝑁 + 1))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (𝑐‘(𝑁 + 1))) ∈ (mzPoly‘(1...(𝑁 + 1))))
4843, 46, 47sylancr 586 . . . . . . . . 9 (𝑁 ∈ ℕ0 → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (𝑐‘(𝑁 + 1))) ∈ (mzPoly‘(1...(𝑁 + 1))))
4948adantr 480 . . . . . . . 8 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (𝑐‘(𝑁 + 1))) ∈ (mzPoly‘(1...(𝑁 + 1))))
50 eqid 2738 . . . . . . . . 9 (𝑁 + 1) = (𝑁 + 1)
5150rabdiophlem2 40540 . . . . . . . 8 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) ∈ (mzPoly‘(1...(𝑁 + 1))))
52 mzpmulmpt 40480 . . . . . . . 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 583 . . . . . . 7 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)) ∈ (mzPoly‘(1...(𝑁 + 1))))
54533adant3 1130 . . . . . 6 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)) ∈ (mzPoly‘(1...(𝑁 + 1))))
5550rabdiophlem2 40540 . . . . . . 7 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (𝑐 ↾ (1...𝑁)) / 𝑡𝐵) ∈ (mzPoly‘(1...(𝑁 + 1))))
56553adant2 1129 . . . . . 6 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (𝑐 ↾ (1...𝑁)) / 𝑡𝐵) ∈ (mzPoly‘(1...(𝑁 + 1))))
57 eqrabdioph 40515 . . . . . 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 1369 . . . . 5 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑐 ∈ (ℕ0m (1...(𝑁 + 1))) ∣ ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵} ∈ (Dioph‘(𝑁 + 1)))
59 mzpnegmpt 40482 . . . . . . . . 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 40480 . . . . . . . 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 583 . . . . . . 7 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)) ∈ (mzPoly‘(1...(𝑁 + 1))))
63623adant3 1130 . . . . . 6 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)) ∈ (mzPoly‘(1...(𝑁 + 1))))
64 eqrabdioph 40515 . . . . . 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 1369 . . . . 5 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑐 ∈ (ℕ0m (1...(𝑁 + 1))) ∣ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵} ∈ (Dioph‘(𝑁 + 1)))
66 orrabdioph 40519 . . . . 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 583 . . . 4 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑐 ∈ (ℕ0m (1...(𝑁 + 1))) ∣ (((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵 ∨ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵)} ∈ (Dioph‘(𝑁 + 1)))
68 oveq1 7262 . . . . . . 7 (𝑏 = (𝑐‘(𝑁 + 1)) → (𝑏 · 𝑎 / 𝑡𝐴) = ((𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴))
6968eqeq1d 2740 . . . . . 6 (𝑏 = (𝑐‘(𝑁 + 1)) → ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ↔ ((𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵))
70 negeq 11143 . . . . . . . 8 (𝑏 = (𝑐‘(𝑁 + 1)) → -𝑏 = -(𝑐‘(𝑁 + 1)))
7170oveq1d 7270 . . . . . . 7 (𝑏 = (𝑐‘(𝑁 + 1)) → (-𝑏 · 𝑎 / 𝑡𝐴) = (-(𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴))
7271eqeq1d 2740 . . . . . 6 (𝑏 = (𝑐‘(𝑁 + 1)) → ((-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ↔ (-(𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵))
7369, 72orbi12d 915 . . . . 5 (𝑏 = (𝑐‘(𝑁 + 1)) → (((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵) ↔ (((𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-(𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)))
74 csbeq1 3831 . . . . . . . 8 (𝑎 = (𝑐 ↾ (1...𝑁)) → 𝑎 / 𝑡𝐴 = (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)
7574oveq2d 7271 . . . . . . 7 (𝑎 = (𝑐 ↾ (1...𝑁)) → ((𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴))
76 csbeq1 3831 . . . . . . 7 (𝑎 = (𝑐 ↾ (1...𝑁)) → 𝑎 / 𝑡𝐵 = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵)
7775, 76eqeq12d 2754 . . . . . 6 (𝑎 = (𝑐 ↾ (1...𝑁)) → (((𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ↔ ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵))
7874oveq2d 7271 . . . . . . 7 (𝑎 = (𝑐 ↾ (1...𝑁)) → (-(𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴))
7978, 76eqeq12d 2754 . . . . . 6 (𝑎 = (𝑐 ↾ (1...𝑁)) → ((-(𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ↔ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵))
8077, 79orbi12d 915 . . . . 5 (𝑎 = (𝑐 ↾ (1...𝑁)) → ((((𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-(𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵) ↔ (((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵 ∨ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵)))
8150, 73, 80rexrabdioph 40532 . . . 4 ((𝑁 ∈ ℕ0 ∧ {𝑐 ∈ (ℕ0m (1...(𝑁 + 1))) ∣ (((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵 ∨ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵)} ∈ (Dioph‘(𝑁 + 1))) → {𝑎 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)} ∈ (Dioph‘𝑁))
8240, 67, 81syl2anc 583 . . 3 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑎 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)} ∈ (Dioph‘𝑁))
8339, 82eqeltrid 2843 . 2 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)} ∈ (Dioph‘𝑁))
8415, 83eqeltrd 2839 1 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ 𝐴𝐵} ∈ (Dioph‘𝑁))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wo 843  w3a 1085   = wceq 1539  wcel 2108  wral 3063  wrex 3064  {crab 3067  Vcvv 3422  csb 3828   class class class wbr 5070  cmpt 5153  cres 5582  cfv 6418  (class class class)co 7255  m cmap 8573  1c1 10803   + caddc 10805   · cmul 10807  -cneg 11136  cn 11903  0cn0 12163  cz 12249  ...cfz 13168  cdvds 15891  mzPolycmzp 40460  Diophcdioph 40493
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-inf2 9329  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-int 4877  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-of 7511  df-om 7688  df-1st 7804  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-1o 8267  df-oadd 8271  df-er 8456  df-map 8575  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-dju 9590  df-card 9628  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-nn 11904  df-n0 12164  df-z 12250  df-uz 12512  df-fz 13169  df-hash 13973  df-dvds 15892  df-mzpcl 40461  df-mzp 40462  df-dioph 40494
This theorem is referenced by:  rmydioph  40752  expdiophlem2  40760
  Copyright terms: Public domain W3C validator