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

Theorem imainrect 6084
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 5601 . . 3 ((𝐺 ∩ (𝐴 × 𝐵)) ↾ 𝑌) = ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V))
21rneqi 5846 . 2 ran ((𝐺 ∩ (𝐴 × 𝐵)) ↾ 𝑌) = ran ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V))
3 df-ima 5602 . 2 ((𝐺 ∩ (𝐴 × 𝐵)) “ 𝑌) = ran ((𝐺 ∩ (𝐴 × 𝐵)) ↾ 𝑌)
4 df-ima 5602 . . . . 5 (𝐺 “ (𝑌𝐴)) = ran (𝐺 ↾ (𝑌𝐴))
5 df-res 5601 . . . . . 6 (𝐺 ↾ (𝑌𝐴)) = (𝐺 ∩ ((𝑌𝐴) × V))
65rneqi 5846 . . . . 5 ran (𝐺 ↾ (𝑌𝐴)) = ran (𝐺 ∩ ((𝑌𝐴) × V))
74, 6eqtri 2766 . . . 4 (𝐺 “ (𝑌𝐴)) = ran (𝐺 ∩ ((𝑌𝐴) × V))
87ineq1i 4142 . . 3 ((𝐺 “ (𝑌𝐴)) ∩ 𝐵) = (ran (𝐺 ∩ ((𝑌𝐴) × V)) ∩ 𝐵)
9 cnvin 6048 . . . . . 6 ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵)) = ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵))
10 inxp 5741 . . . . . . . . . 10 ((𝐴 × V) ∩ (V × 𝐵)) = ((𝐴 ∩ V) × (V ∩ 𝐵))
11 inv1 4328 . . . . . . . . . . 11 (𝐴 ∩ V) = 𝐴
12 incom 4135 . . . . . . . . . . . 12 (V ∩ 𝐵) = (𝐵 ∩ V)
13 inv1 4328 . . . . . . . . . . . 12 (𝐵 ∩ V) = 𝐵
1412, 13eqtri 2766 . . . . . . . . . . 11 (V ∩ 𝐵) = 𝐵
1511, 14xpeq12i 5617 . . . . . . . . . 10 ((𝐴 ∩ V) × (V ∩ 𝐵)) = (𝐴 × 𝐵)
1610, 15eqtr2i 2767 . . . . . . . . 9 (𝐴 × 𝐵) = ((𝐴 × V) ∩ (V × 𝐵))
1716ineq2i 4143 . . . . . . . 8 ((𝐺 ∩ (𝑌 × V)) ∩ (𝐴 × 𝐵)) = ((𝐺 ∩ (𝑌 × V)) ∩ ((𝐴 × V) ∩ (V × 𝐵)))
18 in32 4155 . . . . . . . 8 ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V)) = ((𝐺 ∩ (𝑌 × V)) ∩ (𝐴 × 𝐵))
19 xpindir 5743 . . . . . . . . . . . 12 ((𝑌𝐴) × V) = ((𝑌 × V) ∩ (𝐴 × V))
2019ineq2i 4143 . . . . . . . . . . 11 (𝐺 ∩ ((𝑌𝐴) × V)) = (𝐺 ∩ ((𝑌 × V) ∩ (𝐴 × V)))
21 inass 4153 . . . . . . . . . . 11 ((𝐺 ∩ (𝑌 × V)) ∩ (𝐴 × V)) = (𝐺 ∩ ((𝑌 × V) ∩ (𝐴 × V)))
2220, 21eqtr4i 2769 . . . . . . . . . 10 (𝐺 ∩ ((𝑌𝐴) × V)) = ((𝐺 ∩ (𝑌 × V)) ∩ (𝐴 × V))
2322ineq1i 4142 . . . . . . . . 9 ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵)) = (((𝐺 ∩ (𝑌 × V)) ∩ (𝐴 × V)) ∩ (V × 𝐵))
24 inass 4153 . . . . . . . . 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 5783 . . . . . 6 ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V)) = ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵))
28 df-res 5601 . . . . . . 7 ((𝐺 ∩ ((𝑌𝐴) × V)) ↾ 𝐵) = ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (𝐵 × V))
29 cnvxp 6060 . . . . . . . 8 (V × 𝐵) = (𝐵 × V)
3029ineq2i 4143 . . . . . . 7 ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵)) = ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (𝐵 × V))
3128, 30eqtr4i 2769 . . . . . 6 ((𝐺 ∩ ((𝑌𝐴) × V)) ↾ 𝐵) = ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵))
329, 27, 313eqtr4ri 2777 . . . . 5 ((𝐺 ∩ ((𝑌𝐴) × V)) ↾ 𝐵) = ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V))
3332dmeqi 5813 . . . 4 dom ((𝐺 ∩ ((𝑌𝐴) × V)) ↾ 𝐵) = dom ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V))
34 incom 4135 . . . . 5 (𝐵 ∩ dom (𝐺 ∩ ((𝑌𝐴) × V))) = (dom (𝐺 ∩ ((𝑌𝐴) × V)) ∩ 𝐵)
35 dmres 5913 . . . . 5 dom ((𝐺 ∩ ((𝑌𝐴) × V)) ↾ 𝐵) = (𝐵 ∩ dom (𝐺 ∩ ((𝑌𝐴) × V)))
36 df-rn 5600 . . . . . 6 ran (𝐺 ∩ ((𝑌𝐴) × V)) = dom (𝐺 ∩ ((𝑌𝐴) × V))
3736ineq1i 4142 . . . . 5 (ran (𝐺 ∩ ((𝑌𝐴) × V)) ∩ 𝐵) = (dom (𝐺 ∩ ((𝑌𝐴) × V)) ∩ 𝐵)
3834, 35, 373eqtr4ri 2777 . . . 4 (ran (𝐺 ∩ ((𝑌𝐴) × V)) ∩ 𝐵) = dom ((𝐺 ∩ ((𝑌𝐴) × V)) ↾ 𝐵)
39 df-rn 5600 . . . 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 3432  cin 3886   × cxp 5587  ccnv 5588  dom cdm 5589  ran crn 5590  cres 5591  cima 5592
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-br 5075  df-opab 5137  df-xp 5595  df-rel 5596  df-cnv 5597  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602
This theorem is referenced by:  ecinxp  8581  marypha1lem  9192
  Copyright terms: Public domain W3C validator