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 39418
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 3500 . . . . 5 𝑏 ∈ V
2 tpex 7473 . . . . 5 {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩} ∈ V
31, 2coex 7638 . . . 4 (𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) ∈ V
4 1ne2 11848 . . . . . . . . . 10 1 ≠ 2
5 1re 10644 . . . . . . . . . . 11 1 ∈ ℝ
6 1lt3 11813 . . . . . . . . . . 11 1 < 3
75, 6ltneii 10756 . . . . . . . . . 10 1 ≠ 3
8 2re 11714 . . . . . . . . . . 11 2 ∈ ℝ
9 2lt3 11812 . . . . . . . . . . 11 2 < 3
108, 9ltneii 10756 . . . . . . . . . 10 2 ≠ 3
11 1ex 10640 . . . . . . . . . . 11 1 ∈ V
12 2ex 11717 . . . . . . . . . . 11 2 ∈ V
13 3ex 11722 . . . . . . . . . . 11 3 ∈ V
14 rabren3dioph.b . . . . . . . . . . . 12 𝑋 ∈ (1...𝑁)
1514elexi 3516 . . . . . . . . . . 11 𝑋 ∈ V
16 rabren3dioph.c . . . . . . . . . . . 12 𝑌 ∈ (1...𝑁)
1716elexi 3516 . . . . . . . . . . 11 𝑌 ∈ V
18 rabren3dioph.d . . . . . . . . . . . 12 𝑍 ∈ (1...𝑁)
1918elexi 3516 . . . . . . . . . . 11 𝑍 ∈ V
2011, 12, 13, 15, 17, 19fntp 6418 . . . . . . . . . 10 ((1 ≠ 2 ∧ 1 ≠ 3 ∧ 2 ≠ 3) → {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩} Fn {1, 2, 3})
214, 7, 10, 20mp3an 1457 . . . . . . . . 9 {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩} Fn {1, 2, 3}
2211tpid1 4707 . . . . . . . . 9 1 ∈ {1, 2, 3}
23 fvco2 6761 . . . . . . . . 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 6960 . . . . . . . . . 10 ((1 ≠ 2 ∧ 1 ≠ 3) → ({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}‘1) = 𝑋)
264, 7, 25mp2an 690 . . . . . . . . 9 ({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}‘1) = 𝑋
2726fveq2i 6676 . . . . . . . 8 (𝑏‘({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}‘1)) = (𝑏𝑋)
2824, 27eqtri 2847 . . . . . . 7 ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘1) = (𝑏𝑋)
2912tpid2 4709 . . . . . . . . 9 2 ∈ {1, 2, 3}
30 fvco2 6761 . . . . . . . . 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 6961 . . . . . . . . . 10 ((1 ≠ 2 ∧ 2 ≠ 3) → ({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}‘2) = 𝑌)
334, 10, 32mp2an 690 . . . . . . . . 9 ({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}‘2) = 𝑌
3433fveq2i 6676 . . . . . . . 8 (𝑏‘({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}‘2)) = (𝑏𝑌)
3531, 34eqtri 2847 . . . . . . 7 ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘2) = (𝑏𝑌)
3613tpid3 4712 . . . . . . . . 9 3 ∈ {1, 2, 3}
37 fvco2 6761 . . . . . . . . 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 6962 . . . . . . . . . 10 ((1 ≠ 3 ∧ 2 ≠ 3) → ({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}‘3) = 𝑍)
407, 10, 39mp2an 690 . . . . . . . . 9 ({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}‘3) = 𝑍
4140fveq2i 6676 . . . . . . . 8 (𝑏‘({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}‘3)) = (𝑏𝑍)
4238, 41eqtri 2847 . . . . . . 7 ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘3) = (𝑏𝑍)
4328, 35, 423pm3.2i 1335 . . . . . 6 (((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘1) = (𝑏𝑋) ∧ ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘2) = (𝑏𝑌) ∧ ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘3) = (𝑏𝑍))
44 fveq1 6672 . . . . . . . 8 (𝑎 = (𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) → (𝑎‘1) = ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘1))
4544eqeq1d 2826 . . . . . . 7 (𝑎 = (𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) → ((𝑎‘1) = (𝑏𝑋) ↔ ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘1) = (𝑏𝑋)))
46 fveq1 6672 . . . . . . . 8 (𝑎 = (𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) → (𝑎‘2) = ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘2))
4746eqeq1d 2826 . . . . . . 7 (𝑎 = (𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) → ((𝑎‘2) = (𝑏𝑌) ↔ ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘2) = (𝑏𝑌)))
48 fveq1 6672 . . . . . . . 8 (𝑎 = (𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) → (𝑎‘3) = ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘3))
4948eqeq1d 2826 . . . . . . 7 (𝑎 = (𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) → ((𝑎‘3) = (𝑏𝑍) ↔ ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘3) = (𝑏𝑍)))
5045, 47, 493anbi123d 1432 . . . . . 6 (𝑎 = (𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) → (((𝑎‘1) = (𝑏𝑋) ∧ (𝑎‘2) = (𝑏𝑌) ∧ (𝑎‘3) = (𝑏𝑍)) ↔ (((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘1) = (𝑏𝑋) ∧ ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘2) = (𝑏𝑌) ∧ ((𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩})‘3) = (𝑏𝑍))))
5143, 50mpbiri 260 . . . . 5 (𝑎 = (𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) → ((𝑎‘1) = (𝑏𝑋) ∧ (𝑎‘2) = (𝑏𝑌) ∧ (𝑎‘3) = (𝑏𝑍)))
52 rabren3dioph.a . . . . 5 (((𝑎‘1) = (𝑏𝑋) ∧ (𝑎‘2) = (𝑏𝑌) ∧ (𝑎‘3) = (𝑏𝑍)) → (𝜑𝜓))
5351, 52syl 17 . . . 4 (𝑎 = (𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) → (𝜑𝜓))
543, 53sbcie 3815 . . 3 ([(𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) / 𝑎]𝜑𝜓)
5554rabbii 3476 . 2 {𝑏 ∈ (ℕ0m (1...𝑁)) ∣ [(𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) / 𝑎]𝜑} = {𝑏 ∈ (ℕ0m (1...𝑁)) ∣ 𝜓}
5611, 12, 13, 15, 17, 19, 4, 7, 10ftp 6922 . . . . 5 {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}:{1, 2, 3}⟶{𝑋, 𝑌, 𝑍}
57 1z 12015 . . . . . . . 8 1 ∈ ℤ
58 fztp 12966 . . . . . . . 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 11783 . . . . . . . 8 (1 + 2) = 3
6160oveq2i 7170 . . . . . . 7 (1...(1 + 2)) = (1...3)
62 eqidd 2825 . . . . . . . . 9 (1 ∈ ℤ → 1 = 1)
63 1p1e2 11765 . . . . . . . . . 10 (1 + 1) = 2
6463a1i 11 . . . . . . . . 9 (1 ∈ ℤ → (1 + 1) = 2)
6560a1i 11 . . . . . . . . 9 (1 ∈ ℤ → (1 + 2) = 3)
6662, 64, 65tpeq123d 4687 . . . . . . . 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 2855 . . . . . 6 (1...3) = {1, 2, 3}
6968feq2i 6509 . . . . 5 ({⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}:(1...3)⟶{𝑋, 𝑌, 𝑍} ↔ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}:{1, 2, 3}⟶{𝑋, 𝑌, 𝑍})
7056, 69mpbir 233 . . . 4 {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}:(1...3)⟶{𝑋, 𝑌, 𝑍}
7114, 16, 183pm3.2i 1335 . . . . 5 (𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑍 ∈ (1...𝑁))
7215, 17, 19tpss 4771 . . . . 5 ((𝑋 ∈ (1...𝑁) ∧ 𝑌 ∈ (1...𝑁) ∧ 𝑍 ∈ (1...𝑁)) ↔ {𝑋, 𝑌, 𝑍} ⊆ (1...𝑁))
7371, 72mpbi 232 . . . 4 {𝑋, 𝑌, 𝑍} ⊆ (1...𝑁)
74 fss 6530 . . . 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 39417 . . 3 ((𝑁 ∈ ℕ0 ∧ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}:(1...3)⟶(1...𝑁) ∧ {𝑎 ∈ (ℕ0m (1...3)) ∣ 𝜑} ∈ (Dioph‘3)) → {𝑏 ∈ (ℕ0m (1...𝑁)) ∣ [(𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) / 𝑎]𝜑} ∈ (Dioph‘𝑁))
7775, 76mp3an2 1445 . 2 ((𝑁 ∈ ℕ0 ∧ {𝑎 ∈ (ℕ0m (1...3)) ∣ 𝜑} ∈ (Dioph‘3)) → {𝑏 ∈ (ℕ0m (1...𝑁)) ∣ [(𝑏 ∘ {⟨1, 𝑋⟩, ⟨2, 𝑌⟩, ⟨3, 𝑍⟩}) / 𝑎]𝜑} ∈ (Dioph‘𝑁))
7855, 77eqeltrrid 2921 1 ((𝑁 ∈ ℕ0 ∧ {𝑎 ∈ (ℕ0m (1...3)) ∣ 𝜑} ∈ (Dioph‘3)) → {𝑏 ∈ (ℕ0m (1...𝑁)) ∣ 𝜓} ∈ (Dioph‘𝑁))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  w3a 1083   = wceq 1536  wcel 2113  wne 3019  {crab 3145  [wsbc 3775  wss 3939  {ctp 4574  cop 4576  ccom 5562   Fn wfn 6353  wf 6354  cfv 6358  (class class class)co 7159  m cmap 8409  1c1 10541   + caddc 10543  2c2 11695  3c3 11696  0cn0 11900  cz 11984  ...cfz 12895  Diophcdioph 39358
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2796  ax-rep 5193  ax-sep 5206  ax-nul 5213  ax-pow 5269  ax-pr 5333  ax-un 7464  ax-inf2 9107  ax-cnex 10596  ax-resscn 10597  ax-1cn 10598  ax-icn 10599  ax-addcl 10600  ax-addrcl 10601  ax-mulcl 10602  ax-mulrcl 10603  ax-mulcom 10604  ax-addass 10605  ax-mulass 10606  ax-distr 10607  ax-i2m1 10608  ax-1ne0 10609  ax-1rid 10610  ax-rnegex 10611  ax-rrecex 10612  ax-cnre 10613  ax-pre-lttri 10614  ax-pre-lttrn 10615  ax-pre-ltadd 10616  ax-pre-mulgt0 10617
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-mo 2621  df-eu 2653  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2966  df-ne 3020  df-nel 3127  df-ral 3146  df-rex 3147  df-reu 3148  df-rmo 3149  df-rab 3150  df-v 3499  df-sbc 3776  df-csb 3887  df-dif 3942  df-un 3944  df-in 3946  df-ss 3955  df-pss 3957  df-nul 4295  df-if 4471  df-pw 4544  df-sn 4571  df-pr 4573  df-tp 4575  df-op 4577  df-uni 4842  df-int 4880  df-iun 4924  df-br 5070  df-opab 5132  df-mpt 5150  df-tr 5176  df-id 5463  df-eprel 5468  df-po 5477  df-so 5478  df-fr 5517  df-we 5519  df-xp 5564  df-rel 5565  df-cnv 5566  df-co 5567  df-dm 5568  df-rn 5569  df-res 5570  df-ima 5571  df-pred 6151  df-ord 6197  df-on 6198  df-lim 6199  df-suc 6200  df-iota 6317  df-fun 6360  df-fn 6361  df-f 6362  df-f1 6363  df-fo 6364  df-f1o 6365  df-fv 6366  df-riota 7117  df-ov 7162  df-oprab 7163  df-mpo 7164  df-of 7412  df-om 7584  df-1st 7692  df-2nd 7693  df-wrecs 7950  df-recs 8011  df-rdg 8049  df-1o 8105  df-oadd 8109  df-er 8292  df-map 8411  df-en 8513  df-dom 8514  df-sdom 8515  df-fin 8516  df-dju 9333  df-card 9371  df-pnf 10680  df-mnf 10681  df-xr 10682  df-ltxr 10683  df-le 10684  df-sub 10875  df-neg 10876  df-nn 11642  df-2 11703  df-3 11704  df-n0 11901  df-z 11985  df-uz 12247  df-fz 12896  df-hash 13694  df-mzpcl 39326  df-mzp 39327  df-dioph 39359
This theorem is referenced by:  rmxdioph  39619  expdiophlem2  39625
  Copyright terms: Public domain W3C validator