MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  ltbtwnnq Unicode version

Theorem ltbtwnnq 8482
Description: There exists a number between any two positive fractions. Proposition 9-2.6(i) of [Gleason] p. 120. (Contributed by NM, 17-Mar-1996.) (Revised by Mario Carneiro, 10-May-2013.) (New usage is discouraged.)
Assertion
Ref Expression
ltbtwnnq  |-  ( A 
<Q  B  <->  E. x ( A 
<Q  x  /\  x  <Q  B ) )
Distinct variable groups:    x, A    x, B

Proof of Theorem ltbtwnnq
StepHypRef Expression
1 ltrelnq 8430 . . . . 5  |-  <Q  C_  ( Q.  X.  Q. )
21brel 4644 . . . 4  |-  ( A 
<Q  B  ->  ( A  e.  Q.  /\  B  e.  Q. ) )
32simprd 451 . . 3  |-  ( A 
<Q  B  ->  B  e. 
Q. )
4 ltexnq 8479 . . . 4  |-  ( B  e.  Q.  ->  ( A  <Q  B  <->  E. y
( A  +Q  y
)  =  B ) )
5 eleq1 2313 . . . . . . . . . 10  |-  ( ( A  +Q  y )  =  B  ->  (
( A  +Q  y
)  e.  Q.  <->  B  e.  Q. ) )
65biimparc 475 . . . . . . . . 9  |-  ( ( B  e.  Q.  /\  ( A  +Q  y
)  =  B )  ->  ( A  +Q  y )  e.  Q. )
7 addnqf 8452 . . . . . . . . . . 11  |-  +Q  :
( Q.  X.  Q. )
--> Q.
87fdmi 5251 . . . . . . . . . 10  |-  dom  +Q  =  ( Q.  X.  Q. )
9 0nnq 8428 . . . . . . . . . 10  |-  -.  (/)  e.  Q.
108, 9ndmovrcl 5858 . . . . . . . . 9  |-  ( ( A  +Q  y )  e.  Q.  ->  ( A  e.  Q.  /\  y  e.  Q. ) )
116, 10syl 17 . . . . . . . 8  |-  ( ( B  e.  Q.  /\  ( A  +Q  y
)  =  B )  ->  ( A  e. 
Q.  /\  y  e.  Q. ) )
1211simprd 451 . . . . . . 7  |-  ( ( B  e.  Q.  /\  ( A  +Q  y
)  =  B )  ->  y  e.  Q. )
13 nsmallnq 8481 . . . . . . . 8  |-  ( y  e.  Q.  ->  E. z 
z  <Q  y )
1411simpld 447 . . . . . . . . . . . 12  |-  ( ( B  e.  Q.  /\  ( A  +Q  y
)  =  B )  ->  A  e.  Q. )
151brel 4644 . . . . . . . . . . . . 13  |-  ( z 
<Q  y  ->  ( z  e.  Q.  /\  y  e.  Q. ) )
1615simpld 447 . . . . . . . . . . . 12  |-  ( z 
<Q  y  ->  z  e. 
Q. )
17 ltaddnq 8478 . . . . . . . . . . . 12  |-  ( ( A  e.  Q.  /\  z  e.  Q. )  ->  A  <Q  ( A  +Q  z ) )
1814, 16, 17syl2an 465 . . . . . . . . . . 11  |-  ( ( ( B  e.  Q.  /\  ( A  +Q  y
)  =  B )  /\  z  <Q  y
)  ->  A  <Q  ( A  +Q  z ) )
19 ltanq 8475 . . . . . . . . . . . . . 14  |-  ( A  e.  Q.  ->  (
z  <Q  y  <->  ( A  +Q  z )  <Q  ( A  +Q  y ) ) )
2019biimpa 472 . . . . . . . . . . . . 13  |-  ( ( A  e.  Q.  /\  z  <Q  y )  -> 
( A  +Q  z
)  <Q  ( A  +Q  y ) )
2114, 20sylan 459 . . . . . . . . . . . 12  |-  ( ( ( B  e.  Q.  /\  ( A  +Q  y
)  =  B )  /\  z  <Q  y
)  ->  ( A  +Q  z )  <Q  ( A  +Q  y ) )
22 simplr 734 . . . . . . . . . . . 12  |-  ( ( ( B  e.  Q.  /\  ( A  +Q  y
)  =  B )  /\  z  <Q  y
)  ->  ( A  +Q  y )  =  B )
2321, 22breqtrd 3944 . . . . . . . . . . 11  |-  ( ( ( B  e.  Q.  /\  ( A  +Q  y
)  =  B )  /\  z  <Q  y
)  ->  ( A  +Q  z )  <Q  B )
24 ovex 5735 . . . . . . . . . . . 12  |-  ( A  +Q  z )  e. 
_V
25 breq2 3924 . . . . . . . . . . . . 13  |-  ( x  =  ( A  +Q  z )  ->  ( A  <Q  x  <->  A  <Q  ( A  +Q  z ) ) )
26 breq1 3923 . . . . . . . . . . . . 13  |-  ( x  =  ( A  +Q  z )  ->  (
x  <Q  B  <->  ( A  +Q  z )  <Q  B ) )
2725, 26anbi12d 694 . . . . . . . . . . . 12  |-  ( x  =  ( A  +Q  z )  ->  (
( A  <Q  x  /\  x  <Q  B )  <-> 
( A  <Q  ( A  +Q  z )  /\  ( A  +Q  z
)  <Q  B ) ) )
2824, 27cla4ev 2812 . . . . . . . . . . 11  |-  ( ( A  <Q  ( A  +Q  z )  /\  ( A  +Q  z )  <Q  B )  ->  E. x
( A  <Q  x  /\  x  <Q  B ) )
2918, 23, 28syl2anc 645 . . . . . . . . . 10  |-  ( ( ( B  e.  Q.  /\  ( A  +Q  y
)  =  B )  /\  z  <Q  y
)  ->  E. x
( A  <Q  x  /\  x  <Q  B ) )
3029ex 425 . . . . . . . . 9  |-  ( ( B  e.  Q.  /\  ( A  +Q  y
)  =  B )  ->  ( z  <Q 
y  ->  E. x
( A  <Q  x  /\  x  <Q  B ) ) )
3130exlimdv 1932 . . . . . . . 8  |-  ( ( B  e.  Q.  /\  ( A  +Q  y
)  =  B )  ->  ( E. z 
z  <Q  y  ->  E. x
( A  <Q  x  /\  x  <Q  B ) ) )
3213, 31syl5 30 . . . . . . 7  |-  ( ( B  e.  Q.  /\  ( A  +Q  y
)  =  B )  ->  ( y  e. 
Q.  ->  E. x ( A 
<Q  x  /\  x  <Q  B ) ) )
3312, 32mpd 16 . . . . . 6  |-  ( ( B  e.  Q.  /\  ( A  +Q  y
)  =  B )  ->  E. x ( A 
<Q  x  /\  x  <Q  B ) )
3433ex 425 . . . . 5  |-  ( B  e.  Q.  ->  (
( A  +Q  y
)  =  B  ->  E. x ( A  <Q  x  /\  x  <Q  B ) ) )
3534exlimdv 1932 . . . 4  |-  ( B  e.  Q.  ->  ( E. y ( A  +Q  y )  =  B  ->  E. x ( A 
<Q  x  /\  x  <Q  B ) ) )
364, 35sylbid 208 . . 3  |-  ( B  e.  Q.  ->  ( A  <Q  B  ->  E. x
( A  <Q  x  /\  x  <Q  B ) ) )
373, 36mpcom 34 . 2  |-  ( A 
<Q  B  ->  E. x
( A  <Q  x  /\  x  <Q  B ) )
38 ltsonq 8473 . . . 4  |-  <Q  Or  Q.
3938, 1sotri 4977 . . 3  |-  ( ( A  <Q  x  /\  x  <Q  B )  ->  A  <Q  B )
4039exlimiv 2023 . 2  |-  ( E. x ( A  <Q  x  /\  x  <Q  B )  ->  A  <Q  B )
4137, 40impbii 182 1  |-  ( A 
<Q  B  <->  E. x ( A 
<Q  x  /\  x  <Q  B ) )
Colors of variables: wff set class
Syntax hints:    <-> wb 178    /\ wa 360   E.wex 1537    = wceq 1619    e. wcel 1621   class class class wbr 3920    X. cxp 4578  (class class class)co 5710   Q.cnq 8354    +Q cplq 8357    <Q cltq 8360
This theorem is referenced by:  nqpr  8518  reclem2pr  8552
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-5 1533  ax-6 1534  ax-7 1535  ax-gen 1536  ax-8 1623  ax-11 1624  ax-13 1625  ax-14 1626  ax-17 1628  ax-12o 1664  ax-10 1678  ax-9 1684  ax-4 1692  ax-16 1926  ax-ext 2234  ax-sep 4038  ax-nul 4046  ax-pr 4108  ax-un 4403
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 940  df-3an 941  df-tru 1315  df-ex 1538  df-nf 1540  df-sb 1883  df-eu 2118  df-mo 2119  df-clab 2240  df-cleq 2246  df-clel 2249  df-nfc 2374  df-ne 2414  df-ral 2513  df-rex 2514  df-reu 2515  df-rab 2516  df-v 2729  df-sbc 2922  df-csb 3010  df-dif 3081  df-un 3083  df-in 3085  df-ss 3089  df-pss 3091  df-nul 3363  df-if 3471  df-pw 3532  df-sn 3550  df-pr 3551  df-tp 3552  df-op 3553  df-uni 3728  df-int 3761  df-iun 3805  df-br 3921  df-opab 3975  df-mpt 3976  df-tr 4011  df-eprel 4198  df-id 4202  df-po 4207  df-so 4208  df-fr 4245  df-we 4247  df-ord 4288  df-on 4289  df-lim 4290  df-suc 4291  df-om 4548  df-xp 4594  df-rel 4595  df-cnv 4596  df-co 4597  df-dm 4598  df-rn 4599  df-res 4600  df-ima 4601  df-fun 4602  df-fn 4603  df-f 4604  df-f1 4605  df-fo 4606  df-f1o 4607  df-fv 4608  df-ov 5713  df-oprab 5714  df-mpt2 5715  df-1st 5974  df-2nd 5975  df-recs 6274  df-rdg 6309  df-1o 6365  df-oadd 6369  df-omul 6370  df-er 6546  df-ni 8376  df-pli 8377  df-mi 8378  df-lti 8379  df-plpq 8412  df-mpq 8413  df-ltpq 8414  df-enq 8415  df-nq 8416  df-erq 8417  df-plq 8418  df-mq 8419  df-1nq 8420  df-rq 8421  df-ltnq 8422
  Copyright terms: Public domain W3C validator