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

Theorem setsnid 17092
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.) (Proof shortened by AV, 7-Nov-2024.)
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 17068 . . 3 (𝑊 ∈ V → (𝐸𝑊) = (𝑊‘(𝐸‘ndx)))
4 ovex 7395 . . . . 5 (𝑊 sSet ⟨𝐷, 𝐶⟩) ∈ V
54, 1strfvn 17069 . . . 4 (𝐸‘(𝑊 sSet ⟨𝐷, 𝐶⟩)) = ((𝑊 sSet ⟨𝐷, 𝐶⟩)‘(𝐸‘ndx))
6 setsres 17061 . . . . . 6 (𝑊 ∈ V → ((𝑊 sSet ⟨𝐷, 𝐶⟩) ↾ (V ∖ {𝐷})) = (𝑊 ↾ (V ∖ {𝐷})))
76fveq1d 6849 . . . . 5 (𝑊 ∈ V → (((𝑊 sSet ⟨𝐷, 𝐶⟩) ↾ (V ∖ {𝐷}))‘(𝐸‘ndx)) = ((𝑊 ↾ (V ∖ {𝐷}))‘(𝐸‘ndx)))
8 fvex 6860 . . . . . . 7 (𝐸‘ndx) ∈ V
9 setsnid.n . . . . . . 7 (𝐸‘ndx) ≠ 𝐷
10 eldifsn 4752 . . . . . . 7 ((𝐸‘ndx) ∈ (V ∖ {𝐷}) ↔ ((𝐸‘ndx) ∈ V ∧ (𝐸‘ndx) ≠ 𝐷))
118, 9, 10mpbir2an 709 . . . . . 6 (𝐸‘ndx) ∈ (V ∖ {𝐷})
12 fvres 6866 . . . . . 6 ((𝐸‘ndx) ∈ (V ∖ {𝐷}) → (((𝑊 sSet ⟨𝐷, 𝐶⟩) ↾ (V ∖ {𝐷}))‘(𝐸‘ndx)) = ((𝑊 sSet ⟨𝐷, 𝐶⟩)‘(𝐸‘ndx)))
1311, 12ax-mp 5 . . . . 5 (((𝑊 sSet ⟨𝐷, 𝐶⟩) ↾ (V ∖ {𝐷}))‘(𝐸‘ndx)) = ((𝑊 sSet ⟨𝐷, 𝐶⟩)‘(𝐸‘ndx))
14 fvres 6866 . . . . . 6 ((𝐸‘ndx) ∈ (V ∖ {𝐷}) → ((𝑊 ↾ (V ∖ {𝐷}))‘(𝐸‘ndx)) = (𝑊‘(𝐸‘ndx)))
1511, 14ax-mp 5 . . . . 5 ((𝑊 ↾ (V ∖ {𝐷}))‘(𝐸‘ndx)) = (𝑊‘(𝐸‘ndx))
167, 13, 153eqtr3g 2794 . . . 4 (𝑊 ∈ V → ((𝑊 sSet ⟨𝐷, 𝐶⟩)‘(𝐸‘ndx)) = (𝑊‘(𝐸‘ndx)))
175, 16eqtrid 2783 . . 3 (𝑊 ∈ V → (𝐸‘(𝑊 sSet ⟨𝐷, 𝐶⟩)) = (𝑊‘(𝐸‘ndx)))
183, 17eqtr4d 2774 . 2 (𝑊 ∈ V → (𝐸𝑊) = (𝐸‘(𝑊 sSet ⟨𝐷, 𝐶⟩)))
191str0 17072 . . . 4 ∅ = (𝐸‘∅)
2019eqcomi 2740 . . 3 (𝐸‘∅) = ∅
21 eqid 2731 . . 3 (𝑊 sSet ⟨𝐷, 𝐶⟩) = (𝑊 sSet ⟨𝐷, 𝐶⟩)
22 reldmsets 17048 . . 3 Rel dom sSet
2320, 21, 22oveqprc 17075 . 2 𝑊 ∈ V → (𝐸𝑊) = (𝐸‘(𝑊 sSet ⟨𝐷, 𝐶⟩)))
2418, 23pm2.61i 182 1 (𝐸𝑊) = (𝐸‘(𝑊 sSet ⟨𝐷, 𝐶⟩))
Colors of variables: wff setvar class
Syntax hints:   = wceq 1541  wcel 2106  wne 2939  Vcvv 3446  cdif 3910  c0 4287  {csn 4591  cop 4597  cres 5640  cfv 6501  (class class class)co 7362   sSet csts 17046  Slot cslot 17064  ndxcnx 17076
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2702  ax-sep 5261  ax-nul 5268  ax-pr 5389  ax-un 7677
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2533  df-eu 2562  df-clab 2709  df-cleq 2723  df-clel 2809  df-nfc 2884  df-ne 2940  df-ral 3061  df-rex 3070  df-rab 3406  df-v 3448  df-sbc 3743  df-dif 3916  df-un 3918  df-in 3920  df-ss 3930  df-nul 4288  df-if 4492  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4871  df-br 5111  df-opab 5173  df-mpt 5194  df-id 5536  df-xp 5644  df-rel 5645  df-cnv 5646  df-co 5647  df-dm 5648  df-res 5650  df-iota 6453  df-fun 6503  df-fv 6509  df-ov 7365  df-oprab 7366  df-mpo 7367  df-sets 17047  df-slot 17065
This theorem is referenced by:  resseqnbas  17136  resslemOLD  17137  oppchomfval  17608  oppchomfvalOLD  17609  oppcbas  17613  oppcbasOLD  17614  rescbas  17726  rescbasOLD  17727  rescco  17730  resccoOLD  17731  rescabs  17732  rescabsOLD  17733  odubas  18194  odubasOLD  18195  setsplusg  19142  oppglemOLD  19143  mgplemOLD  19915  opprlem  20068  opprlemOLD  20069  rmodislmod  20447  rmodislmodOLD  20448  sralem  20697  sralemOLD  20698  srasca  20705  srascaOLD  20706  sravsca  20707  sravscaOLD  20708  zlmlem  20954  zlmlemOLD  20955  zlmsca  20962  znbaslem  20978  znbaslemOLD  20979  thlbas  21137  thlbasOLD  21138  thlle  21139  thlleOLD  21140  opsrbaslem  21487  opsrbaslemOLD  21488  matbas  21797  matplusg  21798  matsca  21799  matscaOLD  21800  matvsca  21801  matvscaOLD  21802  tuslem  23655  tuslemOLD  23656  setsmsbas  23865  setsmsbasOLD  23866  setsmsds  23867  setsmsdsOLD  23868  tnglem  24033  tnglemOLD  24034  tngds  24048  tngdsOLD  24049  ttgval  27880  ttgvalOLD  27881  ttglem  27882  ttglemOLD  27883  cchhllem  27898  cchhllemOLD  27899  setsvtx  28049  resvlem  32193  resvlemOLD  32194  zlmds  32632  zlmdsOLD  32633  zlmtset  32634  zlmtsetOLD  32635  hlhilslem  40474  hlhilslemOLD  40475  mnringnmulrd  42611  mnringnmulrdOLD  42612  cznrnglem  46371  cznabel  46372  cznrng  46373  prstcnidlem  47205  prstcnid  47206
  Copyright terms: Public domain W3C validator