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 40287
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 40278 . . . 4 ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) → ∀𝑡 ∈ (ℕ0m (1...𝑁))𝐴 ∈ ℤ)
2 rabdiophlem1 40278 . . . 4 ((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁)) → ∀𝑡 ∈ (ℕ0m (1...𝑁))𝐵 ∈ ℤ)
3 divides 15798 . . . . . . 7 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (𝐴𝐵 ↔ ∃𝑎 ∈ ℤ (𝑎 · 𝐴) = 𝐵))
4 oveq1 7209 . . . . . . . . 9 (𝑎 = 𝑏 → (𝑎 · 𝐴) = (𝑏 · 𝐴))
54eqeq1d 2736 . . . . . . . 8 (𝑎 = 𝑏 → ((𝑎 · 𝐴) = 𝐵 ↔ (𝑏 · 𝐴) = 𝐵))
6 oveq1 7209 . . . . . . . . 9 (𝑎 = -𝑏 → (𝑎 · 𝐴) = (-𝑏 · 𝐴))
76eqeq1d 2736 . . . . . . . 8 (𝑎 = -𝑏 → ((𝑎 · 𝐴) = 𝐵 ↔ (-𝑏 · 𝐴) = 𝐵))
85, 7rexzrexnn0 40281 . . . . . . 7 (∃𝑎 ∈ ℤ (𝑎 · 𝐴) = 𝐵 ↔ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵))
93, 8bitrdi 290 . . . . . 6 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (𝐴𝐵 ↔ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)))
109ralimi 3076 . . . . 5 (∀𝑡 ∈ (ℕ0m (1...𝑁))(𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → ∀𝑡 ∈ (ℕ0m (1...𝑁))(𝐴𝐵 ↔ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)))
11 r19.26 3085 . . . . 5 (∀𝑡 ∈ (ℕ0m (1...𝑁))(𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ↔ (∀𝑡 ∈ (ℕ0m (1...𝑁))𝐴 ∈ ℤ ∧ ∀𝑡 ∈ (ℕ0m (1...𝑁))𝐵 ∈ ℤ))
12 rabbi 3288 . . . . 5 (∀𝑡 ∈ (ℕ0m (1...𝑁))(𝐴𝐵 ↔ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)) ↔ {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ 𝐴𝐵} = {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)})
1310, 11, 123imtr3i 294 . . . 4 ((∀𝑡 ∈ (ℕ0m (1...𝑁))𝐴 ∈ ℤ ∧ ∀𝑡 ∈ (ℕ0m (1...𝑁))𝐵 ∈ ℤ) → {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ 𝐴𝐵} = {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)})
141, 2, 13syl2an 599 . . 3 (((𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ 𝐴𝐵} = {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)})
15143adant1 1132 . 2 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ 𝐴𝐵} = {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)})
16 nfcv 2900 . . . 4 𝑡(ℕ0m (1...𝑁))
17 nfcv 2900 . . . 4 𝑎(ℕ0m (1...𝑁))
18 nfv 1922 . . . 4 𝑎𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)
19 nfcv 2900 . . . . 5 𝑡0
20 nfcv 2900 . . . . . . . 8 𝑡𝑏
21 nfcv 2900 . . . . . . . 8 𝑡 ·
22 nfcsb1v 3827 . . . . . . . 8 𝑡𝑎 / 𝑡𝐴
2320, 21, 22nfov 7232 . . . . . . 7 𝑡(𝑏 · 𝑎 / 𝑡𝐴)
24 nfcsb1v 3827 . . . . . . 7 𝑡𝑎 / 𝑡𝐵
2523, 24nfeq 2913 . . . . . 6 𝑡(𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵
26 nfcv 2900 . . . . . . . 8 𝑡-𝑏
2726, 21, 22nfov 7232 . . . . . . 7 𝑡(-𝑏 · 𝑎 / 𝑡𝐴)
2827, 24nfeq 2913 . . . . . 6 𝑡(-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵
2925, 28nfor 1912 . . . . 5 𝑡((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)
3019, 29nfrex 3221 . . . 4 𝑡𝑏 ∈ ℕ0 ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)
31 csbeq1a 3816 . . . . . . . 8 (𝑡 = 𝑎𝐴 = 𝑎 / 𝑡𝐴)
3231oveq2d 7218 . . . . . . 7 (𝑡 = 𝑎 → (𝑏 · 𝐴) = (𝑏 · 𝑎 / 𝑡𝐴))
33 csbeq1a 3816 . . . . . . 7 (𝑡 = 𝑎𝐵 = 𝑎 / 𝑡𝐵)
3432, 33eqeq12d 2750 . . . . . 6 (𝑡 = 𝑎 → ((𝑏 · 𝐴) = 𝐵 ↔ (𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵))
3531oveq2d 7218 . . . . . . 7 (𝑡 = 𝑎 → (-𝑏 · 𝐴) = (-𝑏 · 𝑎 / 𝑡𝐴))
3635, 33eqeq12d 2750 . . . . . 6 (𝑡 = 𝑎 → ((-𝑏 · 𝐴) = 𝐵 ↔ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵))
3734, 36orbi12d 919 . . . . 5 (𝑡 = 𝑎 → (((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵) ↔ ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)))
3837rexbidv 3209 . . . 4 (𝑡 = 𝑎 → (∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵) ↔ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)))
3916, 17, 18, 30, 38cbvrabw 3393 . . 3 {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)} = {𝑎 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)}
40 simp1 1138 . . . 4 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → 𝑁 ∈ ℕ0)
41 peano2nn0 12113 . . . . . . 7 (𝑁 ∈ ℕ0 → (𝑁 + 1) ∈ ℕ0)
42413ad2ant1 1135 . . . . . 6 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → (𝑁 + 1) ∈ ℕ0)
43 ovex 7235 . . . . . . . . . 10 (1...(𝑁 + 1)) ∈ V
44 nn0p1nn 12112 . . . . . . . . . . 11 (𝑁 ∈ ℕ0 → (𝑁 + 1) ∈ ℕ)
45 elfz1end 13125 . . . . . . . . . . 11 ((𝑁 + 1) ∈ ℕ ↔ (𝑁 + 1) ∈ (1...(𝑁 + 1)))
4644, 45sylib 221 . . . . . . . . . 10 (𝑁 ∈ ℕ0 → (𝑁 + 1) ∈ (1...(𝑁 + 1)))
47 mzpproj 40214 . . . . . . . . . 10 (((1...(𝑁 + 1)) ∈ V ∧ (𝑁 + 1) ∈ (1...(𝑁 + 1))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (𝑐‘(𝑁 + 1))) ∈ (mzPoly‘(1...(𝑁 + 1))))
4843, 46, 47sylancr 590 . . . . . . . . 9 (𝑁 ∈ ℕ0 → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (𝑐‘(𝑁 + 1))) ∈ (mzPoly‘(1...(𝑁 + 1))))
4948adantr 484 . . . . . . . 8 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (𝑐‘(𝑁 + 1))) ∈ (mzPoly‘(1...(𝑁 + 1))))
50 eqid 2734 . . . . . . . . 9 (𝑁 + 1) = (𝑁 + 1)
5150rabdiophlem2 40279 . . . . . . . 8 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) ∈ (mzPoly‘(1...(𝑁 + 1))))
52 mzpmulmpt 40219 . . . . . . . 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 587 . . . . . . 7 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)) ∈ (mzPoly‘(1...(𝑁 + 1))))
54533adant3 1134 . . . . . 6 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)) ∈ (mzPoly‘(1...(𝑁 + 1))))
5550rabdiophlem2 40279 . . . . . . 7 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (𝑐 ↾ (1...𝑁)) / 𝑡𝐵) ∈ (mzPoly‘(1...(𝑁 + 1))))
56553adant2 1133 . . . . . 6 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (𝑐 ↾ (1...𝑁)) / 𝑡𝐵) ∈ (mzPoly‘(1...(𝑁 + 1))))
57 eqrabdioph 40254 . . . . . 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 1373 . . . . 5 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑐 ∈ (ℕ0m (1...(𝑁 + 1))) ∣ ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵} ∈ (Dioph‘(𝑁 + 1)))
59 mzpnegmpt 40221 . . . . . . . . 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 40219 . . . . . . . 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 587 . . . . . . 7 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)) ∈ (mzPoly‘(1...(𝑁 + 1))))
63623adant3 1134 . . . . . 6 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → (𝑐 ∈ (ℤ ↑m (1...(𝑁 + 1))) ↦ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)) ∈ (mzPoly‘(1...(𝑁 + 1))))
64 eqrabdioph 40254 . . . . . 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 1373 . . . . 5 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑐 ∈ (ℕ0m (1...(𝑁 + 1))) ∣ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵} ∈ (Dioph‘(𝑁 + 1)))
66 orrabdioph 40258 . . . . 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 587 . . . 4 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑐 ∈ (ℕ0m (1...(𝑁 + 1))) ∣ (((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵 ∨ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵)} ∈ (Dioph‘(𝑁 + 1)))
68 oveq1 7209 . . . . . . 7 (𝑏 = (𝑐‘(𝑁 + 1)) → (𝑏 · 𝑎 / 𝑡𝐴) = ((𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴))
6968eqeq1d 2736 . . . . . 6 (𝑏 = (𝑐‘(𝑁 + 1)) → ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ↔ ((𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵))
70 negeq 11053 . . . . . . . 8 (𝑏 = (𝑐‘(𝑁 + 1)) → -𝑏 = -(𝑐‘(𝑁 + 1)))
7170oveq1d 7217 . . . . . . 7 (𝑏 = (𝑐‘(𝑁 + 1)) → (-𝑏 · 𝑎 / 𝑡𝐴) = (-(𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴))
7271eqeq1d 2736 . . . . . 6 (𝑏 = (𝑐‘(𝑁 + 1)) → ((-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ↔ (-(𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵))
7369, 72orbi12d 919 . . . . 5 (𝑏 = (𝑐‘(𝑁 + 1)) → (((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵) ↔ (((𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-(𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)))
74 csbeq1 3805 . . . . . . . 8 (𝑎 = (𝑐 ↾ (1...𝑁)) → 𝑎 / 𝑡𝐴 = (𝑐 ↾ (1...𝑁)) / 𝑡𝐴)
7574oveq2d 7218 . . . . . . 7 (𝑎 = (𝑐 ↾ (1...𝑁)) → ((𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴))
76 csbeq1 3805 . . . . . . 7 (𝑎 = (𝑐 ↾ (1...𝑁)) → 𝑎 / 𝑡𝐵 = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵)
7775, 76eqeq12d 2750 . . . . . 6 (𝑎 = (𝑐 ↾ (1...𝑁)) → (((𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ↔ ((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵))
7874oveq2d 7218 . . . . . . 7 (𝑎 = (𝑐 ↾ (1...𝑁)) → (-(𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴))
7978, 76eqeq12d 2750 . . . . . 6 (𝑎 = (𝑐 ↾ (1...𝑁)) → ((-(𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ↔ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵))
8077, 79orbi12d 919 . . . . 5 (𝑎 = (𝑐 ↾ (1...𝑁)) → ((((𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-(𝑐‘(𝑁 + 1)) · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵) ↔ (((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵 ∨ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵)))
8150, 73, 80rexrabdioph 40271 . . . 4 ((𝑁 ∈ ℕ0 ∧ {𝑐 ∈ (ℕ0m (1...(𝑁 + 1))) ∣ (((𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵 ∨ (-(𝑐‘(𝑁 + 1)) · (𝑐 ↾ (1...𝑁)) / 𝑡𝐴) = (𝑐 ↾ (1...𝑁)) / 𝑡𝐵)} ∈ (Dioph‘(𝑁 + 1))) → {𝑎 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)} ∈ (Dioph‘𝑁))
8240, 67, 81syl2anc 587 . . 3 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑎 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵 ∨ (-𝑏 · 𝑎 / 𝑡𝐴) = 𝑎 / 𝑡𝐵)} ∈ (Dioph‘𝑁))
8339, 82eqeltrid 2838 . 2 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ ∃𝑏 ∈ ℕ0 ((𝑏 · 𝐴) = 𝐵 ∨ (-𝑏 · 𝐴) = 𝐵)} ∈ (Dioph‘𝑁))
8415, 83eqeltrd 2834 1 ((𝑁 ∈ ℕ0 ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐴) ∈ (mzPoly‘(1...𝑁)) ∧ (𝑡 ∈ (ℤ ↑m (1...𝑁)) ↦ 𝐵) ∈ (mzPoly‘(1...𝑁))) → {𝑡 ∈ (ℕ0m (1...𝑁)) ∣ 𝐴𝐵} ∈ (Dioph‘𝑁))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  wo 847  w3a 1089   = wceq 1543  wcel 2110  wral 3054  wrex 3055  {crab 3058  Vcvv 3401  csb 3802   class class class wbr 5043  cmpt 5124  cres 5542  cfv 6369  (class class class)co 7202  m cmap 8497  1c1 10713   + caddc 10715   · cmul 10717  -cneg 11046  cn 11813  0cn0 12073  cz 12159  ...cfz 13078  cdvds 15796  mzPolycmzp 40199  Diophcdioph 40232
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2706  ax-rep 5168  ax-sep 5181  ax-nul 5188  ax-pow 5247  ax-pr 5311  ax-un 7512  ax-inf2 9245  ax-cnex 10768  ax-resscn 10769  ax-1cn 10770  ax-icn 10771  ax-addcl 10772  ax-addrcl 10773  ax-mulcl 10774  ax-mulrcl 10775  ax-mulcom 10776  ax-addass 10777  ax-mulass 10778  ax-distr 10779  ax-i2m1 10780  ax-1ne0 10781  ax-1rid 10782  ax-rnegex 10783  ax-rrecex 10784  ax-cnre 10785  ax-pre-lttri 10786  ax-pre-lttrn 10787  ax-pre-ltadd 10788  ax-pre-mulgt0 10789
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3or 1090  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2537  df-eu 2566  df-clab 2713  df-cleq 2726  df-clel 2812  df-nfc 2882  df-ne 2936  df-nel 3040  df-ral 3059  df-rex 3060  df-reu 3061  df-rab 3063  df-v 3403  df-sbc 3688  df-csb 3803  df-dif 3860  df-un 3862  df-in 3864  df-ss 3874  df-pss 3876  df-nul 4228  df-if 4430  df-pw 4505  df-sn 4532  df-pr 4534  df-tp 4536  df-op 4538  df-uni 4810  df-int 4850  df-iun 4896  df-br 5044  df-opab 5106  df-mpt 5125  df-tr 5151  df-id 5444  df-eprel 5449  df-po 5457  df-so 5458  df-fr 5498  df-we 5500  df-xp 5546  df-rel 5547  df-cnv 5548  df-co 5549  df-dm 5550  df-rn 5551  df-res 5552  df-ima 5553  df-pred 6149  df-ord 6205  df-on 6206  df-lim 6207  df-suc 6208  df-iota 6327  df-fun 6371  df-fn 6372  df-f 6373  df-f1 6374  df-fo 6375  df-f1o 6376  df-fv 6377  df-riota 7159  df-ov 7205  df-oprab 7206  df-mpo 7207  df-of 7458  df-om 7634  df-1st 7750  df-2nd 7751  df-wrecs 8036  df-recs 8097  df-rdg 8135  df-1o 8191  df-oadd 8195  df-er 8380  df-map 8499  df-en 8616  df-dom 8617  df-sdom 8618  df-fin 8619  df-dju 9500  df-card 9538  df-pnf 10852  df-mnf 10853  df-xr 10854  df-ltxr 10855  df-le 10856  df-sub 11047  df-neg 11048  df-nn 11814  df-n0 12074  df-z 12160  df-uz 12422  df-fz 13079  df-hash 13880  df-dvds 15797  df-mzpcl 40200  df-mzp 40201  df-dioph 40233
This theorem is referenced by:  rmydioph  40491  expdiophlem2  40499
  Copyright terms: Public domain W3C validator