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

Theorem qtopbas 12505
Description: The set of open intervals with rational endpoints forms a basis for a topology. (Contributed by NM, 8-Mar-2007.)
Assertion
Ref Expression
qtopbas  |-  ( (,) " ( QQ  X.  QQ ) )  e.  TopBases

Proof of Theorem qtopbas
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 qssre 9318 . . 3  |-  QQ  C_  RR
2 ressxr 7727 . . 3  |-  RR  C_  RR*
31, 2sstri 3070 . 2  |-  QQ  C_  RR*
4 qre 9313 . . . 4  |-  ( x  e.  QQ  ->  x  e.  RR )
5 qre 9313 . . . 4  |-  ( y  e.  QQ  ->  y  e.  RR )
6 xrmaxrecl 10910 . . . 4  |-  ( ( x  e.  RR  /\  y  e.  RR )  ->  sup ( { x ,  y } ,  RR* ,  <  )  =  sup ( { x ,  y } ,  RR ,  <  ) )
74, 5, 6syl2an 285 . . 3  |-  ( ( x  e.  QQ  /\  y  e.  QQ )  ->  sup ( { x ,  y } ,  RR* ,  <  )  =  sup ( { x ,  y } ,  RR ,  <  ) )
8 simpr 109 . . . . 5  |-  ( ( ( x  e.  QQ  /\  y  e.  QQ )  /\  sup ( { x ,  y } ,  RR ,  <  )  =  x )  ->  sup ( { x ,  y } ,  RR ,  <  )  =  x )
9 simpll 501 . . . . 5  |-  ( ( ( x  e.  QQ  /\  y  e.  QQ )  /\  sup ( { x ,  y } ,  RR ,  <  )  =  x )  ->  x  e.  QQ )
108, 9eqeltrd 2189 . . . 4  |-  ( ( ( x  e.  QQ  /\  y  e.  QQ )  /\  sup ( { x ,  y } ,  RR ,  <  )  =  x )  ->  sup ( { x ,  y } ,  RR ,  <  )  e.  QQ )
11 simpr 109 . . . . 5  |-  ( ( ( x  e.  QQ  /\  y  e.  QQ )  /\  sup ( { x ,  y } ,  RR ,  <  )  =  y )  ->  sup ( { x ,  y } ,  RR ,  <  )  =  y )
12 simplr 502 . . . . 5  |-  ( ( ( x  e.  QQ  /\  y  e.  QQ )  /\  sup ( { x ,  y } ,  RR ,  <  )  =  y )  -> 
y  e.  QQ )
1311, 12eqeltrd 2189 . . . 4  |-  ( ( ( x  e.  QQ  /\  y  e.  QQ )  /\  sup ( { x ,  y } ,  RR ,  <  )  =  y )  ->  sup ( { x ,  y } ,  RR ,  <  )  e.  QQ )
14 qletric 9908 . . . . . 6  |-  ( ( x  e.  QQ  /\  y  e.  QQ )  ->  ( x  <_  y  \/  y  <_  x ) )
15 maxclpr 10880 . . . . . . 7  |-  ( ( x  e.  RR  /\  y  e.  RR )  ->  ( sup ( { x ,  y } ,  RR ,  <  )  e.  { x ,  y }  <->  ( x  <_  y  \/  y  <_  x ) ) )
164, 5, 15syl2an 285 . . . . . 6  |-  ( ( x  e.  QQ  /\  y  e.  QQ )  ->  ( sup ( { x ,  y } ,  RR ,  <  )  e.  { x ,  y }  <->  ( x  <_  y  \/  y  <_  x ) ) )
1714, 16mpbird 166 . . . . 5  |-  ( ( x  e.  QQ  /\  y  e.  QQ )  ->  sup ( { x ,  y } ,  RR ,  <  )  e. 
{ x ,  y } )
18 elpri 3514 . . . . 5  |-  ( sup ( { x ,  y } ,  RR ,  <  )  e.  {
x ,  y }  ->  ( sup ( { x ,  y } ,  RR ,  <  )  =  x  \/ 
sup ( { x ,  y } ,  RR ,  <  )  =  y ) )
1917, 18syl 14 . . . 4  |-  ( ( x  e.  QQ  /\  y  e.  QQ )  ->  ( sup ( { x ,  y } ,  RR ,  <  )  =  x  \/  sup ( { x ,  y } ,  RR ,  <  )  =  y ) )
2010, 13, 19mpjaodan 770 . . 3  |-  ( ( x  e.  QQ  /\  y  e.  QQ )  ->  sup ( { x ,  y } ,  RR ,  <  )  e.  QQ )
217, 20eqeltrd 2189 . 2  |-  ( ( x  e.  QQ  /\  y  e.  QQ )  ->  sup ( { x ,  y } ,  RR* ,  <  )  e.  QQ )
22 xrminrecl 10928 . . . 4  |-  ( ( x  e.  RR  /\  y  e.  RR )  -> inf ( { x ,  y } ,  RR* ,  <  )  = inf ( { x ,  y } ,  RR ,  <  ) )
234, 5, 22syl2an 285 . . 3  |-  ( ( x  e.  QQ  /\  y  e.  QQ )  -> inf ( { x ,  y } ,  RR* ,  <  )  = inf ( { x ,  y } ,  RR ,  <  ) )
24 simpr 109 . . . . 5  |-  ( ( ( x  e.  QQ  /\  y  e.  QQ )  /\ inf ( { x ,  y } ,  RR ,  <  )  =  x )  -> inf ( { x ,  y } ,  RR ,  <  )  =  x )
25 simpll 501 . . . . 5  |-  ( ( ( x  e.  QQ  /\  y  e.  QQ )  /\ inf ( { x ,  y } ,  RR ,  <  )  =  x )  ->  x  e.  QQ )
2624, 25eqeltrd 2189 . . . 4  |-  ( ( ( x  e.  QQ  /\  y  e.  QQ )  /\ inf ( { x ,  y } ,  RR ,  <  )  =  x )  -> inf ( { x ,  y } ,  RR ,  <  )  e.  QQ )
27 simpr 109 . . . . 5  |-  ( ( ( x  e.  QQ  /\  y  e.  QQ )  /\ inf ( { x ,  y } ,  RR ,  <  )  =  y )  -> inf ( { x ,  y } ,  RR ,  <  )  =  y )
28 simplr 502 . . . . 5  |-  ( ( ( x  e.  QQ  /\  y  e.  QQ )  /\ inf ( { x ,  y } ,  RR ,  <  )  =  y )  ->  y  e.  QQ )
2927, 28eqeltrd 2189 . . . 4  |-  ( ( ( x  e.  QQ  /\  y  e.  QQ )  /\ inf ( { x ,  y } ,  RR ,  <  )  =  y )  -> inf ( { x ,  y } ,  RR ,  <  )  e.  QQ )
30 minclpr 10894 . . . . . . 7  |-  ( ( x  e.  RR  /\  y  e.  RR )  ->  (inf ( { x ,  y } ,  RR ,  <  )  e. 
{ x ,  y }  <->  ( x  <_ 
y  \/  y  <_  x ) ) )
314, 5, 30syl2an 285 . . . . . 6  |-  ( ( x  e.  QQ  /\  y  e.  QQ )  ->  (inf ( { x ,  y } ,  RR ,  <  )  e. 
{ x ,  y }  <->  ( x  <_ 
y  \/  y  <_  x ) ) )
3214, 31mpbird 166 . . . . 5  |-  ( ( x  e.  QQ  /\  y  e.  QQ )  -> inf ( { x ,  y } ,  RR ,  <  )  e.  {
x ,  y } )
33 elpri 3514 . . . . 5  |-  (inf ( { x ,  y } ,  RR ,  <  )  e.  { x ,  y }  ->  (inf ( { x ,  y } ,  RR ,  <  )  =  x  \/ inf ( { x ,  y } ,  RR ,  <  )  =  y ) )
3432, 33syl 14 . . . 4  |-  ( ( x  e.  QQ  /\  y  e.  QQ )  ->  (inf ( { x ,  y } ,  RR ,  <  )  =  x  \/ inf ( { x ,  y } ,  RR ,  <  )  =  y ) )
3526, 29, 34mpjaodan 770 . . 3  |-  ( ( x  e.  QQ  /\  y  e.  QQ )  -> inf ( { x ,  y } ,  RR ,  <  )  e.  QQ )
3623, 35eqeltrd 2189 . 2  |-  ( ( x  e.  QQ  /\  y  e.  QQ )  -> inf ( { x ,  y } ,  RR* ,  <  )  e.  QQ )
373, 21, 36qtopbasss 12504 1  |-  ( (,) " ( QQ  X.  QQ ) )  e.  TopBases
Colors of variables: wff set class
Syntax hints:    /\ wa 103    <-> wb 104    \/ wo 680    = wceq 1312    e. wcel 1461   {cpr 3492   class class class wbr 3893    X. cxp 4495   "cima 4500   supcsup 6819  infcinf 6820   RRcr 7540   RR*cxr 7717    < clt 7718    <_ cle 7719   QQcq 9307   (,)cioo 9558   TopBasesctb 12046
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 586  ax-in2 587  ax-io 681  ax-5 1404  ax-7 1405  ax-gen 1406  ax-ie1 1450  ax-ie2 1451  ax-8 1463  ax-10 1464  ax-11 1465  ax-i12 1466  ax-bndl 1467  ax-4 1468  ax-13 1472  ax-14 1473  ax-17 1487  ax-i9 1491  ax-ial 1495  ax-i5r 1496  ax-ext 2095  ax-coll 4001  ax-sep 4004  ax-nul 4012  ax-pow 4056  ax-pr 4089  ax-un 4313  ax-setind 4410  ax-iinf 4460  ax-cnex 7630  ax-resscn 7631  ax-1cn 7632  ax-1re 7633  ax-icn 7634  ax-addcl 7635  ax-addrcl 7636  ax-mulcl 7637  ax-mulrcl 7638  ax-addcom 7639  ax-mulcom 7640  ax-addass 7641  ax-mulass 7642  ax-distr 7643  ax-i2m1 7644  ax-0lt1 7645  ax-1rid 7646  ax-0id 7647  ax-rnegex 7648  ax-precex 7649  ax-cnre 7650  ax-pre-ltirr 7651  ax-pre-ltwlin 7652  ax-pre-lttrn 7653  ax-pre-apti 7654  ax-pre-ltadd 7655  ax-pre-mulgt0 7656  ax-pre-mulext 7657  ax-arch 7658  ax-caucvg 7659
This theorem depends on definitions:  df-bi 116  df-dc 803  df-3or 944  df-3an 945  df-tru 1315  df-fal 1318  df-nf 1418  df-sb 1717  df-eu 1976  df-mo 1977  df-clab 2100  df-cleq 2106  df-clel 2109  df-nfc 2242  df-ne 2281  df-nel 2376  df-ral 2393  df-rex 2394  df-reu 2395  df-rmo 2396  df-rab 2397  df-v 2657  df-sbc 2877  df-csb 2970  df-dif 3037  df-un 3039  df-in 3041  df-ss 3048  df-nul 3328  df-if 3439  df-pw 3476  df-sn 3497  df-pr 3498  df-op 3500  df-uni 3701  df-int 3736  df-iun 3779  df-br 3894  df-opab 3948  df-mpt 3949  df-tr 3985  df-id 4173  df-po 4176  df-iso 4177  df-iord 4246  df-on 4248  df-ilim 4249  df-suc 4251  df-iom 4463  df-xp 4503  df-rel 4504  df-cnv 4505  df-co 4506  df-dm 4507  df-rn 4508  df-res 4509  df-ima 4510  df-iota 5044  df-fun 5081  df-fn 5082  df-f 5083  df-f1 5084  df-fo 5085  df-f1o 5086  df-fv 5087  df-isom 5088  df-riota 5682  df-ov 5729  df-oprab 5730  df-mpo 5731  df-1st 5990  df-2nd 5991  df-recs 6154  df-frec 6240  df-sup 6821  df-inf 6822  df-pnf 7720  df-mnf 7721  df-xr 7722  df-ltxr 7723  df-le 7724  df-sub 7852  df-neg 7853  df-reap 8249  df-ap 8256  df-div 8340  df-inn 8625  df-2 8683  df-3 8684  df-4 8685  df-n0 8876  df-z 8953  df-uz 9223  df-q 9308  df-rp 9338  df-xneg 9446  df-ioo 9562  df-seqfrec 10106  df-exp 10180  df-cj 10501  df-re 10502  df-im 10503  df-rsqrt 10656  df-abs 10657  df-bases 12047
This theorem is referenced by:  tgqioo  12527
  Copyright terms: Public domain W3C validator