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

Theorem unielrel 6278
Description: The membership relation for a relation is inherited by class union. (Contributed by NM, 17-Sep-2006.)
Assertion
Ref Expression
unielrel ((Rel 𝑅 ∧ 𝐴 ∈ 𝑅) → ∪ 𝐴 ∈ ∪ 𝑅)

Proof of Theorem unielrel
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 elrel 5774 . 2 ((Rel 𝑅 ∧ 𝐴 ∈ 𝑅) → ∃𝑥∃𝑦 𝐴 = ⟨𝑥, 𝑦⟩)
2 simpr 490 . 2 ((Rel 𝑅 ∧ 𝐴 ∈ 𝑅) → 𝐴 ∈ 𝑅)
3 vex 3454 . . . . . 6 𝑥 ∈ V
4 vex 3454 . . . . . 6 𝑦 ∈ V
53, 4uniopel 5488 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ 𝑅 → ∪ ⟨𝑥, 𝑦⟩ ∈ ∪ 𝑅)
65a1i 11 . . . 4 (𝐴 = ⟨𝑥, 𝑦⟩ → (⟨𝑥, 𝑦⟩ ∈ 𝑅 → ∪ ⟨𝑥, 𝑦⟩ ∈ ∪ 𝑅))
7 eleq1 2848 . . . 4 (𝐴 = ⟨𝑥, 𝑦⟩ → (𝐴 ∈ 𝑅 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑅))
8 unieq 4877 . . . . 5 (𝐴 = ⟨𝑥, 𝑦⟩ → ∪ 𝐴 = ∪ ⟨𝑥, 𝑦⟩)
98eleq1d 2845 . . . 4 (𝐴 = ⟨𝑥, 𝑦⟩ → (∪ 𝐴 ∈ ∪ 𝑅 ↔ ∪ ⟨𝑥, 𝑦⟩ ∈ ∪ 𝑅))
106, 7, 93imtr4d 297 . . 3 (𝐴 = ⟨𝑥, 𝑦⟩ → (𝐴 ∈ 𝑅 → ∪ 𝐴 ∈ ∪ 𝑅))
1110exlimivv 1964 . 2 (∃𝑥∃𝑦 𝐴 = ⟨𝑥, 𝑦⟩ → (𝐴 ∈ 𝑅 → ∪ 𝐴 ∈ ∪ 𝑅))
121, 2, 11sylc 66 1 ((Rel 𝑅 ∧ 𝐴 ∈ 𝑅) → ∪ 𝐴 ∈ ∪ 𝑅)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569  ∃wex 1811   ∈ wcel 2144  ⟨cop 4834  ∪ cuni 4866  Rel wrel 5655
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-ext 2732  ax-sep 5248  ax-pr 5390
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-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-opab 5167  df-xp 5656  df-rel 5657
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator