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 34531
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 4262 . 2 ({𝑟 ∈ (V × V) ∣ (1st ‘𝑟) ∈ 𝐴} ∩ {𝑟 ∈ (V × V) ∣ (2nd ‘𝑟) ∈ 𝐵}) = {𝑟 ∈ (V × V) ∣ ((1st ‘𝑟) ∈ 𝐴 ∧ (2nd ‘𝑟) ∈ 𝐵)}
2 f1stres 8023 . . . . 5 (1st ↾ (V × V)):(V × V)⟶V
3 ffn 6707 . . . . 5 ((1st ↾ (V × V)):(V × V)⟶V → (1st ↾ (V × V)) Fn (V × V))
4 fncnvima2 7058 . . . . 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 6902 . . . . . 6 (𝑟 ∈ (V × V) → ((1st ↾ (V × V))‘𝑟) = (1st ‘𝑟))
76eleq1d 2846 . . . . 5 (𝑟 ∈ (V × V) → (((1st ↾ (V × V))‘𝑟) ∈ 𝐴 ↔ (1st ‘𝑟) ∈ 𝐴))
87rabbiia 3417 . . . 4 {𝑟 ∈ (V × V) ∣ ((1st ↾ (V × V))‘𝑟) ∈ 𝐴} = {𝑟 ∈ (V × V) ∣ (1st ‘𝑟) ∈ 𝐴}
95, 8eqtri 2784 . . 3 (◡(1st ↾ (V × V)) “ 𝐴) = {𝑟 ∈ (V × V) ∣ (1st ‘𝑟) ∈ 𝐴}
10 f2ndres 8024 . . . . 5 (2nd ↾ (V × V)):(V × V)⟶V
11 ffn 6707 . . . . 5 ((2nd ↾ (V × V)):(V × V)⟶V → (2nd ↾ (V × V)) Fn (V × V))
12 fncnvima2 7058 . . . . 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 6902 . . . . . 6 (𝑟 ∈ (V × V) → ((2nd ↾ (V × V))‘𝑟) = (2nd ‘𝑟))
1514eleq1d 2846 . . . . 5 (𝑟 ∈ (V × V) → (((2nd ↾ (V × V))‘𝑟) ∈ 𝐵 ↔ (2nd ‘𝑟) ∈ 𝐵))
1615rabbiia 3417 . . . 4 {𝑟 ∈ (V × V) ∣ ((2nd ↾ (V × V))‘𝑟) ∈ 𝐵} = {𝑟 ∈ (V × V) ∣ (2nd ‘𝑟) ∈ 𝐵}
1713, 16eqtri 2784 . . 3 (◡(2nd ↾ (V × V)) “ 𝐵) = {𝑟 ∈ (V × V) ∣ (2nd ‘𝑟) ∈ 𝐵}
189, 17ineq12i 4164 . 2 ((◡(1st ↾ (V × V)) “ 𝐴) ∩ (◡(2nd ↾ (V × V)) “ 𝐵)) = ({𝑟 ∈ (V × V) ∣ (1st ‘𝑟) ∈ 𝐴} ∩ {𝑟 ∈ (V × V) ∣ (2nd ‘𝑟) ∈ 𝐵})
19 xp2 8036 . 2 (𝐴 × 𝐵) = {𝑟 ∈ (V × V) ∣ ((1st ‘𝑟) ∈ 𝐴 ∧ (2nd ‘𝑟) ∈ 𝐵)}
201, 18, 193eqtr4ri 2795 1 (𝐴 × 𝐵) = ((◡(1st ↾ (V × V)) “ 𝐴) ∩ (◡(2nd ↾ (V × V)) “ 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1570   ∈ wcel 2145  {crab 3413  Vcvv 3451   ∩ cin 3898   × cxp 5649  ◡ccnv 5650   ↾ cres 5653   “ cima 5654   Fn wfn 6532  ⟶wf 6533  ‘cfv 6537  1st c1st 7997  2nd c2nd 7998
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391  ax-un 7749
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 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-fv 6545  df-1st 7999  df-2nd 8000
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator