Users' Mathboxes Mathbox for Peter Mazsa < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  vvdifopab Structured version   Visualization version   GIF version

Theorem vvdifopab 35515
Description: Ordered-pair class abstraction defined by a negation. (Contributed by Peter Mazsa, 25-Jun-2019.)
Assertion
Ref Expression
vvdifopab ((V × V) ∖ {⟨𝑥, 𝑦⟩ ∣ 𝜑}) = {⟨𝑥, 𝑦⟩ ∣ ¬ 𝜑}
Distinct variable group:   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)

Proof of Theorem vvdifopab
StepHypRef Expression
1 opabidw 5405 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ 𝜑)
21notbii 322 . . . 4 (¬ ⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ ¬ 𝜑)
3 opelvvdif 35514 . . . . 5 ((𝑥 ∈ V ∧ 𝑦 ∈ V) → (⟨𝑥, 𝑦⟩ ∈ ((V × V) ∖ {⟨𝑥, 𝑦⟩ ∣ 𝜑}) ↔ ¬ ⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑}))
43el2v 3502 . . . 4 (⟨𝑥, 𝑦⟩ ∈ ((V × V) ∖ {⟨𝑥, 𝑦⟩ ∣ 𝜑}) ↔ ¬ ⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑})
5 opabidw 5405 . . . 4 (⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ¬ 𝜑} ↔ ¬ 𝜑)
62, 4, 53bitr4i 305 . . 3 (⟨𝑥, 𝑦⟩ ∈ ((V × V) ∖ {⟨𝑥, 𝑦⟩ ∣ 𝜑}) ↔ ⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ¬ 𝜑})
76gen2 1793 . 2 𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ ((V × V) ∖ {⟨𝑥, 𝑦⟩ ∣ 𝜑}) ↔ ⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ¬ 𝜑})
8 relxp 5568 . . . 4 Rel (V × V)
9 reldif 5683 . . . 4 (Rel (V × V) → Rel ((V × V) ∖ {⟨𝑥, 𝑦⟩ ∣ 𝜑}))
108, 9ax-mp 5 . . 3 Rel ((V × V) ∖ {⟨𝑥, 𝑦⟩ ∣ 𝜑})
11 relopab 5691 . . 3 Rel {⟨𝑥, 𝑦⟩ ∣ ¬ 𝜑}
12 nfcv 2977 . . . . 5 𝑥(V × V)
13 nfopab1 5128 . . . . 5 𝑥{⟨𝑥, 𝑦⟩ ∣ 𝜑}
1412, 13nfdif 4102 . . . 4 𝑥((V × V) ∖ {⟨𝑥, 𝑦⟩ ∣ 𝜑})
15 nfopab1 5128 . . . 4 𝑥{⟨𝑥, 𝑦⟩ ∣ ¬ 𝜑}
16 nfcv 2977 . . . . 5 𝑦(V × V)
17 nfopab2 5129 . . . . 5 𝑦{⟨𝑥, 𝑦⟩ ∣ 𝜑}
1816, 17nfdif 4102 . . . 4 𝑦((V × V) ∖ {⟨𝑥, 𝑦⟩ ∣ 𝜑})
19 nfopab2 5129 . . . 4 𝑦{⟨𝑥, 𝑦⟩ ∣ ¬ 𝜑}
2014, 15, 18, 19eqrelf 35511 . . 3 ((Rel ((V × V) ∖ {⟨𝑥, 𝑦⟩ ∣ 𝜑}) ∧ Rel {⟨𝑥, 𝑦⟩ ∣ ¬ 𝜑}) → (((V × V) ∖ {⟨𝑥, 𝑦⟩ ∣ 𝜑}) = {⟨𝑥, 𝑦⟩ ∣ ¬ 𝜑} ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ ((V × V) ∖ {⟨𝑥, 𝑦⟩ ∣ 𝜑}) ↔ ⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ¬ 𝜑})))
2110, 11, 20mp2an 690 . 2 (((V × V) ∖ {⟨𝑥, 𝑦⟩ ∣ 𝜑}) = {⟨𝑥, 𝑦⟩ ∣ ¬ 𝜑} ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ ((V × V) ∖ {⟨𝑥, 𝑦⟩ ∣ 𝜑}) ↔ ⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ¬ 𝜑}))
227, 21mpbir 233 1 ((V × V) ∖ {⟨𝑥, 𝑦⟩ ∣ 𝜑}) = {⟨𝑥, 𝑦⟩ ∣ ¬ 𝜑}
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 208  wal 1531   = wceq 1533  wcel 2110  Vcvv 3495  cdif 3933  cop 4567  {copab 5121   × cxp 5548  Rel wrel 5555
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793  ax-sep 5196  ax-nul 5203  ax-pr 5322
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3497  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4562  df-pr 4564  df-op 4568  df-opab 5122  df-xp 5556  df-rel 5557
This theorem is referenced by:  dfssr2  35733
  Copyright terms: Public domain W3C validator