MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  iinrab2 Structured version   Unicode version

Theorem iinrab2 4381
Description: Indexed intersection of a restricted class builder. (Contributed by NM, 6-Dec-2011.)
Assertion
Ref Expression
iinrab2  |-  ( |^|_ x  e.  A  { y  e.  B  |  ph }  i^i  B )  =  { y  e.  B  |  A. x  e.  A  ph }
Distinct variable groups:    y, A, x    x, B, y
Allowed substitution hints:    ph( x, y)

Proof of Theorem iinrab2
StepHypRef Expression
1 iineq1 4333 . . . . . 6  |-  ( A  =  (/)  ->  |^|_ x  e.  A  { y  e.  B  |  ph }  =  |^|_ x  e.  (/)  { y  e.  B  |  ph } )
2 0iin 4376 . . . . . 6  |-  |^|_ x  e.  (/)  { y  e.  B  |  ph }  =  _V
31, 2syl6eq 2517 . . . . 5  |-  ( A  =  (/)  ->  |^|_ x  e.  A  { y  e.  B  |  ph }  =  _V )
43ineq1d 3692 . . . 4  |-  ( A  =  (/)  ->  ( |^|_ x  e.  A  { y  e.  B  |  ph }  i^i  B )  =  ( _V  i^i  B
) )
5 incom 3684 . . . . 5  |-  ( _V 
i^i  B )  =  ( B  i^i  _V )
6 inv1 3805 . . . . 5  |-  ( B  i^i  _V )  =  B
75, 6eqtri 2489 . . . 4  |-  ( _V 
i^i  B )  =  B
84, 7syl6eq 2517 . . 3  |-  ( A  =  (/)  ->  ( |^|_ x  e.  A  { y  e.  B  |  ph }  i^i  B )  =  B )
9 rzal 3922 . . . 4  |-  ( A  =  (/)  ->  A. x  e.  A  A. y  e.  B  ph )
10 rabid2 3032 . . . . 5  |-  ( B  =  { y  e.  B  |  A. x  e.  A  ph }  <->  A. y  e.  B  A. x  e.  A  ph )
11 ralcom 3015 . . . . 5  |-  ( A. y  e.  B  A. x  e.  A  ph  <->  A. x  e.  A  A. y  e.  B  ph )
1210, 11bitr2i 250 . . . 4  |-  ( A. x  e.  A  A. y  e.  B  ph  <->  B  =  { y  e.  B  |  A. x  e.  A  ph } )
139, 12sylib 196 . . 3  |-  ( A  =  (/)  ->  B  =  { y  e.  B  |  A. x  e.  A  ph } )
148, 13eqtrd 2501 . 2  |-  ( A  =  (/)  ->  ( |^|_ x  e.  A  { y  e.  B  |  ph }  i^i  B )  =  { y  e.  B  |  A. x  e.  A  ph } )
15 iinrab 4380 . . . 4  |-  ( A  =/=  (/)  ->  |^|_ x  e.  A  { y  e.  B  |  ph }  =  { y  e.  B  |  A. x  e.  A  ph } )
1615ineq1d 3692 . . 3  |-  ( A  =/=  (/)  ->  ( |^|_ x  e.  A  { y  e.  B  |  ph }  i^i  B )  =  ( { y  e.  B  |  A. x  e.  A  ph }  i^i  B ) )
17 ssrab2 3578 . . . 4  |-  { y  e.  B  |  A. x  e.  A  ph }  C_  B
18 dfss 3484 . . . 4  |-  ( { y  e.  B  |  A. x  e.  A  ph }  C_  B  <->  { y  e.  B  |  A. x  e.  A  ph }  =  ( { y  e.  B  |  A. x  e.  A  ph }  i^i  B ) )
1917, 18mpbi 208 . . 3  |-  { y  e.  B  |  A. x  e.  A  ph }  =  ( { y  e.  B  |  A. x  e.  A  ph }  i^i  B )
2016, 19syl6eqr 2519 . 2  |-  ( A  =/=  (/)  ->  ( |^|_ x  e.  A  { y  e.  B  |  ph }  i^i  B )  =  { y  e.  B  |  A. x  e.  A  ph } )
2114, 20pm2.61ine 2773 1  |-  ( |^|_ x  e.  A  { y  e.  B  |  ph }  i^i  B )  =  { y  e.  B  |  A. x  e.  A  ph }
Colors of variables: wff setvar class
Syntax hints:    = wceq 1374    =/= wne 2655   A.wral 2807   {crab 2811   _Vcvv 3106    i^i cin 3468    C_ wss 3469   (/)c0 3778   |^|_ciin 4319
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1596  ax-4 1607  ax-5 1675  ax-6 1714  ax-7 1734  ax-10 1781  ax-11 1786  ax-12 1798  ax-13 1961  ax-ext 2438
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-tru 1377  df-ex 1592  df-nf 1595  df-sb 1707  df-clab 2446  df-cleq 2452  df-clel 2455  df-nfc 2610  df-ne 2657  df-ral 2812  df-rab 2816  df-v 3108  df-dif 3472  df-in 3476  df-ss 3483  df-nul 3779  df-iin 4321
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator