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

Theorem dfoprab3s 8099
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 7509 . 2 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {⟨𝑤, 𝑧⟩ ∣ ∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)}
2 nfsbc1v 3762 . . . . 5 Ⅎ𝑥[(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑
3219.41 2275 . . . 4 (∃𝑥(∃𝑦 𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑) ↔ (∃𝑥∃𝑦 𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑))
4 sbcopeq1a 8095 . . . . . . . 8 (𝑤 = ⟨𝑥, 𝑦⟩ → ([(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑 ↔ 𝜑))
54pm5.32i 585 . . . . . . 7 ((𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑) ↔ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑))
65exbii 1881 . . . . . 6 (∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑) ↔ ∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑))
7 nfcv 2926 . . . . . . . 8 Ⅎ𝑦(1st ‘𝑤)
8 nfsbc1v 3762 . . . . . . . 8 Ⅎ𝑦[(2nd ‘𝑤) / 𝑦]𝜑
97, 8nfsbcw 3764 . . . . . . 7 Ⅎ𝑦[(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑
10919.41 2275 . . . . . 6 (∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑) ↔ (∃𝑦 𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑))
116, 10bitr3i 280 . . . . 5 (∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ (∃𝑦 𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑))
1211exbii 1881 . . . 4 (∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ ∃𝑥(∃𝑦 𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑))
13 elvv 5733 . . . . 5 (𝑤 ∈ (V × V) ↔ ∃𝑥∃𝑦 𝑤 = ⟨𝑥, 𝑦⟩)
1413anbi1i 636 . . . 4 ((𝑤 ∈ (V × V) ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑) ↔ (∃𝑥∃𝑦 𝑤 = ⟨𝑥, 𝑦⟩ ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑))
153, 12, 143bitr4i 306 . . 3 (∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ (𝑤 ∈ (V × V) ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑))
1615opabbii 5178 . 2 {⟨𝑤, 𝑧⟩ ∣ ∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)} = {⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ (V × V) ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑)}
171, 16eqtri 2786 1 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {⟨𝑤, 𝑧⟩ ∣ (𝑤 ∈ (V × V) ∧ [(1st ‘𝑤) / 𝑥][(2nd ‘𝑤) / 𝑦]𝜑)}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2147  Vcvv 3454  [wsbc 3742  ⟨cop 4840  {copab 5173   × cxp 5656  ‘cfv 6566  {coprab 7452  1st c1st 8033  2nd c2nd 8034
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pr 5398  ax-un 7783
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-iota 6520  df-fun 6568  df-fv 6574  df-oprab 7455  df-1st 8035  df-2nd 8036
This theorem is used by:  dfoprab3  8100
  Copyright terms: Public domain W3C validator