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

Theorem rabren3dioph 41124
Description: Change variable numbers in a 3-variable Diophantine class abstraction. (Contributed by Stefan O'Rear, 17-Oct-2014.)
Hypotheses
Ref Expression
rabren3dioph.a (((𝑎‘1) = (𝑏𝑋) ∧ (𝑎‘2) = (𝑏𝑌) ∧ (𝑎‘3) = (𝑏𝑍)) → (𝜑𝜓))
rabren3dioph.b 𝑋 ∈ (1...𝑁)
rabren3dioph.c 𝑌 ∈ (1...𝑁)
rabren3dioph.d 𝑍 ∈ (1...𝑁)
Assertion
Ref Expression
rabren3dioph ((𝑁 ∈ ℕ0 ∧ {𝑎 ∈ (ℕ0m (1...3)) ∣ 𝜑} ∈ (Dioph‘3)) → {𝑏 ∈ (ℕ0m (1...𝑁)) ∣ 𝜓} ∈ (Dioph‘𝑁))
Distinct variable groups:   𝜓,𝑎   𝜑,𝑏   𝑋,𝑎,𝑏   𝑌,𝑎,𝑏   𝑍,𝑎,𝑏   𝑁,𝑎,𝑏
Allowed substitution hints:   𝜑(𝑎)   𝜓(𝑏)

Proof of Theorem rabren3dioph
StepHypRef Expression
1 vex 3449 . . . . 5 𝑏 ∈ V
2 tpex 7681 . . . . 5 {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩} ∈ V
31, 2coex 7867 . . . 4 (𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) ∈ V
4 1ne2 12361 . . . . . . . . . 10 1 ≠ 2
5 1re 11155 . . . . . . . . . . 11 1 ∈ ℝ
6 1lt3 12326 . . . . . . . . . . 11 1 < 3
75, 6ltneii 11268 . . . . . . . . . 10 1 ≠ 3
8 2re 12227 . . . . . . . . . . 11 2 ∈ ℝ
9 2lt3 12325 . . . . . . . . . . 11 2 < 3
108, 9ltneii 11268 . . . . . . . . . 10 2 ≠ 3
11 1ex 11151 . . . . . . . . . . 11 1 ∈ V
12 2ex 12230 . . . . . . . . . . 11 2 ∈ V
13 3ex 12235 . . . . . . . . . . 11 3 ∈ V
14 rabren3dioph.b . . . . . . . . . . . 12 𝑋 ∈ (1...𝑁)
1514elexi 3464 . . . . . . . . . . 11 𝑋 ∈ V
16 rabren3dioph.c . . . . . . . . . . . 12 𝑌 ∈ (1...𝑁)
1716elexi 3464 . . . . . . . . . . 11 𝑌 ∈ V
18 rabren3dioph.d . . . . . . . . . . . 12 𝑍 ∈ (1...𝑁)
1918elexi 3464 . . . . . . . . . . 11 𝑍 ∈ V
2011, 12, 13, 15, 17, 19fntp 6562 . . . . . . . . . 10 ((1 ≠ 2 ∧ 1 ≠ 3 ∧ 2 ≠ 3) → {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩} Fn {1, 2, 3})
214, 7, 10, 20mp3an 1461 . . . . . . . . 9 {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩} Fn {1, 2, 3}
2211tpid1 4729 . . . . . . . . 9 1 ∈ {1, 2, 3}
23 fvco2 6938 . . . . . . . . 9 (({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩} Fn {1, 2, 3} ∧ 1 ∈ {1, 2, 3}) → ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘1) = (𝑏‘({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}‘1)))
2421, 22, 23mp2an 690 . . . . . . . 8 ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘1) = (𝑏‘({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}‘1))
2511, 15fvtp1 7144 . . . . . . . . . 10 ((1 ≠ 2 ∧ 1 ≠ 3) → ({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}‘1) = 𝑋)
264, 7, 25mp2an 690 . . . . . . . . 9 ({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}‘1) = 𝑋
2726fveq2i 6845 . . . . . . . 8 (𝑏‘({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}‘1)) = (𝑏𝑋)
2824, 27eqtri 2764 . . . . . . 7 ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘1) = (𝑏𝑋)
2912tpid2 4731 . . . . . . . . 9 2 ∈ {1, 2, 3}
30 fvco2 6938 . . . . . . . . 9 (({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩} Fn {1, 2, 3} ∧ 2 ∈ {1, 2, 3}) → ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘2) = (𝑏‘({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}‘2)))
3121, 29, 30mp2an 690 . . . . . . . 8 ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘2) = (𝑏‘({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}‘2))
3212, 17fvtp2 7145 . . . . . . . . . 10 ((1 ≠ 2 ∧ 2 ≠ 3) → ({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}‘2) = 𝑌)
334, 10, 32mp2an 690 . . . . . . . . 9 ({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}‘2) = 𝑌
3433fveq2i 6845 . . . . . . . 8 (𝑏‘({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}‘2)) = (𝑏𝑌)
3531, 34eqtri 2764 . . . . . . 7 ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘2) = (𝑏𝑌)
3613tpid3 4734 . . . . . . . . 9 3 ∈ {1, 2, 3}
37 fvco2 6938 . . . . . . . . 9 (({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩} Fn {1, 2, 3} ∧ 3 ∈ {1, 2, 3}) → ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘3) = (𝑏‘({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}‘3)))
3821, 36, 37mp2an 690 . . . . . . . 8 ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘3) = (𝑏‘({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}‘3))
3913, 19fvtp3 7146 . . . . . . . . . 10 ((1 ≠ 3 ∧ 2 ≠ 3) → ({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}‘3) = 𝑍)
407, 10, 39mp2an 690 . . . . . . . . 9 ({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}‘3) = 𝑍
4140fveq2i 6845 . . . . . . . 8 (𝑏‘({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}‘3)) = (𝑏𝑍)
4238, 41eqtri 2764 . . . . . . 7 ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘3) = (𝑏𝑍)
4328, 35, 423pm3.2i 1339 . . . . . 6 (((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘1) = (𝑏𝑋) ∧ ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘2) = (𝑏𝑌) ∧ ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘3) = (𝑏𝑍))
44 fveq1 6841 . . . . . . . 8 (𝑎 = (𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) → (𝑎‘1) = ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘1))
4544eqeq1d 2738 . . . . . . 7 (𝑎 = (𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) → ((𝑎‘1) = (𝑏𝑋) ↔ ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘1) = (𝑏𝑋)))
46 fveq1 6841 . . . . . . . 8 (𝑎 = (𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) → (𝑎‘2) = ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘2))
4746eqeq1d 2738 . . . . . . 7 (𝑎 = (𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) → ((𝑎‘2) = (𝑏𝑌) ↔ ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘2) = (𝑏𝑌)))
48 fveq1 6841 . . . . . . . 8 (𝑎 = (𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) → (𝑎‘3) = ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘3))
4948eqeq1d 2738 . . . . . . 7 (𝑎 = (𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) → ((𝑎‘3) = (𝑏𝑍) ↔ ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘3) = (𝑏𝑍)))
5045, 47, 493anbi123d 1436 . . . . . 6 (𝑎 = (𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) → (((𝑎‘1) = (𝑏𝑋) ∧ (𝑎‘2) = (𝑏𝑌) ∧ (𝑎‘3) = (𝑏𝑍)) ↔ (((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘1) = (𝑏𝑋) ∧ ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘2) = (𝑏𝑌) ∧ ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘3) = (𝑏𝑍))))
5143, 50mpbiri 257 . . . . 5 (𝑎 = (𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) → ((𝑎‘1) = (𝑏𝑋) ∧ (𝑎‘2) = (𝑏𝑌) ∧ (𝑎‘3) = (𝑏𝑍)))
52 rabren3dioph.a . . . . 5 (((𝑎‘1) = (𝑏𝑋) ∧ (𝑎‘2) = (𝑏𝑌) ∧ (𝑎‘3) = (𝑏𝑍)) → (𝜑𝜓))
5351, 52syl 17 . . . 4 (𝑎 = (𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) → (𝜑𝜓))
543, 53sbcie 3782 . . 3 ([(𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) / 𝑎]𝜑𝜓)
5554rabbii 3413 . 2 {𝑏 ∈ (ℕ0m (1...𝑁)) ∣ [(𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) / 𝑎]𝜑} = {𝑏 ∈ (ℕ0m (1...𝑁)) ∣ 𝜓}
5611, 12, 13, 15, 17, 19, 4, 7, 10ftp 7103 . . . . 5 {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}:{1, 2, 3}⟶{𝑋, 𝑌, 𝑍}
57 1z 12533 . . . . . . . 8 1 ∈ ℤ
58 fztp 13497 . . . . . . . 8 (1 ∈ ℤ → (1...(1 + 2)) = {1, (1 + 1), (1 + 2)})
5957, 58ax-mp 5 . . . . . . 7 (1...(1 + 2)) = {1, (1 + 1), (1 + 2)}
60 1p2e3 12296 . . . . . . . 8 (1 + 2) = 3
6160oveq2i 7368 . . . . . . 7 (1...(1 + 2)) = (1...3)
62 eqidd 2737 . . . . . . . . 9 (1 ∈ ℤ → 1 = 1)
63 1p1e2 12278 . . . . . . . . . 10 (1 + 1) = 2
6463a1i 11 . . . . . . . . 9 (1 ∈ ℤ → (1 + 1) = 2)
6560a1i 11 . . . . . . . . 9 (1 ∈ ℤ → (1 + 2) = 3)
6662, 64, 65tpeq123d 4709 . . . . . . . 8 (1 ∈ ℤ → {1, (1 + 1), (1 + 2)} = {1, 2, 3})
6757, 66ax-mp 5 . . . . . . 7 {1, (1 + 1), (1 + 2)} = {1, 2, 3}
6859, 61, 673eqtr3i 2772 . . . . . 6 (1...3) = {1, 2, 3}
6968feq2i 6660 . . . . 5 ({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}:(1...3)⟶{𝑋, 𝑌, 𝑍} ↔ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}:{1, 2, 3}⟶{𝑋, 𝑌, 𝑍})
7056, 69mpbir 230 . . . 4 {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}:(1...3)⟶{𝑋, 𝑌, 𝑍}
7114, 16, 183pm3.2i 1339 . . . . 5 (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑍 ∈ (1...𝑁))
7215, 17, 19tpss 4795 . . . . 5 ((𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑍 ∈ (1...𝑁)) ↔ {𝑋, 𝑌, 𝑍} ⊆ (1...𝑁))
7371, 72mpbi 229 . . . 4 {𝑋, 𝑌, 𝑍} ⊆ (1...𝑁)
74 fss 6685 . . . 4 (({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}:(1...3)⟶{𝑋, 𝑌, 𝑍} ∧ {𝑋, 𝑌, 𝑍} ⊆ (1...𝑁)) → {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}:(1...3)⟶(1...𝑁))
7570, 73, 74mp2an 690 . . 3 {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}:(1...3)⟶(1...𝑁)
76 rabrenfdioph 41123 . . 3 ((𝑁 ∈ ℕ0 ∧ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}:(1...3)⟶(1...𝑁) ∧ {𝑎 ∈ (ℕ0m (1...3)) ∣ 𝜑} ∈ (Dioph‘3)) → {𝑏 ∈ (ℕ0m (1...𝑁)) ∣ [(𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) / 𝑎]𝜑} ∈ (Dioph‘𝑁))
7775, 76mp3an2 1449 . 2 ((𝑁 ∈ ℕ0 ∧ {𝑎 ∈ (ℕ0m (1...3)) ∣ 𝜑} ∈ (Dioph‘3)) → {𝑏 ∈ (ℕ0m (1...𝑁)) ∣ [(𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) / 𝑎]𝜑} ∈ (Dioph‘𝑁))
7855, 77eqeltrrid 2843 1 ((𝑁 ∈ ℕ0 ∧ {𝑎 ∈ (ℕ0m (1...3)) ∣ 𝜑} ∈ (Dioph‘3)) → {𝑏 ∈ (ℕ0m (1...𝑁)) ∣ 𝜓} ∈ (Dioph‘𝑁))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1087   = wceq 1541  wcel 2106  wne 2943  {crab 3407  [wsbc 3739  wss 3910  {ctp 4590  cop 4592  ccom 5637   Fn wfn 6491  wf 6492  cfv 6496  (class class class)co 7357  m cmap 8765  1c1 11052   + caddc 11054  2c2 12208  3c3 12209  0cn0 12413  cz 12499  ...cfz 13424  Diophcdioph 41064
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2707  ax-rep 5242  ax-sep 5256  ax-nul 5263  ax-pow 5320  ax-pr 5384  ax-un 7672  ax-inf2 9577  ax-cnex 11107  ax-resscn 11108  ax-1cn 11109  ax-icn 11110  ax-addcl 11111  ax-addrcl 11112  ax-mulcl 11113  ax-mulrcl 11114  ax-mulcom 11115  ax-addass 11116  ax-mulass 11117  ax-distr 11118  ax-i2m1 11119  ax-1ne0 11120  ax-1rid 11121  ax-rnegex 11122  ax-rrecex 11123  ax-cnre 11124  ax-pre-lttri 11125  ax-pre-lttrn 11126  ax-pre-ltadd 11127  ax-pre-mulgt0 11128
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3or 1088  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2889  df-ne 2944  df-nel 3050  df-ral 3065  df-rex 3074  df-reu 3354  df-rab 3408  df-v 3447  df-sbc 3740  df-csb 3856  df-dif 3913  df-un 3915  df-in 3917  df-ss 3927  df-pss 3929  df-nul 4283  df-if 4487  df-pw 4562  df-sn 4587  df-pr 4589  df-tp 4591  df-op 4593  df-uni 4866  df-int 4908  df-iun 4956  df-br 5106  df-opab 5168  df-mpt 5189  df-tr 5223  df-id 5531  df-eprel 5537  df-po 5545  df-so 5546  df-fr 5588  df-we 5590  df-xp 5639  df-rel 5640  df-cnv 5641  df-co 5642  df-dm 5643  df-rn 5644  df-res 5645  df-ima 5646  df-pred 6253  df-ord 6320  df-on 6321  df-lim 6322  df-suc 6323  df-iota 6448  df-fun 6498  df-fn 6499  df-f 6500  df-f1 6501  df-fo 6502  df-f1o 6503  df-fv 6504  df-riota 7313  df-ov 7360  df-oprab 7361  df-mpo 7362  df-of 7617  df-om 7803  df-1st 7921  df-2nd 7922  df-frecs 8212  df-wrecs 8243  df-recs 8317  df-rdg 8356  df-1o 8412  df-oadd 8416  df-er 8648  df-map 8767  df-en 8884  df-dom 8885  df-sdom 8886  df-fin 8887  df-dju 9837  df-card 9875  df-pnf 11191  df-mnf 11192  df-xr 11193  df-ltxr 11194  df-le 11195  df-sub 11387  df-neg 11388  df-nn 12154  df-2 12216  df-3 12217  df-n0 12414  df-z 12500  df-uz 12764  df-fz 13425  df-hash 14231  df-mzpcl 41032  df-mzp 41033  df-dioph 41065
This theorem is referenced by:  rmxdioph  41326  expdiophlem2  41332
  Copyright terms: Public domain W3C validator