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

Theorem cnvdif 6151
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 6117 . 2 Rel ◡(𝐴 ∖ 𝐵)
2 difss 4074 . . 3 (◡𝐴 ∖ ◡𝐵) ⊆ ◡𝐴
3 relcnv 6117 . . 3 Rel ◡𝐴
4 relss 5765 . . 3 ((◡𝐴 ∖ ◡𝐵) ⊆ ◡𝐴 → (Rel ◡𝐴 → Rel (◡𝐴 ∖ ◡𝐵)))
52, 3, 4mp2 9 . 2 Rel (◡𝐴 ∖ ◡𝐵)
6 eldif 4051 . . 3 (⟨𝑦, 𝑥⟩ ∈ (𝐴 ∖ 𝐵) ↔ (⟨𝑦, 𝑥⟩ ∈ 𝐴 ∧ ¬ ⟨𝑦, 𝑥⟩ ∈ 𝐵))
7 vex 3457 . . . 4 𝑥 ∈ V
8 vex 3457 . . . 4 𝑦 ∈ V
97, 8opelcnv 5870 . . 3 (⟨𝑥, 𝑦⟩ ∈ ◡(𝐴 ∖ 𝐵) ↔ ⟨𝑦, 𝑥⟩ ∈ (𝐴 ∖ 𝐵))
10 eldif 4051 . . . 4 (⟨𝑥, 𝑦⟩ ∈ (◡𝐴 ∖ ◡𝐵) ↔ (⟨𝑥, 𝑦⟩ ∈ ◡𝐴 ∧ ¬ ⟨𝑥, 𝑦⟩ ∈ ◡𝐵))
117, 8opelcnv 5870 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ ◡𝐴 ↔ ⟨𝑦, 𝑥⟩ ∈ 𝐴)
127, 8opelcnv 5870 . . . . . 6 (⟨𝑥, 𝑦⟩ ∈ ◡𝐵 ↔ ⟨𝑦, 𝑥⟩ ∈ 𝐵)
1312notbii 323 . . . . 5 (¬ ⟨𝑥, 𝑦⟩ ∈ ◡𝐵 ↔ ¬ ⟨𝑦, 𝑥⟩ ∈ 𝐵)
1411, 13anbi12i 640 . . . 4 ((⟨𝑥, 𝑦⟩ ∈ ◡𝐴 ∧ ¬ ⟨𝑥, 𝑦⟩ ∈ ◡𝐵) ↔ (⟨𝑦, 𝑥⟩ ∈ 𝐴 ∧ ¬ ⟨𝑦, 𝑥⟩ ∈ 𝐵))
1510, 14bitri 278 . . 3 (⟨𝑥, 𝑦⟩ ∈ (◡𝐴 ∖ ◡𝐵) ↔ (⟨𝑦, 𝑥⟩ ∈ 𝐴 ∧ ¬ ⟨𝑦, 𝑥⟩ ∈ 𝐵))
166, 9, 153bitr4i 306 . 2 (⟨𝑥, 𝑦⟩ ∈ ◡(𝐴 ∖ 𝐵) ↔ ⟨𝑥, 𝑦⟩ ∈ (◡𝐴 ∖ ◡𝐵))
171, 5, 16eqrelriiv 5774 1 ◡(𝐴 ∖ 𝐵) = (◡𝐴 ∖ ◡𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ∧ wa 401   = wceq 1572   ∈ wcel 2150   ⊆ wss 3899   ∖ cdif 4047  ⟨cop 4839  ◡ccnv 5656  Rel wrel 5662
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-ext 2738  ax-sep 5254  ax-pr 5397
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-sb 2104  df-clab 2745  df-cleq 2758  df-clel 2842  df-rab 3416  df-v 3455  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4840  df-br 5108  df-opab 5173  df-xp 5663  df-rel 5664  df-cnv 5665
This theorem is used by:  cnvin  6152  gtiso  33393  gsumhashmul  33728  mthmpps  36556  cnvnonrel  44909
  Copyright terms: Public domain W3C validator