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

Theorem cnvf1olem 7799
Description: Lemma for cnvf1o 7800. (Contributed by Mario Carneiro, 27-Apr-2014.)
Assertion
Ref Expression
cnvf1olem ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → (𝐶𝐴𝐵 = {𝐶}))

Proof of Theorem cnvf1olem
StepHypRef Expression
1 simprr 771 . . . . 5 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → 𝐶 = {𝐵})
2 1st2nd 7732 . . . . . . . . 9 ((Rel 𝐴𝐵𝐴) → 𝐵 = ⟨(1st𝐵), (2nd𝐵)⟩)
32adantrr 715 . . . . . . . 8 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → 𝐵 = ⟨(1st𝐵), (2nd𝐵)⟩)
43sneqd 4572 . . . . . . 7 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → {𝐵} = {⟨(1st𝐵), (2nd𝐵)⟩})
54cnveqd 5740 . . . . . 6 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → {𝐵} = {⟨(1st𝐵), (2nd𝐵)⟩})
65unieqd 4841 . . . . 5 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → {𝐵} = {⟨(1st𝐵), (2nd𝐵)⟩})
71, 6eqtrd 2856 . . . 4 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → 𝐶 = {⟨(1st𝐵), (2nd𝐵)⟩})
8 opswap 6080 . . . 4 {⟨(1st𝐵), (2nd𝐵)⟩} = ⟨(2nd𝐵), (1st𝐵)⟩
97, 8syl6eq 2872 . . 3 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → 𝐶 = ⟨(2nd𝐵), (1st𝐵)⟩)
10 simprl 769 . . . . 5 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → 𝐵𝐴)
113, 10eqeltrrd 2914 . . . 4 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → ⟨(1st𝐵), (2nd𝐵)⟩ ∈ 𝐴)
12 fvex 6677 . . . . 5 (2nd𝐵) ∈ V
13 fvex 6677 . . . . 5 (1st𝐵) ∈ V
1412, 13opelcnv 5746 . . . 4 (⟨(2nd𝐵), (1st𝐵)⟩ ∈ 𝐴 ↔ ⟨(1st𝐵), (2nd𝐵)⟩ ∈ 𝐴)
1511, 14sylibr 236 . . 3 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → ⟨(2nd𝐵), (1st𝐵)⟩ ∈ 𝐴)
169, 15eqeltrd 2913 . 2 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → 𝐶𝐴)
17 opswap 6080 . . . 4 {⟨(2nd𝐵), (1st𝐵)⟩} = ⟨(1st𝐵), (2nd𝐵)⟩
1817eqcomi 2830 . . 3 ⟨(1st𝐵), (2nd𝐵)⟩ = {⟨(2nd𝐵), (1st𝐵)⟩}
199sneqd 4572 . . . . 5 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → {𝐶} = {⟨(2nd𝐵), (1st𝐵)⟩})
2019cnveqd 5740 . . . 4 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → {𝐶} = {⟨(2nd𝐵), (1st𝐵)⟩})
2120unieqd 4841 . . 3 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → {𝐶} = {⟨(2nd𝐵), (1st𝐵)⟩})
2218, 3, 213eqtr4a 2882 . 2 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → 𝐵 = {𝐶})
2316, 22jca 514 1 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → (𝐶𝐴𝐵 = {𝐶}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1533  wcel 2110  {csn 4560  cop 4566   cuni 4831  ccnv 5548  Rel wrel 5554  cfv 6349  1st c1st 7681  2nd c2nd 7682
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-sep 5195  ax-nul 5202  ax-pow 5258  ax-pr 5321  ax-un 7455
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-sbc 3772  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-sn 4561  df-pr 4563  df-op 4567  df-uni 4832  df-br 5059  df-opab 5121  df-mpt 5139  df-id 5454  df-xp 5555  df-rel 5556  df-cnv 5557  df-co 5558  df-dm 5559  df-rn 5560  df-iota 6308  df-fun 6351  df-fv 6357  df-1st 7683  df-2nd 7684
This theorem is referenced by:  cnvf1o  7800  fcnvgreu  30412
  Copyright terms: Public domain W3C validator