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 34721
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 4271 . 2 ({𝑟 ∈ (V × V) ∣ (1st ‘𝑟) ∈ 𝐴} ∩ {𝑟 ∈ (V × V) ∣ (2nd ‘𝑟) ∈ 𝐵}) = {𝑟 ∈ (V × V) ∣ ((1st ‘𝑟) ∈ 𝐴 ∧ (2nd ‘𝑟) ∈ 𝐵)}
2 f1stres 8075 . . . . 5 (1st ↾ (V × V)):(V × V)⟶V
3 ffn 6754 . . . . 5 ((1st ↾ (V × V)):(V × V)⟶V → (1st ↾ (V × V)) Fn (V × V))
4 fncnvima2 7107 . . . . 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 6950 . . . . . 6 (𝑟 ∈ (V × V) → ((1st ↾ (V × V))‘𝑟) = (1st ‘𝑟))
76eleq1d 2860 . . . . 5 (𝑟 ∈ (V × V) → (((1st ↾ (V × V))‘𝑟) ∈ 𝐴 ↔ (1st ‘𝑟) ∈ 𝐴))
87rabbiia 3427 . . . 4 {𝑟 ∈ (V × V) ∣ ((1st ↾ (V × V))‘𝑟) ∈ 𝐴} = {𝑟 ∈ (V × V) ∣ (1st ‘𝑟) ∈ 𝐴}
95, 8eqtri 2797 . . 3 (◡(1st ↾ (V × V)) “ 𝐴) = {𝑟 ∈ (V × V) ∣ (1st ‘𝑟) ∈ 𝐴}
10 f2ndres 8076 . . . . 5 (2nd ↾ (V × V)):(V × V)⟶V
11 ffn 6754 . . . . 5 ((2nd ↾ (V × V)):(V × V)⟶V → (2nd ↾ (V × V)) Fn (V × V))
12 fncnvima2 7107 . . . . 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 6950 . . . . . 6 (𝑟 ∈ (V × V) → ((2nd ↾ (V × V))‘𝑟) = (2nd ‘𝑟))
1514eleq1d 2860 . . . . 5 (𝑟 ∈ (V × V) → (((2nd ↾ (V × V))‘𝑟) ∈ 𝐵 ↔ (2nd ‘𝑟) ∈ 𝐵))
1615rabbiia 3427 . . . 4 {𝑟 ∈ (V × V) ∣ ((2nd ↾ (V × V))‘𝑟) ∈ 𝐵} = {𝑟 ∈ (V × V) ∣ (2nd ‘𝑟) ∈ 𝐵}
1713, 16eqtri 2797 . . 3 (◡(2nd ↾ (V × V)) “ 𝐵) = {𝑟 ∈ (V × V) ∣ (2nd ‘𝑟) ∈ 𝐵}
189, 17ineq12i 4125 . 2 ((◡(1st ↾ (V × V)) “ 𝐴) ∩ (◡(2nd ↾ (V × V)) “ 𝐵)) = ({𝑟 ∈ (V × V) ∣ (1st ‘𝑟) ∈ 𝐴} ∩ {𝑟 ∈ (V × V) ∣ (2nd ‘𝑟) ∈ 𝐵})
19 xp2 8088 . 2 (𝐴 × 𝐵) = {𝑟 ∈ (V × V) ∣ ((1st ‘𝑟) ∈ 𝐴 ∧ (2nd ‘𝑟) ∈ 𝐵)}
201, 18, 193eqtr4ri 2808 1 (𝐴 × 𝐵) = ((◡(1st ↾ (V × V)) “ 𝐴) ∩ (◡(2nd ↾ (V × V)) “ 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1572   ∈ wcel 2156  {crab 3423  Vcvv 3461   ∩ cin 4099   × cxp 5664  ◡ccnv 5665   ↾ cres 5668   “ cima 5669   Fn wfn 6573  ⟶wf 6574  ‘cfv 6578  1st c1st 8049  2nd c2nd 8050
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406  ax-un 7799
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6532  df-fun 6580  df-fn 6581  df-f 6582  df-fv 6586  df-1st 8051  df-2nd 8052
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator