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

Theorem setsnid 15743
Description: Value of the structure replacement function at an untouched index. (Contributed by Mario Carneiro, 1-Dec-2014.) (Revised by Mario Carneiro, 30-Apr-2015.)
Hypotheses
Ref Expression
setsid.e 𝐸 = Slot (𝐸‘ndx)
setsnid.n (𝐸‘ndx) ≠ 𝐷
Assertion
Ref Expression
setsnid (𝐸𝑊) = (𝐸‘(𝑊 sSet ⟨𝐷, 𝐶⟩))

Proof of Theorem setsnid
StepHypRef Expression
1 setsid.e . . . 4 𝐸 = Slot (𝐸‘ndx)
2 id 22 . . . 4 (𝑊 ∈ V → 𝑊 ∈ V)
31, 2strfvnd 15710 . . 3 (𝑊 ∈ V → (𝐸𝑊) = (𝑊‘(𝐸‘ndx)))
4 ovex 6577 . . . . 5 (𝑊 sSet ⟨𝐷, 𝐶⟩) ∈ V
54, 1strfvn 15712 . . . 4 (𝐸‘(𝑊 sSet ⟨𝐷, 𝐶⟩)) = ((𝑊 sSet ⟨𝐷, 𝐶⟩)‘(𝐸‘ndx))
6 setsres 15729 . . . . . 6 (𝑊 ∈ V → ((𝑊 sSet ⟨𝐷, 𝐶⟩) ↾ (V ∖ {𝐷})) = (𝑊 ↾ (V ∖ {𝐷})))
76fveq1d 6105 . . . . 5 (𝑊 ∈ V → (((𝑊 sSet ⟨𝐷, 𝐶⟩) ↾ (V ∖ {𝐷}))‘(𝐸‘ndx)) = ((𝑊 ↾ (V ∖ {𝐷}))‘(𝐸‘ndx)))
8 fvex 6113 . . . . . . 7 (𝐸‘ndx) ∈ V
9 setsnid.n . . . . . . 7 (𝐸‘ndx) ≠ 𝐷
10 eldifsn 4260 . . . . . . 7 ((𝐸‘ndx) ∈ (V ∖ {𝐷}) ↔ ((𝐸‘ndx) ∈ V ∧ (𝐸‘ndx) ≠ 𝐷))
118, 9, 10mpbir2an 957 . . . . . 6 (𝐸‘ndx) ∈ (V ∖ {𝐷})
12 fvres 6117 . . . . . 6 ((𝐸‘ndx) ∈ (V ∖ {𝐷}) → (((𝑊 sSet ⟨𝐷, 𝐶⟩) ↾ (V ∖ {𝐷}))‘(𝐸‘ndx)) = ((𝑊 sSet ⟨𝐷, 𝐶⟩)‘(𝐸‘ndx)))
1311, 12ax-mp 5 . . . . 5 (((𝑊 sSet ⟨𝐷, 𝐶⟩) ↾ (V ∖ {𝐷}))‘(𝐸‘ndx)) = ((𝑊 sSet ⟨𝐷, 𝐶⟩)‘(𝐸‘ndx))
14 fvres 6117 . . . . . 6 ((𝐸‘ndx) ∈ (V ∖ {𝐷}) → ((𝑊 ↾ (V ∖ {𝐷}))‘(𝐸‘ndx)) = (𝑊‘(𝐸‘ndx)))
1511, 14ax-mp 5 . . . . 5 ((𝑊 ↾ (V ∖ {𝐷}))‘(𝐸‘ndx)) = (𝑊‘(𝐸‘ndx))
167, 13, 153eqtr3g 2667 . . . 4 (𝑊 ∈ V → ((𝑊 sSet ⟨𝐷, 𝐶⟩)‘(𝐸‘ndx)) = (𝑊‘(𝐸‘ndx)))
175, 16syl5eq 2656 . . 3 (𝑊 ∈ V → (𝐸‘(𝑊 sSet ⟨𝐷, 𝐶⟩)) = (𝑊‘(𝐸‘ndx)))
183, 17eqtr4d 2647 . 2 (𝑊 ∈ V → (𝐸𝑊) = (𝐸‘(𝑊 sSet ⟨𝐷, 𝐶⟩)))
191str0 15739 . . 3 ∅ = (𝐸‘∅)
20 fvprc 6097 . . 3 𝑊 ∈ V → (𝐸𝑊) = ∅)
21 reldmsets 15718 . . . . 5 Rel dom sSet
2221ovprc1 6582 . . . 4 𝑊 ∈ V → (𝑊 sSet ⟨𝐷, 𝐶⟩) = ∅)
2322fveq2d 6107 . . 3 𝑊 ∈ V → (𝐸‘(𝑊 sSet ⟨𝐷, 𝐶⟩)) = (𝐸‘∅))
2419, 20, 233eqtr4a 2670 . 2 𝑊 ∈ V → (𝐸𝑊) = (𝐸‘(𝑊 sSet ⟨𝐷, 𝐶⟩)))
2518, 24pm2.61i 175 1 (𝐸𝑊) = (𝐸‘(𝑊 sSet ⟨𝐷, 𝐶⟩))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1475  wcel 1977  wne 2780  Vcvv 3173  cdif 3537  c0 3874  {csn 4125  cop 4131  cres 5040  cfv 5804  (class class class)co 6549  ndxcnx 15692   sSet csts 15693  Slot cslot 15694
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-mpt 4645  df-id 4953  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-res 5050  df-iota 5768  df-fun 5806  df-fv 5812  df-ov 6552  df-oprab 6553  df-mpt2 6554  df-slot 15699  df-sets 15701
This theorem is referenced by:  resslem  15760  oppchomfval  16197  oppcbas  16201  rescbas  16312  rescco  16315  rescabs  16316  odubas  16956  oppglem  17603  mgplem  18317  opprlem  18451  sralem  18998  srasca  19002  sravsca  19003  opsrbaslem  19298  opsrbaslemOLD  19299  zlmlem  19684  zlmsca  19688  znbaslem  19705  znbaslemOLD  19706  thlbas  19859  thlle  19860  matbas  20038  matplusg  20039  matsca  20040  matvsca  20041  tuslem  21881  setsmsbas  22090  setsmsds  22091  tnglem  22254  tngds  22262  ttgval  25555  ttglem  25556  cchhllem  25567  uhgrstrrepe  25745  resvlem  29162  zlmds  29336  zlmtset  29337  hlhilslem  36248  cznrnglem  41745  cznabel  41746  cznrng  41747
  Copyright terms: Public domain W3C validator