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

Theorem 1stpreima 32637
Description: The preimage by 1st is a 'vertical band'. (Contributed by Thierry Arnoux, 13-Oct-2017.)
Assertion
Ref Expression
1stpreima (𝐴𝐵 → ((1st ↾ (𝐵 × 𝐶)) “ 𝐴) = (𝐴 × 𝐶))

Proof of Theorem 1stpreima
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 elxp7 8006 . . . . . 6 (𝑤 ∈ (𝐵 × 𝐶) ↔ (𝑤 ∈ (V × V) ∧ ((1st𝑤) ∈ 𝐵 ∧ (2nd𝑤) ∈ 𝐶)))
21anbi2i 623 . . . . 5 (((1st𝑤) ∈ 𝐴𝑤 ∈ (𝐵 × 𝐶)) ↔ ((1st𝑤) ∈ 𝐴 ∧ (𝑤 ∈ (V × V) ∧ ((1st𝑤) ∈ 𝐵 ∧ (2nd𝑤) ∈ 𝐶))))
3 anass 468 . . . . . . 7 ((((1st𝑤) ∈ 𝐴 ∧ (1st𝑤) ∈ 𝐵) ∧ (𝑤 ∈ (V × V) ∧ (2nd𝑤) ∈ 𝐶)) ↔ ((1st𝑤) ∈ 𝐴 ∧ ((1st𝑤) ∈ 𝐵 ∧ (𝑤 ∈ (V × V) ∧ (2nd𝑤) ∈ 𝐶))))
43a1i 11 . . . . . 6 (𝐴𝐵 → ((((1st𝑤) ∈ 𝐴 ∧ (1st𝑤) ∈ 𝐵) ∧ (𝑤 ∈ (V × V) ∧ (2nd𝑤) ∈ 𝐶)) ↔ ((1st𝑤) ∈ 𝐴 ∧ ((1st𝑤) ∈ 𝐵 ∧ (𝑤 ∈ (V × V) ∧ (2nd𝑤) ∈ 𝐶)))))
5 ssel 3943 . . . . . . . 8 (𝐴𝐵 → ((1st𝑤) ∈ 𝐴 → (1st𝑤) ∈ 𝐵))
65pm4.71d 561 . . . . . . 7 (𝐴𝐵 → ((1st𝑤) ∈ 𝐴 ↔ ((1st𝑤) ∈ 𝐴 ∧ (1st𝑤) ∈ 𝐵)))
76anbi1d 631 . . . . . 6 (𝐴𝐵 → (((1st𝑤) ∈ 𝐴 ∧ (𝑤 ∈ (V × V) ∧ (2nd𝑤) ∈ 𝐶)) ↔ (((1st𝑤) ∈ 𝐴 ∧ (1st𝑤) ∈ 𝐵) ∧ (𝑤 ∈ (V × V) ∧ (2nd𝑤) ∈ 𝐶))))
8 an12 645 . . . . . . . 8 ((𝑤 ∈ (V × V) ∧ ((1st𝑤) ∈ 𝐵 ∧ (2nd𝑤) ∈ 𝐶)) ↔ ((1st𝑤) ∈ 𝐵 ∧ (𝑤 ∈ (V × V) ∧ (2nd𝑤) ∈ 𝐶)))
98anbi2i 623 . . . . . . 7 (((1st𝑤) ∈ 𝐴 ∧ (𝑤 ∈ (V × V) ∧ ((1st𝑤) ∈ 𝐵 ∧ (2nd𝑤) ∈ 𝐶))) ↔ ((1st𝑤) ∈ 𝐴 ∧ ((1st𝑤) ∈ 𝐵 ∧ (𝑤 ∈ (V × V) ∧ (2nd𝑤) ∈ 𝐶))))
109a1i 11 . . . . . 6 (𝐴𝐵 → (((1st𝑤) ∈ 𝐴 ∧ (𝑤 ∈ (V × V) ∧ ((1st𝑤) ∈ 𝐵 ∧ (2nd𝑤) ∈ 𝐶))) ↔ ((1st𝑤) ∈ 𝐴 ∧ ((1st𝑤) ∈ 𝐵 ∧ (𝑤 ∈ (V × V) ∧ (2nd𝑤) ∈ 𝐶)))))
114, 7, 103bitr4d 311 . . . . 5 (𝐴𝐵 → (((1st𝑤) ∈ 𝐴 ∧ (𝑤 ∈ (V × V) ∧ (2nd𝑤) ∈ 𝐶)) ↔ ((1st𝑤) ∈ 𝐴 ∧ (𝑤 ∈ (V × V) ∧ ((1st𝑤) ∈ 𝐵 ∧ (2nd𝑤) ∈ 𝐶)))))
122, 11bitr4id 290 . . . 4 (𝐴𝐵 → (((1st𝑤) ∈ 𝐴𝑤 ∈ (𝐵 × 𝐶)) ↔ ((1st𝑤) ∈ 𝐴 ∧ (𝑤 ∈ (V × V) ∧ (2nd𝑤) ∈ 𝐶))))
13 an12 645 . . . 4 (((1st𝑤) ∈ 𝐴 ∧ (𝑤 ∈ (V × V) ∧ (2nd𝑤) ∈ 𝐶)) ↔ (𝑤 ∈ (V × V) ∧ ((1st𝑤) ∈ 𝐴 ∧ (2nd𝑤) ∈ 𝐶)))
1412, 13bitrdi 287 . . 3 (𝐴𝐵 → (((1st𝑤) ∈ 𝐴𝑤 ∈ (𝐵 × 𝐶)) ↔ (𝑤 ∈ (V × V) ∧ ((1st𝑤) ∈ 𝐴 ∧ (2nd𝑤) ∈ 𝐶))))
15 cnvresima 6206 . . . . 5 ((1st ↾ (𝐵 × 𝐶)) “ 𝐴) = ((1st𝐴) ∩ (𝐵 × 𝐶))
1615eleq2i 2821 . . . 4 (𝑤 ∈ ((1st ↾ (𝐵 × 𝐶)) “ 𝐴) ↔ 𝑤 ∈ ((1st𝐴) ∩ (𝐵 × 𝐶)))
17 elin 3933 . . . 4 (𝑤 ∈ ((1st𝐴) ∩ (𝐵 × 𝐶)) ↔ (𝑤 ∈ (1st𝐴) ∧ 𝑤 ∈ (𝐵 × 𝐶)))
18 vex 3454 . . . . . 6 𝑤 ∈ V
19 fo1st 7991 . . . . . . 7 1st :V–onto→V
20 fofn 6777 . . . . . . 7 (1st :V–onto→V → 1st Fn V)
21 elpreima 7033 . . . . . . 7 (1st Fn V → (𝑤 ∈ (1st𝐴) ↔ (𝑤 ∈ V ∧ (1st𝑤) ∈ 𝐴)))
2219, 20, 21mp2b 10 . . . . . 6 (𝑤 ∈ (1st𝐴) ↔ (𝑤 ∈ V ∧ (1st𝑤) ∈ 𝐴))
2318, 22mpbiran 709 . . . . 5 (𝑤 ∈ (1st𝐴) ↔ (1st𝑤) ∈ 𝐴)
2423anbi1i 624 . . . 4 ((𝑤 ∈ (1st𝐴) ∧ 𝑤 ∈ (𝐵 × 𝐶)) ↔ ((1st𝑤) ∈ 𝐴𝑤 ∈ (𝐵 × 𝐶)))
2516, 17, 243bitri 297 . . 3 (𝑤 ∈ ((1st ↾ (𝐵 × 𝐶)) “ 𝐴) ↔ ((1st𝑤) ∈ 𝐴𝑤 ∈ (𝐵 × 𝐶)))
26 elxp7 8006 . . 3 (𝑤 ∈ (𝐴 × 𝐶) ↔ (𝑤 ∈ (V × V) ∧ ((1st𝑤) ∈ 𝐴 ∧ (2nd𝑤) ∈ 𝐶)))
2714, 25, 263bitr4g 314 . 2 (𝐴𝐵 → (𝑤 ∈ ((1st ↾ (𝐵 × 𝐶)) “ 𝐴) ↔ 𝑤 ∈ (𝐴 × 𝐶)))
2827eqrdv 2728 1 (𝐴𝐵 → ((1st ↾ (𝐵 × 𝐶)) “ 𝐴) = (𝐴 × 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1540  wcel 2109  Vcvv 3450  cin 3916  wss 3917   × cxp 5639  ccnv 5640  cres 5643  cima 5644   Fn wfn 6509  ontowfo 6512  cfv 6514  1st c1st 7969  2nd c2nd 7970
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2702  ax-sep 5254  ax-nul 5264  ax-pr 5390  ax-un 7714
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2534  df-eu 2563  df-clab 2709  df-cleq 2722  df-clel 2804  df-nfc 2879  df-ne 2927  df-ral 3046  df-rex 3055  df-rab 3409  df-v 3452  df-dif 3920  df-un 3922  df-in 3924  df-ss 3934  df-nul 4300  df-if 4492  df-sn 4593  df-pr 4595  df-op 4599  df-uni 4875  df-br 5111  df-opab 5173  df-mpt 5192  df-id 5536  df-xp 5647  df-rel 5648  df-cnv 5649  df-co 5650  df-dm 5651  df-rn 5652  df-res 5653  df-ima 5654  df-iota 6467  df-fun 6516  df-fn 6517  df-f 6518  df-fo 6520  df-fv 6522  df-1st 7971  df-2nd 7972
This theorem is referenced by:  sxbrsigalem2  34284
  Copyright terms: Public domain W3C validator