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

Theorem mapfset 8900
Description: If 𝐵 is a set, the value of the set exponentiation (𝐵 ↑m 𝐴) is the class of all functions from 𝐴 to 𝐵. Generalisation of mapvalg 8884 (which does not require ax-rep 5235) 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 8905), 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 3458 . . . 4 𝑚 ∈ V
2 feq1 6709 . . . 4 (𝑓 = 𝑚 → (𝑓:𝐴⟶𝐵 ↔ 𝑚:𝐴⟶𝐵))
31, 2elab 3636 . . 3 (𝑚 ∈ {𝑓 ∣ 𝑓:𝐴⟶𝐵} ↔ 𝑚:𝐴⟶𝐵)
4 simpr 490 . . . . . . 7 ((𝑚:𝐴⟶𝐵 ∧ 𝐵 ∈ 𝑉) → 𝐵 ∈ 𝑉)
5 dmfex 7941 . . . . . . . . 9 ((𝑚 ∈ V ∧ 𝑚:𝐴⟶𝐵) → 𝐴 ∈ V)
61, 5mpan 703 . . . . . . . 8 (𝑚:𝐴⟶𝐵 → 𝐴 ∈ V)
76adantr 486 . . . . . . 7 ((𝑚:𝐴⟶𝐵 ∧ 𝐵 ∈ 𝑉) → 𝐴 ∈ V)
84, 7elmapd 8888 . . . . . 6 ((𝑚:𝐴⟶𝐵 ∧ 𝐵 ∈ 𝑉) → (𝑚 ∈ (𝐵 ↑m 𝐴) ↔ 𝑚:𝐴⟶𝐵))
98exbiri 823 . . . . 5 (𝑚:𝐴⟶𝐵 → (𝐵 ∈ 𝑉 → (𝑚:𝐴⟶𝐵 → 𝑚 ∈ (𝐵 ↑m 𝐴))))
109pm2.43b 56 . . . 4 (𝐵 ∈ 𝑉 → (𝑚:𝐴⟶𝐵 → 𝑚 ∈ (𝐵 ↑m 𝐴)))
11 elmapi 8897 . . . 4 (𝑚 ∈ (𝐵 ↑m 𝐴) → 𝑚:𝐴⟶𝐵)
1210, 11impbid1 228 . . 3 (𝐵 ∈ 𝑉 → (𝑚:𝐴⟶𝐵 ↔ 𝑚 ∈ (𝐵 ↑m 𝐴)))
133, 12bitrid 286 . 2 (𝐵 ∈ 𝑉 → (𝑚 ∈ {𝑓 ∣ 𝑓:𝐴⟶𝐵} ↔ 𝑚 ∈ (𝐵 ↑m 𝐴)))
1413eqrdv 2761 1 (𝐵 ∈ 𝑉 → {𝑓 ∣ 𝑓:𝐴⟶𝐵} = (𝐵 ↑m 𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  {cab 2741  Vcvv 3454  ⟶wf 6554  (class class class)co 7443   ↑m cmap 8875
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-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7775
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  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-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  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-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  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-iota 6512  df-fun 6560  df-fn 6561  df-f 6562  df-fv 6566  df-ov 7446  df-oprab 7447  df-mpo 7448  df-1st 8025  df-2nd 8026  df-map 8877
This theorem is used by:  mapssfset  8901  fsetex  8906
  Copyright terms: Public domain W3C validator