MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  fullestrcsetc Structured version   Visualization version   GIF version

Theorem fullestrcsetc 17401
Description: The "natural forgetful functor" from the category of extensible structures into the category of sets which sends each extensible structure to its base set is full. (Contributed by AV, 2-Apr-2020.)
Hypotheses
Ref Expression
funcestrcsetc.e 𝐸 = (ExtStrCat‘𝑈)
funcestrcsetc.s 𝑆 = (SetCat‘𝑈)
funcestrcsetc.b 𝐵 = (Base‘𝐸)
funcestrcsetc.c 𝐶 = (Base‘𝑆)
funcestrcsetc.u (𝜑𝑈 ∈ WUni)
funcestrcsetc.f (𝜑𝐹 = (𝑥𝐵 ↦ (Base‘𝑥)))
funcestrcsetc.g (𝜑𝐺 = (𝑥𝐵, 𝑦𝐵 ↦ ( I ↾ ((Base‘𝑦) ↑m (Base‘𝑥)))))
Assertion
Ref Expression
fullestrcsetc (𝜑𝐹(𝐸 Full 𝑆)𝐺)
Distinct variable groups:   𝑥,𝐵   𝜑,𝑥   𝑥,𝐶   𝑦,𝐵,𝑥   𝜑,𝑦
Allowed substitution hints:   𝐶(𝑦)   𝑆(𝑥,𝑦)   𝑈(𝑥,𝑦)   𝐸(𝑥,𝑦)   𝐹(𝑥,𝑦)   𝐺(𝑥,𝑦)

Proof of Theorem fullestrcsetc
Dummy variables 𝑎 𝑏 𝑘 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 funcestrcsetc.e . . 3 𝐸 = (ExtStrCat‘𝑈)
2 funcestrcsetc.s . . 3 𝑆 = (SetCat‘𝑈)
3 funcestrcsetc.b . . 3 𝐵 = (Base‘𝐸)
4 funcestrcsetc.c . . 3 𝐶 = (Base‘𝑆)
5 funcestrcsetc.u . . 3 (𝜑𝑈 ∈ WUni)
6 funcestrcsetc.f . . 3 (𝜑𝐹 = (𝑥𝐵 ↦ (Base‘𝑥)))
7 funcestrcsetc.g . . 3 (𝜑𝐺 = (𝑥𝐵, 𝑦𝐵 ↦ ( I ↾ ((Base‘𝑦) ↑m (Base‘𝑥)))))
81, 2, 3, 4, 5, 6, 7funcestrcsetc 17399 . 2 (𝜑𝐹(𝐸 Func 𝑆)𝐺)
91, 2, 3, 4, 5, 6, 7funcestrcsetclem8 17397 . . . 4 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → (𝑎𝐺𝑏):(𝑎(Hom ‘𝐸)𝑏)⟶((𝐹𝑎)(Hom ‘𝑆)(𝐹𝑏)))
105adantr 483 . . . . . . . 8 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → 𝑈 ∈ WUni)
11 eqid 2821 . . . . . . . 8 (Hom ‘𝑆) = (Hom ‘𝑆)
121, 2, 3, 4, 5, 6funcestrcsetclem2 17391 . . . . . . . . 9 ((𝜑𝑎𝐵) → (𝐹𝑎) ∈ 𝑈)
1312adantrr 715 . . . . . . . 8 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → (𝐹𝑎) ∈ 𝑈)
141, 2, 3, 4, 5, 6funcestrcsetclem2 17391 . . . . . . . . 9 ((𝜑𝑏𝐵) → (𝐹𝑏) ∈ 𝑈)
1514adantrl 714 . . . . . . . 8 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → (𝐹𝑏) ∈ 𝑈)
162, 10, 11, 13, 15elsetchom 17341 . . . . . . 7 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → ( ∈ ((𝐹𝑎)(Hom ‘𝑆)(𝐹𝑏)) ↔ :(𝐹𝑎)⟶(𝐹𝑏)))
171, 2, 3, 4, 5, 6funcestrcsetclem1 17390 . . . . . . . . 9 ((𝜑𝑎𝐵) → (𝐹𝑎) = (Base‘𝑎))
1817adantrr 715 . . . . . . . 8 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → (𝐹𝑎) = (Base‘𝑎))
191, 2, 3, 4, 5, 6funcestrcsetclem1 17390 . . . . . . . . 9 ((𝜑𝑏𝐵) → (𝐹𝑏) = (Base‘𝑏))
2019adantrl 714 . . . . . . . 8 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → (𝐹𝑏) = (Base‘𝑏))
2118, 20feq23d 6509 . . . . . . 7 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → (:(𝐹𝑎)⟶(𝐹𝑏) ↔ :(Base‘𝑎)⟶(Base‘𝑏)))
2216, 21bitrd 281 . . . . . 6 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → ( ∈ ((𝐹𝑎)(Hom ‘𝑆)(𝐹𝑏)) ↔ :(Base‘𝑎)⟶(Base‘𝑏)))
23 fvex 6683 . . . . . . . . . . . . 13 (Base‘𝑏) ∈ V
24 fvex 6683 . . . . . . . . . . . . 13 (Base‘𝑎) ∈ V
2523, 24pm3.2i 473 . . . . . . . . . . . 12 ((Base‘𝑏) ∈ V ∧ (Base‘𝑎) ∈ V)
26 elmapg 8419 . . . . . . . . . . . 12 (((Base‘𝑏) ∈ V ∧ (Base‘𝑎) ∈ V) → ( ∈ ((Base‘𝑏) ↑m (Base‘𝑎)) ↔ :(Base‘𝑎)⟶(Base‘𝑏)))
2725, 26mp1i 13 . . . . . . . . . . 11 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → ( ∈ ((Base‘𝑏) ↑m (Base‘𝑎)) ↔ :(Base‘𝑎)⟶(Base‘𝑏)))
2827biimpar 480 . . . . . . . . . 10 (((𝜑 ∧ (𝑎𝐵𝑏𝐵)) ∧ :(Base‘𝑎)⟶(Base‘𝑏)) → ∈ ((Base‘𝑏) ↑m (Base‘𝑎)))
29 equequ2 2033 . . . . . . . . . . 11 (𝑘 = → ( = 𝑘 = ))
3029adantl 484 . . . . . . . . . 10 ((((𝜑 ∧ (𝑎𝐵𝑏𝐵)) ∧ :(Base‘𝑎)⟶(Base‘𝑏)) ∧ 𝑘 = ) → ( = 𝑘 = ))
31 eqidd 2822 . . . . . . . . . 10 (((𝜑 ∧ (𝑎𝐵𝑏𝐵)) ∧ :(Base‘𝑎)⟶(Base‘𝑏)) → = )
3228, 30, 31rspcedvd 3626 . . . . . . . . 9 (((𝜑 ∧ (𝑎𝐵𝑏𝐵)) ∧ :(Base‘𝑎)⟶(Base‘𝑏)) → ∃𝑘 ∈ ((Base‘𝑏) ↑m (Base‘𝑎)) = 𝑘)
33 eqid 2821 . . . . . . . . . . . . . 14 (Base‘𝑎) = (Base‘𝑎)
34 eqid 2821 . . . . . . . . . . . . . 14 (Base‘𝑏) = (Base‘𝑏)
351, 2, 3, 4, 5, 6, 7, 33, 34funcestrcsetclem6 17395 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑎𝐵𝑏𝐵) ∧ 𝑘 ∈ ((Base‘𝑏) ↑m (Base‘𝑎))) → ((𝑎𝐺𝑏)‘𝑘) = 𝑘)
36353expa 1114 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑎𝐵𝑏𝐵)) ∧ 𝑘 ∈ ((Base‘𝑏) ↑m (Base‘𝑎))) → ((𝑎𝐺𝑏)‘𝑘) = 𝑘)
3736eqeq2d 2832 . . . . . . . . . . 11 (((𝜑 ∧ (𝑎𝐵𝑏𝐵)) ∧ 𝑘 ∈ ((Base‘𝑏) ↑m (Base‘𝑎))) → ( = ((𝑎𝐺𝑏)‘𝑘) ↔ = 𝑘))
3837rexbidva 3296 . . . . . . . . . 10 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → (∃𝑘 ∈ ((Base‘𝑏) ↑m (Base‘𝑎)) = ((𝑎𝐺𝑏)‘𝑘) ↔ ∃𝑘 ∈ ((Base‘𝑏) ↑m (Base‘𝑎)) = 𝑘))
3938adantr 483 . . . . . . . . 9 (((𝜑 ∧ (𝑎𝐵𝑏𝐵)) ∧ :(Base‘𝑎)⟶(Base‘𝑏)) → (∃𝑘 ∈ ((Base‘𝑏) ↑m (Base‘𝑎)) = ((𝑎𝐺𝑏)‘𝑘) ↔ ∃𝑘 ∈ ((Base‘𝑏) ↑m (Base‘𝑎)) = 𝑘))
4032, 39mpbird 259 . . . . . . . 8 (((𝜑 ∧ (𝑎𝐵𝑏𝐵)) ∧ :(Base‘𝑎)⟶(Base‘𝑏)) → ∃𝑘 ∈ ((Base‘𝑏) ↑m (Base‘𝑎)) = ((𝑎𝐺𝑏)‘𝑘))
41 eqid 2821 . . . . . . . . . . 11 (Hom ‘𝐸) = (Hom ‘𝐸)
421, 5estrcbas 17375 . . . . . . . . . . . . . . . 16 (𝜑𝑈 = (Base‘𝐸))
4342, 3syl6reqr 2875 . . . . . . . . . . . . . . 15 (𝜑𝐵 = 𝑈)
4443eleq2d 2898 . . . . . . . . . . . . . 14 (𝜑 → (𝑎𝐵𝑎𝑈))
4544biimpcd 251 . . . . . . . . . . . . 13 (𝑎𝐵 → (𝜑𝑎𝑈))
4645adantr 483 . . . . . . . . . . . 12 ((𝑎𝐵𝑏𝐵) → (𝜑𝑎𝑈))
4746impcom 410 . . . . . . . . . . 11 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → 𝑎𝑈)
4843eleq2d 2898 . . . . . . . . . . . . . 14 (𝜑 → (𝑏𝐵𝑏𝑈))
4948biimpcd 251 . . . . . . . . . . . . 13 (𝑏𝐵 → (𝜑𝑏𝑈))
5049adantl 484 . . . . . . . . . . . 12 ((𝑎𝐵𝑏𝐵) → (𝜑𝑏𝑈))
5150impcom 410 . . . . . . . . . . 11 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → 𝑏𝑈)
521, 10, 41, 47, 51, 33, 34estrchom 17377 . . . . . . . . . 10 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → (𝑎(Hom ‘𝐸)𝑏) = ((Base‘𝑏) ↑m (Base‘𝑎)))
5352rexeqdv 3416 . . . . . . . . 9 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → (∃𝑘 ∈ (𝑎(Hom ‘𝐸)𝑏) = ((𝑎𝐺𝑏)‘𝑘) ↔ ∃𝑘 ∈ ((Base‘𝑏) ↑m (Base‘𝑎)) = ((𝑎𝐺𝑏)‘𝑘)))
5453adantr 483 . . . . . . . 8 (((𝜑 ∧ (𝑎𝐵𝑏𝐵)) ∧ :(Base‘𝑎)⟶(Base‘𝑏)) → (∃𝑘 ∈ (𝑎(Hom ‘𝐸)𝑏) = ((𝑎𝐺𝑏)‘𝑘) ↔ ∃𝑘 ∈ ((Base‘𝑏) ↑m (Base‘𝑎)) = ((𝑎𝐺𝑏)‘𝑘)))
5540, 54mpbird 259 . . . . . . 7 (((𝜑 ∧ (𝑎𝐵𝑏𝐵)) ∧ :(Base‘𝑎)⟶(Base‘𝑏)) → ∃𝑘 ∈ (𝑎(Hom ‘𝐸)𝑏) = ((𝑎𝐺𝑏)‘𝑘))
5655ex 415 . . . . . 6 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → (:(Base‘𝑎)⟶(Base‘𝑏) → ∃𝑘 ∈ (𝑎(Hom ‘𝐸)𝑏) = ((𝑎𝐺𝑏)‘𝑘)))
5722, 56sylbid 242 . . . . 5 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → ( ∈ ((𝐹𝑎)(Hom ‘𝑆)(𝐹𝑏)) → ∃𝑘 ∈ (𝑎(Hom ‘𝐸)𝑏) = ((𝑎𝐺𝑏)‘𝑘)))
5857ralrimiv 3181 . . . 4 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → ∀ ∈ ((𝐹𝑎)(Hom ‘𝑆)(𝐹𝑏))∃𝑘 ∈ (𝑎(Hom ‘𝐸)𝑏) = ((𝑎𝐺𝑏)‘𝑘))
59 dffo3 6868 . . . 4 ((𝑎𝐺𝑏):(𝑎(Hom ‘𝐸)𝑏)–onto→((𝐹𝑎)(Hom ‘𝑆)(𝐹𝑏)) ↔ ((𝑎𝐺𝑏):(𝑎(Hom ‘𝐸)𝑏)⟶((𝐹𝑎)(Hom ‘𝑆)(𝐹𝑏)) ∧ ∀ ∈ ((𝐹𝑎)(Hom ‘𝑆)(𝐹𝑏))∃𝑘 ∈ (𝑎(Hom ‘𝐸)𝑏) = ((𝑎𝐺𝑏)‘𝑘)))
609, 58, 59sylanbrc 585 . . 3 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → (𝑎𝐺𝑏):(𝑎(Hom ‘𝐸)𝑏)–onto→((𝐹𝑎)(Hom ‘𝑆)(𝐹𝑏)))
6160ralrimivva 3191 . 2 (𝜑 → ∀𝑎𝐵𝑏𝐵 (𝑎𝐺𝑏):(𝑎(Hom ‘𝐸)𝑏)–onto→((𝐹𝑎)(Hom ‘𝑆)(𝐹𝑏)))
623, 11, 41isfull2 17181 . 2 (𝐹(𝐸 Full 𝑆)𝐺 ↔ (𝐹(𝐸 Func 𝑆)𝐺 ∧ ∀𝑎𝐵𝑏𝐵 (𝑎𝐺𝑏):(𝑎(Hom ‘𝐸)𝑏)–onto→((𝐹𝑎)(Hom ‘𝑆)(𝐹𝑏))))
638, 61, 62sylanbrc 585 1 (𝜑𝐹(𝐸 Full 𝑆)𝐺)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1537  wcel 2114  wral 3138  wrex 3139  Vcvv 3494   class class class wbr 5066  cmpt 5146   I cid 5459  cres 5557  wf 6351  ontowfo 6353  cfv 6355  (class class class)co 7156  cmpo 7158  m cmap 8406  WUnicwun 10122  Basecbs 16483  Hom chom 16576   Func cfunc 17124   Full cful 17172  SetCatcsetc 17335  ExtStrCatcestrc 17372
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-rep 5190  ax-sep 5203  ax-nul 5210  ax-pow 5266  ax-pr 5330  ax-un 7461  ax-cnex 10593  ax-resscn 10594  ax-1cn 10595  ax-icn 10596  ax-addcl 10597  ax-addrcl 10598  ax-mulcl 10599  ax-mulrcl 10600  ax-mulcom 10601  ax-addass 10602  ax-mulass 10603  ax-distr 10604  ax-i2m1 10605  ax-1ne0 10606  ax-1rid 10607  ax-rnegex 10608  ax-rrecex 10609  ax-cnre 10610  ax-pre-lttri 10611  ax-pre-lttrn 10612  ax-pre-ltadd 10613  ax-pre-mulgt0 10614
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-nel 3124  df-ral 3143  df-rex 3144  df-reu 3145  df-rmo 3146  df-rab 3147  df-v 3496  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-pss 3954  df-nul 4292  df-if 4468  df-pw 4541  df-sn 4568  df-pr 4570  df-tp 4572  df-op 4574  df-uni 4839  df-int 4877  df-iun 4921  df-br 5067  df-opab 5129  df-mpt 5147  df-tr 5173  df-id 5460  df-eprel 5465  df-po 5474  df-so 5475  df-fr 5514  df-we 5516  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-res 5567  df-ima 5568  df-pred 6148  df-ord 6194  df-on 6195  df-lim 6196  df-suc 6197  df-iota 6314  df-fun 6357  df-fn 6358  df-f 6359  df-f1 6360  df-fo 6361  df-f1o 6362  df-fv 6363  df-riota 7114  df-ov 7159  df-oprab 7160  df-mpo 7161  df-om 7581  df-1st 7689  df-2nd 7690  df-wrecs 7947  df-recs 8008  df-rdg 8046  df-1o 8102  df-oadd 8106  df-er 8289  df-map 8408  df-ixp 8462  df-en 8510  df-dom 8511  df-sdom 8512  df-fin 8513  df-wun 10124  df-pnf 10677  df-mnf 10678  df-xr 10679  df-ltxr 10680  df-le 10681  df-sub 10872  df-neg 10873  df-nn 11639  df-2 11701  df-3 11702  df-4 11703  df-5 11704  df-6 11705  df-7 11706  df-8 11707  df-9 11708  df-n0 11899  df-z 11983  df-dec 12100  df-uz 12245  df-fz 12894  df-struct 16485  df-ndx 16486  df-slot 16487  df-base 16489  df-hom 16589  df-cco 16590  df-cat 16939  df-cid 16940  df-func 17128  df-full 17174  df-setc 17336  df-estrc 17373
This theorem is referenced by:  equivestrcsetc  17402
  Copyright terms: Public domain W3C validator