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

Theorem imainrect 6073
Description: Image by a restricted and corestricted binary relation (intersection of a binary relation with a Cartesian product). (Contributed by Stefan O'Rear, 19-Feb-2015.)
Assertion
Ref Expression
imainrect ((𝐺 ∩ (𝐴 × 𝐵)) “ 𝑌) = ((𝐺 “ (𝑌𝐴)) ∩ 𝐵)

Proof of Theorem imainrect
StepHypRef Expression
1 df-res 5592 . . 3 ((𝐺 ∩ (𝐴 × 𝐵)) ↾ 𝑌) = ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V))
21rneqi 5835 . 2 ran ((𝐺 ∩ (𝐴 × 𝐵)) ↾ 𝑌) = ran ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V))
3 df-ima 5593 . 2 ((𝐺 ∩ (𝐴 × 𝐵)) “ 𝑌) = ran ((𝐺 ∩ (𝐴 × 𝐵)) ↾ 𝑌)
4 df-ima 5593 . . . . 5 (𝐺 “ (𝑌𝐴)) = ran (𝐺 ↾ (𝑌𝐴))
5 df-res 5592 . . . . . 6 (𝐺 ↾ (𝑌𝐴)) = (𝐺 ∩ ((𝑌𝐴) × V))
65rneqi 5835 . . . . 5 ran (𝐺 ↾ (𝑌𝐴)) = ran (𝐺 ∩ ((𝑌𝐴) × V))
74, 6eqtri 2766 . . . 4 (𝐺 “ (𝑌𝐴)) = ran (𝐺 ∩ ((𝑌𝐴) × V))
87ineq1i 4139 . . 3 ((𝐺 “ (𝑌𝐴)) ∩ 𝐵) = (ran (𝐺 ∩ ((𝑌𝐴) × V)) ∩ 𝐵)
9 cnvin 6037 . . . . . 6 ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵)) = ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵))
10 inxp 5730 . . . . . . . . . 10 ((𝐴 × V) ∩ (V × 𝐵)) = ((𝐴 ∩ V) × (V ∩ 𝐵))
11 inv1 4325 . . . . . . . . . . 11 (𝐴 ∩ V) = 𝐴
12 incom 4131 . . . . . . . . . . . 12 (V ∩ 𝐵) = (𝐵 ∩ V)
13 inv1 4325 . . . . . . . . . . . 12 (𝐵 ∩ V) = 𝐵
1412, 13eqtri 2766 . . . . . . . . . . 11 (V ∩ 𝐵) = 𝐵
1511, 14xpeq12i 5608 . . . . . . . . . 10 ((𝐴 ∩ V) × (V ∩ 𝐵)) = (𝐴 × 𝐵)
1610, 15eqtr2i 2767 . . . . . . . . 9 (𝐴 × 𝐵) = ((𝐴 × V) ∩ (V × 𝐵))
1716ineq2i 4140 . . . . . . . 8 ((𝐺 ∩ (𝑌 × V)) ∩ (𝐴 × 𝐵)) = ((𝐺 ∩ (𝑌 × V)) ∩ ((𝐴 × V) ∩ (V × 𝐵)))
18 in32 4152 . . . . . . . 8 ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V)) = ((𝐺 ∩ (𝑌 × V)) ∩ (𝐴 × 𝐵))
19 xpindir 5732 . . . . . . . . . . . 12 ((𝑌𝐴) × V) = ((𝑌 × V) ∩ (𝐴 × V))
2019ineq2i 4140 . . . . . . . . . . 11 (𝐺 ∩ ((𝑌𝐴) × V)) = (𝐺 ∩ ((𝑌 × V) ∩ (𝐴 × V)))
21 inass 4150 . . . . . . . . . . 11 ((𝐺 ∩ (𝑌 × V)) ∩ (𝐴 × V)) = (𝐺 ∩ ((𝑌 × V) ∩ (𝐴 × V)))
2220, 21eqtr4i 2769 . . . . . . . . . 10 (𝐺 ∩ ((𝑌𝐴) × V)) = ((𝐺 ∩ (𝑌 × V)) ∩ (𝐴 × V))
2322ineq1i 4139 . . . . . . . . 9 ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵)) = (((𝐺 ∩ (𝑌 × V)) ∩ (𝐴 × V)) ∩ (V × 𝐵))
24 inass 4150 . . . . . . . . 9 (((𝐺 ∩ (𝑌 × V)) ∩ (𝐴 × V)) ∩ (V × 𝐵)) = ((𝐺 ∩ (𝑌 × V)) ∩ ((𝐴 × V) ∩ (V × 𝐵)))
2523, 24eqtri 2766 . . . . . . . 8 ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵)) = ((𝐺 ∩ (𝑌 × V)) ∩ ((𝐴 × V) ∩ (V × 𝐵)))
2617, 18, 253eqtr4i 2776 . . . . . . 7 ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V)) = ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵))
2726cnveqi 5772 . . . . . 6 ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V)) = ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵))
28 df-res 5592 . . . . . . 7 ((𝐺 ∩ ((𝑌𝐴) × V)) ↾ 𝐵) = ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (𝐵 × V))
29 cnvxp 6049 . . . . . . . 8 (V × 𝐵) = (𝐵 × V)
3029ineq2i 4140 . . . . . . 7 ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵)) = ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (𝐵 × V))
3128, 30eqtr4i 2769 . . . . . 6 ((𝐺 ∩ ((𝑌𝐴) × V)) ↾ 𝐵) = ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵))
329, 27, 313eqtr4ri 2777 . . . . 5 ((𝐺 ∩ ((𝑌𝐴) × V)) ↾ 𝐵) = ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V))
3332dmeqi 5802 . . . 4 dom ((𝐺 ∩ ((𝑌𝐴) × V)) ↾ 𝐵) = dom ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V))
34 incom 4131 . . . . 5 (𝐵 ∩ dom (𝐺 ∩ ((𝑌𝐴) × V))) = (dom (𝐺 ∩ ((𝑌𝐴) × V)) ∩ 𝐵)
35 dmres 5902 . . . . 5 dom ((𝐺 ∩ ((𝑌𝐴) × V)) ↾ 𝐵) = (𝐵 ∩ dom (𝐺 ∩ ((𝑌𝐴) × V)))
36 df-rn 5591 . . . . . 6 ran (𝐺 ∩ ((𝑌𝐴) × V)) = dom (𝐺 ∩ ((𝑌𝐴) × V))
3736ineq1i 4139 . . . . 5 (ran (𝐺 ∩ ((𝑌𝐴) × V)) ∩ 𝐵) = (dom (𝐺 ∩ ((𝑌𝐴) × V)) ∩ 𝐵)
3834, 35, 373eqtr4ri 2777 . . . 4 (ran (𝐺 ∩ ((𝑌𝐴) × V)) ∩ 𝐵) = dom ((𝐺 ∩ ((𝑌𝐴) × V)) ↾ 𝐵)
39 df-rn 5591 . . . 4 ran ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V)) = dom ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V))
4033, 38, 393eqtr4ri 2777 . . 3 ran ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V)) = (ran (𝐺 ∩ ((𝑌𝐴) × V)) ∩ 𝐵)
418, 40eqtr4i 2769 . 2 ((𝐺 “ (𝑌𝐴)) ∩ 𝐵) = ran ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V))
422, 3, 413eqtr4i 2776 1 ((𝐺 ∩ (𝐴 × 𝐵)) “ 𝑌) = ((𝐺 “ (𝑌𝐴)) ∩ 𝐵)
Colors of variables: wff setvar class
Syntax hints:   = wceq 1539  Vcvv 3422  cin 3882   × cxp 5578  ccnv 5579  dom cdm 5580  ran crn 5581  cres 5582  cima 5583
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-br 5071  df-opab 5133  df-xp 5586  df-rel 5587  df-cnv 5588  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593
This theorem is referenced by:  ecinxp  8539  marypha1lem  9122
  Copyright terms: Public domain W3C validator