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

Theorem setsidvald 16900
Description: Value of the structure replacement function, deduction version.

Hint: Do not substitute 𝑁 by a specific (positive) integer to be independent of a hard-coded index value. Often, (𝐸‘ndx) can be used instead of 𝑁. (Contributed by AV, 14-Mar-2020.) (Revised by AV, 17-Oct-2024.)

Hypotheses
Ref Expression
setsidvald.e 𝐸 = Slot 𝑁
setsidvald.s (𝜑𝑆𝑉)
setsidvald.f (𝜑 → Fun 𝑆)
setsidvald.d (𝜑𝑁 ∈ dom 𝑆)
Assertion
Ref Expression
setsidvald (𝜑𝑆 = (𝑆 sSet ⟨𝑁, (𝐸𝑆)⟩))

Proof of Theorem setsidvald
StepHypRef Expression
1 setsidvald.s . . 3 (𝜑𝑆𝑉)
2 fvex 6787 . . 3 (𝐸𝑆) ∈ V
3 setsval 16868 . . 3 ((𝑆𝑉 ∧ (𝐸𝑆) ∈ V) → (𝑆 sSet ⟨𝑁, (𝐸𝑆)⟩) = ((𝑆 ↾ (V ∖ {𝑁})) ∪ {⟨𝑁, (𝐸𝑆)⟩}))
41, 2, 3sylancl 586 . 2 (𝜑 → (𝑆 sSet ⟨𝑁, (𝐸𝑆)⟩) = ((𝑆 ↾ (V ∖ {𝑁})) ∪ {⟨𝑁, (𝐸𝑆)⟩}))
5 setsidvald.e . . . . . 6 𝐸 = Slot 𝑁
65, 1strfvnd 16886 . . . . 5 (𝜑 → (𝐸𝑆) = (𝑆𝑁))
76opeq2d 4811 . . . 4 (𝜑 → ⟨𝑁, (𝐸𝑆)⟩ = ⟨𝑁, (𝑆𝑁)⟩)
87sneqd 4573 . . 3 (𝜑 → {⟨𝑁, (𝐸𝑆)⟩} = {⟨𝑁, (𝑆𝑁)⟩})
98uneq2d 4097 . 2 (𝜑 → ((𝑆 ↾ (V ∖ {𝑁})) ∪ {⟨𝑁, (𝐸𝑆)⟩}) = ((𝑆 ↾ (V ∖ {𝑁})) ∪ {⟨𝑁, (𝑆𝑁)⟩}))
10 setsidvald.f . . 3 (𝜑 → Fun 𝑆)
11 setsidvald.d . . 3 (𝜑𝑁 ∈ dom 𝑆)
12 funresdfunsn 7061 . . 3 ((Fun 𝑆𝑁 ∈ dom 𝑆) → ((𝑆 ↾ (V ∖ {𝑁})) ∪ {⟨𝑁, (𝑆𝑁)⟩}) = 𝑆)
1310, 11, 12syl2anc 584 . 2 (𝜑 → ((𝑆 ↾ (V ∖ {𝑁})) ∪ {⟨𝑁, (𝑆𝑁)⟩}) = 𝑆)
144, 9, 133eqtrrd 2783 1 (𝜑𝑆 = (𝑆 sSet ⟨𝑁, (𝐸𝑆)⟩))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1539  wcel 2106  Vcvv 3432  cdif 3884  cun 3885  {csn 4561  cop 4567  dom cdm 5589  cres 5591  Fun wfun 6427  cfv 6433  (class class class)co 7275   sSet csts 16864  Slot cslot 16882
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  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 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-sets 16865  df-slot 16883
This theorem is referenced by:  ressval3d  16956
  Copyright terms: Public domain W3C validator