Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  xpinpreima Structured version   Visualization version   GIF version

Theorem xpinpreima 34649
Description: Rewrite the cartesian product of two sets as the intersection of their preimage by 1st and 2nd, the projections on the first and second elements. (Contributed by Thierry Arnoux, 22-Sep-2017.)
Assertion
Ref Expression
xpinpreima (𝐴 × 𝐵) = ((◡(1st ↾ (V × V)) “ 𝐴) ∩ (◡(2nd ↾ (V × V)) “ 𝐵))

Proof of Theorem xpinpreima
Dummy variable 𝑟 is distinct from all other variables.
StepHypRef Expression
1 inrab 4264 . 2 ({𝑟 ∈ (V × V) ∣ (1st ‘𝑟) ∈ 𝐴} ∩ {𝑟 ∈ (V × V) ∣ (2nd ‘𝑟) ∈ 𝐵}) = {𝑟 ∈ (V × V) ∣ ((1st ‘𝑟) ∈ 𝐴 ∧ (2nd ‘𝑟) ∈ 𝐵)}
2 f1stres 8059 . . . . 5 (1st ↾ (V × V)):(V × V)⟶V
3 ffn 6739 . . . . 5 ((1st ↾ (V × V)):(V × V)⟶V → (1st ↾ (V × V)) Fn (V × V))
4 fncnvima2 7092 . . . . 5 ((1st ↾ (V × V)) Fn (V × V) → (◡(1st ↾ (V × V)) “ 𝐴) = {𝑟 ∈ (V × V) ∣ ((1st ↾ (V × V))‘𝑟) ∈ 𝐴})
52, 3, 4mp2b 10 . . . 4 (◡(1st ↾ (V × V)) “ 𝐴) = {𝑟 ∈ (V × V) ∣ ((1st ↾ (V × V))‘𝑟) ∈ 𝐴}
6 fvres 6935 . . . . . 6 (𝑟 ∈ (V × V) → ((1st ↾ (V × V))‘𝑟) = (1st ‘𝑟))
76eleq1d 2849 . . . . 5 (𝑟 ∈ (V × V) → (((1st ↾ (V × V))‘𝑟) ∈ 𝐴 ↔ (1st ‘𝑟) ∈ 𝐴))
87rabbiia 3420 . . . 4 {𝑟 ∈ (V × V) ∣ ((1st ↾ (V × V))‘𝑟) ∈ 𝐴} = {𝑟 ∈ (V × V) ∣ (1st ‘𝑟) ∈ 𝐴}
95, 8eqtri 2786 . . 3 (◡(1st ↾ (V × V)) “ 𝐴) = {𝑟 ∈ (V × V) ∣ (1st ‘𝑟) ∈ 𝐴}
10 f2ndres 8060 . . . . 5 (2nd ↾ (V × V)):(V × V)⟶V
11 ffn 6739 . . . . 5 ((2nd ↾ (V × V)):(V × V)⟶V → (2nd ↾ (V × V)) Fn (V × V))
12 fncnvima2 7092 . . . . 5 ((2nd ↾ (V × V)) Fn (V × V) → (◡(2nd ↾ (V × V)) “ 𝐵) = {𝑟 ∈ (V × V) ∣ ((2nd ↾ (V × V))‘𝑟) ∈ 𝐵})
1310, 11, 12mp2b 10 . . . 4 (◡(2nd ↾ (V × V)) “ 𝐵) = {𝑟 ∈ (V × V) ∣ ((2nd ↾ (V × V))‘𝑟) ∈ 𝐵}
14 fvres 6935 . . . . . 6 (𝑟 ∈ (V × V) → ((2nd ↾ (V × V))‘𝑟) = (2nd ‘𝑟))
1514eleq1d 2849 . . . . 5 (𝑟 ∈ (V × V) → (((2nd ↾ (V × V))‘𝑟) ∈ 𝐵 ↔ (2nd ‘𝑟) ∈ 𝐵))
1615rabbiia 3420 . . . 4 {𝑟 ∈ (V × V) ∣ ((2nd ↾ (V × V))‘𝑟) ∈ 𝐵} = {𝑟 ∈ (V × V) ∣ (2nd ‘𝑟) ∈ 𝐵}
1713, 16eqtri 2786 . . 3 (◡(2nd ↾ (V × V)) “ 𝐵) = {𝑟 ∈ (V × V) ∣ (2nd ‘𝑟) ∈ 𝐵}
189, 17ineq12i 4118 . 2 ((◡(1st ↾ (V × V)) “ 𝐴) ∩ (◡(2nd ↾ (V × V)) “ 𝐵)) = ({𝑟 ∈ (V × V) ∣ (1st ‘𝑟) ∈ 𝐴} ∩ {𝑟 ∈ (V × V) ∣ (2nd ‘𝑟) ∈ 𝐵})
19 xp2 8072 . 2 (𝐴 × 𝐵) = {𝑟 ∈ (V × V) ∣ ((1st ‘𝑟) ∈ 𝐴 ∧ (2nd ‘𝑟) ∈ 𝐵)}
201, 18, 193eqtr4ri 2797 1 (𝐴 × 𝐵) = ((◡(1st ↾ (V × V)) “ 𝐴) ∩ (◡(2nd ↾ (V × V)) “ 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1570   ∈ wcel 2147  {crab 3416  Vcvv 3454   ∩ cin 4092   × cxp 5656  ◡ccnv 5657   ↾ cres 5660   “ cima 5661   Fn wfn 6561  ⟶wf 6562  ‘cfv 6566  1st c1st 8033  2nd c2nd 8034
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pr 5398  ax-un 7783
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-fv 6574  df-1st 8035  df-2nd 8036
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator