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

Theorem setsnid 17398
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 23 . . . 4 (𝑊 ∈ V → 𝑊 ∈ V)
31, 2strfvnd 17375 . . 3 (𝑊 ∈ V → (𝐸‘𝑊) = (𝑊‘(𝐸‘ndx)))
4 ovex 7460 . . . . 5 (𝑊 sSet ⟨𝐷, 𝐶⟩) ∈ V
54, 1strfvn 17376 . . . 4 (𝐸‘(𝑊 sSet ⟨𝐷, 𝐶⟩)) = ((𝑊 sSet ⟨𝐷, 𝐶⟩)‘(𝐸‘ndx))
6 setsres 17368 . . . . . 6 (𝑊 ∈ V → ((𝑊 sSet ⟨𝐷, 𝐶⟩) ↾ (V ∖ {𝐷})) = (𝑊 ↾ (V ∖ {𝐷})))
76fveq1d 6895 . . . . 5 (𝑊 ∈ V → (((𝑊 sSet ⟨𝐷, 𝐶⟩) ↾ (V ∖ {𝐷}))‘(𝐸‘ndx)) = ((𝑊 ↾ (V ∖ {𝐷}))‘(𝐸‘ndx)))
8 fvex 6906 . . . . . . 7 (𝐸‘ndx) ∈ V
9 setsnid.n . . . . . . 7 (𝐸‘ndx) ≠ 𝐷
10 eldifsn 4747 . . . . . . 7 ((𝐸‘ndx) ∈ (V ∖ {𝐷}) ↔ ((𝐸‘ndx) ∈ V ∧ (𝐸‘ndx) ≠ 𝐷))
118, 9, 10mpbir2an 724 . . . . . 6 (𝐸‘ndx) ∈ (V ∖ {𝐷})
12 fvres 6912 . . . . . 6 ((𝐸‘ndx) ∈ (V ∖ {𝐷}) → (((𝑊 sSet ⟨𝐷, 𝐶⟩) ↾ (V ∖ {𝐷}))‘(𝐸‘ndx)) = ((𝑊 sSet ⟨𝐷, 𝐶⟩)‘(𝐸‘ndx)))
1311, 12ax-mp 5 . . . . 5 (((𝑊 sSet ⟨𝐷, 𝐶⟩) ↾ (V ∖ {𝐷}))‘(𝐸‘ndx)) = ((𝑊 sSet ⟨𝐷, 𝐶⟩)‘(𝐸‘ndx))
14 fvres 6912 . . . . . 6 ((𝐸‘ndx) ∈ (V ∖ {𝐷}) → ((𝑊 ↾ (V ∖ {𝐷}))‘(𝐸‘ndx)) = (𝑊‘(𝐸‘ndx)))
1511, 14ax-mp 5 . . . . 5 ((𝑊 ↾ (V ∖ {𝐷}))‘(𝐸‘ndx)) = (𝑊‘(𝐸‘ndx))
167, 13, 153eqtr3g 2821 . . . 4 (𝑊 ∈ V → ((𝑊 sSet ⟨𝐷, 𝐶⟩)‘(𝐸‘ndx)) = (𝑊‘(𝐸‘ndx)))
175, 16eqtrid 2810 . . 3 (𝑊 ∈ V → (𝐸‘(𝑊 sSet ⟨𝐷, 𝐶⟩)) = (𝑊‘(𝐸‘ndx)))
183, 17eqtr4d 2801 . 2 (𝑊 ∈ V → (𝐸‘𝑊) = (𝐸‘(𝑊 sSet ⟨𝐷, 𝐶⟩)))
191str0 17379 . . . 4 ∅ = (𝐸‘∅)
2019eqcomi 2772 . . 3 (𝐸‘∅) = ∅
21 eqid 2763 . . 3 (𝑊 sSet ⟨𝐷, 𝐶⟩) = (𝑊 sSet ⟨𝐷, 𝐶⟩)
22 reldmsets 17355 . . 3 Rel dom sSet
2320, 21, 22oveqprc 17382 . 2 (¬ 𝑊 ∈ V → (𝐸‘𝑊) = (𝐸‘(𝑊 sSet ⟨𝐷, 𝐶⟩)))
2418, 23pm2.61i 184 1 (𝐸‘𝑊) = (𝐸‘(𝑊 sSet ⟨𝐷, 𝐶⟩))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1569   ∈ wcel 2146   ≠ wne 2958  Vcvv 3453   ∖ cdif 4047  ∅c0 4280  {csn 4587  ⟨cop 4837   ↾ cres 5656  ‘cfv 6546  (class class class)co 7427   sSet csts 17353  Slot cslot 17371  ndxcnx 17383
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-sep 5251  ax-nul 5262  ax-pr 5394  ax-un 7758
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2838  df-nfc 2912  df-ne 2959  df-ral 3080  df-rex 3090  df-rab 3416  df-v 3455  df-sbc 3742  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4838  df-uni 4870  df-br 5106  df-opab 5170  df-mpt 5189  df-id 5549  df-xp 5660  df-rel 5661  df-cnv 5662  df-co 5663  df-dm 5664  df-res 5666  df-iota 6500  df-fun 6548  df-fv 6554  df-ov 7430  df-oprab 7431  df-mpo 7432  df-sets 17354  df-slot 17372
This theorem is used by:  resseqnbas  17432  oppchomfval  17900  oppcbas  17904  rescbas  18016  rescco  18019  rescabs  18020  odubas  18477  setsplusg  19576  opprlem  20584  rmodislmod  21217  sralem  21463  srasca  21467  sravsca  21468  zlmlem  21834  zlmsca  21838  znbaslem  21856  thlbas  22014  thlle  22015  opsrbaslem  22370  matbas  22740  matplusg  22741  matsca  22742  matvsca  22743  tuslem  24597  setsmsbas  24806  setsmsds  24807  tnglem  24971  tngds  24979  ttgval  29464  ttglem  29465  cchhllem  29476  setsvtx  29625  resvlem  33947  zlmds  34647  zlmtset  34648  hlhilslem  43135  mnringnmulrd  45352  cznrnglem  49495  cznabel  49496  cznrng  49497  prstcnidlem  50829  prstcnid  50830
  Copyright terms: Public domain W3C validator