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

Theorem eufnfv 7284
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 7278 . . . 4 (𝑥 ∈ 𝐴 ↦ 𝐵) ∈ V
3 eqeq2 2786 . . . . . 6 (𝑧 = (𝑥 ∈ 𝐴 ↦ 𝐵) → (𝑓 = 𝑧 ↔ 𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵)))
43bibi2d 345 . . . . 5 (𝑧 = (𝑥 ∈ 𝐴 ↦ 𝐵) → (((𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵) ↔ 𝑓 = 𝑧) ↔ ((𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵) ↔ 𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵))))
54albidv 1962 . . . 4 (𝑧 = (𝑥 ∈ 𝐴 ↦ 𝐵) → (∀𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵) ↔ 𝑓 = 𝑧) ↔ ∀𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵) ↔ 𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵))))
62, 5spcev 3571 . . 3 (∀𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵) ↔ 𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵)) → ∃𝑧∀𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵) ↔ 𝑓 = 𝑧))
7 eufnfv.2 . . . . . . 7 𝐵 ∈ V
8 eqid 2774 . . . . . . 7 (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑥 ∈ 𝐴 ↦ 𝐵)
97, 8fnmpti 6728 . . . . . 6 (𝑥 ∈ 𝐴 ↦ 𝐵) Fn 𝐴
10 fneq1 6676 . . . . . 6 (𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵) → (𝑓 Fn 𝐴 ↔ (𝑥 ∈ 𝐴 ↦ 𝐵) Fn 𝐴))
119, 10mpbiri 261 . . . . 5 (𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵) → 𝑓 Fn 𝐴)
1211pm4.71ri 570 . . . 4 (𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵) ↔ (𝑓 Fn 𝐴 ∧ 𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵)))
13 dffn5 6992 . . . . . . 7 (𝑓 Fn 𝐴 ↔ 𝑓 = (𝑥 ∈ 𝐴 ↦ (𝑓‘𝑥)))
14 eqeq1 2778 . . . . . . 7 (𝑓 = (𝑥 ∈ 𝐴 ↦ (𝑓‘𝑥)) → (𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵) ↔ (𝑥 ∈ 𝐴 ↦ (𝑓‘𝑥)) = (𝑥 ∈ 𝐴 ↦ 𝐵)))
1513, 14sylbi 220 . . . . . 6 (𝑓 Fn 𝐴 → (𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵) ↔ (𝑥 ∈ 𝐴 ↦ (𝑓‘𝑥)) = (𝑥 ∈ 𝐴 ↦ 𝐵)))
16 fvex 6947 . . . . . . . 8 (𝑓‘𝑥) ∈ V
1716rgenw 3095 . . . . . . 7 ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) ∈ V
18 mpteqb 7062 . . . . . . 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 1836 . 2 ∃𝑧∀𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵) ↔ 𝑓 = 𝑧)
24 eu6 2611 . 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 1570   = wceq 1572  ∃wex 1818   ∈ wcel 2156  ∃!weu 2605  ∀wral 3091  Vcvv 3461   ↦ cmpt 5200   Fn wfn 6574  ‘cfv 6579
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-rep 5246  ax-sep 5263  ax-nul 5274  ax-pr 5406
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 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-fv 6587
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator