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

Theorem fressnfv 5618
 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 3544 . . . . . 6 (𝑥 = 𝐵 → {𝑥} = {𝐵})
2 reseq2 4825 . . . . . . . 8 ({𝑥} = {𝐵} → (𝐹 ↾ {𝑥}) = (𝐹 ↾ {𝐵}))
32feq1d 5270 . . . . . . 7 ({𝑥} = {𝐵} → ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹 ↾ {𝐵}):{𝑥}⟶𝐶))
4 feq2 5267 . . . . . . 7 ({𝑥} = {𝐵} → ((𝐹 ↾ {𝐵}):{𝑥}⟶𝐶 ↔ (𝐹 ↾ {𝐵}):{𝐵}⟶𝐶))
53, 4bitrd 187 . . . . . 6 ({𝑥} = {𝐵} → ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹 ↾ {𝐵}):{𝐵}⟶𝐶))
61, 5syl 14 . . . . 5 (𝑥 = 𝐵 → ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹 ↾ {𝐵}):{𝐵}⟶𝐶))
7 fveq2 5432 . . . . . 6 (𝑥 = 𝐵 → (𝐹𝑥) = (𝐹𝐵))
87eleq1d 2209 . . . . 5 (𝑥 = 𝐵 → ((𝐹𝑥) ∈ 𝐶 ↔ (𝐹𝐵) ∈ 𝐶))
96, 8bibi12d 234 . . . 4 (𝑥 = 𝐵 → (((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹𝑥) ∈ 𝐶) ↔ ((𝐹 ↾ {𝐵}):{𝐵}⟶𝐶 ↔ (𝐹𝐵) ∈ 𝐶)))
109imbi2d 229 . . 3 (𝑥 = 𝐵 → ((𝐹 Fn 𝐴 → ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹𝑥) ∈ 𝐶)) ↔ (𝐹 Fn 𝐴 → ((𝐹 ↾ {𝐵}):{𝐵}⟶𝐶 ↔ (𝐹𝐵) ∈ 𝐶))))
11 fnressn 5617 . . . . 5 ((𝐹 Fn 𝐴𝑥𝐴) → (𝐹 ↾ {𝑥}) = {⟨𝑥, (𝐹𝑥)⟩})
12 vsnid 3565 . . . . . . . . . 10 𝑥 ∈ {𝑥}
13 fvres 5456 . . . . . . . . . 10 (𝑥 ∈ {𝑥} → ((𝐹 ↾ {𝑥})‘𝑥) = (𝐹𝑥))
1412, 13ax-mp 5 . . . . . . . . 9 ((𝐹 ↾ {𝑥})‘𝑥) = (𝐹𝑥)
1514opeq2i 3718 . . . . . . . 8 𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩ = ⟨𝑥, (𝐹𝑥)⟩
1615sneqi 3545 . . . . . . 7 {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩} = {⟨𝑥, (𝐹𝑥)⟩}
1716eqeq2i 2151 . . . . . 6 ((𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩} ↔ (𝐹 ↾ {𝑥}) = {⟨𝑥, (𝐹𝑥)⟩})
18 vex 2693 . . . . . . . 8 𝑥 ∈ V
1918fsn2 5605 . . . . . . 7 ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (((𝐹 ↾ {𝑥})‘𝑥) ∈ 𝐶 ∧ (𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩}))
20 iba 298 . . . . . . . 8 ((𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩} → (((𝐹 ↾ {𝑥})‘𝑥) ∈ 𝐶 ↔ (((𝐹 ↾ {𝑥})‘𝑥) ∈ 𝐶 ∧ (𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩})))
2114eleq1i 2206 . . . . . . . 8 (((𝐹 ↾ {𝑥})‘𝑥) ∈ 𝐶 ↔ (𝐹𝑥) ∈ 𝐶)
2220, 21bitr3di 194 . . . . . . 7 ((𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩} → ((((𝐹 ↾ {𝑥})‘𝑥) ∈ 𝐶 ∧ (𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩}) ↔ (𝐹𝑥) ∈ 𝐶))
2319, 22syl5bb 191 . . . . . 6 ((𝐹 ↾ {𝑥}) = {⟨𝑥, ((𝐹 ↾ {𝑥})‘𝑥)⟩} → ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹𝑥) ∈ 𝐶))
2417, 23sylbir 134 . . . . 5 ((𝐹 ↾ {𝑥}) = {⟨𝑥, (𝐹𝑥)⟩} → ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹𝑥) ∈ 𝐶))
2511, 24syl 14 . . . 4 ((𝐹 Fn 𝐴𝑥𝐴) → ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹𝑥) ∈ 𝐶))
2625expcom 115 . . 3 (𝑥𝐴 → (𝐹 Fn 𝐴 → ((𝐹 ↾ {𝑥}):{𝑥}⟶𝐶 ↔ (𝐹𝑥) ∈ 𝐶)))
2710, 26vtoclga 2756 . 2 (𝐵𝐴 → (𝐹 Fn 𝐴 → ((𝐹 ↾ {𝐵}):{𝐵}⟶𝐶 ↔ (𝐹𝐵) ∈ 𝐶)))
2827impcom 124 1 ((𝐹 Fn 𝐴𝐵𝐴) → ((𝐹 ↾ {𝐵}):{𝐵}⟶𝐶 ↔ (𝐹𝐵) ∈ 𝐶))
 Colors of variables: wff set class Syntax hints:   → wi 4   ∧ wa 103   ↔ wb 104   = wceq 1332   ∈ wcel 1481  {csn 3533  ⟨cop 3536   ↾ cres 4552   Fn wfn 5129  ⟶wf 5130  ‘cfv 5134 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-sep 4055  ax-pow 4107  ax-pr 4141 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-v 2692  df-sbc 2915  df-un 3081  df-in 3083  df-ss 3090  df-pw 3518  df-sn 3539  df-pr 3540  df-op 3542  df-uni 3746  df-br 3939  df-opab 3999  df-id 4225  df-xp 4556  df-rel 4557  df-cnv 4558  df-co 4559  df-dm 4560  df-rn 4561  df-res 4562  df-ima 4563  df-iota 5099  df-fun 5136  df-fn 5137  df-f 5138  df-f1 5139  df-fo 5140  df-f1o 5141  df-fv 5142 This theorem is referenced by: (None)
 Copyright terms: Public domain W3C validator