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

Theorem cnvdif 6133
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 6099 . 2 Rel ◡(𝐴 ∖ 𝐵)
2 difss 4072 . . 3 (◡𝐴 ∖ ◡𝐵) ⊆ ◡𝐴
3 relcnv 6099 . . 3 Rel ◡𝐴
4 relss 5757 . . 3 ((◡𝐴 ∖ ◡𝐵) ⊆ ◡𝐴 → (Rel ◡𝐴 → Rel (◡𝐴 ∖ ◡𝐵)))
52, 3, 4mp2 9 . 2 Rel (◡𝐴 ∖ ◡𝐵)
6 eldif 4049 . . 3 (⟨𝑦, 𝑥⟩ ∈ (𝐴 ∖ 𝐵) ↔ (⟨𝑦, 𝑥⟩ ∈ 𝐴 ∧ ¬ ⟨𝑦, 𝑥⟩ ∈ 𝐵))
7 vex 3454 . . . 4 𝑥 ∈ V
8 vex 3454 . . . 4 𝑦 ∈ V
97, 8opelcnv 5858 . . 3 (⟨𝑥, 𝑦⟩ ∈ ◡(𝐴 ∖ 𝐵) ↔ ⟨𝑦, 𝑥⟩ ∈ (𝐴 ∖ 𝐵))
10 eldif 4049 . . . 4 (⟨𝑥, 𝑦⟩ ∈ (◡𝐴 ∖ ◡𝐵) ↔ (⟨𝑥, 𝑦⟩ ∈ ◡𝐴 ∧ ¬ ⟨𝑥, 𝑦⟩ ∈ ◡𝐵))
117, 8opelcnv 5858 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ ◡𝐴 ↔ ⟨𝑦, 𝑥⟩ ∈ 𝐴)
127, 8opelcnv 5858 . . . . . 6 (⟨𝑥, 𝑦⟩ ∈ ◡𝐵 ↔ ⟨𝑦, 𝑥⟩ ∈ 𝐵)
1312notbii 323 . . . . 5 (¬ ⟨𝑥, 𝑦⟩ ∈ ◡𝐵 ↔ ¬ ⟨𝑦, 𝑥⟩ ∈ 𝐵)
1411, 13anbi12i 640 . . . 4 ((⟨𝑥, 𝑦⟩ ∈ ◡𝐴 ∧ ¬ ⟨𝑥, 𝑦⟩ ∈ ◡𝐵) ↔ (⟨𝑦, 𝑥⟩ ∈ 𝐴 ∧ ¬ ⟨𝑦, 𝑥⟩ ∈ 𝐵))
1510, 14bitri 278 . . 3 (⟨𝑥, 𝑦⟩ ∈ (◡𝐴 ∖ ◡𝐵) ↔ (⟨𝑦, 𝑥⟩ ∈ 𝐴 ∧ ¬ ⟨𝑦, 𝑥⟩ ∈ 𝐵))
166, 9, 153bitr4i 306 . 2 (⟨𝑥, 𝑦⟩ ∈ ◡(𝐴 ∖ 𝐵) ↔ ⟨𝑥, 𝑦⟩ ∈ (◡𝐴 ∖ ◡𝐵))
171, 5, 16eqrelriiv 5765 1 ◡(𝐴 ∖ 𝐵) = (◡𝐴 ∖ ◡𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ∧ wa 401   = wceq 1569   ∈ wcel 2144   ⊆ wss 3895   ∖ cdif 4045  ⟨cop 4589  ◡ccnv 5649  Rel wrel 5655
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732  ax-sep 5248  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-br 5103  df-opab 5167  df-xp 5656  df-rel 5657  df-cnv 5658
This theorem is used by:  cnvin  6134  gtiso  33294  gsumhashmul  33628  mthmpps  36347  cnvnonrel  44588
  Copyright terms: Public domain W3C validator