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

Theorem eufnfv 7239
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 7233 . . . 4 (𝑥 ∈ 𝐴 ↦ 𝐵) ∈ V
3 eqeq2 2772 . . . . . 6 (𝑧 = (𝑥 ∈ 𝐴 ↦ 𝐵) → (𝑓 = 𝑧 ↔ 𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵)))
43bibi2d 345 . . . . 5 (𝑧 = (𝑥 ∈ 𝐴 ↦ 𝐵) → (((𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵) ↔ 𝑓 = 𝑧) ↔ ((𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵) ↔ 𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵))))
54albidv 1952 . . . 4 (𝑧 = (𝑥 ∈ 𝐴 ↦ 𝐵) → (∀𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵) ↔ 𝑓 = 𝑧) ↔ ∀𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵) ↔ 𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵))))
62, 5spcev 3560 . . 3 (∀𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵) ↔ 𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵)) → ∃𝑧∀𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵) ↔ 𝑓 = 𝑧))
7 eufnfv.2 . . . . . . 7 𝐵 ∈ V
8 eqid 2760 . . . . . . 7 (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑥 ∈ 𝐴 ↦ 𝐵)
97, 8fnmpti 6687 . . . . . 6 (𝑥 ∈ 𝐴 ↦ 𝐵) Fn 𝐴
10 fneq1 6635 . . . . . 6 (𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵) → (𝑓 Fn 𝐴 ↔ (𝑥 ∈ 𝐴 ↦ 𝐵) Fn 𝐴))
119, 10mpbiri 261 . . . . 5 (𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵) → 𝑓 Fn 𝐴)
1211pm4.71ri 570 . . . 4 (𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵) ↔ (𝑓 Fn 𝐴 ∧ 𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵)))
13 dffn5 6948 . . . . . . 7 (𝑓 Fn 𝐴 ↔ 𝑓 = (𝑥 ∈ 𝐴 ↦ (𝑓‘𝑥)))
14 eqeq1 2764 . . . . . . 7 (𝑓 = (𝑥 ∈ 𝐴 ↦ (𝑓‘𝑥)) → (𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵) ↔ (𝑥 ∈ 𝐴 ↦ (𝑓‘𝑥)) = (𝑥 ∈ 𝐴 ↦ 𝐵)))
1513, 14sylbi 220 . . . . . 6 (𝑓 Fn 𝐴 → (𝑓 = (𝑥 ∈ 𝐴 ↦ 𝐵) ↔ (𝑥 ∈ 𝐴 ↦ (𝑓‘𝑥)) = (𝑥 ∈ 𝐴 ↦ 𝐵)))
16 fvex 6903 . . . . . . . 8 (𝑓‘𝑥) ∈ V
1716rgenw 3080 . . . . . . 7 ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) ∈ V
18 mpteqb 7018 . . . . . . 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 1829 . 2 ∃𝑧∀𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥 ∈ 𝐴 (𝑓‘𝑥) = 𝐵) ↔ 𝑓 = 𝑧)
24 eu6 2599 . 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 1567   = wceq 1569  ∃wex 1811   ∈ wcel 2144  ∃!weu 2593  ∀wral 3076  Vcvv 3450   ↦ cmpt 5185   Fn wfn 6538  ‘cfv 6543
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  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-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  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 6497  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator