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 49423
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 eldifsnneq 4754 . . . . 5 (𝑥 ∈ (𝐷 ∖ {𝑌}) → ¬ 𝑥 = 𝑌)
21adantl 487 . . . 4 ((𝐺:(𝐷 ∖ {𝑌})⟶𝑅 ∧ 𝑥 ∈ (𝐷 ∖ {𝑌})) → ¬ 𝑥 = 𝑌)
32iffalsed 4493 . . 3 ((𝐺:(𝐷 ∖ {𝑌})⟶𝑅 ∧ 𝑥 ∈ (𝐷 ∖ {𝑌})) → if(𝑥 = 𝑌, 𝑋, (𝐺‘𝑥)) = (𝐺‘𝑥))
43mpteq2dva 5198 . 2 (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → (𝑥 ∈ (𝐷 ∖ {𝑌}) ↦ if(𝑥 = 𝑌, 𝑋, (𝐺‘𝑥))) = (𝑥 ∈ (𝐷 ∖ {𝑌}) ↦ (𝐺‘𝑥)))
5 fdmdifeqresdif.f . . . 4 𝐹 = (𝑥 ∈ 𝐷 ↦ if(𝑥 = 𝑌, 𝑋, (𝐺‘𝑥)))
65reseq1i 5966 . . 3 (𝐹 ↾ (𝐷 ∖ {𝑌})) = ((𝑥 ∈ 𝐷 ↦ if(𝑥 = 𝑌, 𝑋, (𝐺‘𝑥))) ↾ (𝐷 ∖ {𝑌}))
7 difssd 4084 . . . 4 (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → (𝐷 ∖ {𝑌}) ⊆ 𝐷)
87resmptd 6032 . . 3 (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → ((𝑥 ∈ 𝐷 ↦ if(𝑥 = 𝑌, 𝑋, (𝐺‘𝑥))) ↾ (𝐷 ∖ {𝑌})) = (𝑥 ∈ (𝐷 ∖ {𝑌}) ↦ if(𝑥 = 𝑌, 𝑋, (𝐺‘𝑥))))
96, 8eqtrid 2808 . 2 (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → (𝐹 ↾ (𝐷 ∖ {𝑌})) = (𝑥 ∈ (𝐷 ∖ {𝑌}) ↦ if(𝑥 = 𝑌, 𝑋, (𝐺‘𝑥))))
10 ffn 6707 . . 3 (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → 𝐺 Fn (𝐷 ∖ {𝑌}))
11 dffn5 6941 . . 3 (𝐺 Fn (𝐷 ∖ {𝑌}) ↔ 𝐺 = (𝑥 ∈ (𝐷 ∖ {𝑌}) ↦ (𝐺‘𝑥)))
1210, 11sylib 221 . 2 (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → 𝐺 = (𝑥 ∈ (𝐷 ∖ {𝑌}) ↦ (𝐺‘𝑥)))
134, 9, 123eqtr4rd 2807 1 (𝐺:(𝐷 ∖ {𝑌})⟶𝑅 → 𝐺 = (𝐹 ↾ (𝐷 ∖ {𝑌})))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145   ∖ cdif 3896  ifcif 4482  {csn 4584   ↦ cmpt 5186   ↾ cres 5653   Fn wfn 6532  ⟶wf 6533  ‘cfv 6537
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391
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 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-res 5663  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-fv 6545
This theorem is used by:  lincext2  49536  lincext3  49537
  Copyright terms: Public domain W3C validator