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

Theorem dfoprab3s 8118
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 7528 . 2 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {⟨𝑤, 𝑧⟩ ∣ ∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)}
2 nfsbc1v 3769 . . . . 5 Ⅎ𝑥[(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑
3219.41 2284 . . . 4 (∃𝑥(∃𝑦 𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑) ↔ (∃𝑥∃𝑦 𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑))
4 sbcopeq1a 8114 . . . . . . . 8 (𝑤 = ⟨𝑥, 𝑦⟩ → ([(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑 ↔ 𝜑))
54pm5.32i 585 . . . . . . 7 ((𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑) ↔ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑))
65exbii 1887 . . . . . 6 (∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑) ↔ ∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑))
7 nfcv 2937 . . . . . . . 8 Ⅎ𝑦(1st ‘𝑤)
8 nfsbc1v 3769 . . . . . . . 8 Ⅎ𝑦[(2nd ‘𝑤) / 𝑦]𝜑
97, 8nfsbcw 3771 . . . . . . 7 Ⅎ𝑦[(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑
10919.41 2284 . . . . . 6 (∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑) ↔ (∃𝑦 𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑))
116, 10bitr3i 280 . . . . 5 (∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ (∃𝑦 𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑))
1211exbii 1887 . . . 4 (∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ ∃𝑥(∃𝑦 𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑))
13 elvv 5741 . . . . 5 (𝑤 ∈ (V × V) ↔ ∃𝑥∃𝑦 𝑤 = ⟨𝑥, 𝑦⟩)
1413anbi1i 636 . . . 4 ((𝑤 ∈ (V × V) ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑) ↔ (∃𝑥∃𝑦 𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑))
153, 12, 143bitr4i 306 . . 3 (∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ (𝑤 ∈ (V × V) ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑))
1615opabbii 5186 . 2 {⟨𝑤, 𝑧⟩ ∣ ∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)} = {⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ (V × V) ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑)}
171, 16eqtri 2797 1 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ (V × V) ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑)}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1572  ∃wex 1818   ∈ wcel 2156  Vcvv 3461  [wsbc 3749  ⟨cop 4848  {copab 5181   × cxp 5664  ‘cfv 6579  {coprab 7471  1st c1st 8052  2nd c2nd 8053
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406  ax-un 7802
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-iota 6533  df-fun 6581  df-fv 6587  df-oprab 7474  df-1st 8054  df-2nd 8055
This theorem is used by:  dfoprab3  8119
  Copyright terms: Public domain W3C validator