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

Theorem unielrel 6275
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 3455 . . . . . 6 𝑥 ∈ V
4 vex 3455 . . . . . 6 𝑦 ∈ V
53, 4uniopel 5489 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ 𝑅 → ∪ ⟨𝑥, 𝑦⟩ ∈ ∪ 𝑅)
65a1i 11 . . . 4 (𝐴 = ⟨𝑥, 𝑦⟩ → (⟨𝑥, 𝑦⟩ ∈ 𝑅 → ∪ ⟨𝑥, 𝑦⟩ ∈ ∪ 𝑅))
7 eleq1 2849 . . . 4 (𝐴 = ⟨𝑥, 𝑦⟩ → (𝐴 ∈ 𝑅 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑅))
8 unieq 4878 . . . . 5 (𝐴 = ⟨𝑥, 𝑦⟩ → ∪ 𝐴 = ∪ ⟨𝑥, 𝑦⟩)
98eleq1d 2846 . . . 4 (𝐴 = ⟨𝑥, 𝑦⟩ → (∪ 𝐴 ∈ ∪ 𝑅 ↔ ∪ ⟨𝑥, 𝑦⟩ ∈ ∪ 𝑅))
106, 7, 93imtr4d 297 . . 3 (𝐴 = ⟨𝑥, 𝑦⟩ → (𝐴 ∈ 𝑅 → ∪ 𝐴 ∈ ∪ 𝑅))
1110exlimivv 1965 . 2 (∃𝑥∃𝑦 𝐴 = ⟨𝑥, 𝑦⟩ → (𝐴 ∈ 𝑅 → ∪ 𝐴 ∈ ∪ 𝑅))
121, 2, 11sylc 66 1 ((Rel 𝑅 ∧ 𝐴 ∈ 𝑅) → ∪ 𝐴 ∈ ∪ 𝑅)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2145  ⟨cop 4590  ∪ cuni 4867  Rel wrel 5656
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733  ax-sep 5249  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-opab 5168  df-xp 5657  df-rel 5658
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator