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

Theorem cnvdif 6047
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 6012 . 2 Rel (𝐴𝐵)
2 difss 4066 . . 3 (𝐴𝐵) ⊆ 𝐴
3 relcnv 6012 . . 3 Rel 𝐴
4 relss 5692 . . 3 ((𝐴𝐵) ⊆ 𝐴 → (Rel 𝐴 → Rel (𝐴𝐵)))
52, 3, 4mp2 9 . 2 Rel (𝐴𝐵)
6 eldif 3897 . . 3 (⟨𝑦, 𝑥⟩ ∈ (𝐴𝐵) ↔ (⟨𝑦, 𝑥⟩ ∈ 𝐴 ∧ ¬ ⟨𝑦, 𝑥⟩ ∈ 𝐵))
7 vex 3436 . . . 4 𝑥 ∈ V
8 vex 3436 . . . 4 𝑦 ∈ V
97, 8opelcnv 5790 . . 3 (⟨𝑥, 𝑦⟩ ∈ (𝐴𝐵) ↔ ⟨𝑦, 𝑥⟩ ∈ (𝐴𝐵))
10 eldif 3897 . . . 4 (⟨𝑥, 𝑦⟩ ∈ (𝐴𝐵) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝐴 ∧ ¬ ⟨𝑥, 𝑦⟩ ∈ 𝐵))
117, 8opelcnv 5790 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑦, 𝑥⟩ ∈ 𝐴)
127, 8opelcnv 5790 . . . . . 6 (⟨𝑥, 𝑦⟩ ∈ 𝐵 ↔ ⟨𝑦, 𝑥⟩ ∈ 𝐵)
1312notbii 320 . . . . 5 (¬ ⟨𝑥, 𝑦⟩ ∈ 𝐵 ↔ ¬ ⟨𝑦, 𝑥⟩ ∈ 𝐵)
1411, 13anbi12i 627 . . . 4 ((⟨𝑥, 𝑦⟩ ∈ 𝐴 ∧ ¬ ⟨𝑥, 𝑦⟩ ∈ 𝐵) ↔ (⟨𝑦, 𝑥⟩ ∈ 𝐴 ∧ ¬ ⟨𝑦, 𝑥⟩ ∈ 𝐵))
1510, 14bitri 274 . . 3 (⟨𝑥, 𝑦⟩ ∈ (𝐴𝐵) ↔ (⟨𝑦, 𝑥⟩ ∈ 𝐴 ∧ ¬ ⟨𝑦, 𝑥⟩ ∈ 𝐵))
166, 9, 153bitr4i 303 . 2 (⟨𝑥, 𝑦⟩ ∈ (𝐴𝐵) ↔ ⟨𝑥, 𝑦⟩ ∈ (𝐴𝐵))
171, 5, 16eqrelriiv 5700 1 (𝐴𝐵) = (𝐴𝐵)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 396   = wceq 1539  wcel 2106  cdif 3884  wss 3887  cop 4567  ccnv 5588  Rel wrel 5594
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-br 5075  df-opab 5137  df-xp 5595  df-rel 5596  df-cnv 5597
This theorem is referenced by:  cnvin  6048  gtiso  31033  gsumhashmul  31316  mthmpps  33544  cnvnonrel  41196
  Copyright terms: Public domain W3C validator