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

Theorem mapfset 8850
Description: If 𝐵 is a set, the value of the set exponentiation (𝐵 ↑m 𝐴) is the class of all functions from 𝐴 to 𝐵. Generalisation of mapvalg 8834 (which does not require ax-rep 5231) 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 8855), 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 3454 . . . 4 𝑚 ∈ V
2 feq1 6675 . . . 4 (𝑓 = 𝑚 → (𝑓:𝐴⟶𝐵 ↔ 𝑚:𝐴⟶𝐵))
31, 2elab 3632 . . 3 (𝑚 ∈ {𝑓 ∣ 𝑓:𝐴⟶𝐵} ↔ 𝑚:𝐴⟶𝐵)
4 simpr 490 . . . . . . 7 ((𝑚:𝐴⟶𝐵 ∧ 𝐵 ∈ 𝑉) → 𝐵 ∈ 𝑉)
5 dmfex 7900 . . . . . . . . 9 ((𝑚 ∈ V ∧ 𝑚:𝐴⟶𝐵) → 𝐴 ∈ V)
61, 5mpan 703 . . . . . . . 8 (𝑚:𝐴⟶𝐵 → 𝐴 ∈ V)
76adantr 486 . . . . . . 7 ((𝑚:𝐴⟶𝐵 ∧ 𝐵 ∈ 𝑉) → 𝐴 ∈ V)
84, 7elmapd 8838 . . . . . 6 ((𝑚:𝐴⟶𝐵 ∧ 𝐵 ∈ 𝑉) → (𝑚 ∈ (𝐵 ↑m 𝐴) ↔ 𝑚:𝐴⟶𝐵))
98exbiri 823 . . . . 5 (𝑚:𝐴⟶𝐵 → (𝐵 ∈ 𝑉 → (𝑚:𝐴⟶𝐵 → 𝑚 ∈ (𝐵 ↑m 𝐴))))
109pm2.43b 56 . . . 4 (𝐵 ∈ 𝑉 → (𝑚:𝐴⟶𝐵 → 𝑚 ∈ (𝐵 ↑m 𝐴)))
11 elmapi 8847 . . . 4 (𝑚 ∈ (𝐵 ↑m 𝐴) → 𝑚:𝐴⟶𝐵)
1210, 11impbid1 228 . . 3 (𝐵 ∈ 𝑉 → (𝑚:𝐴⟶𝐵 ↔ 𝑚 ∈ (𝐵 ↑m 𝐴)))
133, 12bitrid 286 . 2 (𝐵 ∈ 𝑉 → (𝑚 ∈ {𝑓 ∣ 𝑓:𝐴⟶𝐵} ↔ 𝑚 ∈ (𝐵 ↑m 𝐴)))
1413eqrdv 2758 1 (𝐵 ∈ 𝑉 → {𝑓 ∣ 𝑓:𝐴⟶𝐵} = (𝐵 ↑m 𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145  {cab 2738  Vcvv 3450  ⟶wf 6523  (class class class)co 7408   ↑m cmap 8825
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7734
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 2100  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-dif 3901  df-un 3903  df-in 3905  df-ss 3915  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5542  df-xp 5653  df-rel 5654  df-cnv 5655  df-co 5656  df-dm 5657  df-rn 5658  df-res 5659  df-ima 5660  df-iota 6483  df-fun 6529  df-fn 6530  df-f 6531  df-fv 6535  df-ov 7411  df-oprab 7412  df-mpo 7413  df-1st 7984  df-2nd 7985  df-map 8827
This theorem is used by:  mapssfset  8851  fsetex  8856
  Copyright terms: Public domain W3C validator