Metamath Proof Explorer


Theorem unielrel

Description: The membership relation for a relation is inherited by class union. (Contributed by NM, 17-Sep-2006)

Ref Expression
Assertion unielrel Rel R A R A R

Proof

Step Hyp Ref Expression
1 elrel Rel R A R x y A = x y
2 simpr Rel R A R A R
3 vex x V
4 vex y V
5 3 4 uniopel x y R x y R
6 5 a1i A = x y x y R x y R
7 eleq1 A = x y A R x y R
8 unieq A = x y A = x y
9 8 eleq1d A = x y A R x y R
10 6 7 9 3imtr4d A = x y A R A R
11 10 exlimivv x y A = x y A R A R
12 1 2 11 sylc Rel R A R A R