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

Theorem mapfset 8445
Description: If 𝐵 is a set, the value of the set exponentiation (𝐵m 𝐴) is the class of all functions from 𝐴 to 𝐵. Generalisation of mapvalg 8432 (which does not require ax-rep 5160) to arbitrary domains. Note that the class {𝑓𝑓:𝐴𝐵} can only contain set-functions, as opposed to arbitrary class-functions. When 𝐴 is a proper class, there can be no set-functions on it, so the above class is empty (see also fsetdmprc0 8450), hence a set. In this case, both sides of the equality in this theorem are the empty set. (Contributed by AV, 8-Aug-2024.)
Assertion
Ref Expression
mapfset (𝐵𝑉 → {𝑓𝑓:𝐴𝐵} = (𝐵m 𝐴))
Distinct variable groups:   𝐴,𝑓   𝐵,𝑓
Allowed substitution hint:   𝑉(𝑓)

Proof of Theorem mapfset
Dummy variable 𝑚 is distinct from all other variables.
StepHypRef Expression
1 vex 3413 . . . 4 𝑚 ∈ V
2 feq1 6484 . . . 4 (𝑓 = 𝑚 → (𝑓:𝐴𝐵𝑚:𝐴𝐵))
31, 2elab 3590 . . 3 (𝑚 ∈ {𝑓𝑓:𝐴𝐵} ↔ 𝑚:𝐴𝐵)
4 simpr 488 . . . . . . 7 ((𝑚:𝐴𝐵𝐵𝑉) → 𝐵𝑉)
5 dmfex 7623 . . . . . . . . 9 ((𝑚 ∈ V ∧ 𝑚:𝐴𝐵) → 𝐴 ∈ V)
61, 5mpan 689 . . . . . . . 8 (𝑚:𝐴𝐵𝐴 ∈ V)
76adantr 484 . . . . . . 7 ((𝑚:𝐴𝐵𝐵𝑉) → 𝐴 ∈ V)
84, 7elmapd 8436 . . . . . 6 ((𝑚:𝐴𝐵𝐵𝑉) → (𝑚 ∈ (𝐵m 𝐴) ↔ 𝑚:𝐴𝐵))
98exbiri 810 . . . . 5 (𝑚:𝐴𝐵 → (𝐵𝑉 → (𝑚:𝐴𝐵𝑚 ∈ (𝐵m 𝐴))))
109pm2.43b 55 . . . 4 (𝐵𝑉 → (𝑚:𝐴𝐵𝑚 ∈ (𝐵m 𝐴)))
11 elmapi 8444 . . . 4 (𝑚 ∈ (𝐵m 𝐴) → 𝑚:𝐴𝐵)
1210, 11impbid1 228 . . 3 (𝐵𝑉 → (𝑚:𝐴𝐵𝑚 ∈ (𝐵m 𝐴)))
133, 12syl5bb 286 . 2 (𝐵𝑉 → (𝑚 ∈ {𝑓𝑓:𝐴𝐵} ↔ 𝑚 ∈ (𝐵m 𝐴)))
1413eqrdv 2756 1 (𝐵𝑉 → {𝑓𝑓:𝐴𝐵} = (𝐵m 𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1538  wcel 2111  {cab 2735  Vcvv 3409  wf 6336  (class class class)co 7156  m cmap 8422
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2729  ax-sep 5173  ax-nul 5180  ax-pow 5238  ax-pr 5302  ax-un 7465
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-fal 1551  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2557  df-eu 2588  df-clab 2736  df-cleq 2750  df-clel 2830  df-nfc 2901  df-ne 2952  df-ral 3075  df-rex 3076  df-rab 3079  df-v 3411  df-sbc 3699  df-csb 3808  df-dif 3863  df-un 3865  df-in 3867  df-ss 3877  df-nul 4228  df-if 4424  df-pw 4499  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4802  df-iun 4888  df-br 5037  df-opab 5099  df-mpt 5117  df-id 5434  df-xp 5534  df-rel 5535  df-cnv 5536  df-co 5537  df-dm 5538  df-rn 5539  df-res 5540  df-ima 5541  df-iota 6299  df-fun 6342  df-fn 6343  df-f 6344  df-fv 6348  df-ov 7159  df-oprab 7160  df-mpo 7161  df-1st 7699  df-2nd 7700  df-map 8424
This theorem is referenced by:  mapssfset  8446  fsetex  8451
  Copyright terms: Public domain W3C validator