MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  dfoprab3s Structured version   Visualization version   GIF version

Theorem dfoprab3s 8062
Description: A way to define an operation class abstraction without using existential quantifiers. (Contributed by NM, 18-Aug-2006.) (Revised by Mario Carneiro, 31-Aug-2015.)
Assertion
Ref Expression
dfoprab3s {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ (V × V) ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑)}
Distinct variable groups:   𝜑,𝑤   𝑥,𝑦,𝑧,𝑤
Allowed substitution hints:   𝜑(𝑥, 𝑦, 𝑧)

Proof of Theorem dfoprab3s
StepHypRef Expression
1 dfoprab2 7476 . 2 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {⟨𝑤, 𝑧⟩ ∣ ∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)}
2 nfsbc1v 3759 . . . . 5 Ⅎ𝑥[(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑
3219.41 2272 . . . 4 (∃𝑥(∃𝑦 𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑) ↔ (∃𝑥∃𝑦 𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑))
4 sbcopeq1a 8058 . . . . . . . 8 (𝑤 = ⟨𝑥, 𝑦⟩ → ([(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑 ↔ 𝜑))
54pm5.32i 585 . . . . . . 7 ((𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑) ↔ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑))
65exbii 1881 . . . . . 6 (∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑) ↔ ∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑))
7 nfcv 2923 . . . . . . . 8 Ⅎ𝑦(1st ‘𝑤)
8 nfsbc1v 3759 . . . . . . . 8 Ⅎ𝑦[(2nd ‘𝑤) / 𝑦]𝜑
97, 8nfsbcw 3761 . . . . . . 7 Ⅎ𝑦[(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑
10919.41 2272 . . . . . 6 (∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑) ↔ (∃𝑦 𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑))
116, 10bitr3i 280 . . . . 5 (∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ (∃𝑦 𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑))
1211exbii 1881 . . . 4 (∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ ∃𝑥(∃𝑦 𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑))
13 elvv 5726 . . . . 5 (𝑤 ∈ (V × V) ↔ ∃𝑥∃𝑦 𝑤 = ⟨𝑥, 𝑦⟩)
1413anbi1i 636 . . . 4 ((𝑤 ∈ (V × V) ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑) ↔ (∃𝑥∃𝑦 𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑))
153, 12, 143bitr4i 306 . . 3 (∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ (𝑤 ∈ (V × V) ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑))
1615opabbii 5172 . 2 {⟨𝑤, 𝑧⟩ ∣ ∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)} = {⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ (V × V) ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑)}
171, 16eqtri 2784 1 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ (V × V) ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑)}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2145  Vcvv 3451  [wsbc 3739  ⟨cop 4590  {copab 5167   × cxp 5649  ‘cfv 6537  {coprab 7419  1st c1st 7997  2nd c2nd 7998
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391  ax-un 7749
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-iota 6493  df-fun 6539  df-fv 6545  df-oprab 7422  df-1st 7999  df-2nd 8000
This theorem is used by:  dfoprab3  8063
  Copyright terms: Public domain W3C validator