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

Theorem opabbid 5122
Description: Equivalent wff's yield equal ordered-pair class abstractions (deduction form). (Contributed by NM, 21-Feb-2004.) (Proof shortened by Andrew Salmon, 9-Jul-2011.)
Hypotheses
Ref Expression
opabbid.1 𝑥𝜑
opabbid.2 𝑦𝜑
opabbid.3 (𝜑 → (𝜓𝜒))
Assertion
Ref Expression
opabbid (𝜑 → {⟨𝑥, 𝑦⟩ ∣ 𝜓} = {⟨𝑥, 𝑦⟩ ∣ 𝜒})

Proof of Theorem opabbid
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 opabbid.1 . . . 4 𝑥𝜑
2 opabbid.2 . . . . 5 𝑦𝜑
3 opabbid.3 . . . . . 6 (𝜑 → (𝜓𝜒))
43anbi2d 630 . . . . 5 (𝜑 → ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓) ↔ (𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜒)))
52, 4exbid 2218 . . . 4 (𝜑 → (∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓) ↔ ∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜒)))
61, 5exbid 2218 . . 3 (𝜑 → (∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓) ↔ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜒)))
76abbidv 2883 . 2 (𝜑 → {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)} = {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜒)})
8 df-opab 5120 . 2 {⟨𝑥, 𝑦⟩ ∣ 𝜓} = {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜓)}
9 df-opab 5120 . 2 {⟨𝑥, 𝑦⟩ ∣ 𝜒} = {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝜒)}
107, 8, 93eqtr4g 2879 1 (𝜑 → {⟨𝑥, 𝑦⟩ ∣ 𝜓} = {⟨𝑥, 𝑦⟩ ∣ 𝜒})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1531  wex 1774  wnf 1778  {cab 2797  cop 4565  {copab 5119
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1905  ax-6 1964  ax-7 2009  ax-9 2118  ax-12 2170  ax-ext 2791
This theorem depends on definitions:  df-bi 209  df-an 399  df-ex 1775  df-nf 1779  df-sb 2064  df-clab 2798  df-cleq 2812  df-opab 5120
This theorem is referenced by:  opabbidv  5123  mpteq12df  5139  mpteq12f  5140  feqmptdf  6728  fnoprabg  7267  sprsymrelfo  43649
  Copyright terms: Public domain W3C validator