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

Theorem mapfset 8910
Description: If 𝐵 is a set, the value of the set exponentiation (𝐵 ↑m 𝐴) is the class of all functions from 𝐴 to 𝐵. Generalisation of mapvalg 8894 (which does not require ax-rep 5237) 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 8915), 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 3457 . . . 4 𝑚 ∈ V
2 feq1 6717 . . . 4 (𝑓 = 𝑚 → (𝑓:𝐴⟶𝐵 ↔ 𝑚:𝐴⟶𝐵))
31, 2elab 3635 . . 3 (𝑚 ∈ {𝑓 ∣ 𝑓:𝐴⟶𝐵} ↔ 𝑚:𝐴⟶𝐵)
4 simpr 490 . . . . . . 7 ((𝑚:𝐴⟶𝐵 ∧ 𝐵 ∈ 𝑉) → 𝐵 ∈ 𝑉)
5 dmfex 7951 . . . . . . . . 9 ((𝑚 ∈ V ∧ 𝑚:𝐴⟶𝐵) → 𝐴 ∈ V)
61, 5mpan 703 . . . . . . . 8 (𝑚:𝐴⟶𝐵 → 𝐴 ∈ V)
76adantr 486 . . . . . . 7 ((𝑚:𝐴⟶𝐵 ∧ 𝐵 ∈ 𝑉) → 𝐴 ∈ V)
84, 7elmapd 8898 . . . . . 6 ((𝑚:𝐴⟶𝐵 ∧ 𝐵 ∈ 𝑉) → (𝑚 ∈ (𝐵 ↑m 𝐴) ↔ 𝑚:𝐴⟶𝐵))
98exbiri 823 . . . . 5 (𝑚:𝐴⟶𝐵 → (𝐵 ∈ 𝑉 → (𝑚:𝐴⟶𝐵 → 𝑚 ∈ (𝐵 ↑m 𝐴))))
109pm2.43b 56 . . . 4 (𝐵 ∈ 𝑉 → (𝑚:𝐴⟶𝐵 → 𝑚 ∈ (𝐵 ↑m 𝐴)))
11 elmapi 8907 . . . 4 (𝑚 ∈ (𝐵 ↑m 𝐴) → 𝑚:𝐴⟶𝐵)
1210, 11impbid1 228 . . 3 (𝐵 ∈ 𝑉 → (𝑚:𝐴⟶𝐵 ↔ 𝑚 ∈ (𝐵 ↑m 𝐴)))
133, 12bitrid 286 . 2 (𝐵 ∈ 𝑉 → (𝑚 ∈ {𝑓 ∣ 𝑓:𝐴⟶𝐵} ↔ 𝑚 ∈ (𝐵 ↑m 𝐴)))
1413eqrdv 2764 1 (𝐵 ∈ 𝑉 → {𝑓 ∣ 𝑓:𝐴⟶𝐵} = (𝐵 ↑m 𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2150  {cab 2744  Vcvv 3453  ⟶wf 6562  (class class class)co 7451   ↑m cmap 8885
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-nul 5265  ax-pow 5333  ax-pr 5397  ax-un 7783
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-ral 3084  df-rex 3094  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-iun 4957  df-br 5108  df-opab 5173  df-mpt 5192  df-id 5552  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-fv 6574  df-ov 7454  df-oprab 7455  df-mpo 7456  df-1st 8035  df-2nd 8036  df-map 8887
This theorem is used by:  mapssfset  8911  fsetex  8916
  Copyright terms: Public domain W3C validator