Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fdmdifeqresdif Structured version   Visualization version   GIF version

Theorem fdmdifeqresdif 42630
Description: The restriction of a conditional mapping to function values of a function having a domain which is a difference with a singleton equals this function. (Contributed by AV, 23-Apr-2019.)
Hypothesis
Ref Expression
fdmdifeqresdif.f 𝐹 = (𝑥𝐷 ↦ if(𝑥 = 𝑌, 𝑋, (𝐺𝑥)))
Assertion
Ref Expression
fdmdifeqresdif (𝐺:(𝐷 ∖ {𝑌})⟶𝑅𝐺 = (𝐹 ↾ (𝐷 ∖ {𝑌})))
Distinct variable groups:   𝑥,𝐷   𝑥,𝐺   𝑥,𝑅   𝑥,𝑌
Allowed substitution hints:   𝐹(𝑥)   𝑋(𝑥)

Proof of Theorem fdmdifeqresdif
StepHypRef Expression
1 eldifsn 4462 . . . . . 6 (𝑥 ∈ (𝐷 ∖ {𝑌}) ↔ (𝑥𝐷𝑥𝑌))
2 neneq 2938 . . . . . 6 (𝑥𝑌 → ¬ 𝑥 = 𝑌)
31, 2simplbiim 661 . . . . 5 (𝑥 ∈ (𝐷 ∖ {𝑌}) → ¬ 𝑥 = 𝑌)
43adantl 473 . . . 4 ((𝐺:(𝐷 ∖ {𝑌})⟶𝑅𝑥 ∈ (𝐷 ∖ {𝑌})) → ¬ 𝑥 = 𝑌)
54iffalsed 4241 . . 3 ((𝐺:(𝐷 ∖ {𝑌})⟶𝑅𝑥 ∈ (𝐷 ∖ {𝑌})) → if(𝑥 = 𝑌, 𝑋, (𝐺𝑥)) = (𝐺𝑥))
65mpteq2dva 4896 . 2 (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → (𝑥 ∈ (𝐷 ∖ {𝑌}) ↦ if(𝑥 = 𝑌, 𝑋, (𝐺𝑥))) = (𝑥 ∈ (𝐷 ∖ {𝑌}) ↦ (𝐺𝑥)))
7 fdmdifeqresdif.f . . . 4 𝐹 = (𝑥𝐷 ↦ if(𝑥 = 𝑌, 𝑋, (𝐺𝑥)))
87reseq1i 5547 . . 3 (𝐹 ↾ (𝐷 ∖ {𝑌})) = ((𝑥𝐷 ↦ if(𝑥 = 𝑌, 𝑋, (𝐺𝑥))) ↾ (𝐷 ∖ {𝑌}))
9 difssd 3881 . . . 4 (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → (𝐷 ∖ {𝑌}) ⊆ 𝐷)
109resmptd 5610 . . 3 (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → ((𝑥𝐷 ↦ if(𝑥 = 𝑌, 𝑋, (𝐺𝑥))) ↾ (𝐷 ∖ {𝑌})) = (𝑥 ∈ (𝐷 ∖ {𝑌}) ↦ if(𝑥 = 𝑌, 𝑋, (𝐺𝑥))))
118, 10syl5eq 2806 . 2 (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → (𝐹 ↾ (𝐷 ∖ {𝑌})) = (𝑥 ∈ (𝐷 ∖ {𝑌}) ↦ if(𝑥 = 𝑌, 𝑋, (𝐺𝑥))))
12 ffn 6206 . . 3 (𝐺:(𝐷 ∖ {𝑌})⟶𝑅𝐺 Fn (𝐷 ∖ {𝑌}))
13 dffn5 6403 . . 3 (𝐺 Fn (𝐷 ∖ {𝑌}) ↔ 𝐺 = (𝑥 ∈ (𝐷 ∖ {𝑌}) ↦ (𝐺𝑥)))
1412, 13sylib 208 . 2 (𝐺:(𝐷 ∖ {𝑌})⟶𝑅𝐺 = (𝑥 ∈ (𝐷 ∖ {𝑌}) ↦ (𝐺𝑥)))
156, 11, 143eqtr4rd 2805 1 (𝐺:(𝐷 ∖ {𝑌})⟶𝑅𝐺 = (𝐹 ↾ (𝐷 ∖ {𝑌})))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 383   = wceq 1632  wcel 2139  wne 2932  cdif 3712  ifcif 4230  {csn 4321  cmpt 4881  cres 5268   Fn wfn 6044  wf 6045  cfv 6049
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1988  ax-6 2054  ax-7 2090  ax-9 2148  ax-10 2168  ax-11 2183  ax-12 2196  ax-13 2391  ax-ext 2740  ax-sep 4933  ax-nul 4941  ax-pr 5055
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1635  df-ex 1854  df-nf 1859  df-sb 2047  df-eu 2611  df-mo 2612  df-clab 2747  df-cleq 2753  df-clel 2756  df-nfc 2891  df-ne 2933  df-ral 3055  df-rex 3056  df-rab 3059  df-v 3342  df-sbc 3577  df-dif 3718  df-un 3720  df-in 3722  df-ss 3729  df-nul 4059  df-if 4231  df-sn 4322  df-pr 4324  df-op 4328  df-uni 4589  df-br 4805  df-opab 4865  df-mpt 4882  df-id 5174  df-xp 5272  df-rel 5273  df-cnv 5274  df-co 5275  df-dm 5276  df-res 5278  df-iota 6012  df-fun 6051  df-fn 6052  df-f 6053  df-fv 6057
This theorem is referenced by:  lincext2  42754  lincext3  42755
  Copyright terms: Public domain W3C validator