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

Theorem strsetsid 12364
Description: Value of the structure replacement function. (Contributed by AV, 14-Mar-2020.) (Revised by Jim Kingdon, 30-Jan-2023.)
Hypotheses
Ref Expression
strsetsid.e  |-  E  = Slot  ( E `  ndx )
strsetsid.s  |-  ( ph  ->  S Struct  <. M ,  N >. )
strsetsid.f  |-  ( ph  ->  Fun  S )
strsetsid.d  |-  ( ph  ->  ( E `  ndx )  e.  dom  S )
Assertion
Ref Expression
strsetsid  |-  ( ph  ->  S  =  ( S sSet  <. ( E `  ndx ) ,  ( E `  S ) >. )
)

Proof of Theorem strsetsid
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 strsetsid.s . . . 4  |-  ( ph  ->  S Struct  <. M ,  N >. )
2 structex 12343 . . . 4  |-  ( S Struct  <. M ,  N >.  ->  S  e.  _V )
31, 2syl 14 . . 3  |-  ( ph  ->  S  e.  _V )
4 strsetsid.d . . 3  |-  ( ph  ->  ( E `  ndx )  e.  dom  S )
5 strsetsid.e . . . . 5  |-  E  = Slot  ( E `  ndx )
6 isstructim 12345 . . . . . . . . 9  |-  ( S Struct  <. M ,  N >.  -> 
( ( M  e.  NN  /\  N  e.  NN  /\  M  <_  N )  /\  Fun  ( S  \  { (/) } )  /\  dom  S  C_  ( M ... N
) ) )
71, 6syl 14 . . . . . . . 8  |-  ( ph  ->  ( ( M  e.  NN  /\  N  e.  NN  /\  M  <_  N )  /\  Fun  ( S  \  { (/) } )  /\  dom  S  C_  ( M ... N
) ) )
87simp3d 1000 . . . . . . 7  |-  ( ph  ->  dom  S  C_  ( M ... N ) )
97simp1d 998 . . . . . . . . 9  |-  ( ph  ->  ( M  e.  NN  /\  N  e.  NN  /\  M  <_  N ) )
109simp1d 998 . . . . . . . 8  |-  ( ph  ->  M  e.  NN )
11 fzssnn 9993 . . . . . . . 8  |-  ( M  e.  NN  ->  ( M ... N )  C_  NN )
1210, 11syl 14 . . . . . . 7  |-  ( ph  ->  ( M ... N
)  C_  NN )
138, 12sstrd 3147 . . . . . 6  |-  ( ph  ->  dom  S  C_  NN )
1413, 4sseldd 3138 . . . . 5  |-  ( ph  ->  ( E `  ndx )  e.  NN )
155, 3, 14strnfvnd 12351 . . . 4  |-  ( ph  ->  ( E `  S
)  =  ( S `
 ( E `  ndx ) ) )
16 strsetsid.f . . . . 5  |-  ( ph  ->  Fun  S )
17 funfvex 5497 . . . . 5  |-  ( ( Fun  S  /\  ( E `  ndx )  e. 
dom  S )  -> 
( S `  ( E `  ndx ) )  e.  _V )
1816, 4, 17syl2anc 409 . . . 4  |-  ( ph  ->  ( S `  ( E `  ndx ) )  e.  _V )
1915, 18eqeltrd 2241 . . 3  |-  ( ph  ->  ( E `  S
)  e.  _V )
20 setsvala 12362 . . 3  |-  ( ( S  e.  _V  /\  ( E `  ndx )  e.  dom  S  /\  ( E `  S )  e.  _V )  ->  ( S sSet  <. ( E `  ndx ) ,  ( E `
 S ) >.
)  =  ( ( S  |`  ( _V  \  { ( E `  ndx ) } ) )  u.  { <. ( E `  ndx ) ,  ( E `  S
) >. } ) )
213, 4, 19, 20syl3anc 1227 . 2  |-  ( ph  ->  ( S sSet  <. ( E `  ndx ) ,  ( E `  S
) >. )  =  ( ( S  |`  ( _V  \  { ( E `
 ndx ) } ) )  u.  { <. ( E `  ndx ) ,  ( E `  S ) >. } ) )
2215opeq2d 3759 . . . 4  |-  ( ph  -> 
<. ( E `  ndx ) ,  ( E `  S ) >.  =  <. ( E `  ndx ) ,  ( S `  ( E `  ndx )
) >. )
2322sneqd 3583 . . 3  |-  ( ph  ->  { <. ( E `  ndx ) ,  ( E `
 S ) >. }  =  { <. ( E `  ndx ) ,  ( S `  ( E `  ndx ) )
>. } )
2423uneq2d 3271 . 2  |-  ( ph  ->  ( ( S  |`  ( _V  \  { ( E `  ndx ) } ) )  u. 
{ <. ( E `  ndx ) ,  ( E `
 S ) >. } )  =  ( ( S  |`  ( _V  \  { ( E `
 ndx ) } ) )  u.  { <. ( E `  ndx ) ,  ( S `  ( E `  ndx ) ) >. } ) )
25 nnssz 9199 . . . . 5  |-  NN  C_  ZZ
2613, 25sstrdi 3149 . . . 4  |-  ( ph  ->  dom  S  C_  ZZ )
27 zdceq 9257 . . . . 5  |-  ( ( x  e.  ZZ  /\  y  e.  ZZ )  -> DECID  x  =  y )
2827rgen2a 2518 . . . 4  |-  A. x  e.  ZZ  A. y  e.  ZZ DECID  x  =  y
29 ssralv 3201 . . . . . 6  |-  ( dom 
S  C_  ZZ  ->  ( A. y  e.  ZZ DECID  x  =  y  ->  A. y  e.  dom  SDECID  x  =  y ) )
3029ralimdv 2532 . . . . 5  |-  ( dom 
S  C_  ZZ  ->  ( A. x  e.  ZZ  A. y  e.  ZZ DECID  x  =  y  ->  A. x  e.  ZZ  A. y  e.  dom  SDECID  x  =  y ) )
31 ssralv 3201 . . . . 5  |-  ( dom 
S  C_  ZZ  ->  ( A. x  e.  ZZ  A. y  e.  dom  SDECID  x  =  y  ->  A. x  e.  dom  S A. y  e.  dom  SDECID  x  =  y ) )
3230, 31syld 45 . . . 4  |-  ( dom 
S  C_  ZZ  ->  ( A. x  e.  ZZ  A. y  e.  ZZ DECID  x  =  y  ->  A. x  e.  dom  S A. y  e.  dom  SDECID  x  =  y ) )
3326, 28, 32mpisyl 1433 . . 3  |-  ( ph  ->  A. x  e.  dom  S A. y  e.  dom  SDECID  x  =  y )
34 funresdfunsndc 6465 . . 3  |-  ( ( A. x  e.  dom  S A. y  e.  dom  SDECID  x  =  y  /\  Fun  S  /\  ( E `  ndx )  e.  dom  S )  ->  ( ( S  |`  ( _V  \  { ( E `  ndx ) } ) )  u.  { <. ( E `  ndx ) ,  ( S `  ( E `  ndx ) )
>. } )  =  S )
3533, 16, 4, 34syl3anc 1227 . 2  |-  ( ph  ->  ( ( S  |`  ( _V  \  { ( E `  ndx ) } ) )  u. 
{ <. ( E `  ndx ) ,  ( S `
 ( E `  ndx ) ) >. } )  =  S )
3621, 24, 353eqtrrd 2202 1  |-  ( ph  ->  S  =  ( S sSet  <. ( E `  ndx ) ,  ( E `  S ) >. )
)
Colors of variables: wff set class
Syntax hints:    -> wi 4  DECID wdc 824    /\ w3a 967    = wceq 1342    e. wcel 2135   A.wral 2442   _Vcvv 2721    \ cdif 3108    u. cun 3109    C_ wss 3111   (/)c0 3404   {csn 3570   <.cop 3573   class class class wbr 3976   dom cdm 4598    |` cres 4600   Fun wfun 5176   ` cfv 5182  (class class class)co 5836    <_ cle 7925   NNcn 8848   ZZcz 9182   ...cfz 9935   Struct cstr 12327   ndxcnx 12328   sSet csts 12329  Slot cslot 12330
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1434  ax-7 1435  ax-gen 1436  ax-ie1 1480  ax-ie2 1481  ax-8 1491  ax-10 1492  ax-11 1493  ax-i12 1494  ax-bndl 1496  ax-4 1497  ax-17 1513  ax-i9 1517  ax-ial 1521  ax-i5r 1522  ax-13 2137  ax-14 2138  ax-ext 2146  ax-sep 4094  ax-pow 4147  ax-pr 4181  ax-un 4405  ax-setind 4508  ax-cnex 7835  ax-resscn 7836  ax-1cn 7837  ax-1re 7838  ax-icn 7839  ax-addcl 7840  ax-addrcl 7841  ax-mulcl 7842  ax-addcom 7844  ax-addass 7846  ax-distr 7848  ax-i2m1 7849  ax-0lt1 7850  ax-0id 7852  ax-rnegex 7853  ax-cnre 7855  ax-pre-ltirr 7856  ax-pre-ltwlin 7857  ax-pre-lttrn 7858  ax-pre-ltadd 7860
This theorem depends on definitions:  df-bi 116  df-dc 825  df-3or 968  df-3an 969  df-tru 1345  df-fal 1348  df-nf 1448  df-sb 1750  df-eu 2016  df-mo 2017  df-clab 2151  df-cleq 2157  df-clel 2160  df-nfc 2295  df-ne 2335  df-nel 2430  df-ral 2447  df-rex 2448  df-reu 2449  df-rab 2451  df-v 2723  df-sbc 2947  df-dif 3113  df-un 3115  df-in 3117  df-ss 3124  df-pw 3555  df-sn 3576  df-pr 3577  df-op 3579  df-uni 3784  df-int 3819  df-br 3977  df-opab 4038  df-mpt 4039  df-id 4265  df-xp 4604  df-rel 4605  df-cnv 4606  df-co 4607  df-dm 4608  df-rn 4609  df-res 4610  df-ima 4611  df-iota 5147  df-fun 5184  df-fn 5185  df-f 5186  df-f1 5187  df-fo 5188  df-f1o 5189  df-fv 5190  df-riota 5792  df-ov 5839  df-oprab 5840  df-mpo 5841  df-pnf 7926  df-mnf 7927  df-xr 7928  df-ltxr 7929  df-le 7930  df-sub 8062  df-neg 8063  df-inn 8849  df-n0 9106  df-z 9183  df-uz 9458  df-fz 9936  df-struct 12333  df-slot 12335  df-sets 12338
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator