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

Theorem resunimafz0 11181
Description: The union of a restriction by an image over an open range of nonnegative integers and a singleton of an ordered pair is a restriction by an image over an interval of nonnegative integers. (Contributed by Mario Carneiro, 8-Apr-2015.) (Revised by AV, 20-Feb-2021.)
Hypotheses
Ref Expression
resunimafz0.i  |-  ( ph  ->  Fun  I )
resunimafz0.f  |-  ( ph  ->  F : ( 0..^ ( `  F )
) --> dom  I )
resunimafz0.n  |-  ( ph  ->  N  e.  ( 0..^ ( `  F )
) )
Assertion
Ref Expression
resunimafz0  |-  ( ph  ->  ( I  |`  ( F " ( 0 ... N ) ) )  =  ( ( I  |`  ( F " (
0..^ N ) ) )  u.  { <. ( F `  N ) ,  ( I `  ( F `  N ) ) >. } ) )

Proof of Theorem resunimafz0
StepHypRef Expression
1 imaundi 5166 . . . . 5  |-  ( F
" ( ( 0..^ N )  u.  { N } ) )  =  ( ( F "
( 0..^ N ) )  u.  ( F
" { N }
) )
2 resunimafz0.n . . . . . . . . 9  |-  ( ph  ->  N  e.  ( 0..^ ( `  F )
) )
3 elfzonn0 10511 . . . . . . . . 9  |-  ( N  e.  ( 0..^ ( `  F ) )  ->  N  e.  NN0 )
42, 3syl 14 . . . . . . . 8  |-  ( ph  ->  N  e.  NN0 )
5 elnn0uz 9878 . . . . . . . 8  |-  ( N  e.  NN0  <->  N  e.  ( ZZ>=
`  0 ) )
64, 5sylib 122 . . . . . . 7  |-  ( ph  ->  N  e.  ( ZZ>= ` 
0 ) )
7 fzisfzounsn 10568 . . . . . . 7  |-  ( N  e.  ( ZZ>= `  0
)  ->  ( 0 ... N )  =  ( ( 0..^ N )  u.  { N } ) )
86, 7syl 14 . . . . . 6  |-  ( ph  ->  ( 0 ... N
)  =  ( ( 0..^ N )  u. 
{ N } ) )
98imaeq2d 5092 . . . . 5  |-  ( ph  ->  ( F " (
0 ... N ) )  =  ( F "
( ( 0..^ N )  u.  { N } ) ) )
10 resunimafz0.f . . . . . . . 8  |-  ( ph  ->  F : ( 0..^ ( `  F )
) --> dom  I )
1110ffnd 5500 . . . . . . 7  |-  ( ph  ->  F  Fn  ( 0..^ ( `  F )
) )
12 fnsnfv 5727 . . . . . . 7  |-  ( ( F  Fn  ( 0..^ ( `  F )
)  /\  N  e.  ( 0..^ ( `  F
) ) )  ->  { ( F `  N ) }  =  ( F " { N } ) )
1311, 2, 12syl2anc 411 . . . . . 6  |-  ( ph  ->  { ( F `  N ) }  =  ( F " { N } ) )
1413uneq2d 3372 . . . . 5  |-  ( ph  ->  ( ( F "
( 0..^ N ) )  u.  { ( F `  N ) } )  =  ( ( F " (
0..^ N ) )  u.  ( F " { N } ) ) )
151, 9, 143eqtr4a 2291 . . . 4  |-  ( ph  ->  ( F " (
0 ... N ) )  =  ( ( F
" ( 0..^ N ) )  u.  {
( F `  N
) } ) )
1615reseq2d 5029 . . 3  |-  ( ph  ->  ( I  |`  ( F " ( 0 ... N ) ) )  =  ( I  |`  ( ( F "
( 0..^ N ) )  u.  { ( F `  N ) } ) ) )
17 resundi 5042 . . 3  |-  ( I  |`  ( ( F "
( 0..^ N ) )  u.  { ( F `  N ) } ) )  =  ( ( I  |`  ( F " ( 0..^ N ) ) )  u.  ( I  |`  { ( F `  N ) } ) )
1816, 17eqtrdi 2281 . 2  |-  ( ph  ->  ( I  |`  ( F " ( 0 ... N ) ) )  =  ( ( I  |`  ( F " (
0..^ N ) ) )  u.  ( I  |`  { ( F `  N ) } ) ) )
19 resunimafz0.i . . . . 5  |-  ( ph  ->  Fun  I )
20 funfn 5373 . . . . 5  |-  ( Fun  I  <->  I  Fn  dom  I )
2119, 20sylib 122 . . . 4  |-  ( ph  ->  I  Fn  dom  I
)
2210, 2ffvelcdmd 5804 . . . 4  |-  ( ph  ->  ( F `  N
)  e.  dom  I
)
23 fnressn 5861 . . . 4  |-  ( ( I  Fn  dom  I  /\  ( F `  N
)  e.  dom  I
)  ->  ( I  |` 
{ ( F `  N ) } )  =  { <. ( F `  N ) ,  ( I `  ( F `  N ) ) >. } )
2421, 22, 23syl2anc 411 . . 3  |-  ( ph  ->  ( I  |`  { ( F `  N ) } )  =  { <. ( F `  N
) ,  ( I `
 ( F `  N ) ) >. } )
2524uneq2d 3372 . 2  |-  ( ph  ->  ( ( I  |`  ( F " ( 0..^ N ) ) )  u.  ( I  |`  { ( F `  N ) } ) )  =  ( ( I  |`  ( F " ( 0..^ N ) ) )  u.  { <. ( F `  N
) ,  ( I `
 ( F `  N ) ) >. } ) )
2618, 25eqtrd 2265 1  |-  ( ph  ->  ( I  |`  ( F " ( 0 ... N ) ) )  =  ( ( I  |`  ( F " (
0..^ N ) ) )  u.  { <. ( F `  N ) ,  ( I `  ( F `  N ) ) >. } ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    = wceq 1398    e. wcel 2203    u. cun 3208   {csn 3682   <.cop 3685   dom cdm 4740    |` cres 4742   "cima 4743   Fun wfun 5337    Fn wfn 5338   -->wf 5339   ` cfv 5343  (class class class)co 6041   0cc0 8115   NN0cn0 9484   ZZ>=cuz 9839   ...cfz 10328  ..^cfzo 10462  ♯chash 11123
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 619  ax-in2 620  ax-io 717  ax-5 1496  ax-7 1497  ax-gen 1498  ax-ie1 1542  ax-ie2 1543  ax-8 1553  ax-10 1554  ax-11 1555  ax-i12 1556  ax-bndl 1558  ax-4 1559  ax-17 1575  ax-i9 1579  ax-ial 1583  ax-i5r 1584  ax-13 2205  ax-14 2206  ax-ext 2214  ax-sep 4221  ax-pow 4279  ax-pr 4314  ax-un 4545  ax-setind 4650  ax-cnex 8206  ax-resscn 8207  ax-1cn 8208  ax-1re 8209  ax-icn 8210  ax-addcl 8211  ax-addrcl 8212  ax-mulcl 8213  ax-addcom 8215  ax-addass 8217  ax-distr 8219  ax-i2m1 8220  ax-0lt1 8221  ax-0id 8223  ax-rnegex 8224  ax-cnre 8226  ax-pre-ltirr 8227  ax-pre-ltwlin 8228  ax-pre-lttrn 8229  ax-pre-apti 8230  ax-pre-ltadd 8231
This theorem depends on definitions:  df-bi 117  df-3or 1006  df-3an 1007  df-tru 1401  df-fal 1404  df-nf 1510  df-sb 1812  df-eu 2083  df-mo 2084  df-clab 2219  df-cleq 2225  df-clel 2228  df-nfc 2373  df-ne 2413  df-nel 2508  df-ral 2525  df-rex 2526  df-reu 2527  df-rab 2529  df-v 2814  df-sbc 3042  df-csb 3138  df-dif 3212  df-un 3214  df-in 3216  df-ss 3223  df-pw 3667  df-sn 3688  df-pr 3689  df-op 3691  df-uni 3908  df-int 3943  df-iun 3986  df-br 4103  df-opab 4165  df-mpt 4166  df-id 4405  df-xp 4746  df-rel 4747  df-cnv 4748  df-co 4749  df-dm 4750  df-rn 4751  df-res 4752  df-ima 4753  df-iota 5303  df-fun 5345  df-fn 5346  df-f 5347  df-f1 5348  df-fo 5349  df-f1o 5350  df-fv 5351  df-riota 5994  df-ov 6044  df-oprab 6045  df-mpo 6046  df-1st 6325  df-2nd 6326  df-pnf 8298  df-mnf 8299  df-xr 8300  df-ltxr 8301  df-le 8302  df-sub 8434  df-neg 8435  df-inn 9226  df-n0 9485  df-z 9564  df-uz 9840  df-fz 10329  df-fzo 10463
This theorem is referenced by:  trlsegvdegfi  16432
  Copyright terms: Public domain W3C validator