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

Theorem fressnfv 7195
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 4593 . . . . . 6 (𝑥 = 𝐵 → {𝑥} = {𝐵})
2 reseq2 5980 . . . . . . . 8 ({𝑥} = {𝐵} → (𝐹 ↾ {𝑥}) = (𝐹 ↾ {𝐵}))
32feq1d 6720 . . . . . . 7 ({𝑥} = {𝐵} → ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹 ↾ {𝐵}):{𝑥}⟶𝐶))
4 feq2 6717 . . . . . . 7 ({𝑥} = {𝐵} → ((𝐹 ↾ {𝐵}):{𝑥}⟶𝐶 ↔ (𝐹 ↾ {𝐵}):{𝐵}⟶𝐶))
53, 4bitrd 282 . . . . . 6 ({𝑥} = {𝐵} → ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹 ↾ {𝐵}):{𝐵}⟶𝐶))
61, 5syl 18 . . . . 5 (𝑥 = 𝐵 → ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹 ↾ {𝐵}):{𝐵}⟶𝐶))
7 fveq2 6915 . . . . . 6 (𝑥 = 𝐵 → (𝐹‘𝑥) = (𝐹‘𝐵))
87eleq1d 2852 . . . . 5 (𝑥 = 𝐵 → ((𝐹‘𝑥) ∈ 𝐶 ↔ (𝐹‘𝐵) ∈ 𝐶))
96, 8bibi12d 348 . . . 4 (𝑥 = 𝐵 → (((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹‘𝑥) ∈ 𝐶) ↔ ((𝐹 ↾ {𝐵}):{𝐵}⟶𝐶 ↔ (𝐹‘𝐵) ∈ 𝐶)))
109imbi2d 343 . . 3 (𝑥 = 𝐵 → ((𝐹 Fn 𝐴 → ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹‘𝑥) ∈ 𝐶)) ↔ (𝐹 Fn 𝐴 → ((𝐹 ↾ {𝐵}):{𝐵}⟶𝐶 ↔ (𝐹‘𝐵) ∈ 𝐶))))
11 fnressn 7193 . . . . 5 ((𝐹 Fn 𝐴 ∧ 𝑥 ∈ 𝐴) → (𝐹 ↾ {𝑥}) = {⟨𝑥, (𝐹‘𝑥)⟩})
12 vsnid 4624 . . . . . . . . . 10 𝑥 ∈ {𝑥}
13 fvres 6934 . . . . . . . . . 10 (𝑥 ∈ {𝑥} → ((𝐹 ↾ {𝑥})‘𝑥) = (𝐹‘𝑥))
1412, 13ax-mp 5 . . . . . . . . 9 ((𝐹 ↾ {𝑥})‘𝑥) = (𝐹‘𝑥)
1514opeq2i 4848 . . . . . . . 8 ⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩ = ⟨𝑥, (𝐹‘𝑥)⟩
1615sneqi 4594 . . . . . . 7 {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩} = {⟨𝑥, (𝐹‘𝑥)⟩}
1716eqeq2i 2779 . . . . . 6 ((𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩} ↔ (𝐹 ↾ {𝑥}) = {⟨𝑥, (𝐹‘𝑥)⟩})
18 vex 3457 . . . . . . . 8 𝑥 ∈ V
1918fsn2 7168 . . . . . . 7 ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (((𝐹 ↾ {𝑥})‘𝑥) ∈ 𝐶 ∧ (𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩}))
20 iba 537 . . . . . . . 8 ((𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩} → (((𝐹 ↾ {𝑥})‘𝑥) ∈ 𝐶 ↔ (((𝐹 ↾ {𝑥})‘𝑥) ∈ 𝐶 ∧ (𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩})))
2114eleq1i 2858 . . . . . . . 8 (((𝐹 ↾ {𝑥})‘𝑥) ∈ 𝐶 ↔ (𝐹‘𝑥) ∈ 𝐶)
2220, 21bitr3di 289 . . . . . . 7 ((𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩} → ((((𝐹 ↾ {𝑥})‘𝑥) ∈ 𝐶 ∧ (𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩}) ↔ (𝐹‘𝑥) ∈ 𝐶))
2319, 22bitrid 286 . . . . . 6 ((𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩} → ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹‘𝑥) ∈ 𝐶))
2417, 23sylbir 238 . . . . 5 ((𝐹 ↾ {𝑥}) = {⟨𝑥, (𝐹‘𝑥)⟩} → ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹‘𝑥) ∈ 𝐶))
2511, 24syl 18 . . . 4 ((𝐹 Fn 𝐴 ∧ 𝑥 ∈ 𝐴) → ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹‘𝑥) ∈ 𝐶))
2625expcom 419 . . 3 (𝑥 ∈ 𝐴 → (𝐹 Fn 𝐴 → ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹‘𝑥) ∈ 𝐶)))
2710, 26vtoclga 3539 . 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 1572   ∈ wcel 2150  {csn 4587  ⟨cop 4839   ↾ cres 5659   Fn wfn 6560  ⟶wf 6561  ‘cfv 6565
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-nul 5265  ax-pr 5397
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-ne 2963  df-ral 3084  df-rex 3094  df-reu 3369  df-rab 3416  df-v 3455  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-br 5108  df-opab 5173  df-id 5552  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-iota 6519  df-fun 6567  df-fn 6568  df-f 6569  df-f1 6570  df-fo 6571  df-f1o 6572  df-fv 6573
This theorem is used by:  dif1enlem  9212
  Copyright terms: Public domain W3C validator