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

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

Proof of Theorem cnvf1olem
StepHypRef Expression
1 simprr 811 . . . . 5 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → 𝐶 = {𝐵})
2 1st2nd 7258 . . . . . . . . 9 ((Rel 𝐴𝐵𝐴) → 𝐵 = ⟨(1st𝐵), (2nd𝐵)⟩)
32adantrr 753 . . . . . . . 8 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → 𝐵 = ⟨(1st𝐵), (2nd𝐵)⟩)
43sneqd 4222 . . . . . . 7 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → {𝐵} = {⟨(1st𝐵), (2nd𝐵)⟩})
54cnveqd 5330 . . . . . 6 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → {𝐵} = {⟨(1st𝐵), (2nd𝐵)⟩})
65unieqd 4478 . . . . 5 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → {𝐵} = {⟨(1st𝐵), (2nd𝐵)⟩})
71, 6eqtrd 2685 . . . 4 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → 𝐶 = {⟨(1st𝐵), (2nd𝐵)⟩})
8 opswap 5660 . . . 4 {⟨(1st𝐵), (2nd𝐵)⟩} = ⟨(2nd𝐵), (1st𝐵)⟩
97, 8syl6eq 2701 . . 3 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → 𝐶 = ⟨(2nd𝐵), (1st𝐵)⟩)
10 simprl 809 . . . . 5 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → 𝐵𝐴)
113, 10eqeltrrd 2731 . . . 4 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → ⟨(1st𝐵), (2nd𝐵)⟩ ∈ 𝐴)
12 fvex 6239 . . . . 5 (2nd𝐵) ∈ V
13 fvex 6239 . . . . 5 (1st𝐵) ∈ V
1412, 13opelcnv 5336 . . . 4 (⟨(2nd𝐵), (1st𝐵)⟩ ∈ 𝐴 ↔ ⟨(1st𝐵), (2nd𝐵)⟩ ∈ 𝐴)
1511, 14sylibr 224 . . 3 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → ⟨(2nd𝐵), (1st𝐵)⟩ ∈ 𝐴)
169, 15eqeltrd 2730 . 2 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → 𝐶𝐴)
17 opswap 5660 . . . 4 {⟨(2nd𝐵), (1st𝐵)⟩} = ⟨(1st𝐵), (2nd𝐵)⟩
1817eqcomi 2660 . . 3 ⟨(1st𝐵), (2nd𝐵)⟩ = {⟨(2nd𝐵), (1st𝐵)⟩}
199sneqd 4222 . . . . 5 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → {𝐶} = {⟨(2nd𝐵), (1st𝐵)⟩})
2019cnveqd 5330 . . . 4 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → {𝐶} = {⟨(2nd𝐵), (1st𝐵)⟩})
2120unieqd 4478 . . 3 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → {𝐶} = {⟨(2nd𝐵), (1st𝐵)⟩})
2218, 3, 213eqtr4a 2711 . 2 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → 𝐵 = {𝐶})
2316, 22jca 553 1 ((Rel 𝐴 ∧ (𝐵𝐴𝐶 = {𝐵})) → (𝐶𝐴𝐵 = {𝐶}))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ∧ wa 383   = wceq 1523   ∈ wcel 2030  {csn 4210  ⟨cop 4216  ∪ cuni 4468  ◡ccnv 5142  Rel wrel 5148  ‘cfv 5926  1st c1st 7208  2nd c2nd 7209 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991 This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-ral 2946  df-rex 2947  df-rab 2950  df-v 3233  df-sbc 3469  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-nul 3949  df-if 4120  df-sn 4211  df-pr 4213  df-op 4217  df-uni 4469  df-br 4686  df-opab 4746  df-mpt 4763  df-id 5053  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-iota 5889  df-fun 5928  df-fv 5934  df-1st 7210  df-2nd 7211 This theorem is referenced by:  cnvf1o  7321  fcnvgreu  29600
 Copyright terms: Public domain W3C validator