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

Theorem cnvf1olem 8157
Description: Lemma for cnvf1o 8158. (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 8083 . . . . . . . . 9 ((Rel 𝐴 ∧ 𝐵 ∈ 𝐴) → 𝐵 = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩)
32adantrr 730 . . . . . . . 8 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → 𝐵 = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩)
43sneqd 4595 . . . . . . 7 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → {𝐵} = {⟨(1st ‘𝐵), (2nd ‘𝐵)⟩})
54cnveqd 5864 . . . . . 6 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → ◡{𝐵} = ◡{⟨(1st ‘𝐵), (2nd ‘𝐵)⟩})
65unieqd 4884 . . . . 5 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → ∪ ◡{𝐵} = ∪ ◡{⟨(1st ‘𝐵), (2nd ‘𝐵)⟩})
71, 6eqtrd 2801 . . . 4 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → 𝐶 = ∪ ◡{⟨(1st ‘𝐵), (2nd ‘𝐵)⟩})
8 opswap 6248 . . . 4 ∪ ◡{⟨(1st ‘𝐵), (2nd ‘𝐵)⟩} = ⟨(2nd ‘𝐵), (1st ‘𝐵)⟩
97, 8eqtrdi 2817 . . 3 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → 𝐶 = ⟨(2nd ‘𝐵), (1st ‘𝐵)⟩)
10 simprl 783 . . . . 5 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → 𝐵 ∈ 𝐴)
113, 10eqeltrrd 2868 . . . 4 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ ∈ 𝐴)
12 fvex 6928 . . . . 5 (2nd ‘𝐵) ∈ V
13 fvex 6928 . . . . 5 (1st ‘𝐵) ∈ V
1412, 13opelcnv 5870 . . . 4 (⟨(2nd ‘𝐵), (1st ‘𝐵)⟩ ∈ ◡𝐴 ↔ ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ ∈ 𝐴)
1511, 14sylibr 237 . . 3 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → ⟨(2nd ‘𝐵), (1st ‘𝐵)⟩ ∈ ◡𝐴)
169, 15eqeltrd 2867 . 2 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → 𝐶 ∈ ◡𝐴)
17 opswap 6248 . . . 4 ∪ ◡{⟨(2nd ‘𝐵), (1st ‘𝐵)⟩} = ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩
1817eqcomi 2775 . . 3 ⟨(1st ‘𝐵), (2nd ‘𝐵)⟩ = ∪ ◡{⟨(2nd ‘𝐵), (1st ‘𝐵)⟩}
199sneqd 4595 . . . . 5 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → {𝐶} = {⟨(2nd ‘𝐵), (1st ‘𝐵)⟩})
2019cnveqd 5864 . . . 4 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → ◡{𝐶} = ◡{⟨(2nd ‘𝐵), (1st ‘𝐵)⟩})
2120unieqd 4884 . . 3 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → ∪ ◡{𝐶} = ∪ ◡{⟨(2nd ‘𝐵), (1st ‘𝐵)⟩})
2218, 3, 213eqtr4a 2827 . 2 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → 𝐵 = ∪ ◡{𝐶})
2316, 22jca 521 1 ((Rel 𝐴 ∧ (𝐵 ∈ 𝐴 ∧ 𝐶 = ∪ ◡{𝐵})) → (𝐶 ∈ ◡𝐴 ∧ 𝐵 = ∪ ◡{𝐶}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2150  {csn 4587  ⟨cop 4839  ∪ cuni 4871  ◡ccnv 5656  Rel wrel 5662  ‘cfv 6565  1st c1st 8032  2nd c2nd 8033
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-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-nul 5265  ax-pr 5397  ax-un 7782
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-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-ral 3084  df-rex 3094  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-uni 4872  df-br 5108  df-opab 5173  df-mpt 5192  df-id 5552  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-iota 6519  df-fun 6567  df-fv 6573  df-1st 8034  df-2nd 8035
This theorem is used by:  cnvf1o  8158  fcnvgreu  33366  gsumhashmul  33728
  Copyright terms: Public domain W3C validator