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 32684
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 8023 . . . . . 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 3952 . . . . . . . 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 6219 . . . . 5 ((1st ↾ (𝐵 × 𝐶)) “ 𝐴) = ((1st𝐴) ∩ (𝐵 × 𝐶))
1615eleq2i 2826 . . . 4 (𝑤 ∈ ((1st ↾ (𝐵 × 𝐶)) “ 𝐴) ↔ 𝑤 ∈ ((1st𝐴) ∩ (𝐵 × 𝐶)))
17 elin 3942 . . . 4 (𝑤 ∈ ((1st𝐴) ∩ (𝐵 × 𝐶)) ↔ (𝑤 ∈ (1st𝐴) ∧ 𝑤 ∈ (𝐵 × 𝐶)))
18 vex 3463 . . . . . 6 𝑤 ∈ V
19 fo1st 8008 . . . . . . 7 1st :V–onto→V
20 fofn 6792 . . . . . . 7 (1st :V–onto→V → 1st Fn V)
21 elpreima 7048 . . . . . . 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 8023 . . 3 (𝑤 ∈ (𝐴 × 𝐶) ↔ (𝑤 ∈ (V × V) ∧ ((1st𝑤) ∈ 𝐴 ∧ (2nd𝑤) ∈ 𝐶)))
2714, 25, 263bitr4g 314 . 2 (𝐴𝐵 → (𝑤 ∈ ((1st ↾ (𝐵 × 𝐶)) “ 𝐴) ↔ 𝑤 ∈ (𝐴 × 𝐶)))
2827eqrdv 2733 1 (𝐴𝐵 → ((1st ↾ (𝐵 × 𝐶)) “ 𝐴) = (𝐴 × 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1540  wcel 2108  Vcvv 3459  cin 3925  wss 3926   × cxp 5652  ccnv 5653  cres 5656  cima 5657   Fn wfn 6526  ontowfo 6529  cfv 6531  1st c1st 7986  2nd c2nd 7987
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 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2157  ax-12 2177  ax-ext 2707  ax-sep 5266  ax-nul 5276  ax-pr 5402  ax-un 7729
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 2065  df-mo 2539  df-eu 2568  df-clab 2714  df-cleq 2727  df-clel 2809  df-nfc 2885  df-ne 2933  df-ral 3052  df-rex 3061  df-rab 3416  df-v 3461  df-dif 3929  df-un 3931  df-in 3933  df-ss 3943  df-nul 4309  df-if 4501  df-sn 4602  df-pr 4604  df-op 4608  df-uni 4884  df-br 5120  df-opab 5182  df-mpt 5202  df-id 5548  df-xp 5660  df-rel 5661  df-cnv 5662  df-co 5663  df-dm 5664  df-rn 5665  df-res 5666  df-ima 5667  df-iota 6484  df-fun 6533  df-fn 6534  df-f 6535  df-fo 6537  df-fv 6539  df-1st 7988  df-2nd 7989
This theorem is referenced by:  sxbrsigalem2  34318
  Copyright terms: Public domain W3C validator