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

Theorem imainrect 5610
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 5155 . . 3 ((𝐺 ∩ (𝐴 × 𝐵)) ↾ 𝑌) = ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V))
21rneqi 5384 . 2 ran ((𝐺 ∩ (𝐴 × 𝐵)) ↾ 𝑌) = ran ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V))
3 df-ima 5156 . 2 ((𝐺 ∩ (𝐴 × 𝐵)) “ 𝑌) = ran ((𝐺 ∩ (𝐴 × 𝐵)) ↾ 𝑌)
4 df-ima 5156 . . . . 5 (𝐺 “ (𝑌𝐴)) = ran (𝐺 ↾ (𝑌𝐴))
5 df-res 5155 . . . . . 6 (𝐺 ↾ (𝑌𝐴)) = (𝐺 ∩ ((𝑌𝐴) × V))
65rneqi 5384 . . . . 5 ran (𝐺 ↾ (𝑌𝐴)) = ran (𝐺 ∩ ((𝑌𝐴) × V))
74, 6eqtri 2673 . . . 4 (𝐺 “ (𝑌𝐴)) = ran (𝐺 ∩ ((𝑌𝐴) × V))
87ineq1i 3843 . . 3 ((𝐺 “ (𝑌𝐴)) ∩ 𝐵) = (ran (𝐺 ∩ ((𝑌𝐴) × V)) ∩ 𝐵)
9 cnvin 5575 . . . . . 6 ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵)) = ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵))
10 inxp 5287 . . . . . . . . . 10 ((𝐴 × V) ∩ (V × 𝐵)) = ((𝐴 ∩ V) × (V ∩ 𝐵))
11 inv1 4003 . . . . . . . . . . 11 (𝐴 ∩ V) = 𝐴
12 incom 3838 . . . . . . . . . . . 12 (V ∩ 𝐵) = (𝐵 ∩ V)
13 inv1 4003 . . . . . . . . . . . 12 (𝐵 ∩ V) = 𝐵
1412, 13eqtri 2673 . . . . . . . . . . 11 (V ∩ 𝐵) = 𝐵
1511, 14xpeq12i 5171 . . . . . . . . . 10 ((𝐴 ∩ V) × (V ∩ 𝐵)) = (𝐴 × 𝐵)
1610, 15eqtr2i 2674 . . . . . . . . 9 (𝐴 × 𝐵) = ((𝐴 × V) ∩ (V × 𝐵))
1716ineq2i 3844 . . . . . . . 8 ((𝐺 ∩ (𝑌 × V)) ∩ (𝐴 × 𝐵)) = ((𝐺 ∩ (𝑌 × V)) ∩ ((𝐴 × V) ∩ (V × 𝐵)))
18 in32 3858 . . . . . . . 8 ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V)) = ((𝐺 ∩ (𝑌 × V)) ∩ (𝐴 × 𝐵))
19 xpindir 5289 . . . . . . . . . . . 12 ((𝑌𝐴) × V) = ((𝑌 × V) ∩ (𝐴 × V))
2019ineq2i 3844 . . . . . . . . . . 11 (𝐺 ∩ ((𝑌𝐴) × V)) = (𝐺 ∩ ((𝑌 × V) ∩ (𝐴 × V)))
21 inass 3856 . . . . . . . . . . 11 ((𝐺 ∩ (𝑌 × V)) ∩ (𝐴 × V)) = (𝐺 ∩ ((𝑌 × V) ∩ (𝐴 × V)))
2220, 21eqtr4i 2676 . . . . . . . . . 10 (𝐺 ∩ ((𝑌𝐴) × V)) = ((𝐺 ∩ (𝑌 × V)) ∩ (𝐴 × V))
2322ineq1i 3843 . . . . . . . . 9 ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵)) = (((𝐺 ∩ (𝑌 × V)) ∩ (𝐴 × V)) ∩ (V × 𝐵))
24 inass 3856 . . . . . . . . 9 (((𝐺 ∩ (𝑌 × V)) ∩ (𝐴 × V)) ∩ (V × 𝐵)) = ((𝐺 ∩ (𝑌 × V)) ∩ ((𝐴 × V) ∩ (V × 𝐵)))
2523, 24eqtri 2673 . . . . . . . 8 ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵)) = ((𝐺 ∩ (𝑌 × V)) ∩ ((𝐴 × V) ∩ (V × 𝐵)))
2617, 18, 253eqtr4i 2683 . . . . . . 7 ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V)) = ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵))
2726cnveqi 5329 . . . . . 6 ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V)) = ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵))
28 df-res 5155 . . . . . . 7 ((𝐺 ∩ ((𝑌𝐴) × V)) ↾ 𝐵) = ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (𝐵 × V))
29 cnvxp 5586 . . . . . . . 8 (V × 𝐵) = (𝐵 × V)
3029ineq2i 3844 . . . . . . 7 ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵)) = ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (𝐵 × V))
3128, 30eqtr4i 2676 . . . . . 6 ((𝐺 ∩ ((𝑌𝐴) × V)) ↾ 𝐵) = ((𝐺 ∩ ((𝑌𝐴) × V)) ∩ (V × 𝐵))
329, 27, 313eqtr4ri 2684 . . . . 5 ((𝐺 ∩ ((𝑌𝐴) × V)) ↾ 𝐵) = ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V))
3332dmeqi 5357 . . . 4 dom ((𝐺 ∩ ((𝑌𝐴) × V)) ↾ 𝐵) = dom ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V))
34 incom 3838 . . . . 5 (𝐵 ∩ dom (𝐺 ∩ ((𝑌𝐴) × V))) = (dom (𝐺 ∩ ((𝑌𝐴) × V)) ∩ 𝐵)
35 dmres 5454 . . . . 5 dom ((𝐺 ∩ ((𝑌𝐴) × V)) ↾ 𝐵) = (𝐵 ∩ dom (𝐺 ∩ ((𝑌𝐴) × V)))
36 df-rn 5154 . . . . . 6 ran (𝐺 ∩ ((𝑌𝐴) × V)) = dom (𝐺 ∩ ((𝑌𝐴) × V))
3736ineq1i 3843 . . . . 5 (ran (𝐺 ∩ ((𝑌𝐴) × V)) ∩ 𝐵) = (dom (𝐺 ∩ ((𝑌𝐴) × V)) ∩ 𝐵)
3834, 35, 373eqtr4ri 2684 . . . 4 (ran (𝐺 ∩ ((𝑌𝐴) × V)) ∩ 𝐵) = dom ((𝐺 ∩ ((𝑌𝐴) × V)) ↾ 𝐵)
39 df-rn 5154 . . . 4 ran ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V)) = dom ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V))
4033, 38, 393eqtr4ri 2684 . . 3 ran ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V)) = (ran (𝐺 ∩ ((𝑌𝐴) × V)) ∩ 𝐵)
418, 40eqtr4i 2676 . 2 ((𝐺 “ (𝑌𝐴)) ∩ 𝐵) = ran ((𝐺 ∩ (𝐴 × 𝐵)) ∩ (𝑌 × V))
422, 3, 413eqtr4i 2683 1 ((𝐺 ∩ (𝐴 × 𝐵)) “ 𝑌) = ((𝐺 “ (𝑌𝐴)) ∩ 𝐵)
Colors of variables: wff setvar class
Syntax hints:   = wceq 1523  Vcvv 3231  cin 3606   × cxp 5141  ccnv 5142  dom cdm 5143  ran crn 5144  cres 5145  cima 5146
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814  ax-nul 4822  ax-pr 4936
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ral 2946  df-rex 2947  df-rab 2950  df-v 3233  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-nul 3949  df-if 4120  df-sn 4211  df-pr 4213  df-op 4217  df-br 4686  df-opab 4746  df-xp 5149  df-rel 5150  df-cnv 5151  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156
This theorem is referenced by:  ecinxp  7865  marypha1lem  8380
  Copyright terms: Public domain W3C validator