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

Theorem eufnfv 7233
Description: A function is uniquely determined by its values. (Contributed by NM, 31-Aug-2011.)
Hypotheses
Ref Expression
eufnfv.1 𝐴 ∈ V
eufnfv.2 𝐵 ∈ V
Assertion
Ref Expression
eufnfv ∃!𝑓(𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵)
Distinct variable groups:   𝑥,𝑓,𝐴   𝐵,𝑓
Allowed substitution hint:   𝐵(𝑥)

Proof of Theorem eufnfv
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 eufnfv.1 . . . . 5 𝐴 ∈ V
21mptex 7227 . . . 4 (𝑥 ∈ 𝐴 ↦ 𝐵) ∈ V
3 eqeq2 2773 . . . . . 6 (𝑧 = (𝑥 ∈ 𝐴 ↦ 𝐵) → (𝑓 = 𝑧 ↔ 𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵)))
43bibi2d 345 . . . . 5 (𝑧 = (𝑥 ∈ 𝐴 ↦ 𝐵) → (((𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵) ↔ 𝑓 = 𝑧) ↔ ((𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵) ↔ 𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵))))
54albidv 1953 . . . 4 (𝑧 = (𝑥 ∈ 𝐴 ↦ 𝐵) → (∀𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵) ↔ 𝑓 = 𝑧) ↔ ∀𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵) ↔ 𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵))))
62, 5spcev 3561 . . 3 (∀𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵) ↔ 𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵)) → ∃𝑧∀𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵) ↔ 𝑓 = 𝑧))
7 eufnfv.2 . . . . . . 7 𝐵 ∈ V
8 eqid 2761 . . . . . . 7 (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑥 ∈ 𝐴 ↦ 𝐵)
97, 8fnmpti 6680 . . . . . 6 (𝑥 ∈ 𝐴 ↦ 𝐵) Fn 𝐴
10 fneq1 6628 . . . . . 6 (𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵) → (𝑓 Fn 𝐴 ↔ (𝑥 ∈ 𝐴 ↦ 𝐵) Fn 𝐴))
119, 10mpbiri 261 . . . . 5 (𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵) → 𝑓 Fn 𝐴)
1211pm4.71ri 570 . . . 4 (𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵) ↔ (𝑓 Fn 𝐴 ∧ 𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵)))
13 dffn5 6941 . . . . . . 7 (𝑓 Fn 𝐴 ↔ 𝑓 = (𝑥 ∈ 𝐴 ↦ (𝑓‘𝑥)))
14 eqeq1 2765 . . . . . . 7 (𝑓 = (𝑥 ∈ 𝐴 ↦ (𝑓‘𝑥)) → (𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵) ↔ (𝑥 ∈ 𝐴 ↦ (𝑓‘𝑥)) = (𝑥 ∈ 𝐴 ↦ 𝐵)))
1513, 14sylbi 220 . . . . . 6 (𝑓 Fn 𝐴 → (𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵) ↔ (𝑥 ∈ 𝐴 ↦ (𝑓‘𝑥)) = (𝑥 ∈ 𝐴 ↦ 𝐵)))
16 fvex 6896 . . . . . . . 8 (𝑓‘𝑥) ∈ V
1716rgenw 3081 . . . . . . 7 ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) ∈ V
18 mpteqb 7011 . . . . . . 7 (∀𝑥 ∈ 𝐴 (𝑓‘𝑥) ∈ V → ((𝑥 ∈ 𝐴 ↦ (𝑓‘𝑥)) = (𝑥 ∈ 𝐴 ↦ 𝐵) ↔ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵))
1917, 18ax-mp 5 . . . . . 6 ((𝑥 ∈ 𝐴 ↦ (𝑓‘𝑥)) = (𝑥 ∈ 𝐴 ↦ 𝐵) ↔ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵)
2015, 19bitrdi 290 . . . . 5 (𝑓 Fn 𝐴 → (𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵) ↔ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵))
2120pm5.32i 585 . . . 4 ((𝑓 Fn 𝐴 ∧ 𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵)) ↔ (𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵))
2212, 21bitr2i 279 . . 3 ((𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵) ↔ 𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵))
236, 22mpg 1830 . 2 ∃𝑧∀𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵) ↔ 𝑓 = 𝑧)
24 eu6 2600 . 2 (∃!𝑓(𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵) ↔ ∃𝑧∀𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵) ↔ 𝑓 = 𝑧))
2523, 24mpbir 234 1 ∃!𝑓(𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401  ∀wal 1568   = wceq 1570  ∃wex 1812   ∈ wcel 2145  ∃!weu 2594  ∀wral 3077  Vcvv 3451   ↦ cmpt 5186   Fn wfn 6532  ‘cfv 6537
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 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pr 5391
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 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator