ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  setsslnid GIF version

Theorem setsslnid 12928
Description: Value of the structure replacement function at an untouched index. (Contributed by Mario Carneiro, 1-Dec-2014.) (Revised by Jim Kingdon, 24-Jan-2023.)
Hypotheses
Ref Expression
setsslid.e (𝐸 = Slot (𝐸‘ndx) ∧ (𝐸‘ndx) ∈ ℕ)
setsslnid.n (𝐸‘ndx) ≠ 𝐷
setsslnid.d 𝐷 ∈ ℕ
Assertion
Ref Expression
setsslnid ((𝑊𝐴𝐶𝑉) → (𝐸𝑊) = (𝐸‘(𝑊 sSet ⟨𝐷, 𝐶⟩)))

Proof of Theorem setsslnid
StepHypRef Expression
1 setsslnid.d . . . . 5 𝐷 ∈ ℕ
2 setsresg 12914 . . . . 5 ((𝑊𝐴𝐷 ∈ ℕ ∧ 𝐶𝑉) → ((𝑊 sSet ⟨𝐷, 𝐶⟩) ↾ (V ∖ {𝐷})) = (𝑊 ↾ (V ∖ {𝐷})))
31, 2mp3an2 1338 . . . 4 ((𝑊𝐴𝐶𝑉) → ((𝑊 sSet ⟨𝐷, 𝐶⟩) ↾ (V ∖ {𝐷})) = (𝑊 ↾ (V ∖ {𝐷})))
43fveq1d 5585 . . 3 ((𝑊𝐴𝐶𝑉) → (((𝑊 sSet ⟨𝐷, 𝐶⟩) ↾ (V ∖ {𝐷}))‘(𝐸‘ndx)) = ((𝑊 ↾ (V ∖ {𝐷}))‘(𝐸‘ndx)))
5 setsslid.e . . . . . . 7 (𝐸 = Slot (𝐸‘ndx) ∧ (𝐸‘ndx) ∈ ℕ)
65simpri 113 . . . . . 6 (𝐸‘ndx) ∈ ℕ
76elexi 2785 . . . . 5 (𝐸‘ndx) ∈ V
8 setsslnid.n . . . . 5 (𝐸‘ndx) ≠ 𝐷
9 eldifsn 3762 . . . . 5 ((𝐸‘ndx) ∈ (V ∖ {𝐷}) ↔ ((𝐸‘ndx) ∈ V ∧ (𝐸‘ndx) ≠ 𝐷))
107, 8, 9mpbir2an 945 . . . 4 (𝐸‘ndx) ∈ (V ∖ {𝐷})
11 fvres 5607 . . . 4 ((𝐸‘ndx) ∈ (V ∖ {𝐷}) → (((𝑊 sSet ⟨𝐷, 𝐶⟩) ↾ (V ∖ {𝐷}))‘(𝐸‘ndx)) = ((𝑊 sSet ⟨𝐷, 𝐶⟩)‘(𝐸‘ndx)))
1210, 11ax-mp 5 . . 3 (((𝑊 sSet ⟨𝐷, 𝐶⟩) ↾ (V ∖ {𝐷}))‘(𝐸‘ndx)) = ((𝑊 sSet ⟨𝐷, 𝐶⟩)‘(𝐸‘ndx))
13 fvres 5607 . . . 4 ((𝐸‘ndx) ∈ (V ∖ {𝐷}) → ((𝑊 ↾ (V ∖ {𝐷}))‘(𝐸‘ndx)) = (𝑊‘(𝐸‘ndx)))
1410, 13ax-mp 5 . . 3 ((𝑊 ↾ (V ∖ {𝐷}))‘(𝐸‘ndx)) = (𝑊‘(𝐸‘ndx))
154, 12, 143eqtr3g 2262 . 2 ((𝑊𝐴𝐶𝑉) → ((𝑊 sSet ⟨𝐷, 𝐶⟩)‘(𝐸‘ndx)) = (𝑊‘(𝐸‘ndx)))
165simpli 111 . . 3 𝐸 = Slot (𝐸‘ndx)
17 setsex 12908 . . . 4 ((𝑊𝐴𝐷 ∈ ℕ ∧ 𝐶𝑉) → (𝑊 sSet ⟨𝐷, 𝐶⟩) ∈ V)
181, 17mp3an2 1338 . . 3 ((𝑊𝐴𝐶𝑉) → (𝑊 sSet ⟨𝐷, 𝐶⟩) ∈ V)
196a1i 9 . . 3 ((𝑊𝐴𝐶𝑉) → (𝐸‘ndx) ∈ ℕ)
2016, 18, 19strnfvnd 12896 . 2 ((𝑊𝐴𝐶𝑉) → (𝐸‘(𝑊 sSet ⟨𝐷, 𝐶⟩)) = ((𝑊 sSet ⟨𝐷, 𝐶⟩)‘(𝐸‘ndx)))
21 simpl 109 . . 3 ((𝑊𝐴𝐶𝑉) → 𝑊𝐴)
2216, 21, 19strnfvnd 12896 . 2 ((𝑊𝐴𝐶𝑉) → (𝐸𝑊) = (𝑊‘(𝐸‘ndx)))
2315, 20, 223eqtr4rd 2250 1 ((𝑊𝐴𝐶𝑉) → (𝐸𝑊) = (𝐸‘(𝑊 sSet ⟨𝐷, 𝐶⟩)))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104   = wceq 1373  wcel 2177  wne 2377  Vcvv 2773  cdif 3164  {csn 3634  cop 3637  cres 4681  cfv 5276  (class class class)co 5951  cn 9043  ndxcnx 12873   sSet csts 12874  Slot cslot 12875
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 615  ax-in2 616  ax-io 711  ax-5 1471  ax-7 1472  ax-gen 1473  ax-ie1 1517  ax-ie2 1518  ax-8 1528  ax-10 1529  ax-11 1530  ax-i12 1531  ax-bndl 1533  ax-4 1534  ax-17 1550  ax-i9 1554  ax-ial 1558  ax-i5r 1559  ax-13 2179  ax-14 2180  ax-ext 2188  ax-sep 4166  ax-pow 4222  ax-pr 4257  ax-un 4484  ax-setind 4589
This theorem depends on definitions:  df-bi 117  df-3an 983  df-tru 1376  df-fal 1379  df-nf 1485  df-sb 1787  df-eu 2058  df-mo 2059  df-clab 2193  df-cleq 2199  df-clel 2202  df-nfc 2338  df-ne 2378  df-ral 2490  df-rex 2491  df-rab 2494  df-v 2775  df-sbc 3000  df-dif 3169  df-un 3171  df-in 3173  df-ss 3180  df-nul 3462  df-pw 3619  df-sn 3640  df-pr 3641  df-op 3643  df-uni 3853  df-br 4048  df-opab 4110  df-mpt 4111  df-id 4344  df-xp 4685  df-rel 4686  df-cnv 4687  df-co 4688  df-dm 4689  df-rn 4690  df-res 4691  df-iota 5237  df-fun 5278  df-fv 5284  df-ov 5954  df-oprab 5955  df-mpo 5956  df-slot 12880  df-sets 12883
This theorem is referenced by:  resseqnbasd  12949  mgpbasg  13732  mgpscag  13733  mgptsetg  13734  mgpdsg  13736  opprsllem  13880  rmodislmod  14157  sralemg  14244  srascag  14248  sravscag  14249  zlmlemg  14434  zlmsca  14438  znbaslemnn  14445  setsmsbasg  14995  setsmsdsg  14996
  Copyright terms: Public domain W3C validator