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

Theorem suprzclex 9142
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 7837 . . . . . 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 6878 . . . 4  |-  ( ph  ->  sup ( A ,  RR ,  <  )  e.  RR )
54ltm1d 8683 . . 3  |-  ( ph  ->  ( sup ( A ,  RR ,  <  )  -  1 )  <  sup ( A ,  RR ,  <  ) )
6 suprzclex.ss . . . . 5  |-  ( ph  ->  A  C_  ZZ )
7 zssre 9054 . . . . 5  |-  ZZ  C_  RR
86, 7sstrdi 3104 . . . 4  |-  ( ph  ->  A  C_  RR )
9 peano2rem 8022 . . . . 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 8703 . . 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 3092 . . . . . . . . 9  |-  ( ( ( ph  /\  (
z  e.  A  /\  ( sup ( A ,  RR ,  <  )  - 
1 )  <  z
) )  /\  w  e.  A )  ->  w  e.  ZZ )
157, 14sseldi 3090 . . . . . . . 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 520 . . . . . . . . . . . 12  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  z  e.  A )
1913, 18sseldd 3093 . . . . . . . . . . 11  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  z  e.  ZZ )
20 zre 9051 . . . . . . . . . . 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 7891 . . . . . . . . . 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 479 . . . . . . . . 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 479 . . . . . . . . 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 8702 . . . . . . . 8  |-  ( ( ( ph  /\  (
z  e.  A  /\  ( sup ( A ,  RR ,  <  )  - 
1 )  <  z
) )  /\  w  e.  A )  ->  w  <_  sup ( A ,  RR ,  <  ) )
29 simprr 521 . . . . . . . . . 10  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  ( sup ( A ,  RR ,  <  )  -  1 )  <  z )
30 1red 7774 . . . . . . . . . . 11  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  1  e.  RR )
3116, 30, 21ltsubaddd 8296 . . . . . . . . . 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 7880 . . . . . . 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 9102 . . . . . . . 8  |-  ( ( w  e.  ZZ  /\  z  e.  ZZ )  ->  ( w  <_  z  <->  w  <  ( z  +  1 ) ) )
3714, 35, 36syl2anc 408 . . . . . . 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 2503 . . . . 5  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  A. w  e.  A  w  <_  z )
40 breq2 3928 . . . . . . . . . . . . 13  |-  ( z  =  w  ->  (
y  <  z  <->  y  <  w ) )
4140cbvrexv 2653 . . . . . . . . . . . 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 2439 . . . . . . . . . 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 452 . . . . . . . . 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 2440 . . . . . . . 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 3104 . . . . . 6  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  A  C_  RR )
4947, 48, 21suprleubex 8705 . . . . 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 8702 . . . 4  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  z  <_  sup ( A ,  RR ,  <  ) )
5216, 21letri3d 7872 . . . 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 928 . . 3  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  sup ( A ,  RR ,  <  )  =  z )
5453, 18eqeltrd 2214 . 2  |-  ( (
ph  /\  ( z  e.  A  /\  ( sup ( A ,  RR ,  <  )  -  1 )  <  z ) )  ->  sup ( A ,  RR ,  <  )  e.  A )
5512, 54rexlimddv 2552 1  |-  ( ph  ->  sup ( A ,  RR ,  <  )  e.  A )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 103    <-> wb 104    = wceq 1331    e. wcel 1480   A.wral 2414   E.wrex 2415    C_ wss 3066   class class class wbr 3924  (class class class)co 5767   supcsup 6862   RRcr 7612   1c1 7614    + caddc 7616    < clt 7793    <_ cle 7794    - cmin 7926   ZZcz 9047
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 603  ax-in2 604  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-13 1491  ax-14 1492  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2119  ax-sep 4041  ax-pow 4093  ax-pr 4126  ax-un 4350  ax-setind 4447  ax-cnex 7704  ax-resscn 7705  ax-1cn 7706  ax-1re 7707  ax-icn 7708  ax-addcl 7709  ax-addrcl 7710  ax-mulcl 7711  ax-addcom 7713  ax-addass 7715  ax-distr 7717  ax-i2m1 7718  ax-0lt1 7719  ax-0id 7721  ax-rnegex 7722  ax-cnre 7724  ax-pre-ltirr 7725  ax-pre-ltwlin 7726  ax-pre-lttrn 7727  ax-pre-apti 7728  ax-pre-ltadd 7729
This theorem depends on definitions:  df-bi 116  df-3or 963  df-3an 964  df-tru 1334  df-fal 1337  df-nf 1437  df-sb 1736  df-eu 2000  df-mo 2001  df-clab 2124  df-cleq 2130  df-clel 2133  df-nfc 2268  df-ne 2307  df-nel 2402  df-ral 2419  df-rex 2420  df-reu 2421  df-rmo 2422  df-rab 2423  df-v 2683  df-sbc 2905  df-dif 3068  df-un 3070  df-in 3072  df-ss 3079  df-pw 3507  df-sn 3528  df-pr 3529  df-op 3531  df-uni 3732  df-int 3767  df-br 3925  df-opab 3985  df-id 4210  df-po 4213  df-iso 4214  df-xp 4540  df-rel 4541  df-cnv 4542  df-co 4543  df-dm 4544  df-iota 5083  df-fun 5120  df-fv 5126  df-riota 5723  df-ov 5770  df-oprab 5771  df-mpo 5772  df-sup 6864  df-pnf 7795  df-mnf 7796  df-xr 7797  df-ltxr 7798  df-le 7799  df-sub 7928  df-neg 7929  df-inn 8714  df-n0 8971  df-z 9048
This theorem is referenced by:  infssuzcldc  11633  gcddvds  11641
  Copyright terms: Public domain W3C validator