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

Theorem imainrect 5479
Description: Image of a relation restricted to a rectangular region. (Contributed by Stefan O'Rear, 19-Feb-2015.)
Assertion
Ref Expression
imainrect ((𝐺 ∩ (𝐴 × 𝐵)) “ 𝑌) = ((𝐺 “ (𝑌𝐴)) ∩ 𝐵)

Proof of Theorem imainrect
StepHypRef Expression
1 df-res 5039 . . 3 ((𝐺 ∩ (𝐴 × 𝐵)) ↾ 𝑌) = ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V))
21rneqi 5259 . 2 ran ((𝐺 ∩ (𝐴 × 𝐵)) ↾ 𝑌) = ran ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V))
3 df-ima 5040 . 2 ((𝐺 ∩ (𝐴 × 𝐵)) “ 𝑌) = ran ((𝐺 ∩ (𝐴 × 𝐵)) ↾ 𝑌)
4 df-ima 5040 . . . . 5 (𝐺 “ (𝑌𝐴)) = ran (𝐺 ↾ (𝑌𝐴))
5 df-res 5039 . . . . . 6 (𝐺 ↾ (𝑌𝐴)) = (𝐺 ∩ ((𝑌𝐴) × V))
65rneqi 5259 . . . . 5 ran (𝐺 ↾ (𝑌𝐴)) = ran (𝐺 ∩ ((𝑌𝐴) × V))
74, 6eqtri 2631 . . . 4 (𝐺 “ (𝑌𝐴)) = ran (𝐺 ∩ ((𝑌𝐴) × V))
87ineq1i 3771 . . 3 ((𝐺 “ (𝑌𝐴)) ∩ 𝐵) = (ran (𝐺 ∩ ((𝑌𝐴) × V)) ∩ 𝐵)
9 cnvin 5444 . . . . . 6 ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵)) = ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵))
10 inxp 5163 . . . . . . . . . 10 ((𝐴 × V) ∩ (V × 𝐵)) = ((𝐴 ∩ V) × (V ∩ 𝐵))
11 inv1 3921 . . . . . . . . . . 11 (𝐴 ∩ V) = 𝐴
12 incom 3766 . . . . . . . . . . . 12 (V ∩ 𝐵) = (𝐵 ∩ V)
13 inv1 3921 . . . . . . . . . . . 12 (𝐵 ∩ V) = 𝐵
1412, 13eqtri 2631 . . . . . . . . . . 11 (V ∩ 𝐵) = 𝐵
1511, 14xpeq12i 5050 . . . . . . . . . 10 ((𝐴 ∩ V) × (V ∩ 𝐵)) = (𝐴 × 𝐵)
1610, 15eqtr2i 2632 . . . . . . . . 9 (𝐴 × 𝐵) = ((𝐴 × V) ∩ (V × 𝐵))
1716ineq2i 3772 . . . . . . . 8 ((𝐺 ∩ (𝑌 × V)) ∩ (𝐴 × 𝐵)) = ((𝐺 ∩ (𝑌 × V)) ∩ ((𝐴 × V) ∩ (V × 𝐵)))
18 in32 3786 . . . . . . . 8 ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V)) = ((𝐺 ∩ (𝑌 × V)) ∩ (𝐴 × 𝐵))
19 xpindir 5165 . . . . . . . . . . . 12 ((𝑌𝐴) × V) = ((𝑌 × V) ∩ (𝐴 × V))
2019ineq2i 3772 . . . . . . . . . . 11 (𝐺 ∩ ((𝑌𝐴) × V)) = (𝐺 ∩ ((𝑌 × V) ∩ (𝐴 × V)))
21 inass 3784 . . . . . . . . . . 11 ((𝐺 ∩ (𝑌 × V)) ∩ (𝐴 × V)) = (𝐺 ∩ ((𝑌 × V) ∩ (𝐴 × V)))
2220, 21eqtr4i 2634 . . . . . . . . . 10 (𝐺 ∩ ((𝑌𝐴) × V)) = ((𝐺 ∩ (𝑌 × V)) ∩ (𝐴 × V))
2322ineq1i 3771 . . . . . . . . 9 ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵)) = (((𝐺 ∩ (𝑌 × V)) ∩ (𝐴 × V)) ∩ (V × 𝐵))
24 inass 3784 . . . . . . . . 9 (((𝐺 ∩ (𝑌 × V)) ∩ (𝐴 × V)) ∩ (V × 𝐵)) = ((𝐺 ∩ (𝑌 × V)) ∩ ((𝐴 × V) ∩ (V × 𝐵)))
2523, 24eqtri 2631 . . . . . . . 8 ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵)) = ((𝐺 ∩ (𝑌 × V)) ∩ ((𝐴 × V) ∩ (V × 𝐵)))
2617, 18, 253eqtr4i 2641 . . . . . . 7 ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V)) = ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵))
2726cnveqi 5206 . . . . . 6 ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V)) = ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵))
28 df-res 5039 . . . . . . 7 ((𝐺 ∩ ((𝑌𝐴) × V)) ↾ 𝐵) = ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (𝐵 × V))
29 cnvxp 5455 . . . . . . . 8 (V × 𝐵) = (𝐵 × V)
3029ineq2i 3772 . . . . . . 7 ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵)) = ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (𝐵 × V))
3128, 30eqtr4i 2634 . . . . . 6 ((𝐺 ∩ ((𝑌𝐴) × V)) ↾ 𝐵) = ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵))
329, 27, 313eqtr4ri 2642 . . . . 5 ((𝐺 ∩ ((𝑌𝐴) × V)) ↾ 𝐵) = ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V))
3332dmeqi 5233 . . . 4 dom ((𝐺 ∩ ((𝑌𝐴) × V)) ↾ 𝐵) = dom ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V))
34 incom 3766 . . . . 5 (𝐵 ∩ dom (𝐺 ∩ ((𝑌𝐴) × V))) = (dom (𝐺 ∩ ((𝑌𝐴) × V)) ∩ 𝐵)
35 dmres 5325 . . . . 5 dom ((𝐺 ∩ ((𝑌𝐴) × V)) ↾ 𝐵) = (𝐵 ∩ dom (𝐺 ∩ ((𝑌𝐴) × V)))
36 df-rn 5038 . . . . . 6 ran (𝐺 ∩ ((𝑌𝐴) × V)) = dom (𝐺 ∩ ((𝑌𝐴) × V))
3736ineq1i 3771 . . . . 5 (ran (𝐺 ∩ ((𝑌𝐴) × V)) ∩ 𝐵) = (dom (𝐺 ∩ ((𝑌𝐴) × V)) ∩ 𝐵)
3834, 35, 373eqtr4ri 2642 . . . 4 (ran (𝐺 ∩ ((𝑌𝐴) × V)) ∩ 𝐵) = dom ((𝐺 ∩ ((𝑌𝐴) × V)) ↾ 𝐵)
39 df-rn 5038 . . . 4 ran ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V)) = dom ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V))
4033, 38, 393eqtr4ri 2642 . . 3 ran ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V)) = (ran (𝐺 ∩ ((𝑌𝐴) × V)) ∩ 𝐵)
418, 40eqtr4i 2634 . 2 ((𝐺 “ (𝑌𝐴)) ∩ 𝐵) = ran ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V))
422, 3, 413eqtr4i 2641 1 ((𝐺 ∩ (𝐴 × 𝐵)) “ 𝑌) = ((𝐺 “ (𝑌𝐴)) ∩ 𝐵)
Colors of variables: wff setvar class
Syntax hints:   = wceq 1474  Vcvv 3172  cin 3538   × cxp 5025  ccnv 5026  dom cdm 5027  ran crn 5028  cres 5029  cima 5030
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1712  ax-4 1727  ax-5 1826  ax-6 1874  ax-7 1921  ax-9 1985  ax-10 2005  ax-11 2020  ax-12 2033  ax-13 2233  ax-ext 2589  ax-sep 4703  ax-nul 4711  ax-pr 4827
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1700  df-sb 1867  df-eu 2461  df-mo 2462  df-clab 2596  df-cleq 2602  df-clel 2605  df-nfc 2739  df-ral 2900  df-rex 2901  df-rab 2904  df-v 3174  df-dif 3542  df-un 3544  df-in 3546  df-ss 3553  df-nul 3874  df-if 4036  df-sn 4125  df-pr 4127  df-op 4131  df-br 4578  df-opab 4638  df-xp 5033  df-rel 5034  df-cnv 5035  df-dm 5037  df-rn 5038  df-res 5039  df-ima 5040
This theorem is referenced by:  ecinxp  7686  marypha1lem  8199
  Copyright terms: Public domain W3C validator