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

Theorem mapfset 8816
Description: If 𝐵 is a set, the value of the set exponentiation (𝐵m 𝐴) is the class of all functions from 𝐴 to 𝐵. Generalisation of mapvalg 8802 (which does not require ax-rep 5217) 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 8821), 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 3448 . . . 4 𝑚 ∈ V
2 feq1 6654 . . . 4 (𝑓 = 𝑚 → (𝑓:𝐴𝐵𝑚:𝐴𝐵))
31, 2elab 3629 . . 3 (𝑚 ∈ {𝑓𝑓:𝐴𝐵} ↔ 𝑚:𝐴𝐵)
4 simpr 487 . . . . . . 7 ((𝑚:𝐴𝐵𝐵𝑉) → 𝐵𝑉)
5 dmfex 7871 . . . . . . . . 9 ((𝑚 ∈ V ∧ 𝑚:𝐴𝐵) → 𝐴 ∈ V)
61, 5mpan 698 . . . . . . . 8 (𝑚:𝐴𝐵𝐴 ∈ V)
76adantr 483 . . . . . . 7 ((𝑚:𝐴𝐵𝐵𝑉) → 𝐴 ∈ V)
84, 7elmapd 8806 . . . . . 6 ((𝑚:𝐴𝐵𝐵𝑉) → (𝑚 ∈ (𝐵m 𝐴) ↔ 𝑚:𝐴𝐵))
98exbiri 818 . . . . 5 (𝑚:𝐴𝐵 → (𝐵𝑉 → (𝑚:𝐴𝐵𝑚 ∈ (𝐵m 𝐴))))
109pm2.43b 55 . . . 4 (𝐵𝑉 → (𝑚:𝐴𝐵𝑚 ∈ (𝐵m 𝐴)))
11 elmapi 8815 . . . 4 (𝑚 ∈ (𝐵m 𝐴) → 𝑚:𝐴𝐵)
1210, 11impbid1 227 . . 3 (𝐵𝑉 → (𝑚:𝐴𝐵𝑚 ∈ (𝐵m 𝐴)))
133, 12bitrid 285 . 2 (𝐵𝑉 → (𝑚 ∈ {𝑓𝑓:𝐴𝐵} ↔ 𝑚 ∈ (𝐵m 𝐴)))
1413eqrdv 2750 1 (𝐵𝑉 → {𝑓𝑓:𝐴𝐵} = (𝐵m 𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1550  wcel 2132  {cab 2730  Vcvv 3444  wf 6502  (class class class)co 7381  m cmap 8792
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1805  ax-4 1819  ax-5 1920  ax-6 1977  ax-7 2018  ax-8 2134  ax-9 2142  ax-10 2165  ax-11 2181  ax-12 2202  ax-ext 2724  ax-sep 5236  ax-nul 5246  ax-pow 5312  ax-pr 5380  ax-un 7703
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 857  df-3an 1097  df-tru 1553  df-fal 1563  df-ex 1790  df-nf 1794  df-sb 2081  df-mo 2556  df-eu 2586  df-clab 2731  df-cleq 2744  df-clel 2827  df-nfc 2901  df-ne 2948  df-ral 3067  df-rex 3077  df-rab 3405  df-v 3446  df-sbc 3736  df-csb 3844  df-dif 3898  df-un 3900  df-in 3902  df-ss 3912  df-nul 4277  df-if 4471  df-pw 4547  df-sn 4573  df-pr 4575  df-op 4579  df-uni 4856  df-iun 4941  df-br 5091  df-opab 5153  df-mpt 5172  df-id 5531  df-xp 5642  df-rel 5643  df-cnv 5644  df-co 5645  df-dm 5646  df-rn 5647  df-res 5648  df-ima 5649  df-iota 6462  df-fun 6508  df-fn 6509  df-f 6510  df-fv 6514  df-ov 7384  df-oprab 7385  df-mpo 7386  df-1st 7955  df-2nd 7956  df-map 8794
This theorem is referenced by:  mapssfset  8817  fsetex  8822
  Copyright terms: Public domain W3C validator