NFE Home New Foundations Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  NFE Home  >  Th. List  >  enmap2lem1 GIF version

Theorem enmap2lem1 6064
Description: Lemma for enmap2 6069. Set up stratification. (Contributed by SF, 26-Feb-2015.)
Hypothesis
Ref Expression
enmap2lem1.1 ⊢ W = (s ∈ (G ↑m A) ↦ (s ∘ ◡r))
Assertion
Ref Expression
enmap2lem1 ⊢ W ∈ V
Distinct variable groups:   A,s   G,s   s,r
Allowed substitution hints:   A(r)   G(r)   W(s, r)

Proof of Theorem enmap2lem1
Dummy variables p x are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-mpt 5653 . . 3 ⊢ (s ∈ (G ↑m A) ↦ (s ∘ ◡r)) = {⟨s, x⟩ ∣ (s ∈ (G ↑m A) ∧ x = (s ∘ ◡r))}
2 enmap2lem1.1 . . 3 ⊢ W = (s ∈ (G ↑m A) ↦ (s ∘ ◡r))
3 opelres 4951 . . . . 5 ⊢ (⟨s, x⟩ ∈ (((((1st ∩ ((◡2nd “ {◡r}) × V)) ∘ 1st ) ⊗ 2nd ) “ Compose ) ↾ (G ↑m A)) ↔ (⟨s, x⟩ ∈ ((((1st ∩ ((◡2nd “ {◡r}) × V)) ∘ 1st ) ⊗ 2nd ) “ Compose ) ∧ s ∈ (G ↑m A)))
4 trtxp 5782 . . . . . . . . . 10 ⊢ (p(((1st ∩ ((◡2nd “ {◡r}) × V)) ∘ 1st ) ⊗ 2nd )⟨s, x⟩ ↔ (p((1st ∩ ((◡2nd “ {◡r}) × V)) ∘ 1st )s ∧ p2nd x))
5 brco 4884 . . . . . . . . . . . 12 ⊢ (p((1st ∩ ((◡2nd “ {◡r}) × V)) ∘ 1st )s ↔ ∃x(p1st x ∧ x(1st ∩ ((◡2nd “ {◡r}) × V))s))
6 ancom 437 . . . . . . . . . . . . . 14 ⊢ ((p1st x ∧ x(1st ∩ ((◡2nd “ {◡r}) × V))s) ↔ (x(1st ∩ ((◡2nd “ {◡r}) × V))s ∧ p1st x))
7 brin 4694 . . . . . . . . . . . . . . . 16 ⊢ (x(1st ∩ ((◡2nd “ {◡r}) × V))s ↔ (x1st s ∧ x((◡2nd “ {◡r}) × V)s))
8 vex 2863 . . . . . . . . . . . . . . . . . . 19 ⊢ s ∈ V
9 brxp 4813 . . . . . . . . . . . . . . . . . . 19 ⊢ (x((◡2nd “ {◡r}) × V)s ↔ (x ∈ (◡2nd “ {◡r}) ∧ s ∈ V))
108, 9mpbiran2 885 . . . . . . . . . . . . . . . . . 18 ⊢ (x((◡2nd “ {◡r}) × V)s ↔ x ∈ (◡2nd “ {◡r}))
11 eliniseg 5021 . . . . . . . . . . . . . . . . . 18 ⊢ (x ∈ (◡2nd “ {◡r}) ↔ x2nd ◡r)
1210, 11bitri 240 . . . . . . . . . . . . . . . . 17 ⊢ (x((◡2nd “ {◡r}) × V)s ↔ x2nd ◡r)
1312anbi2i 675 . . . . . . . . . . . . . . . 16 ⊢ ((x1st s ∧ x((◡2nd “ {◡r}) × V)s) ↔ (x1st s ∧ x2nd ◡r))
14 vex 2863 . . . . . . . . . . . . . . . . . 18 ⊢ r ∈ V
1514cnvex 5103 . . . . . . . . . . . . . . . . 17 ⊢ ◡r ∈ V
168, 15op1st2nd 5791 . . . . . . . . . . . . . . . 16 ⊢ ((x1st s ∧ x2nd ◡r) ↔ x = ⟨s, ◡r⟩)
177, 13, 163bitri 262 . . . . . . . . . . . . . . 15 ⊢ (x(1st ∩ ((◡2nd “ {◡r}) × V))s ↔ x = ⟨s, ◡r⟩)
1817anbi1i 676 . . . . . . . . . . . . . 14 ⊢ ((x(1st ∩ ((◡2nd “ {◡r}) × V))s ∧ p1st x) ↔ (x = ⟨s, ◡r⟩ ∧ p1st x))
196, 18bitri 240 . . . . . . . . . . . . 13 ⊢ ((p1st x ∧ x(1st ∩ ((◡2nd “ {◡r}) × V))s) ↔ (x = ⟨s, ◡r⟩ ∧ p1st x))
2019exbii 1582 . . . . . . . . . . . 12 ⊢ (∃x(p1st x ∧ x(1st ∩ ((◡2nd “ {◡r}) × V))s) ↔ ∃x(x = ⟨s, ◡r⟩ ∧ p1st x))
218, 15opex 4589 . . . . . . . . . . . . 13 ⊢ ⟨s, ◡r⟩ ∈ V
22 breq2 4644 . . . . . . . . . . . . 13 ⊢ (x = ⟨s, ◡r⟩ → (p1st x ↔ p1st ⟨s, ◡r⟩))
2321, 22ceqsexv 2895 . . . . . . . . . . . 12 ⊢ (∃x(x = ⟨s, ◡r⟩ ∧ p1st x) ↔ p1st ⟨s, ◡r⟩)
245, 20, 233bitri 262 . . . . . . . . . . 11 ⊢ (p((1st ∩ ((◡2nd “ {◡r}) × V)) ∘ 1st )s ↔ p1st ⟨s, ◡r⟩)
2524anbi1i 676 . . . . . . . . . 10 ⊢ ((p((1st ∩ ((◡2nd “ {◡r}) × V)) ∘ 1st )s ∧ p2nd x) ↔ (p1st ⟨s, ◡r⟩ ∧ p2nd x))
26 vex 2863 . . . . . . . . . . 11 ⊢ x ∈ V
2721, 26op1st2nd 5791 . . . . . . . . . 10 ⊢ ((p1st ⟨s, ◡r⟩ ∧ p2nd x) ↔ p = ⟨⟨s, ◡r⟩, x⟩)
284, 25, 273bitri 262 . . . . . . . . 9 ⊢ (p(((1st ∩ ((◡2nd “ {◡r}) × V)) ∘ 1st ) ⊗ 2nd )⟨s, x⟩ ↔ p = ⟨⟨s, ◡r⟩, x⟩)
2928rexbii 2640 . . . . . . . 8 ⊢ (∃p ∈ Compose p(((1st ∩ ((◡2nd “ {◡r}) × V)) ∘ 1st ) ⊗ 2nd )⟨s, x⟩ ↔ ∃p ∈ Compose p = ⟨⟨s, ◡r⟩, x⟩)
30 elima 4755 . . . . . . . 8 ⊢ (⟨s, x⟩ ∈ ((((1st ∩ ((◡2nd “ {◡r}) × V)) ∘ 1st ) ⊗ 2nd ) “ Compose ) ↔ ∃p ∈ Compose p(((1st ∩ ((◡2nd “ {◡r}) × V)) ∘ 1st ) ⊗ 2nd )⟨s, x⟩)
31 risset 2662 . . . . . . . 8 ⊢ (⟨⟨s, ◡r⟩, x⟩ ∈ Compose ↔ ∃p ∈ Compose p = ⟨⟨s, ◡r⟩, x⟩)
3229, 30, 313bitr4i 268 . . . . . . 7 ⊢ (⟨s, x⟩ ∈ ((((1st ∩ ((◡2nd “ {◡r}) × V)) ∘ 1st ) ⊗ 2nd ) “ Compose ) ↔ ⟨⟨s, ◡r⟩, x⟩ ∈ Compose )
33 df-br 4641 . . . . . . 7 ⊢ (⟨s, ◡r⟩ Compose x ↔ ⟨⟨s, ◡r⟩, x⟩ ∈ Compose )
34 brcomposeg 5820 . . . . . . . . 9 ⊢ ((s ∈ V ∧ ◡r ∈ V) → (⟨s, ◡r⟩ Compose x ↔ (s ∘ ◡r) = x))
358, 15, 34mp2an 653 . . . . . . . 8 ⊢ (⟨s, ◡r⟩ Compose x ↔ (s ∘ ◡r) = x)
36 eqcom 2355 . . . . . . . 8 ⊢ ((s ∘ ◡r) = x ↔ x = (s ∘ ◡r))
3735, 36bitri 240 . . . . . . 7 ⊢ (⟨s, ◡r⟩ Compose x ↔ x = (s ∘ ◡r))
3832, 33, 373bitr2i 264 . . . . . 6 ⊢ (⟨s, x⟩ ∈ ((((1st ∩ ((◡2nd “ {◡r}) × V)) ∘ 1st ) ⊗ 2nd ) “ Compose ) ↔ x = (s ∘ ◡r))
3938anbi2ci 677 . . . . 5 ⊢ ((⟨s, x⟩ ∈ ((((1st ∩ ((◡2nd “ {◡r}) × V)) ∘ 1st ) ⊗ 2nd ) “ Compose ) ∧ s ∈ (G ↑m A)) ↔ (s ∈ (G ↑m A) ∧ x = (s ∘ ◡r)))
403, 39bitri 240 . . . 4 ⊢ (⟨s, x⟩ ∈ (((((1st ∩ ((◡2nd “ {◡r}) × V)) ∘ 1st ) ⊗ 2nd ) “ Compose ) ↾ (G ↑m A)) ↔ (s ∈ (G ↑m A) ∧ x = (s ∘ ◡r)))
4140opabbi2i 4867 . . 3 ⊢ (((((1st ∩ ((◡2nd “ {◡r}) × V)) ∘ 1st ) ⊗ 2nd ) “ Compose ) ↾ (G ↑m A)) = {⟨s, x⟩ ∣ (s ∈ (G ↑m A) ∧ x = (s ∘ ◡r))}
421, 2, 413eqtr4i 2383 . 2 ⊢ W = (((((1st ∩ ((◡2nd “ {◡r}) × V)) ∘ 1st ) ⊗ 2nd ) “ Compose ) ↾ (G ↑m A))
43 1stex 4740 . . . . . . 7 ⊢ 1st ∈ V
44 2ndex 5113 . . . . . . . . . 10 ⊢ 2nd ∈ V
4544cnvex 5103 . . . . . . . . 9 ⊢ ◡2nd ∈ V
46 snex 4112 . . . . . . . . 9 ⊢ {◡r} ∈ V
4745, 46imaex 4748 . . . . . . . 8 ⊢ (◡2nd “ {◡r}) ∈ V
48 vvex 4110 . . . . . . . 8 ⊢ V ∈ V
4947, 48xpex 5116 . . . . . . 7 ⊢ ((◡2nd “ {◡r}) × V) ∈ V
5043, 49inex 4106 . . . . . 6 ⊢ (1st ∩ ((◡2nd “ {◡r}) × V)) ∈ V
5150, 43coex 4751 . . . . 5 ⊢ ((1st ∩ ((◡2nd “ {◡r}) × V)) ∘ 1st ) ∈ V
5251, 44txpex 5786 . . . 4 ⊢ (((1st ∩ ((◡2nd “ {◡r}) × V)) ∘ 1st ) ⊗ 2nd ) ∈ V
53 composeex 5821 . . . 4 ⊢ Compose ∈ V
5452, 53imaex 4748 . . 3 ⊢ ((((1st ∩ ((◡2nd “ {◡r}) × V)) ∘ 1st ) ⊗ 2nd ) “ Compose ) ∈ V
55 ovex 5552 . . 3 ⊢ (G ↑m A) ∈ V
5654, 55resex 5118 . 2 ⊢ (((((1st ∩ ((◡2nd “ {◡r}) × V)) ∘ 1st ) ⊗ 2nd ) “ Compose ) ↾ (G ↑m A)) ∈ V
5742, 56eqeltri 2423 1 ⊢ W ∈ V
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 176   ∧ wa 358  ∃wex 1541   = wceq 1642   ∈ wcel 1710  ∃wrex 2616  Vcvv 2860   ∩ cin 3209  {csn 3738  ⟨cop 4562  {copab 4623   class class class wbr 4640  1st c1st 4718   ∘ ccom 4722   “ cima 4723   × cxp 4771  ◡ccnv 4772   ↾ cres 4775  2nd c2nd 4784  (class class class)co 5526   ↦ cmpt 5652   ⊗ ctxp 5736   Compose ccompose 5748   ↑m cmap 6000
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1546  ax-5 1557  ax-17 1616  ax-9 1654  ax-8 1675  ax-13 1712  ax-14 1714  ax-6 1729  ax-7 1734  ax-11 1746  ax-12 1925  ax-ext 2334  ax-nin 4079  ax-xp 4080  ax-cnv 4081  ax-1c 4082  ax-sset 4083  ax-si 4084  ax-ins2 4085  ax-ins3 4086  ax-typlower 4087  ax-sn 4088
This proof depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-nan 1288  df-tru 1319  df-ex 1542  df-nf 1545  df-sb 1649  df-eu 2208  df-mo 2209  df-clab 2340  df-cleq 2346  df-clel 2349  df-nfc 2479  df-ne 2519  df-ral 2620  df-rex 2621  df-reu 2622  df-rmo 2623  df-rab 2624  df-v 2862  df-sbc 3048  df-nin 3212  df-compl 3213  df-in 3214  df-un 3215  df-dif 3216  df-symdif 3217  df-ss 3260  df-pss 3262  df-nul 3552  df-if 3664  df-pw 3725  df-sn 3742  df-pr 3743  df-uni 3893  df-int 3928  df-opk 4059  df-1c 4137  df-pw1 4138  df-uni1 4139  df-xpk 4186  df-cnvk 4187  df-ins2k 4188  df-ins3k 4189  df-imak 4190  df-cok 4191  df-p6 4192  df-sik 4193  df-ssetk 4194  df-imagek 4195  df-idk 4196  df-iota 4340  df-0c 4378  df-addc 4379  df-nnc 4380  df-fin 4381  df-lefin 4441  df-ltfin 4442  df-ncfin 4443  df-tfin 4444  df-evenfin 4445  df-oddfin 4446  df-sfin 4447  df-spfin 4448  df-phi 4566  df-op 4567  df-proj1 4568  df-proj2 4569  df-opab 4624  df-br 4641  df-1st 4724  df-swap 4725  df-sset 4726  df-co 4727  df-ima 4728  df-si 4729  df-id 4768  df-xp 4785  df-cnv 4786  df-rn 4787  df-dm 4788  df-res 4789  df-fun 4790  df-fn 4791  df-fv 4796  df-2nd 4798  df-ov 5527  df-oprab 5529  df-mpt 5653  df-mpt2 5655  df-txp 5737  df-compose 5749  df-ins2 5751  df-ins3 5753  df-ins4 5757  df-si3 5759
This theorem is used by:  enmap2  6069
  Copyright terms: Public domain W3C validator