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

Theorem cnvdif 5969
Description: Distributive law for converse over class difference. (Contributed by Mario Carneiro, 26-Jun-2014.)
Assertion
Ref Expression
cnvdif (𝐴𝐵) = (𝐴𝐵)

Proof of Theorem cnvdif
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relcnv 5934 . 2 Rel (𝐴𝐵)
2 difss 4059 . . 3 (𝐴𝐵) ⊆ 𝐴
3 relcnv 5934 . . 3 Rel 𝐴
4 relss 5620 . . 3 ((𝐴𝐵) ⊆ 𝐴 → (Rel 𝐴 → Rel (𝐴𝐵)))
52, 3, 4mp2 9 . 2 Rel (𝐴𝐵)
6 eldif 3891 . . 3 (⟨𝑦, 𝑥⟩ ∈ (𝐴𝐵) ↔ (⟨𝑦, 𝑥⟩ ∈ 𝐴 ∧ ¬ ⟨𝑦, 𝑥⟩ ∈ 𝐵))
7 vex 3444 . . . 4 𝑥 ∈ V
8 vex 3444 . . . 4 𝑦 ∈ V
97, 8opelcnv 5716 . . 3 (⟨𝑥, 𝑦⟩ ∈ (𝐴𝐵) ↔ ⟨𝑦, 𝑥⟩ ∈ (𝐴𝐵))
10 eldif 3891 . . . 4 (⟨𝑥, 𝑦⟩ ∈ (𝐴𝐵) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝐴 ∧ ¬ ⟨𝑥, 𝑦⟩ ∈ 𝐵))
117, 8opelcnv 5716 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑦, 𝑥⟩ ∈ 𝐴)
127, 8opelcnv 5716 . . . . . 6 (⟨𝑥, 𝑦⟩ ∈ 𝐵 ↔ ⟨𝑦, 𝑥⟩ ∈ 𝐵)
1312notbii 323 . . . . 5 (¬ ⟨𝑥, 𝑦⟩ ∈ 𝐵 ↔ ¬ ⟨𝑦, 𝑥⟩ ∈ 𝐵)
1411, 13anbi12i 629 . . . 4 ((⟨𝑥, 𝑦⟩ ∈ 𝐴 ∧ ¬ ⟨𝑥, 𝑦⟩ ∈ 𝐵) ↔ (⟨𝑦, 𝑥⟩ ∈ 𝐴 ∧ ¬ ⟨𝑦, 𝑥⟩ ∈ 𝐵))
1510, 14bitri 278 . . 3 (⟨𝑥, 𝑦⟩ ∈ (𝐴𝐵) ↔ (⟨𝑦, 𝑥⟩ ∈ 𝐴 ∧ ¬ ⟨𝑦, 𝑥⟩ ∈ 𝐵))
166, 9, 153bitr4i 306 . 2 (⟨𝑥, 𝑦⟩ ∈ (𝐴𝐵) ↔ ⟨𝑥, 𝑦⟩ ∈ (𝐴𝐵))
171, 5, 16eqrelriiv 5627 1 (𝐴𝐵) = (𝐴𝐵)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 399   = wceq 1538  wcel 2111  cdif 3878  wss 3881  cop 4531  ccnv 5518  Rel wrel 5524
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pr 5295
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-v 3443  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-br 5031  df-opab 5093  df-xp 5525  df-rel 5526  df-cnv 5527
This theorem is referenced by:  cnvin  5970  gtiso  30460  gsumhashmul  30741  mthmpps  32942  cnvnonrel  40288
  Copyright terms: Public domain W3C validator