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

Theorem equivestrcsetc 18142
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 an equivalence. According to definition 3.33 (1) of [Adamek] p. 36, "A functor F : A -> B is called an equivalence provided that it is full, faithful, and isomorphism-dense in the sense that for any B-object B' there exists some A-object A' such that F(A') is isomorphic to B'.". Therefore, the category of sets and the category of extensible structures are equivalent, according to definition 3.33 (2) of [Adamek] p. 36, "Categories A and B are called equivalent provided that there is an equivalence from A to B.". (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‘𝑥)))))
equivestrcsetc.i (𝜑 → (Base‘ndx) ∈ 𝑈)
Assertion
Ref Expression
equivestrcsetc (𝜑 → (𝐹(𝐸 Faith 𝑆)𝐺𝐹(𝐸 Full 𝑆)𝐺 ∧ ∀𝑏𝐶𝑎𝐵𝑖 𝑖:𝑏1-1-onto→(𝐹𝑎)))
Distinct variable groups:   𝑥,𝐵   𝜑,𝑥   𝑥,𝐶   𝑦,𝐵,𝑥   𝜑,𝑦   𝑎,𝑏,𝑥,𝑦,𝐵   𝐹,𝑎,𝑏   𝐺,𝑎,𝑏   𝐸,𝑎,𝑏   𝑆,𝑎,𝑏   𝜑,𝑎,𝑏   𝐶,𝑎   𝑖,𝐹,𝑎,𝑏
Allowed substitution hints:   𝜑(𝑖)   𝐵(𝑖)   𝐶(𝑦,𝑖,𝑏)   𝑆(𝑥,𝑦,𝑖)   𝑈(𝑥,𝑦,𝑖,𝑎,𝑏)   𝐸(𝑥,𝑦,𝑖)   𝐹(𝑥,𝑦)   𝐺(𝑥,𝑦,𝑖)

Proof of Theorem equivestrcsetc
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, 7fthestrcsetc 18140 . 2 (𝜑𝐹(𝐸 Faith 𝑆)𝐺)
91, 2, 3, 4, 5, 6, 7fullestrcsetc 18141 . 2 (𝜑𝐹(𝐸 Full 𝑆)𝐺)
102, 5setcbas 18066 . . . . . . . . 9 (𝜑𝑈 = (Base‘𝑆))
114, 10eqtr4id 2787 . . . . . . . 8 (𝜑𝐶 = 𝑈)
1211eleq2d 2815 . . . . . . 7 (𝜑 → (𝑏𝐶𝑏𝑈))
13 eqid 2728 . . . . . . . . 9 {⟨(Base‘ndx), 𝑏⟩} = {⟨(Base‘ndx), 𝑏⟩}
14 equivestrcsetc.i . . . . . . . . 9 (𝜑 → (Base‘ndx) ∈ 𝑈)
1513, 5, 141strwunbndx 17198 . . . . . . . 8 ((𝜑𝑏𝑈) → {⟨(Base‘ndx), 𝑏⟩} ∈ 𝑈)
1615ex 412 . . . . . . 7 (𝜑 → (𝑏𝑈 → {⟨(Base‘ndx), 𝑏⟩} ∈ 𝑈))
1712, 16sylbid 239 . . . . . 6 (𝜑 → (𝑏𝐶 → {⟨(Base‘ndx), 𝑏⟩} ∈ 𝑈))
1817imp 406 . . . . 5 ((𝜑𝑏𝐶) → {⟨(Base‘ndx), 𝑏⟩} ∈ 𝑈)
191, 5estrcbas 18114 . . . . . . 7 (𝜑𝑈 = (Base‘𝐸))
2019adantr 480 . . . . . 6 ((𝜑𝑏𝐶) → 𝑈 = (Base‘𝐸))
213, 20eqtr4id 2787 . . . . 5 ((𝜑𝑏𝐶) → 𝐵 = 𝑈)
2218, 21eleqtrrd 2832 . . . 4 ((𝜑𝑏𝐶) → {⟨(Base‘ndx), 𝑏⟩} ∈ 𝐵)
23 fveq2 6897 . . . . . . 7 (𝑎 = {⟨(Base‘ndx), 𝑏⟩} → (𝐹𝑎) = (𝐹‘{⟨(Base‘ndx), 𝑏⟩}))
2423f1oeq3d 6836 . . . . . 6 (𝑎 = {⟨(Base‘ndx), 𝑏⟩} → (𝑖:𝑏1-1-onto→(𝐹𝑎) ↔ 𝑖:𝑏1-1-onto→(𝐹‘{⟨(Base‘ndx), 𝑏⟩})))
2524exbidv 1917 . . . . 5 (𝑎 = {⟨(Base‘ndx), 𝑏⟩} → (∃𝑖 𝑖:𝑏1-1-onto→(𝐹𝑎) ↔ ∃𝑖 𝑖:𝑏1-1-onto→(𝐹‘{⟨(Base‘ndx), 𝑏⟩})))
2625adantl 481 . . . 4 (((𝜑𝑏𝐶) ∧ 𝑎 = {⟨(Base‘ndx), 𝑏⟩}) → (∃𝑖 𝑖:𝑏1-1-onto→(𝐹𝑎) ↔ ∃𝑖 𝑖:𝑏1-1-onto→(𝐹‘{⟨(Base‘ndx), 𝑏⟩})))
27 f1oi 6877 . . . . . 6 ( I ↾ 𝑏):𝑏1-1-onto𝑏
281, 2, 3, 4, 5, 6funcestrcsetclem1 18130 . . . . . . . . 9 ((𝜑 ∧ {⟨(Base‘ndx), 𝑏⟩} ∈ 𝐵) → (𝐹‘{⟨(Base‘ndx), 𝑏⟩}) = (Base‘{⟨(Base‘ndx), 𝑏⟩}))
2922, 28syldan 590 . . . . . . . 8 ((𝜑𝑏𝐶) → (𝐹‘{⟨(Base‘ndx), 𝑏⟩}) = (Base‘{⟨(Base‘ndx), 𝑏⟩}))
30131strbas 17196 . . . . . . . . 9 (𝑏𝐶𝑏 = (Base‘{⟨(Base‘ndx), 𝑏⟩}))
3130adantl 481 . . . . . . . 8 ((𝜑𝑏𝐶) → 𝑏 = (Base‘{⟨(Base‘ndx), 𝑏⟩}))
3229, 31eqtr4d 2771 . . . . . . 7 ((𝜑𝑏𝐶) → (𝐹‘{⟨(Base‘ndx), 𝑏⟩}) = 𝑏)
3332f1oeq3d 6836 . . . . . 6 ((𝜑𝑏𝐶) → (( I ↾ 𝑏):𝑏1-1-onto→(𝐹‘{⟨(Base‘ndx), 𝑏⟩}) ↔ ( I ↾ 𝑏):𝑏1-1-onto𝑏))
3427, 33mpbiri 258 . . . . 5 ((𝜑𝑏𝐶) → ( I ↾ 𝑏):𝑏1-1-onto→(𝐹‘{⟨(Base‘ndx), 𝑏⟩}))
35 resiexg 7920 . . . . . . 7 (𝑏 ∈ V → ( I ↾ 𝑏) ∈ V)
3635elv 3477 . . . . . 6 ( I ↾ 𝑏) ∈ V
37 f1oeq1 6827 . . . . . 6 (𝑖 = ( I ↾ 𝑏) → (𝑖:𝑏1-1-onto→(𝐹‘{⟨(Base‘ndx), 𝑏⟩}) ↔ ( I ↾ 𝑏):𝑏1-1-onto→(𝐹‘{⟨(Base‘ndx), 𝑏⟩})))
3836, 37spcev 3593 . . . . 5 (( I ↾ 𝑏):𝑏1-1-onto→(𝐹‘{⟨(Base‘ndx), 𝑏⟩}) → ∃𝑖 𝑖:𝑏1-1-onto→(𝐹‘{⟨(Base‘ndx), 𝑏⟩}))
3934, 38syl 17 . . . 4 ((𝜑𝑏𝐶) → ∃𝑖 𝑖:𝑏1-1-onto→(𝐹‘{⟨(Base‘ndx), 𝑏⟩}))
4022, 26, 39rspcedvd 3611 . . 3 ((𝜑𝑏𝐶) → ∃𝑎𝐵𝑖 𝑖:𝑏1-1-onto→(𝐹𝑎))
4140ralrimiva 3143 . 2 (𝜑 → ∀𝑏𝐶𝑎𝐵𝑖 𝑖:𝑏1-1-onto→(𝐹𝑎))
428, 9, 413jca 1126 1 (𝜑 → (𝐹(𝐸 Faith 𝑆)𝐺𝐹(𝐸 Full 𝑆)𝐺 ∧ ∀𝑏𝐶𝑎𝐵𝑖 𝑖:𝑏1-1-onto→(𝐹𝑎)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1534  wex 1774  wcel 2099  wral 3058  wrex 3067  Vcvv 3471  {csn 4629  cop 4635   class class class wbr 5148  cmpt 5231   I cid 5575  cres 5680  1-1-ontowf1o 6547  cfv 6548  (class class class)co 7420  cmpo 7422  m cmap 8844  WUnicwun 10723  ndxcnx 17161  Basecbs 17179   Full cful 17890   Faith cfth 17891  SetCatcsetc 18063  ExtStrCatcestrc 18111
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1906  ax-6 1964  ax-7 2004  ax-8 2101  ax-9 2109  ax-10 2130  ax-11 2147  ax-12 2167  ax-ext 2699  ax-rep 5285  ax-sep 5299  ax-nul 5306  ax-pow 5365  ax-pr 5429  ax-un 7740  ax-cnex 11194  ax-resscn 11195  ax-1cn 11196  ax-icn 11197  ax-addcl 11198  ax-addrcl 11199  ax-mulcl 11200  ax-mulrcl 11201  ax-mulcom 11202  ax-addass 11203  ax-mulass 11204  ax-distr 11205  ax-i2m1 11206  ax-1ne0 11207  ax-1rid 11208  ax-rnegex 11209  ax-rrecex 11210  ax-cnre 11211  ax-pre-lttri 11212  ax-pre-lttrn 11213  ax-pre-ltadd 11214  ax-pre-mulgt0 11215
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 847  df-3or 1086  df-3an 1087  df-tru 1537  df-fal 1547  df-ex 1775  df-nf 1779  df-sb 2061  df-mo 2530  df-eu 2559  df-clab 2706  df-cleq 2720  df-clel 2806  df-nfc 2881  df-ne 2938  df-nel 3044  df-ral 3059  df-rex 3068  df-rmo 3373  df-reu 3374  df-rab 3430  df-v 3473  df-sbc 3777  df-csb 3893  df-dif 3950  df-un 3952  df-in 3954  df-ss 3964  df-pss 3966  df-nul 4324  df-if 4530  df-pw 4605  df-sn 4630  df-pr 4632  df-tp 4634  df-op 4636  df-uni 4909  df-iun 4998  df-br 5149  df-opab 5211  df-mpt 5232  df-tr 5266  df-id 5576  df-eprel 5582  df-po 5590  df-so 5591  df-fr 5633  df-we 5635  df-xp 5684  df-rel 5685  df-cnv 5686  df-co 5687  df-dm 5688  df-rn 5689  df-res 5690  df-ima 5691  df-pred 6305  df-ord 6372  df-on 6373  df-lim 6374  df-suc 6375  df-iota 6500  df-fun 6550  df-fn 6551  df-f 6552  df-f1 6553  df-fo 6554  df-f1o 6555  df-fv 6556  df-riota 7376  df-ov 7423  df-oprab 7424  df-mpo 7425  df-om 7871  df-1st 7993  df-2nd 7994  df-frecs 8286  df-wrecs 8317  df-recs 8391  df-rdg 8430  df-1o 8486  df-er 8724  df-map 8846  df-ixp 8916  df-en 8964  df-dom 8965  df-sdom 8966  df-fin 8967  df-wun 10725  df-pnf 11280  df-mnf 11281  df-xr 11282  df-ltxr 11283  df-le 11284  df-sub 11476  df-neg 11477  df-nn 12243  df-2 12305  df-3 12306  df-4 12307  df-5 12308  df-6 12309  df-7 12310  df-8 12311  df-9 12312  df-n0 12503  df-z 12589  df-dec 12708  df-uz 12853  df-fz 13517  df-struct 17115  df-slot 17150  df-ndx 17162  df-base 17180  df-hom 17256  df-cco 17257  df-cat 17647  df-cid 17648  df-func 17843  df-full 17892  df-fth 17893  df-setc 18064  df-estrc 18112
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator
OSZAR »