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

Theorem unielrel 6240
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 5755 . 2 ((Rel 𝑅𝐴𝑅) → ∃𝑥𝑦 𝐴 = ⟨𝑥, 𝑦⟩)
2 simpr 484 . 2 ((Rel 𝑅𝐴𝑅) → 𝐴𝑅)
3 vex 3446 . . . . . 6 𝑥 ∈ V
4 vex 3446 . . . . . 6 𝑦 ∈ V
53, 4uniopel 5472 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ 𝑅𝑥, 𝑦⟩ ∈ 𝑅)
65a1i 11 . . . 4 (𝐴 = ⟨𝑥, 𝑦⟩ → (⟨𝑥, 𝑦⟩ ∈ 𝑅𝑥, 𝑦⟩ ∈ 𝑅))
7 eleq1 2825 . . . 4 (𝐴 = ⟨𝑥, 𝑦⟩ → (𝐴𝑅 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑅))
8 unieq 4876 . . . . 5 (𝐴 = ⟨𝑥, 𝑦⟩ → 𝐴 = 𝑥, 𝑦⟩)
98eleq1d 2822 . . . 4 (𝐴 = ⟨𝑥, 𝑦⟩ → ( 𝐴 𝑅𝑥, 𝑦⟩ ∈ 𝑅))
106, 7, 93imtr4d 294 . . 3 (𝐴 = ⟨𝑥, 𝑦⟩ → (𝐴𝑅 𝐴 𝑅))
1110exlimivv 1934 . 2 (∃𝑥𝑦 𝐴 = ⟨𝑥, 𝑦⟩ → (𝐴𝑅 𝐴 𝑅))
121, 2, 11sylc 65 1 ((Rel 𝑅𝐴𝑅) → 𝐴 𝑅)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1542  wex 1781  wcel 2114  cop 4588   cuni 4865  Rel wrel 5637
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-ext 2709  ax-sep 5243  ax-pr 5379
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-sb 2069  df-clab 2716  df-cleq 2729  df-clel 2812  df-rab 3402  df-v 3444  df-dif 3906  df-un 3908  df-in 3910  df-ss 3920  df-nul 4288  df-if 4482  df-sn 4583  df-pr 4585  df-op 4589  df-uni 4866  df-opab 5163  df-xp 5638  df-rel 5639
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator