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

Theorem fullestrcsetc 18354
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 18352 . 2 (𝜑 → 𝐹(𝐸 Func 𝑆)𝐺)
91, 2, 3, 4, 5, 6, 7funcestrcsetclem8 18350 . . . 4 ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → (𝑎𝐺𝑏):(𝑎(Hom ‘𝐸)𝑏)⟶((𝐹‘𝑎)(Hom ‘𝑆)(𝐹‘𝑏)))
105adantr 486 . . . . . . . 8 ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → 𝑈 ∈ WUni)
11 eqid 2763 . . . . . . . 8 (Hom ‘𝑆) = (Hom ‘𝑆)
121, 2, 3, 4, 5, 6funcestrcsetclem2 18344 . . . . . . . . 9 ((𝜑 ∧ 𝑎 ∈ 𝐵) → (𝐹‘𝑎) ∈ 𝑈)
1312adantrr 730 . . . . . . . 8 ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → (𝐹‘𝑎) ∈ 𝑈)
141, 2, 3, 4, 5, 6funcestrcsetclem2 18344 . . . . . . . . 9 ((𝜑 ∧ 𝑏 ∈ 𝐵) → (𝐹‘𝑏) ∈ 𝑈)
1514adantrl 729 . . . . . . . 8 ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → (𝐹‘𝑏) ∈ 𝑈)
162, 10, 11, 13, 15elsetchom 18285 . . . . . . 7 ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → (ℎ ∈ ((𝐹‘𝑎)(Hom ‘𝑆)(𝐹‘𝑏)) ↔ ℎ:(𝐹‘𝑎)⟶(𝐹‘𝑏)))
171, 2, 3, 4, 5, 6funcestrcsetclem1 18343 . . . . . . . . 9 ((𝜑 ∧ 𝑎 ∈ 𝐵) → (𝐹‘𝑎) = (Base‘𝑎))
1817adantrr 730 . . . . . . . 8 ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → (𝐹‘𝑎) = (Base‘𝑎))
191, 2, 3, 4, 5, 6funcestrcsetclem1 18343 . . . . . . . . 9 ((𝜑 ∧ 𝑏 ∈ 𝐵) → (𝐹‘𝑏) = (Base‘𝑏))
2019adantrl 729 . . . . . . . 8 ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → (𝐹‘𝑏) = (Base‘𝑏))
2118, 20feq23d 6726 . . . . . . 7 ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → (ℎ:(𝐹‘𝑎)⟶(𝐹‘𝑏) ↔ ℎ:(Base‘𝑎)⟶(Base‘𝑏)))
2216, 21bitrd 282 . . . . . 6 ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → (ℎ ∈ ((𝐹‘𝑎)(Hom ‘𝑆)(𝐹‘𝑏)) ↔ ℎ:(Base‘𝑎)⟶(Base‘𝑏)))
23 fvex 6921 . . . . . . . . . . . . 13 (Base‘𝑏) ∈ V
24 fvex 6921 . . . . . . . . . . . . 13 (Base‘𝑎) ∈ V
2523, 24pm3.2i 476 . . . . . . . . . . . 12 ((Base‘𝑏) ∈ V ∧ (Base‘𝑎) ∈ V)
26 elmapg 8887 . . . . . . . . . . . 12 (((Base‘𝑏) ∈ V ∧ (Base‘𝑎) ∈ V) → (ℎ ∈ ((Base‘𝑏) ↑m (Base‘𝑎)) ↔ ℎ:(Base‘𝑎)⟶(Base‘𝑏)))
2725, 26mp1i 14 . . . . . . . . . . 11 ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → (ℎ ∈ ((Base‘𝑏) ↑m (Base‘𝑎)) ↔ ℎ:(Base‘𝑎)⟶(Base‘𝑏)))
2827biimpar 483 . . . . . . . . . 10 (((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) ∧ ℎ:(Base‘𝑎)⟶(Base‘𝑏)) → ℎ ∈ ((Base‘𝑏) ↑m (Base‘𝑎)))
29 equequ2 2061 . . . . . . . . . . 11 (𝑘 = ℎ → (ℎ = 𝑘 ↔ ℎ = ℎ))
3029adantl 487 . . . . . . . . . 10 ((((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) ∧ ℎ:(Base‘𝑎)⟶(Base‘𝑏)) ∧ 𝑘 = ℎ) → (ℎ = 𝑘 ↔ ℎ = ℎ))
31 eqidd 2764 . . . . . . . . . 10 (((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) ∧ ℎ:(Base‘𝑎)⟶(Base‘𝑏)) → ℎ = ℎ)
3228, 30, 31rspcedvd 3582 . . . . . . . . 9 (((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) ∧ ℎ:(Base‘𝑎)⟶(Base‘𝑏)) → ∃𝑘 ∈ ((Base‘𝑏) ↑m (Base‘𝑎))ℎ = 𝑘)
33 eqid 2763 . . . . . . . . . . . . . 14 (Base‘𝑎) = (Base‘𝑎)
34 eqid 2763 . . . . . . . . . . . . . 14 (Base‘𝑏) = (Base‘𝑏)
351, 2, 3, 4, 5, 6, 7, 33, 34funcestrcsetclem6 18348 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵) ∧ 𝑘 ∈ ((Base‘𝑏) ↑m (Base‘𝑎))) → ((𝑎𝐺𝑏)‘𝑘) = 𝑘)
36353expa 1136 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) ∧ 𝑘 ∈ ((Base‘𝑏) ↑m (Base‘𝑎))) → ((𝑎𝐺𝑏)‘𝑘) = 𝑘)
3736eqeq2d 2774 . . . . . . . . . . 11 (((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) ∧ 𝑘 ∈ ((Base‘𝑏) ↑m (Base‘𝑎))) → (ℎ = ((𝑎𝐺𝑏)‘𝑘) ↔ ℎ = 𝑘))
3837rexbidva 3188 . . . . . . . . . 10 ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → (∃𝑘 ∈ ((Base‘𝑏) ↑m (Base‘𝑎))ℎ = ((𝑎𝐺𝑏)‘𝑘) ↔ ∃𝑘 ∈ ((Base‘𝑏) ↑m (Base‘𝑎))ℎ = 𝑘))
3938adantr 486 . . . . . . . . 9 (((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) ∧ ℎ:(Base‘𝑎)⟶(Base‘𝑏)) → (∃𝑘 ∈ ((Base‘𝑏) ↑m (Base‘𝑎))ℎ = ((𝑎𝐺𝑏)‘𝑘) ↔ ∃𝑘 ∈ ((Base‘𝑏) ↑m (Base‘𝑎))ℎ = 𝑘))
4032, 39mpbird 260 . . . . . . . 8 (((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) ∧ ℎ:(Base‘𝑎)⟶(Base‘𝑏)) → ∃𝑘 ∈ ((Base‘𝑏) ↑m (Base‘𝑎))ℎ = ((𝑎𝐺𝑏)‘𝑘))
41 eqid 2763 . . . . . . . . . . 11 (Hom ‘𝐸) = (Hom ‘𝐸)
421, 5estrcbas 18328 . . . . . . . . . . . . . . . 16 (𝜑 → 𝑈 = (Base‘𝐸))
433, 42eqtr4id 2817 . . . . . . . . . . . . . . 15 (𝜑 → 𝐵 = 𝑈)
4443eleq2d 2850 . . . . . . . . . . . . . 14 (𝜑 → (𝑎 ∈ 𝐵 ↔ 𝑎 ∈ 𝑈))
4544biimpcd 252 . . . . . . . . . . . . 13 (𝑎 ∈ 𝐵 → (𝜑 → 𝑎 ∈ 𝑈))
4645adantr 486 . . . . . . . . . . . 12 ((𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵) → (𝜑 → 𝑎 ∈ 𝑈))
4746impcom 413 . . . . . . . . . . 11 ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → 𝑎 ∈ 𝑈)
4843eleq2d 2850 . . . . . . . . . . . . . 14 (𝜑 → (𝑏 ∈ 𝐵 ↔ 𝑏 ∈ 𝑈))
4948biimpcd 252 . . . . . . . . . . . . 13 (𝑏 ∈ 𝐵 → (𝜑 → 𝑏 ∈ 𝑈))
5049adantl 487 . . . . . . . . . . . 12 ((𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵) → (𝜑 → 𝑏 ∈ 𝑈))
5150impcom 413 . . . . . . . . . . 11 ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → 𝑏 ∈ 𝑈)
521, 10, 41, 47, 51, 33, 34estrchom 18330 . . . . . . . . . 10 ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → (𝑎(Hom ‘𝐸)𝑏) = ((Base‘𝑏) ↑m (Base‘𝑎)))
5352rexeqdv 3324 . . . . . . . . 9 ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → (∃𝑘 ∈ (𝑎(Hom ‘𝐸)𝑏)ℎ = ((𝑎𝐺𝑏)‘𝑘) ↔ ∃𝑘 ∈ ((Base‘𝑏) ↑m (Base‘𝑎))ℎ = ((𝑎𝐺𝑏)‘𝑘)))
5453adantr 486 . . . . . . . 8 (((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) ∧ ℎ:(Base‘𝑎)⟶(Base‘𝑏)) → (∃𝑘 ∈ (𝑎(Hom ‘𝐸)𝑏)ℎ = ((𝑎𝐺𝑏)‘𝑘) ↔ ∃𝑘 ∈ ((Base‘𝑏) ↑m (Base‘𝑎))ℎ = ((𝑎𝐺𝑏)‘𝑘)))
5540, 54mpbird 260 . . . . . . 7 (((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) ∧ ℎ:(Base‘𝑎)⟶(Base‘𝑏)) → ∃𝑘 ∈ (𝑎(Hom ‘𝐸)𝑏)ℎ = ((𝑎𝐺𝑏)‘𝑘))
5655ex 418 . . . . . 6 ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → (ℎ:(Base‘𝑎)⟶(Base‘𝑏) → ∃𝑘 ∈ (𝑎(Hom ‘𝐸)𝑏)ℎ = ((𝑎𝐺𝑏)‘𝑘)))
5722, 56sylbid 243 . . . . 5 ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → (ℎ ∈ ((𝐹‘𝑎)(Hom ‘𝑆)(𝐹‘𝑏)) → ∃𝑘 ∈ (𝑎(Hom ‘𝐸)𝑏)ℎ = ((𝑎𝐺𝑏)‘𝑘)))
5857ralrimiv 3157 . . . 4 ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → ∀ℎ ∈ ((𝐹‘𝑎)(Hom ‘𝑆)(𝐹‘𝑏))∃𝑘 ∈ (𝑎(Hom ‘𝐸)𝑏)ℎ = ((𝑎𝐺𝑏)‘𝑘))
59 dffo3 7126 . . . 4 ((𝑎𝐺𝑏):(𝑎(Hom ‘𝐸)𝑏)⟶onto((𝐹‘𝑎)(Hom ‘𝑆)(𝐹‘𝑏)) ↔ ((𝑎𝐺𝑏):(𝑎(Hom ‘𝐸)𝑏)⟶((𝐹‘𝑎)(Hom ‘𝑆)(𝐹‘𝑏)) ∧ ∀ℎ ∈ ((𝐹‘𝑎)(Hom ‘𝑆)(𝐹‘𝑏))∃𝑘 ∈ (𝑎(Hom ‘𝐸)𝑏)ℎ = ((𝑎𝐺𝑏)‘𝑘)))
609, 58, 59sylanbrc 595 . . 3 ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → (𝑎𝐺𝑏):(𝑎(Hom ‘𝐸)𝑏)⟶onto((𝐹‘𝑎)(Hom ‘𝑆)(𝐹‘𝑏)))
6160ralrimivva 3209 . 2 (𝜑 → ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 (𝑎𝐺𝑏):(𝑎(Hom ‘𝐸)𝑏)⟶onto((𝐹‘𝑎)(Hom ‘𝑆)(𝐹‘𝑏)))
623, 11, 41isfull2 18117 . 2 (𝐹(𝐸 Full 𝑆)𝐺 ↔ (𝐹(𝐸 Func 𝑆)𝐺 ∧ ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 (𝑎𝐺𝑏):(𝑎(Hom ‘𝐸)𝑏)⟶onto((𝐹‘𝑎)(Hom ‘𝑆)(𝐹‘𝑏))))
638, 61, 62sylanbrc 595 1 (𝜑 → 𝐹(𝐸 Full 𝑆)𝐺)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2147  ∀wral 3080  ∃wrex 3090  Vcvv 3454   class class class wbr 5106   ↦ cmpt 5189   I cid 5549   ↾ cres 5657  ⟶wf 6554  ⟶ontowfo 6556  ‘cfv 6558  (class class class)co 7443   ∈ cmpo 7445   ↑m cmap 8875  WUnicwun 10812  Basecbs 17416  Hom chom 17468   Func cfunc 18058   Full cful 18108  SetCatcsetc 18279  ExtStrCatcestrc 18325
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5235  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7775  ax-cnex 11283  ax-resscn 11284  ax-1cn 11285  ax-icn 11286  ax-addcl 11287  ax-addrcl 11288  ax-mulcl 11289  ax-mulrcl 11290  ax-mulcom 11291  ax-addass 11292  ax-mulass 11293  ax-distr 11294  ax-i2m1 11295  ax-1ne0 11296  ax-1rid 11297  ax-rnegex 11298  ax-rrecex 11299  ax-cnre 11300  ax-pre-lttri 11301  ax-pre-lttrn 11302  ax-pre-ltadd 11303  ax-pre-mulgt0 11304
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-tp 4593  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-pred 6322  df-ord 6383  df-on 6384  df-lim 6385  df-suc 6386  df-iota 6512  df-fun 6560  df-fn 6561  df-f 6562  df-f1 6563  df-fo 6564  df-f1o 6565  df-fv 6566  df-riota 7400  df-ov 7446  df-oprab 7447  df-mpo 7448  df-om 7902  df-1st 8025  df-2nd 8026  df-frecs 8327  df-wrecs 8358  df-recs 8407  df-rdg 8446  df-1o 8504  df-er 8745  df-map 8877  df-ixp 8954  df-en 9002  df-dom 9003  df-sdom 9004  df-fin 9005  df-wun 10814  df-pnf 11372  df-mnf 11373  df-xr 11374  df-ltxr 11375  df-le 11376  df-sub 11570  df-neg 11571  df-nn 12363  df-2 12432  df-3 12433  df-4 12434  df-5 12435  df-6 12436  df-7 12437  df-8 12438  df-9 12439  df-n0 12634  df-z 12721  df-dec 12842  df-uz 12993  df-fz 13667  df-struct 17354  df-slot 17389  df-ndx 17401  df-base 17417  df-hom 17481  df-cco 17482  df-cat 17871  df-cid 17872  df-func 18062  df-full 18110  df-setc 18280  df-estrc 18326
This theorem is used by:  equivestrcsetc  18355
  Copyright terms: Public domain W3C validator