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

Theorem cnvdif 6145
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 6111 . 2 Rel ◡(𝐴 ∖ 𝐵)
2 difss 4075 . . 3 (◡𝐴 ∖ ◡𝐵) ⊆ ◡𝐴
3 relcnv 6111 . . 3 Rel ◡𝐴
4 relss 5763 . . 3 ((◡𝐴 ∖ ◡𝐵) ⊆ ◡𝐴 → (Rel ◡𝐴 → Rel (◡𝐴 ∖ ◡𝐵)))
52, 3, 4mp2 9 . 2 Rel (◡𝐴 ∖ ◡𝐵)
6 eldif 4052 . . 3 (⟨𝑦, 𝑥⟩ ∈ (𝐴 ∖ 𝐵) ↔ (⟨𝑦, 𝑥⟩ ∈ 𝐴 ∧ ¬ ⟨𝑦, 𝑥⟩ ∈ 𝐵))
7 vex 3458 . . . 4 𝑥 ∈ V
8 vex 3458 . . . 4 𝑦 ∈ V
97, 8opelcnv 5865 . . 3 (⟨𝑥, 𝑦⟩ ∈ ◡(𝐴 ∖ 𝐵) ↔ ⟨𝑦, 𝑥⟩ ∈ (𝐴 ∖ 𝐵))
10 eldif 4052 . . . 4 (⟨𝑥, 𝑦⟩ ∈ (◡𝐴 ∖ ◡𝐵) ↔ (⟨𝑥, 𝑦⟩ ∈ ◡𝐴 ∧ ¬ ⟨𝑥, 𝑦⟩ ∈ ◡𝐵))
117, 8opelcnv 5865 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ ◡𝐴 ↔ ⟨𝑦, 𝑥⟩ ∈ 𝐴)
127, 8opelcnv 5865 . . . . . 6 (⟨𝑥, 𝑦⟩ ∈ ◡𝐵 ↔ ⟨𝑦, 𝑥⟩ ∈ 𝐵)
1312notbii 323 . . . . 5 (¬ ⟨𝑥, 𝑦⟩ ∈ ◡𝐵 ↔ ¬ ⟨𝑦, 𝑥⟩ ∈ 𝐵)
1411, 13anbi12i 640 . . . 4 ((⟨𝑥, 𝑦⟩ ∈ ◡𝐴 ∧ ¬ ⟨𝑥, 𝑦⟩ ∈ ◡𝐵) ↔ (⟨𝑦, 𝑥⟩ ∈ 𝐴 ∧ ¬ ⟨𝑦, 𝑥⟩ ∈ 𝐵))
1510, 14bitri 278 . . 3 (⟨𝑥, 𝑦⟩ ∈ (◡𝐴 ∖ ◡𝐵) ↔ (⟨𝑦, 𝑥⟩ ∈ 𝐴 ∧ ¬ ⟨𝑦, 𝑥⟩ ∈ 𝐵))
166, 9, 153bitr4i 306 . 2 (⟨𝑥, 𝑦⟩ ∈ ◡(𝐴 ∖ 𝐵) ↔ ⟨𝑥, 𝑦⟩ ∈ (◡𝐴 ∖ ◡𝐵))
171, 5, 16eqrelriiv 5771 1 ◡(𝐴 ∖ 𝐵) = (◡𝐴 ∖ ◡𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ∧ wa 401   = wceq 1570   ∈ wcel 2147   ⊆ wss 3900   ∖ cdif 4048  ⟨cop 4838  ◡ccnv 5654  Rel wrel 5660
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-ext 2735  ax-sep 5252  ax-pr 5395
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-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-rab 3417  df-v 3456  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 4839  df-br 5107  df-opab 5171  df-xp 5661  df-rel 5662  df-cnv 5663
This theorem is used by:  cnvin  6146  gtiso  33362  gsumhashmul  33695  mthmpps  36513  cnvnonrel  44778
  Copyright terms: Public domain W3C validator