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 32799
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 7966 . . . . . 6 (𝑤 ∈ (𝐵 × 𝐶) ↔ (𝑤 ∈ (V × V) ∧ ((1st𝑤) ∈ 𝐵 ∧ (2nd𝑤) ∈ 𝐶)))
21anbi2i 629 . . . . 5 (((1st𝑤) ∈ 𝐴𝑤 ∈ (𝐵 × 𝐶)) ↔ ((1st𝑤) ∈ 𝐴 ∧ (𝑤 ∈ (V × V) ∧ ((1st𝑤) ∈ 𝐵 ∧ (2nd𝑤) ∈ 𝐶))))
3 anass 469 . . . . . . 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 3909 . . . . . . . 8 (𝐴𝐵 → ((1st𝑤) ∈ 𝐴 → (1st𝑤) ∈ 𝐵))
65pm4.71d 566 . . . . . . 7 (𝐴𝐵 → ((1st𝑤) ∈ 𝐴 ↔ ((1st𝑤) ∈ 𝐴 ∧ (1st𝑤) ∈ 𝐵)))
76anbi1d 637 . . . . . 6 (𝐴𝐵 → (((1st𝑤) ∈ 𝐴 ∧ (𝑤 ∈ (V × V) ∧ (2nd𝑤) ∈ 𝐶)) ↔ (((1st𝑤) ∈ 𝐴 ∧ (1st𝑤) ∈ 𝐵) ∧ (𝑤 ∈ (V × V) ∧ (2nd𝑤) ∈ 𝐶))))
8 an12 651 . . . . . . . 8 ((𝑤 ∈ (V × V) ∧ ((1st𝑤) ∈ 𝐵 ∧ (2nd𝑤) ∈ 𝐶)) ↔ ((1st𝑤) ∈ 𝐵 ∧ (𝑤 ∈ (V × V) ∧ (2nd𝑤) ∈ 𝐶)))
98anbi2i 629 . . . . . . 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 312 . . . . 5 (𝐴𝐵 → (((1st𝑤) ∈ 𝐴 ∧ (𝑤 ∈ (V × V) ∧ (2nd𝑤) ∈ 𝐶)) ↔ ((1st𝑤) ∈ 𝐴 ∧ (𝑤 ∈ (V × V) ∧ ((1st𝑤) ∈ 𝐵 ∧ (2nd𝑤) ∈ 𝐶)))))
122, 11bitr4id 291 . . . 4 (𝐴𝐵 → (((1st𝑤) ∈ 𝐴𝑤 ∈ (𝐵 × 𝐶)) ↔ ((1st𝑤) ∈ 𝐴 ∧ (𝑤 ∈ (V × V) ∧ (2nd𝑤) ∈ 𝐶))))
13 an12 651 . . . 4 (((1st𝑤) ∈ 𝐴 ∧ (𝑤 ∈ (V × V) ∧ (2nd𝑤) ∈ 𝐶)) ↔ (𝑤 ∈ (V × V) ∧ ((1st𝑤) ∈ 𝐴 ∧ (2nd𝑤) ∈ 𝐶)))
1412, 13bitrdi 288 . . 3 (𝐴𝐵 → (((1st𝑤) ∈ 𝐴𝑤 ∈ (𝐵 × 𝐶)) ↔ (𝑤 ∈ (V × V) ∧ ((1st𝑤) ∈ 𝐴 ∧ (2nd𝑤) ∈ 𝐶))))
15 cnvresima 6181 . . . . 5 ((1st ↾ (𝐵 × 𝐶)) “ 𝐴) = ((1st𝐴) ∩ (𝐵 × 𝐶))
1615eleq2i 2831 . . . 4 (𝑤 ∈ ((1st ↾ (𝐵 × 𝐶)) “ 𝐴) ↔ 𝑤 ∈ ((1st𝐴) ∩ (𝐵 × 𝐶)))
17 elin 3899 . . . 4 (𝑤 ∈ ((1st𝐴) ∩ (𝐵 × 𝐶)) ↔ (𝑤 ∈ (1st𝐴) ∧ 𝑤 ∈ (𝐵 × 𝐶)))
18 vex 3435 . . . . . 6 𝑤 ∈ V
19 fo1st 7951 . . . . . . 7 1st :V–onto→V
20 fofn 6741 . . . . . . 7 (1st :V–onto→V → 1st Fn V)
21 elpreima 6999 . . . . . . 7 (1st Fn V → (𝑤 ∈ (1st𝐴) ↔ (𝑤 ∈ V ∧ (1st𝑤) ∈ 𝐴)))
2219, 20, 21mp2b 10 . . . . . 6 (𝑤 ∈ (1st𝐴) ↔ (𝑤 ∈ V ∧ (1st𝑤) ∈ 𝐴))
2318, 22mpbiran 715 . . . . 5 (𝑤 ∈ (1st𝐴) ↔ (1st𝑤) ∈ 𝐴)
2423anbi1i 630 . . . 4 ((𝑤 ∈ (1st𝐴) ∧ 𝑤 ∈ (𝐵 × 𝐶)) ↔ ((1st𝑤) ∈ 𝐴𝑤 ∈ (𝐵 × 𝐶)))
2516, 17, 243bitri 298 . . 3 (𝑤 ∈ ((1st ↾ (𝐵 × 𝐶)) “ 𝐴) ↔ ((1st𝑤) ∈ 𝐴𝑤 ∈ (𝐵 × 𝐶)))
26 elxp7 7966 . . 3 (𝑤 ∈ (𝐴 × 𝐶) ↔ (𝑤 ∈ (V × V) ∧ ((1st𝑤) ∈ 𝐴 ∧ (2nd𝑤) ∈ 𝐶)))
2714, 25, 263bitr4g 315 . 2 (𝐴𝐵 → (𝑤 ∈ ((1st ↾ (𝐵 × 𝐶)) “ 𝐴) ↔ 𝑤 ∈ (𝐴 × 𝐶)))
2827eqrdv 2737 1 (𝐴𝐵 → ((1st ↾ (𝐵 × 𝐶)) “ 𝐴) = (𝐴 × 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396   = wceq 1547  wcel 2119  Vcvv 3431  cin 3882  wss 3883   × cxp 5616  ccnv 5617  cres 5620  cima 5621   Fn wfn 6480  ontowfo 6483  cfv 6485  1st c1st 7929  2nd c2nd 7930
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1974  ax-7 2015  ax-8 2121  ax-9 2129  ax-10 2152  ax-11 2168  ax-12 2189  ax-ext 2711  ax-sep 5218  ax-nul 5228  ax-pr 5362  ax-un 7678
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 854  df-3an 1094  df-tru 1550  df-fal 1560  df-ex 1787  df-nf 1791  df-sb 2074  df-mo 2543  df-eu 2573  df-clab 2718  df-cleq 2731  df-clel 2814  df-nfc 2888  df-ne 2935  df-ral 3054  df-rex 3064  df-rab 3392  df-v 3433  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4262  df-if 4455  df-sn 4556  df-pr 4558  df-op 4562  df-uni 4839  df-br 5073  df-opab 5135  df-mpt 5154  df-id 5513  df-xp 5624  df-rel 5625  df-cnv 5626  df-co 5627  df-dm 5628  df-rn 5629  df-res 5630  df-ima 5631  df-iota 6441  df-fun 6487  df-fn 6488  df-f 6489  df-fo 6491  df-fv 6493  df-1st 7931  df-2nd 7932
This theorem is referenced by:  sxbrsigalem2  34470
  Copyright terms: Public domain W3C validator