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

Theorem wunfunc 17171
Description: A weak universe is closed under the functor set operation. (Contributed by Mario Carneiro, 12-Jan-2017.)
Hypotheses
Ref Expression
wunfunc.1 (𝜑𝑈 ∈ WUni)
wunfunc.2 (𝜑𝐶𝑈)
wunfunc.3 (𝜑𝐷𝑈)
Assertion
Ref Expression
wunfunc (𝜑 → (𝐶 Func 𝐷) ∈ 𝑈)

Proof of Theorem wunfunc
Dummy variables 𝑓 𝑔 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 wunfunc.1 . 2 (𝜑𝑈 ∈ WUni)
2 df-base 16491 . . . . 5 Base = Slot 1
3 wunfunc.3 . . . . 5 (𝜑𝐷𝑈)
42, 1, 3wunstr 16509 . . . 4 (𝜑 → (Base‘𝐷) ∈ 𝑈)
5 wunfunc.2 . . . . 5 (𝜑𝐶𝑈)
62, 1, 5wunstr 16509 . . . 4 (𝜑 → (Base‘𝐶) ∈ 𝑈)
71, 4, 6wunmap 10150 . . 3 (𝜑 → ((Base‘𝐷) ↑m (Base‘𝐶)) ∈ 𝑈)
8 df-hom 16591 . . . . . . . . 9 Hom = Slot 14
98, 1, 5wunstr 16509 . . . . . . . 8 (𝜑 → (Hom ‘𝐶) ∈ 𝑈)
101, 9wunrn 10153 . . . . . . 7 (𝜑 → ran (Hom ‘𝐶) ∈ 𝑈)
111, 10wununi 10130 . . . . . 6 (𝜑 ran (Hom ‘𝐶) ∈ 𝑈)
128, 1, 3wunstr 16509 . . . . . . . 8 (𝜑 → (Hom ‘𝐷) ∈ 𝑈)
131, 12wunrn 10153 . . . . . . 7 (𝜑 → ran (Hom ‘𝐷) ∈ 𝑈)
141, 13wununi 10130 . . . . . 6 (𝜑 ran (Hom ‘𝐷) ∈ 𝑈)
151, 11, 14wunxp 10148 . . . . 5 (𝜑 → ( ran (Hom ‘𝐶) × ran (Hom ‘𝐷)) ∈ 𝑈)
161, 15wunpw 10131 . . . 4 (𝜑 → 𝒫 ( ran (Hom ‘𝐶) × ran (Hom ‘𝐷)) ∈ 𝑈)
171, 6, 6wunxp 10148 . . . 4 (𝜑 → ((Base‘𝐶) × (Base‘𝐶)) ∈ 𝑈)
181, 16, 17wunmap 10150 . . 3 (𝜑 → (𝒫 ( ran (Hom ‘𝐶) × ran (Hom ‘𝐷)) ↑m ((Base‘𝐶) × (Base‘𝐶))) ∈ 𝑈)
191, 7, 18wunxp 10148 . 2 (𝜑 → (((Base‘𝐷) ↑m (Base‘𝐶)) × (𝒫 ( ran (Hom ‘𝐶) × ran (Hom ‘𝐷)) ↑m ((Base‘𝐶) × (Base‘𝐶)))) ∈ 𝑈)
20 relfunc 17134 . . . 4 Rel (𝐶 Func 𝐷)
2120a1i 11 . . 3 (𝜑 → Rel (𝐶 Func 𝐷))
22 df-br 5069 . . . 4 (𝑓(𝐶 Func 𝐷)𝑔 ↔ ⟨𝑓, 𝑔⟩ ∈ (𝐶 Func 𝐷))
23 eqid 2823 . . . . . . . 8 (Base‘𝐶) = (Base‘𝐶)
24 eqid 2823 . . . . . . . 8 (Base‘𝐷) = (Base‘𝐷)
25 simpr 487 . . . . . . . 8 ((𝜑𝑓(𝐶 Func 𝐷)𝑔) → 𝑓(𝐶 Func 𝐷)𝑔)
2623, 24, 25funcf1 17138 . . . . . . 7 ((𝜑𝑓(𝐶 Func 𝐷)𝑔) → 𝑓:(Base‘𝐶)⟶(Base‘𝐷))
27 fvex 6685 . . . . . . . 8 (Base‘𝐷) ∈ V
28 fvex 6685 . . . . . . . 8 (Base‘𝐶) ∈ V
2927, 28elmap 8437 . . . . . . 7 (𝑓 ∈ ((Base‘𝐷) ↑m (Base‘𝐶)) ↔ 𝑓:(Base‘𝐶)⟶(Base‘𝐷))
3026, 29sylibr 236 . . . . . 6 ((𝜑𝑓(𝐶 Func 𝐷)𝑔) → 𝑓 ∈ ((Base‘𝐷) ↑m (Base‘𝐶)))
31 mapsspw 8444 . . . . . . . . . . 11 (((𝑓‘(1st𝑧))(Hom ‘𝐷)(𝑓‘(2nd𝑧))) ↑m ((Hom ‘𝐶)‘𝑧)) ⊆ 𝒫 (((Hom ‘𝐶)‘𝑧) × ((𝑓‘(1st𝑧))(Hom ‘𝐷)(𝑓‘(2nd𝑧))))
32 fvssunirn 6701 . . . . . . . . . . . . 13 ((Hom ‘𝐶)‘𝑧) ⊆ ran (Hom ‘𝐶)
33 ovssunirn 7194 . . . . . . . . . . . . 13 ((𝑓‘(1st𝑧))(Hom ‘𝐷)(𝑓‘(2nd𝑧))) ⊆ ran (Hom ‘𝐷)
34 xpss12 5572 . . . . . . . . . . . . 13 ((((Hom ‘𝐶)‘𝑧) ⊆ ran (Hom ‘𝐶) ∧ ((𝑓‘(1st𝑧))(Hom ‘𝐷)(𝑓‘(2nd𝑧))) ⊆ ran (Hom ‘𝐷)) → (((Hom ‘𝐶)‘𝑧) × ((𝑓‘(1st𝑧))(Hom ‘𝐷)(𝑓‘(2nd𝑧)))) ⊆ ( ran (Hom ‘𝐶) × ran (Hom ‘𝐷)))
3532, 33, 34mp2an 690 . . . . . . . . . . . 12 (((Hom ‘𝐶)‘𝑧) × ((𝑓‘(1st𝑧))(Hom ‘𝐷)(𝑓‘(2nd𝑧)))) ⊆ ( ran (Hom ‘𝐶) × ran (Hom ‘𝐷))
3635sspwi 4555 . . . . . . . . . . 11 𝒫 (((Hom ‘𝐶)‘𝑧) × ((𝑓‘(1st𝑧))(Hom ‘𝐷)(𝑓‘(2nd𝑧)))) ⊆ 𝒫 ( ran (Hom ‘𝐶) × ran (Hom ‘𝐷))
3731, 36sstri 3978 . . . . . . . . . 10 (((𝑓‘(1st𝑧))(Hom ‘𝐷)(𝑓‘(2nd𝑧))) ↑m ((Hom ‘𝐶)‘𝑧)) ⊆ 𝒫 ( ran (Hom ‘𝐶) × ran (Hom ‘𝐷))
3837rgenw 3152 . . . . . . . . 9 𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))(((𝑓‘(1st𝑧))(Hom ‘𝐷)(𝑓‘(2nd𝑧))) ↑m ((Hom ‘𝐶)‘𝑧)) ⊆ 𝒫 ( ran (Hom ‘𝐶) × ran (Hom ‘𝐷))
39 ss2ixp 8476 . . . . . . . . 9 (∀𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))(((𝑓‘(1st𝑧))(Hom ‘𝐷)(𝑓‘(2nd𝑧))) ↑m ((Hom ‘𝐶)‘𝑧)) ⊆ 𝒫 ( ran (Hom ‘𝐶) × ran (Hom ‘𝐷)) → X𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))(((𝑓‘(1st𝑧))(Hom ‘𝐷)(𝑓‘(2nd𝑧))) ↑m ((Hom ‘𝐶)‘𝑧)) ⊆ X𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))𝒫 ( ran (Hom ‘𝐶) × ran (Hom ‘𝐷)))
4038, 39ax-mp 5 . . . . . . . 8 X𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))(((𝑓‘(1st𝑧))(Hom ‘𝐷)(𝑓‘(2nd𝑧))) ↑m ((Hom ‘𝐶)‘𝑧)) ⊆ X𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))𝒫 ( ran (Hom ‘𝐶) × ran (Hom ‘𝐷))
4128, 28xpex 7478 . . . . . . . . 9 ((Base‘𝐶) × (Base‘𝐶)) ∈ V
42 fvex 6685 . . . . . . . . . . . . 13 (Hom ‘𝐶) ∈ V
4342rnex 7619 . . . . . . . . . . . 12 ran (Hom ‘𝐶) ∈ V
4443uniex 7469 . . . . . . . . . . 11 ran (Hom ‘𝐶) ∈ V
45 fvex 6685 . . . . . . . . . . . . 13 (Hom ‘𝐷) ∈ V
4645rnex 7619 . . . . . . . . . . . 12 ran (Hom ‘𝐷) ∈ V
4746uniex 7469 . . . . . . . . . . 11 ran (Hom ‘𝐷) ∈ V
4844, 47xpex 7478 . . . . . . . . . 10 ( ran (Hom ‘𝐶) × ran (Hom ‘𝐷)) ∈ V
4948pwex 5283 . . . . . . . . 9 𝒫 ( ran (Hom ‘𝐶) × ran (Hom ‘𝐷)) ∈ V
5041, 49ixpconst 8473 . . . . . . . 8 X𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))𝒫 ( ran (Hom ‘𝐶) × ran (Hom ‘𝐷)) = (𝒫 ( ran (Hom ‘𝐶) × ran (Hom ‘𝐷)) ↑m ((Base‘𝐶) × (Base‘𝐶)))
5140, 50sseqtri 4005 . . . . . . 7 X𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))(((𝑓‘(1st𝑧))(Hom ‘𝐷)(𝑓‘(2nd𝑧))) ↑m ((Hom ‘𝐶)‘𝑧)) ⊆ (𝒫 ( ran (Hom ‘𝐶) × ran (Hom ‘𝐷)) ↑m ((Base‘𝐶) × (Base‘𝐶)))
52 eqid 2823 . . . . . . . 8 (Hom ‘𝐶) = (Hom ‘𝐶)
53 eqid 2823 . . . . . . . 8 (Hom ‘𝐷) = (Hom ‘𝐷)
5423, 52, 53, 25funcixp 17139 . . . . . . 7 ((𝜑𝑓(𝐶 Func 𝐷)𝑔) → 𝑔X𝑧 ∈ ((Base‘𝐶) × (Base‘𝐶))(((𝑓‘(1st𝑧))(Hom ‘𝐷)(𝑓‘(2nd𝑧))) ↑m ((Hom ‘𝐶)‘𝑧)))
5551, 54sseldi 3967 . . . . . 6 ((𝜑𝑓(𝐶 Func 𝐷)𝑔) → 𝑔 ∈ (𝒫 ( ran (Hom ‘𝐶) × ran (Hom ‘𝐷)) ↑m ((Base‘𝐶) × (Base‘𝐶))))
5630, 55opelxpd 5595 . . . . 5 ((𝜑𝑓(𝐶 Func 𝐷)𝑔) → ⟨𝑓, 𝑔⟩ ∈ (((Base‘𝐷) ↑m (Base‘𝐶)) × (𝒫 ( ran (Hom ‘𝐶) × ran (Hom ‘𝐷)) ↑m ((Base‘𝐶) × (Base‘𝐶)))))
5756ex 415 . . . 4 (𝜑 → (𝑓(𝐶 Func 𝐷)𝑔 → ⟨𝑓, 𝑔⟩ ∈ (((Base‘𝐷) ↑m (Base‘𝐶)) × (𝒫 ( ran (Hom ‘𝐶) × ran (Hom ‘𝐷)) ↑m ((Base‘𝐶) × (Base‘𝐶))))))
5822, 57syl5bir 245 . . 3 (𝜑 → (⟨𝑓, 𝑔⟩ ∈ (𝐶 Func 𝐷) → ⟨𝑓, 𝑔⟩ ∈ (((Base‘𝐷) ↑m (Base‘𝐶)) × (𝒫 ( ran (Hom ‘𝐶) × ran (Hom ‘𝐷)) ↑m ((Base‘𝐶) × (Base‘𝐶))))))
5921, 58relssdv 5663 . 2 (𝜑 → (𝐶 Func 𝐷) ⊆ (((Base‘𝐷) ↑m (Base‘𝐶)) × (𝒫 ( ran (Hom ‘𝐶) × ran (Hom ‘𝐷)) ↑m ((Base‘𝐶) × (Base‘𝐶)))))
601, 19, 59wunss 10136 1 (𝜑 → (𝐶 Func 𝐷) ∈ 𝑈)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398  wcel 2114  wral 3140  wss 3938  𝒫 cpw 4541  cop 4575   cuni 4840   class class class wbr 5068   × cxp 5555  ran crn 5558  Rel wrel 5562  wf 6353  cfv 6357  (class class class)co 7158  1st c1st 7689  2nd c2nd 7690  m cmap 8408  Xcixp 8463  WUnicwun 10124  1c1 10540  4c4 11697  cdc 12101  Basecbs 16485  Hom chom 16578   Func cfunc 17126
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 2795  ax-rep 5192  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rex 3146  df-reu 3147  df-rab 3149  df-v 3498  df-sbc 3775  df-csb 3886  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-pw 4543  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4841  df-iun 4923  df-br 5069  df-opab 5131  df-mpt 5149  df-tr 5175  df-id 5462  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-f1 6362  df-fo 6363  df-f1o 6364  df-fv 6365  df-ov 7161  df-oprab 7162  df-mpo 7163  df-1st 7691  df-2nd 7692  df-map 8410  df-pm 8411  df-ixp 8464  df-wun 10126  df-slot 16489  df-base 16491  df-hom 16591  df-func 17130
This theorem is referenced by:  wunnat  17228  catcfuccl  17371
  Copyright terms: Public domain W3C validator