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

Theorem eufnfv 6993
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 6988 . . . 4 (𝑥𝐴𝐵) ∈ V
3 eqeq2 2835 . . . . . 6 (𝑧 = (𝑥𝐴𝐵) → (𝑓 = 𝑧𝑓 = (𝑥𝐴𝐵)))
43bibi2d 345 . . . . 5 (𝑧 = (𝑥𝐴𝐵) → (((𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) = 𝐵) ↔ 𝑓 = 𝑧) ↔ ((𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) = 𝐵) ↔ 𝑓 = (𝑥𝐴𝐵))))
54albidv 1921 . . . 4 (𝑧 = (𝑥𝐴𝐵) → (∀𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) = 𝐵) ↔ 𝑓 = 𝑧) ↔ ∀𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) = 𝐵) ↔ 𝑓 = (𝑥𝐴𝐵))))
62, 5spcev 3609 . . 3 (∀𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) = 𝐵) ↔ 𝑓 = (𝑥𝐴𝐵)) → ∃𝑧𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) = 𝐵) ↔ 𝑓 = 𝑧))
7 eufnfv.2 . . . . . . 7 𝐵 ∈ V
8 eqid 2823 . . . . . . 7 (𝑥𝐴𝐵) = (𝑥𝐴𝐵)
97, 8fnmpti 6493 . . . . . 6 (𝑥𝐴𝐵) Fn 𝐴
10 fneq1 6446 . . . . . 6 (𝑓 = (𝑥𝐴𝐵) → (𝑓 Fn 𝐴 ↔ (𝑥𝐴𝐵) Fn 𝐴))
119, 10mpbiri 260 . . . . 5 (𝑓 = (𝑥𝐴𝐵) → 𝑓 Fn 𝐴)
1211pm4.71ri 563 . . . 4 (𝑓 = (𝑥𝐴𝐵) ↔ (𝑓 Fn 𝐴𝑓 = (𝑥𝐴𝐵)))
13 dffn5 6726 . . . . . . 7 (𝑓 Fn 𝐴𝑓 = (𝑥𝐴 ↦ (𝑓𝑥)))
14 eqeq1 2827 . . . . . . 7 (𝑓 = (𝑥𝐴 ↦ (𝑓𝑥)) → (𝑓 = (𝑥𝐴𝐵) ↔ (𝑥𝐴 ↦ (𝑓𝑥)) = (𝑥𝐴𝐵)))
1513, 14sylbi 219 . . . . . 6 (𝑓 Fn 𝐴 → (𝑓 = (𝑥𝐴𝐵) ↔ (𝑥𝐴 ↦ (𝑓𝑥)) = (𝑥𝐴𝐵)))
16 fvex 6685 . . . . . . . 8 (𝑓𝑥) ∈ V
1716rgenw 3152 . . . . . . 7 𝑥𝐴 (𝑓𝑥) ∈ V
18 mpteqb 6789 . . . . . . 7 (∀𝑥𝐴 (𝑓𝑥) ∈ V → ((𝑥𝐴 ↦ (𝑓𝑥)) = (𝑥𝐴𝐵) ↔ ∀𝑥𝐴 (𝑓𝑥) = 𝐵))
1917, 18ax-mp 5 . . . . . 6 ((𝑥𝐴 ↦ (𝑓𝑥)) = (𝑥𝐴𝐵) ↔ ∀𝑥𝐴 (𝑓𝑥) = 𝐵)
2015, 19syl6bb 289 . . . . 5 (𝑓 Fn 𝐴 → (𝑓 = (𝑥𝐴𝐵) ↔ ∀𝑥𝐴 (𝑓𝑥) = 𝐵))
2120pm5.32i 577 . . . 4 ((𝑓 Fn 𝐴𝑓 = (𝑥𝐴𝐵)) ↔ (𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) = 𝐵))
2212, 21bitr2i 278 . . 3 ((𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) = 𝐵) ↔ 𝑓 = (𝑥𝐴𝐵))
236, 22mpg 1798 . 2 𝑧𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) = 𝐵) ↔ 𝑓 = 𝑧)
24 eu6 2659 . 2 (∃!𝑓(𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) = 𝐵) ↔ ∃𝑧𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) = 𝐵) ↔ 𝑓 = 𝑧))
2523, 24mpbir 233 1 ∃!𝑓(𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wb 208  wa 398  wal 1535   = wceq 1537  wex 1780  wcel 2114  ∃!weu 2653  wral 3140  Vcvv 3496  cmpt 5148   Fn wfn 6352  cfv 6357
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-rep 5192  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rex 3146  df-reu 3147  df-rab 3149  df-v 3498  df-sbc 3775  df-csb 3886  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4841  df-iun 4923  df-br 5069  df-opab 5131  df-mpt 5149  df-id 5462  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-f1 6362  df-fo 6363  df-f1o 6364  df-fv 6365
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator