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

Theorem suprzclex 9289
Description: The supremum of a set of integers is an element of the set. (Contributed by Jim Kingdon, 20-Dec-2021.)
Hypotheses
Ref Expression
suprzclex.ex  |-  ( ph  ->  E. x  e.  RR  ( A. y  e.  A  -.  x  <  y  /\  A. y  e.  RR  (
y  <  x  ->  E. z  e.  A  y  <  z ) ) )
suprzclex.ss  |-  ( ph  ->  A  C_  ZZ )
Assertion
Ref Expression
suprzclex  |-  ( ph  ->  sup ( A ,  RR ,  <  )  e.  A )
Distinct variable groups:    x, A, y, z    ph, x, z
Allowed substitution hint:    ph( y)

Proof of Theorem suprzclex
Dummy variables  w  f  g are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 lttri3 7978 . . . . . 6  |-  ( ( f  e.  RR  /\  g  e.  RR )  ->  ( f  =  g  <-> 
( -.  f  < 
g  /\  -.  g  <  f ) ) )
21adantl 275 . . . . 5  |-  ( (
ph  /\  ( f  e.  RR  /\  g  e.  RR ) )  -> 
( f  =  g  <-> 
( -.  f  < 
g  /\  -.  g  <  f ) ) )
3 suprzclex.ex . . . . 5  |-  ( ph  ->  E. x  e.  RR  ( A. y  e.  A  -.  x  <  y  /\  A. y  e.  RR  (
y  <  x  ->  E. z  e.  A  y  <  z ) ) )
42, 3supclti 6963 . . . 4  |-  ( ph  ->  sup ( A ,  RR ,  <  )  e.  RR )
54ltm1d 8827 . . 3  |-  ( ph  ->  ( sup ( A ,  RR ,  <  )  -  1 )  <  sup ( A ,  RR ,  <  ) )
6 suprzclex.ss . . . . 5  |-  ( ph  ->  A  C_  ZZ )
7 zssre 9198 . . . . 5  |-  ZZ  C_  RR
86, 7sstrdi 3154 . . . 4  |-  ( ph  ->  A  C_  RR )
9 peano2rem 8165 . . . . 5  |-  ( sup ( A ,  RR ,  <  )  e.  RR  ->  ( sup ( A ,  RR ,  <  )  -  1 )  e.  RR )
104, 9syl 14 . . . 4  |-  ( ph  ->  ( sup ( A ,  RR ,  <  )  -  1 )  e.  RR )
113, 8, 10suprlubex 8847 . . 3  |-  ( ph  ->  ( ( sup ( A ,  RR ,  <  )  -  1 )  <  sup ( A ,  RR ,  <  )  <->  E. z  e.  A  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )
125, 11mpbid 146 . 2  |-  ( ph  ->  E. z  e.  A  ( sup ( A ,  RR ,  <  )  - 
1 )  <  z
)
136adantr 274 . . . . . . . . . 10  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  A  C_  ZZ )
1413sselda 3142 . . . . . . . . 9  |-  ( ( ( ph  /\  (
z  e.  A  /\  ( sup ( A ,  RR ,  <  )  - 
1 )  <  z
) )  /\  w  e.  A )  ->  w  e.  ZZ )
157, 14sselid 3140 . . . . . . . 8  |-  ( ( ( ph  /\  (
z  e.  A  /\  ( sup ( A ,  RR ,  <  )  - 
1 )  <  z
) )  /\  w  e.  A )  ->  w  e.  RR )
164adantr 274 . . . . . . . . 9  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  sup ( A ,  RR ,  <  )  e.  RR )
1716adantr 274 . . . . . . . 8  |-  ( ( ( ph  /\  (
z  e.  A  /\  ( sup ( A ,  RR ,  <  )  - 
1 )  <  z
) )  /\  w  e.  A )  ->  sup ( A ,  RR ,  <  )  e.  RR )
18 simprl 521 . . . . . . . . . . . 12  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  z  e.  A )
1913, 18sseldd 3143 . . . . . . . . . . 11  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  z  e.  ZZ )
20 zre 9195 . . . . . . . . . . 11  |-  ( z  e.  ZZ  ->  z  e.  RR )
2119, 20syl 14 . . . . . . . . . 10  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  z  e.  RR )
22 peano2re 8034 . . . . . . . . . 10  |-  ( z  e.  RR  ->  (
z  +  1 )  e.  RR )
2321, 22syl 14 . . . . . . . . 9  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  ( z  +  1 )  e.  RR )
2423adantr 274 . . . . . . . 8  |-  ( ( ( ph  /\  (
z  e.  A  /\  ( sup ( A ,  RR ,  <  )  - 
1 )  <  z
) )  /\  w  e.  A )  ->  (
z  +  1 )  e.  RR )
253ad2antrr 480 . . . . . . . . 9  |-  ( ( ( ph  /\  (
z  e.  A  /\  ( sup ( A ,  RR ,  <  )  - 
1 )  <  z
) )  /\  w  e.  A )  ->  E. x  e.  RR  ( A. y  e.  A  -.  x  <  y  /\  A. y  e.  RR  ( y  < 
x  ->  E. z  e.  A  y  <  z ) ) )
268ad2antrr 480 . . . . . . . . 9  |-  ( ( ( ph  /\  (
z  e.  A  /\  ( sup ( A ,  RR ,  <  )  - 
1 )  <  z
) )  /\  w  e.  A )  ->  A  C_  RR )
27 simpr 109 . . . . . . . . 9  |-  ( ( ( ph  /\  (
z  e.  A  /\  ( sup ( A ,  RR ,  <  )  - 
1 )  <  z
) )  /\  w  e.  A )  ->  w  e.  A )
2825, 26, 27suprubex 8846 . . . . . . . 8  |-  ( ( ( ph  /\  (
z  e.  A  /\  ( sup ( A ,  RR ,  <  )  - 
1 )  <  z
) )  /\  w  e.  A )  ->  w  <_  sup ( A ,  RR ,  <  ) )
29 simprr 522 . . . . . . . . . 10  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  ( sup ( A ,  RR ,  <  )  -  1 )  <  z )
30 1red 7914 . . . . . . . . . . 11  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  1  e.  RR )
3116, 30, 21ltsubaddd 8439 . . . . . . . . . 10  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  ( ( sup ( A ,  RR ,  <  )  -  1 )  <  z  <->  sup ( A ,  RR ,  <  )  <  ( z  +  1 ) ) )
3229, 31mpbid 146 . . . . . . . . 9  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  sup ( A ,  RR ,  <  )  <  ( z  +  1 ) )
3332adantr 274 . . . . . . . 8  |-  ( ( ( ph  /\  (
z  e.  A  /\  ( sup ( A ,  RR ,  <  )  - 
1 )  <  z
) )  /\  w  e.  A )  ->  sup ( A ,  RR ,  <  )  <  ( z  +  1 ) )
3415, 17, 24, 28, 33lelttrd 8023 . . . . . . 7  |-  ( ( ( ph  /\  (
z  e.  A  /\  ( sup ( A ,  RR ,  <  )  - 
1 )  <  z
) )  /\  w  e.  A )  ->  w  <  ( z  +  1 ) )
3519adantr 274 . . . . . . . 8  |-  ( ( ( ph  /\  (
z  e.  A  /\  ( sup ( A ,  RR ,  <  )  - 
1 )  <  z
) )  /\  w  e.  A )  ->  z  e.  ZZ )
36 zleltp1 9246 . . . . . . . 8  |-  ( ( w  e.  ZZ  /\  z  e.  ZZ )  ->  ( w  <_  z  <->  w  <  ( z  +  1 ) ) )
3714, 35, 36syl2anc 409 . . . . . . 7  |-  ( ( ( ph  /\  (
z  e.  A  /\  ( sup ( A ,  RR ,  <  )  - 
1 )  <  z
) )  /\  w  e.  A )  ->  (
w  <_  z  <->  w  <  ( z  +  1 ) ) )
3834, 37mpbird 166 . . . . . 6  |-  ( ( ( ph  /\  (
z  e.  A  /\  ( sup ( A ,  RR ,  <  )  - 
1 )  <  z
) )  /\  w  e.  A )  ->  w  <_  z )
3938ralrimiva 2539 . . . . 5  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  A. w  e.  A  w  <_  z )
40 breq2 3986 . . . . . . . . . . . . 13  |-  ( z  =  w  ->  (
y  <  z  <->  y  <  w ) )
4140cbvrexv 2693 . . . . . . . . . . . 12  |-  ( E. z  e.  A  y  <  z  <->  E. w  e.  A  y  <  w )
4241imbi2i 225 . . . . . . . . . . 11  |-  ( ( y  <  x  ->  E. z  e.  A  y  <  z )  <->  ( y  <  x  ->  E. w  e.  A  y  <  w ) )
4342ralbii 2472 . . . . . . . . . 10  |-  ( A. y  e.  RR  (
y  <  x  ->  E. z  e.  A  y  <  z )  <->  A. y  e.  RR  ( y  < 
x  ->  E. w  e.  A  y  <  w ) )
4443anbi2i 453 . . . . . . . . 9  |-  ( ( A. y  e.  A  -.  x  <  y  /\  A. y  e.  RR  (
y  <  x  ->  E. z  e.  A  y  <  z ) )  <-> 
( A. y  e.  A  -.  x  < 
y  /\  A. y  e.  RR  ( y  < 
x  ->  E. w  e.  A  y  <  w ) ) )
4544rexbii 2473 . . . . . . . 8  |-  ( E. x  e.  RR  ( A. y  e.  A  -.  x  <  y  /\  A. y  e.  RR  (
y  <  x  ->  E. z  e.  A  y  <  z ) )  <->  E. x  e.  RR  ( A. y  e.  A  -.  x  <  y  /\  A. y  e.  RR  (
y  <  x  ->  E. w  e.  A  y  <  w ) ) )
463, 45sylib 121 . . . . . . 7  |-  ( ph  ->  E. x  e.  RR  ( A. y  e.  A  -.  x  <  y  /\  A. y  e.  RR  (
y  <  x  ->  E. w  e.  A  y  <  w ) ) )
4746adantr 274 . . . . . 6  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  E. x  e.  RR  ( A. y  e.  A  -.  x  <  y  /\  A. y  e.  RR  ( y  < 
x  ->  E. w  e.  A  y  <  w ) ) )
4813, 7sstrdi 3154 . . . . . 6  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  A  C_  RR )
4947, 48, 21suprleubex 8849 . . . . 5  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  ( sup ( A ,  RR ,  <  )  <_  z  <->  A. w  e.  A  w  <_  z ) )
5039, 49mpbird 166 . . . 4  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  sup ( A ,  RR ,  <  )  <_  z )
5147, 48, 18suprubex 8846 . . . 4  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  z  <_  sup ( A ,  RR ,  <  ) )
5216, 21letri3d 8014 . . . 4  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  ( sup ( A ,  RR ,  <  )  =  z  <->  ( sup ( A ,  RR ,  <  )  <_  z  /\  z  <_  sup ( A ,  RR ,  <  ) ) ) )
5350, 51, 52mpbir2and 934 . . 3  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  sup ( A ,  RR ,  <  )  =  z )
5453, 18eqeltrd 2243 . 2  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  sup ( A ,  RR ,  <  )  e.  A )
5512, 54rexlimddv 2588 1  |-  ( ph  ->  sup ( A ,  RR ,  <  )  e.  A )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 103    <-> wb 104    = wceq 1343    e. wcel 2136   A.wral 2444   E.wrex 2445    C_ wss 3116   class class class wbr 3982  (class class class)co 5842   supcsup 6947   RRcr 7752   1c1 7754    + caddc 7756    < clt 7933    <_ cle 7934    - cmin 8069   ZZcz 9191
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 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-pow 4153  ax-pr 4187  ax-un 4411  ax-setind 4514  ax-cnex 7844  ax-resscn 7845  ax-1cn 7846  ax-1re 7847  ax-icn 7848  ax-addcl 7849  ax-addrcl 7850  ax-mulcl 7851  ax-addcom 7853  ax-addass 7855  ax-distr 7857  ax-i2m1 7858  ax-0lt1 7859  ax-0id 7861  ax-rnegex 7862  ax-cnre 7864  ax-pre-ltirr 7865  ax-pre-ltwlin 7866  ax-pre-lttrn 7867  ax-pre-apti 7868  ax-pre-ltadd 7869
This theorem depends on definitions:  df-bi 116  df-3or 969  df-3an 970  df-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ne 2337  df-nel 2432  df-ral 2449  df-rex 2450  df-reu 2451  df-rmo 2452  df-rab 2453  df-v 2728  df-sbc 2952  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-int 3825  df-br 3983  df-opab 4044  df-id 4271  df-po 4274  df-iso 4275  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-iota 5153  df-fun 5190  df-fv 5196  df-riota 5798  df-ov 5845  df-oprab 5846  df-mpo 5847  df-sup 6949  df-pnf 7935  df-mnf 7936  df-xr 7937  df-ltxr 7938  df-le 7939  df-sub 8071  df-neg 8072  df-inn 8858  df-n0 9115  df-z 9192
This theorem is referenced by:  infssuzcldc  11884  gcddvds  11896
  Copyright terms: Public domain W3C validator