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

Theorem fnressn 7012
Description: A function restricted to a singleton. (Contributed by NM, 9-Oct-2004.)
Assertion
Ref Expression
fnressn ((𝐹 Fn 𝐴𝐵𝐴) → (𝐹 ↾ {𝐵}) = {⟨𝐵, (𝐹𝐵)⟩})

Proof of Theorem fnressn
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 sneq 4568 . . . . . 6 (𝑥 = 𝐵 → {𝑥} = {𝐵})
21reseq2d 5880 . . . . 5 (𝑥 = 𝐵 → (𝐹 ↾ {𝑥}) = (𝐹 ↾ {𝐵}))
3 fveq2 6756 . . . . . . 7 (𝑥 = 𝐵 → (𝐹𝑥) = (𝐹𝐵))
4 opeq12 4803 . . . . . . 7 ((𝑥 = 𝐵 ∧ (𝐹𝑥) = (𝐹𝐵)) → ⟨𝑥, (𝐹𝑥)⟩ = ⟨𝐵, (𝐹𝐵)⟩)
53, 4mpdan 683 . . . . . 6 (𝑥 = 𝐵 → ⟨𝑥, (𝐹𝑥)⟩ = ⟨𝐵, (𝐹𝐵)⟩)
65sneqd 4570 . . . . 5 (𝑥 = 𝐵 → {⟨𝑥, (𝐹𝑥)⟩} = {⟨𝐵, (𝐹𝐵)⟩})
72, 6eqeq12d 2754 . . . 4 (𝑥 = 𝐵 → ((𝐹 ↾ {𝑥}) = {⟨𝑥, (𝐹𝑥)⟩} ↔ (𝐹 ↾ {𝐵}) = {⟨𝐵, (𝐹𝐵)⟩}))
87imbi2d 340 . . 3 (𝑥 = 𝐵 → ((𝐹 Fn 𝐴 → (𝐹 ↾ {𝑥}) = {⟨𝑥, (𝐹𝑥)⟩}) ↔ (𝐹 Fn 𝐴 → (𝐹 ↾ {𝐵}) = {⟨𝐵, (𝐹𝐵)⟩})))
9 vex 3426 . . . . . . 7 𝑥 ∈ V
109snss 4716 . . . . . 6 (𝑥𝐴 ↔ {𝑥} ⊆ 𝐴)
11 fnssres 6539 . . . . . 6 ((𝐹 Fn 𝐴 ∧ {𝑥} ⊆ 𝐴) → (𝐹 ↾ {𝑥}) Fn {𝑥})
1210, 11sylan2b 593 . . . . 5 ((𝐹 Fn 𝐴𝑥𝐴) → (𝐹 ↾ {𝑥}) Fn {𝑥})
13 dffn2 6586 . . . . . 6 ((𝐹 ↾ {𝑥}) Fn {𝑥} ↔ (𝐹 ↾ {𝑥}):{𝑥}⟶V)
149fsn2 6990 . . . . . 6 ((𝐹 ↾ {𝑥}):{𝑥}⟶V ↔ (((𝐹 ↾ {𝑥})‘𝑥) ∈ V ∧ (𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩}))
15 fvex 6769 . . . . . . . 8 ((𝐹 ↾ {𝑥})‘𝑥) ∈ V
1615biantrur 530 . . . . . . 7 ((𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩} ↔ (((𝐹 ↾ {𝑥})‘𝑥) ∈ V ∧ (𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩}))
17 vsnid 4595 . . . . . . . . . . 11 𝑥 ∈ {𝑥}
18 fvres 6775 . . . . . . . . . . 11 (𝑥 ∈ {𝑥} → ((𝐹 ↾ {𝑥})‘𝑥) = (𝐹𝑥))
1917, 18ax-mp 5 . . . . . . . . . 10 ((𝐹 ↾ {𝑥})‘𝑥) = (𝐹𝑥)
2019opeq2i 4805 . . . . . . . . 9 𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩ = ⟨𝑥, (𝐹𝑥)⟩
2120sneqi 4569 . . . . . . . 8 {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩} = {⟨𝑥, (𝐹𝑥)⟩}
2221eqeq2i 2751 . . . . . . 7 ((𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩} ↔ (𝐹 ↾ {𝑥}) = {⟨𝑥, (𝐹𝑥)⟩})
2316, 22bitr3i 276 . . . . . 6 ((((𝐹 ↾ {𝑥})‘𝑥) ∈ V ∧ (𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩}) ↔ (𝐹 ↾ {𝑥}) = {⟨𝑥, (𝐹𝑥)⟩})
2413, 14, 233bitri 296 . . . . 5 ((𝐹 ↾ {𝑥}) Fn {𝑥} ↔ (𝐹 ↾ {𝑥}) = {⟨𝑥, (𝐹𝑥)⟩})
2512, 24sylib 217 . . . 4 ((𝐹 Fn 𝐴𝑥𝐴) → (𝐹 ↾ {𝑥}) = {⟨𝑥, (𝐹𝑥)⟩})
2625expcom 413 . . 3 (𝑥𝐴 → (𝐹 Fn 𝐴 → (𝐹 ↾ {𝑥}) = {⟨𝑥, (𝐹𝑥)⟩}))
278, 26vtoclga 3503 . 2 (𝐵𝐴 → (𝐹 Fn 𝐴 → (𝐹 ↾ {𝐵}) = {⟨𝐵, (𝐹𝐵)⟩}))
2827impcom 407 1 ((𝐹 Fn 𝐴𝐵𝐴) → (𝐹 ↾ {𝐵}) = {⟨𝐵, (𝐹𝐵)⟩})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1539  wcel 2108  Vcvv 3422  wss 3883  {csn 4558  cop 4564  cres 5582   Fn wfn 6413  wf 6414  cfv 6418
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426
This theorem is referenced by:  funressn  7013  fressnfv  7014  fnsnsplit  7038  canthp1lem2  10340  fseq1p1m1  13259  resunimafz0  14085  dprd2da  19560  dmdprdpr  19567  dprdpr  19568  dpjlem  19569  pgpfaclem1  19599  islindf4  20955  xpstopnlem1  22868  ptcmpfi  22872  gsumhashmul  31218  subfacp1lem5  33046  cvmliftlem10  33156  nosupbnd2lem1  33845  noinfbnd2lem1  33860  poimirlem9  35713
  Copyright terms: Public domain W3C validator