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

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

Proof of Theorem cnvf1olem
StepHypRef Expression
1 simprr 785 . . . . 5 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → 𝐶 = ∪ ◡{𝐵})
2 1st2nd 8050 . . . . . . . . 9 ((Rel 𝐴 ∧ 𝐵 ∈ 𝐴) → 𝐵 = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩)
32adantrr 730 . . . . . . . 8 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → 𝐵 = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩)
43sneqd 4595 . . . . . . 7 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → {𝐵} = {⟨(1st ‘𝐵), (2nd ‘𝐵)⟩})
54cnveqd 5852 . . . . . 6 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → ◡{𝐵} = ◡{⟨(1st ‘𝐵), (2nd ‘𝐵)⟩})
65unieqd 4879 . . . . 5 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → ∪ ◡{𝐵} = ∪ ◡{⟨(1st ‘𝐵), (2nd ‘𝐵)⟩})
71, 6eqtrd 2795 . . . 4 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → 𝐶 = ∪ ◡{⟨(1st ‘𝐵), (2nd ‘𝐵)⟩})
8 opswap 6230 . . . 4 ∪ ◡{⟨(1st ‘𝐵), (2nd ‘𝐵)⟩} = ⟨(2nd ‘𝐵), (1st ‘𝐵)⟩
97, 8eqtrdi 2811 . . 3 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → 𝐶 = ⟨(2nd ‘𝐵), (1st ‘𝐵)⟩)
10 simprl 783 . . . . 5 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → 𝐵 ∈ 𝐴)
113, 10eqeltrrd 2861 . . . 4 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ ∈ 𝐴)
12 fvex 6898 . . . . 5 (2nd ‘𝐵) ∈ V
13 fvex 6898 . . . . 5 (1st ‘𝐵) ∈ V
1412, 13opelcnv 5858 . . . 4 (⟨(2nd ‘𝐵), (1st ‘𝐵)⟩ ∈ ◡𝐴 ↔ ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ ∈ 𝐴)
1511, 14sylibr 237 . . 3 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → ⟨(2nd ‘𝐵), (1st ‘𝐵)⟩ ∈ ◡𝐴)
169, 15eqeltrd 2860 . 2 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → 𝐶 ∈ ◡𝐴)
17 opswap 6230 . . . 4 ∪ ◡{⟨(2nd ‘𝐵), (1st ‘𝐵)⟩} = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩
1817eqcomi 2769 . . 3 ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ = ∪ ◡{⟨(2nd ‘𝐵), (1st ‘𝐵)⟩}
199sneqd 4595 . . . . 5 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → {𝐶} = {⟨(2nd ‘𝐵), (1st ‘𝐵)⟩})
2019cnveqd 5852 . . . 4 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → ◡{𝐶} = ◡{⟨(2nd ‘𝐵), (1st ‘𝐵)⟩})
2120unieqd 4879 . . 3 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → ∪ ◡{𝐶} = ∪ ◡{⟨(2nd ‘𝐵), (1st ‘𝐵)⟩})
2218, 3, 213eqtr4a 2821 . 2 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → 𝐵 = ∪ ◡{𝐶})
2316, 22jca 521 1 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → (𝐶 ∈ ◡𝐴 ∧ 𝐵 = ∪ ◡{𝐶}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144  {csn 4583  ⟨cop 4589  ∪ cuni 4866  ◡ccnv 5649  Rel wrel 5655  ‘cfv 6538  1st c1st 7999  2nd c2nd 8000
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390  ax-un 7751
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-iota 6494  df-fun 6540  df-fv 6546  df-1st 8001  df-2nd 8002
This theorem is used by:  cnvf1o  8122  fcnvgreu  33266  gsumhashmul  33628
  Copyright terms: Public domain W3C validator