ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  eufnfv GIF version

Theorem eufnfv 5656
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 5654 . . . 4 (𝑥𝐴𝐵) ∈ V
3 eqeq2 2150 . . . . . 6 (𝑦 = (𝑥𝐴𝐵) → (𝑓 = 𝑦𝑓 = (𝑥𝐴𝐵)))
43bibi2d 231 . . . . 5 (𝑦 = (𝑥𝐴𝐵) → (((𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) = 𝐵) ↔ 𝑓 = 𝑦) ↔ ((𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) = 𝐵) ↔ 𝑓 = (𝑥𝐴𝐵))))
54albidv 1797 . . . 4 (𝑦 = (𝑥𝐴𝐵) → (∀𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) = 𝐵) ↔ 𝑓 = 𝑦) ↔ ∀𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) = 𝐵) ↔ 𝑓 = (𝑥𝐴𝐵))))
62, 5spcev 2784 . . 3 (∀𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) = 𝐵) ↔ 𝑓 = (𝑥𝐴𝐵)) → ∃𝑦𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) = 𝐵) ↔ 𝑓 = 𝑦))
7 eufnfv.2 . . . . . . 7 𝐵 ∈ V
8 eqid 2140 . . . . . . 7 (𝑥𝐴𝐵) = (𝑥𝐴𝐵)
97, 8fnmpti 5259 . . . . . 6 (𝑥𝐴𝐵) Fn 𝐴
10 fneq1 5219 . . . . . 6 (𝑓 = (𝑥𝐴𝐵) → (𝑓 Fn 𝐴 ↔ (𝑥𝐴𝐵) Fn 𝐴))
119, 10mpbiri 167 . . . . 5 (𝑓 = (𝑥𝐴𝐵) → 𝑓 Fn 𝐴)
1211pm4.71ri 390 . . . 4 (𝑓 = (𝑥𝐴𝐵) ↔ (𝑓 Fn 𝐴𝑓 = (𝑥𝐴𝐵)))
13 dffn5im 5475 . . . . . . 7 (𝑓 Fn 𝐴𝑓 = (𝑥𝐴 ↦ (𝑓𝑥)))
1413eqeq1d 2149 . . . . . 6 (𝑓 Fn 𝐴 → (𝑓 = (𝑥𝐴𝐵) ↔ (𝑥𝐴 ↦ (𝑓𝑥)) = (𝑥𝐴𝐵)))
15 funfvex 5446 . . . . . . . . 9 ((Fun 𝑓𝑥 ∈ dom 𝑓) → (𝑓𝑥) ∈ V)
1615funfni 5231 . . . . . . . 8 ((𝑓 Fn 𝐴𝑥𝐴) → (𝑓𝑥) ∈ V)
1716ralrimiva 2508 . . . . . . 7 (𝑓 Fn 𝐴 → ∀𝑥𝐴 (𝑓𝑥) ∈ V)
18 mpteqb 5519 . . . . . . 7 (∀𝑥𝐴 (𝑓𝑥) ∈ V → ((𝑥𝐴 ↦ (𝑓𝑥)) = (𝑥𝐴𝐵) ↔ ∀𝑥𝐴 (𝑓𝑥) = 𝐵))
1917, 18syl 14 . . . . . 6 (𝑓 Fn 𝐴 → ((𝑥𝐴 ↦ (𝑓𝑥)) = (𝑥𝐴𝐵) ↔ ∀𝑥𝐴 (𝑓𝑥) = 𝐵))
2014, 19bitrd 187 . . . . 5 (𝑓 Fn 𝐴 → (𝑓 = (𝑥𝐴𝐵) ↔ ∀𝑥𝐴 (𝑓𝑥) = 𝐵))
2120pm5.32i 450 . . . 4 ((𝑓 Fn 𝐴𝑓 = (𝑥𝐴𝐵)) ↔ (𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) = 𝐵))
2212, 21bitr2i 184 . . 3 ((𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) = 𝐵) ↔ 𝑓 = (𝑥𝐴𝐵))
236, 22mpg 1428 . 2 𝑦𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) = 𝐵) ↔ 𝑓 = 𝑦)
24 df-eu 2003 . 2 (∃!𝑓(𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) = 𝐵) ↔ ∃𝑦𝑓((𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) = 𝐵) ↔ 𝑓 = 𝑦))
2523, 24mpbir 145 1 ∃!𝑓(𝑓 Fn 𝐴 ∧ ∀𝑥𝐴 (𝑓𝑥) = 𝐵)
Colors of variables: wff set class
Syntax hints:  wa 103  wb 104  wal 1330   = wceq 1332  wex 1469  wcel 1481  ∃!weu 2000  wral 2417  Vcvv 2689  cmpt 3997   Fn wfn 5126  cfv 5131
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1483  ax-10 1484  ax-11 1485  ax-i12 1486  ax-bndl 1487  ax-4 1488  ax-14 1493  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122  ax-coll 4051  ax-sep 4054  ax-pow 4106  ax-pr 4139
This theorem depends on definitions:  df-bi 116  df-3an 965  df-tru 1335  df-nf 1438  df-sb 1737  df-eu 2003  df-mo 2004  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271  df-ral 2422  df-rex 2423  df-reu 2424  df-rab 2426  df-v 2691  df-sbc 2914  df-csb 3008  df-un 3080  df-in 3082  df-ss 3089  df-pw 3517  df-sn 3538  df-pr 3539  df-op 3541  df-uni 3745  df-iun 3823  df-br 3938  df-opab 3998  df-mpt 3999  df-id 4223  df-xp 4553  df-rel 4554  df-cnv 4555  df-co 4556  df-dm 4557  df-rn 4558  df-res 4559  df-ima 4560  df-iota 5096  df-fun 5133  df-fn 5134  df-f 5135  df-f1 5136  df-fo 5137  df-f1o 5138  df-fv 5139
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator