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

Theorem fressnfv 7185
Description: The value of a function restricted to a singleton. (Contributed by NM, 9-Oct-2004.)
Assertion
Ref Expression
fressnfv ((𝐹 Fn 𝐴 ∧ 𝐵 ∈ 𝐴) → ((𝐹 ↾ {𝐵}):{𝐵}⟶𝐶 ↔ (𝐹‘𝐵) ∈ 𝐶))

Proof of Theorem fressnfv
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 sneq 4594 . . . . . 6 (𝑥 = 𝐵 → {𝑥} = {𝐵})
2 reseq2 5975 . . . . . . . 8 ({𝑥} = {𝐵} → (𝐹 ↾ {𝑥}) = (𝐹 ↾ {𝐵}))
32feq1d 6710 . . . . . . 7 ({𝑥} = {𝐵} → ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹 ↾ {𝐵}):{𝑥}⟶𝐶))
4 feq2 6707 . . . . . . 7 ({𝑥} = {𝐵} → ((𝐹 ↾ {𝐵}):{𝑥}⟶𝐶 ↔ (𝐹 ↾ {𝐵}):{𝐵}⟶𝐶))
53, 4bitrd 282 . . . . . 6 ({𝑥} = {𝐵} → ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹 ↾ {𝐵}):{𝐵}⟶𝐶))
61, 5syl 18 . . . . 5 (𝑥 = 𝐵 → ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹 ↾ {𝐵}):{𝐵}⟶𝐶))
7 fveq2 6905 . . . . . 6 (𝑥 = 𝐵 → (𝐹‘𝑥) = (𝐹‘𝐵))
87eleq1d 2849 . . . . 5 (𝑥 = 𝐵 → ((𝐹‘𝑥) ∈ 𝐶 ↔ (𝐹‘𝐵) ∈ 𝐶))
96, 8bibi12d 348 . . . 4 (𝑥 = 𝐵 → (((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹‘𝑥) ∈ 𝐶) ↔ ((𝐹 ↾ {𝐵}):{𝐵}⟶𝐶 ↔ (𝐹‘𝐵) ∈ 𝐶)))
109imbi2d 343 . . 3 (𝑥 = 𝐵 → ((𝐹 Fn 𝐴 → ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹‘𝑥) ∈ 𝐶)) ↔ (𝐹 Fn 𝐴 → ((𝐹 ↾ {𝐵}):{𝐵}⟶𝐶 ↔ (𝐹‘𝐵) ∈ 𝐶))))
11 fnressn 7183 . . . . 5 ((𝐹 Fn 𝐴 ∧ 𝑥 ∈ 𝐴) → (𝐹 ↾ {𝑥}) = {⟨𝑥, (𝐹‘𝑥)⟩})
12 vsnid 4624 . . . . . . . . . 10 𝑥 ∈ {𝑥}
13 fvres 6924 . . . . . . . . . 10 (𝑥 ∈ {𝑥} → ((𝐹 ↾ {𝑥})‘𝑥) = (𝐹‘𝑥))
1412, 13ax-mp 5 . . . . . . . . 9 ((𝐹 ↾ {𝑥})‘𝑥) = (𝐹‘𝑥)
1514opeq2i 4847 . . . . . . . 8 ⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩ = ⟨𝑥, (𝐹‘𝑥)⟩
1615sneqi 4595 . . . . . . 7 {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩} = {⟨𝑥, (𝐹‘𝑥)⟩}
1716eqeq2i 2776 . . . . . 6 ((𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩} ↔ (𝐹 ↾ {𝑥}) = {⟨𝑥, (𝐹‘𝑥)⟩})
18 vex 3458 . . . . . . . 8 𝑥 ∈ V
1918fsn2 7158 . . . . . . 7 ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (((𝐹 ↾ {𝑥})‘𝑥) ∈ 𝐶 ∧ (𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩}))
20 iba 537 . . . . . . . 8 ((𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩} → (((𝐹 ↾ {𝑥})‘𝑥) ∈ 𝐶 ↔ (((𝐹 ↾ {𝑥})‘𝑥) ∈ 𝐶 ∧ (𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩})))
2114eleq1i 2855 . . . . . . . 8 (((𝐹 ↾ {𝑥})‘𝑥) ∈ 𝐶 ↔ (𝐹‘𝑥) ∈ 𝐶)
2220, 21bitr3di 289 . . . . . . 7 ((𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩} → ((((𝐹 ↾ {𝑥})‘𝑥) ∈ 𝐶 ∧ (𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩}) ↔ (𝐹‘𝑥) ∈ 𝐶))
2319, 22bitrid 286 . . . . . 6 ((𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩} → ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹‘𝑥) ∈ 𝐶))
2417, 23sylbir 238 . . . . 5 ((𝐹 ↾ {𝑥}) = {⟨𝑥, (𝐹‘𝑥)⟩} → ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹‘𝑥) ∈ 𝐶))
2511, 24syl 18 . . . 4 ((𝐹 Fn 𝐴 ∧ 𝑥 ∈ 𝐴) → ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹‘𝑥) ∈ 𝐶))
2625expcom 419 . . 3 (𝑥 ∈ 𝐴 → (𝐹 Fn 𝐴 → ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹‘𝑥) ∈ 𝐶)))
2710, 26vtoclga 3540 . 2 (𝐵 ∈ 𝐴 → (𝐹 Fn 𝐴 → ((𝐹 ↾ {𝐵}):{𝐵}⟶𝐶 ↔ (𝐹‘𝐵) ∈ 𝐶)))
2827impcom 413 1 ((𝐹 Fn 𝐴 ∧ 𝐵 ∈ 𝐴) → ((𝐹 ↾ {𝐵}):{𝐵}⟶𝐶 ↔ (𝐹‘𝐵) ∈ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2147  {csn 4588  ⟨cop 4838   ↾ cres 5657   Fn wfn 6550  ⟶wf 6551  ‘cfv 6555
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6509  df-fun 6557  df-fn 6558  df-f 6559  df-f1 6560  df-fo 6561  df-f1o 6562  df-fv 6563
This theorem is used by:  dif1enlem  9200
  Copyright terms: Public domain W3C validator