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

Theorem addclnq0 7825
Description: Closure of addition on nonnegative fractions. (Contributed by Jim Kingdon, 29-Nov-2019.)
Assertion
Ref Expression
addclnq0  |-  ( ( A  e. Q0  /\  B  e. Q0 )  ->  ( A +Q0  B )  e. Q0 )

Proof of Theorem addclnq0
Dummy variables  x  y  z  w are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-nq0 7799 . . 3  |- Q0  =  ( ( om 
X.  N. ) /. ~Q0  )
2 oveq1 6095 . . . 4  |-  ( [
<. x ,  y >. ] ~Q0  =  A  ->  ( [ <. x ,  y >. ] ~Q0 +Q0  [ <. z ,  w >. ] ~Q0  )  =  ( A +Q0  [ <. z ,  w >. ] ~Q0  ) )
32eleq1d 2307 . . 3  |-  ( [
<. x ,  y >. ] ~Q0  =  A  ->  ( ( [ <. x ,  y
>. ] ~Q0 +Q0  [ <. z ,  w >. ] ~Q0  )  e.  ( ( om  X.  N. ) /. ~Q0  )  <-> 
( A +Q0  [ <. z ,  w >. ] ~Q0  )  e.  ( ( om  X.  N. ) /. ~Q0  ) ) )
4 oveq2 6096 . . . 4  |-  ( [
<. z ,  w >. ] ~Q0  =  B  ->  ( A +Q0  [ <. z ,  w >. ] ~Q0  )  =  ( A +Q0  B ) )
54eleq1d 2307 . . 3  |-  ( [
<. z ,  w >. ] ~Q0  =  B  ->  ( ( A +Q0  [ <. z ,  w >. ] ~Q0  )  e.  ( ( om  X.  N. ) /. ~Q0  )  <-> 
( A +Q0  B )  e.  ( ( om  X.  N. ) /. ~Q0  ) ) )
6 addnnnq0 7823 . . . 4  |-  ( ( ( x  e.  om  /\  y  e.  N. )  /\  ( z  e.  om  /\  w  e.  N. )
)  ->  ( [ <. x ,  y >. ] ~Q0 +Q0  [ <. z ,  w >. ] ~Q0  )  =  [ <. ( ( x  .o  w
)  +o  ( y  .o  z ) ) ,  ( y  .o  w ) >. ] ~Q0  )
7 pinn 7683 . . . . . . . . 9  |-  ( w  e.  N.  ->  w  e.  om )
8 nnmcl 6758 . . . . . . . . 9  |-  ( ( x  e.  om  /\  w  e.  om )  ->  ( x  .o  w
)  e.  om )
97, 8sylan2 286 . . . . . . . 8  |-  ( ( x  e.  om  /\  w  e.  N. )  ->  ( x  .o  w
)  e.  om )
10 pinn 7683 . . . . . . . . 9  |-  ( y  e.  N.  ->  y  e.  om )
11 nnmcl 6758 . . . . . . . . 9  |-  ( ( y  e.  om  /\  z  e.  om )  ->  ( y  .o  z
)  e.  om )
1210, 11sylan 283 . . . . . . . 8  |-  ( ( y  e.  N.  /\  z  e.  om )  ->  ( y  .o  z
)  e.  om )
13 nnacl 6757 . . . . . . . 8  |-  ( ( ( x  .o  w
)  e.  om  /\  ( y  .o  z
)  e.  om )  ->  ( ( x  .o  w )  +o  (
y  .o  z ) )  e.  om )
149, 12, 13syl2an 289 . . . . . . 7  |-  ( ( ( x  e.  om  /\  w  e.  N. )  /\  ( y  e.  N.  /\  z  e.  om )
)  ->  ( (
x  .o  w )  +o  ( y  .o  z ) )  e. 
om )
1514an42s 597 . . . . . 6  |-  ( ( ( x  e.  om  /\  y  e.  N. )  /\  ( z  e.  om  /\  w  e.  N. )
)  ->  ( (
x  .o  w )  +o  ( y  .o  z ) )  e. 
om )
16 mulpiord 7691 . . . . . . . 8  |-  ( ( y  e.  N.  /\  w  e.  N. )  ->  ( y  .N  w
)  =  ( y  .o  w ) )
17 mulclpi 7702 . . . . . . . 8  |-  ( ( y  e.  N.  /\  w  e.  N. )  ->  ( y  .N  w
)  e.  N. )
1816, 17eqeltrrd 2316 . . . . . . 7  |-  ( ( y  e.  N.  /\  w  e.  N. )  ->  ( y  .o  w
)  e.  N. )
1918ad2ant2l 512 . . . . . 6  |-  ( ( ( x  e.  om  /\  y  e.  N. )  /\  ( z  e.  om  /\  w  e.  N. )
)  ->  ( y  .o  w )  e.  N. )
2015, 19jca 306 . . . . 5  |-  ( ( ( x  e.  om  /\  y  e.  N. )  /\  ( z  e.  om  /\  w  e.  N. )
)  ->  ( (
( x  .o  w
)  +o  ( y  .o  z ) )  e.  om  /\  (
y  .o  w )  e.  N. ) )
21 opelxpi 4808 . . . . 5  |-  ( ( ( ( x  .o  w )  +o  (
y  .o  z ) )  e.  om  /\  ( y  .o  w
)  e.  N. )  -> 
<. ( ( x  .o  w )  +o  (
y  .o  z ) ) ,  ( y  .o  w ) >.  e.  ( om  X.  N. ) )
22 enq0ex 7813 . . . . . 6  |- ~Q0  e.  _V
2322ecelqsi 6867 . . . . 5  |-  ( <.
( ( x  .o  w )  +o  (
y  .o  z ) ) ,  ( y  .o  w ) >.  e.  ( om  X.  N. )  ->  [ <. (
( x  .o  w
)  +o  ( y  .o  z ) ) ,  ( y  .o  w ) >. ] ~Q0  e.  ( ( om 
X.  N. ) /. ~Q0  ) )
2420, 21, 233syl 17 . . . 4  |-  ( ( ( x  e.  om  /\  y  e.  N. )  /\  ( z  e.  om  /\  w  e.  N. )
)  ->  [ <. (
( x  .o  w
)  +o  ( y  .o  z ) ) ,  ( y  .o  w ) >. ] ~Q0  e.  ( ( om 
X.  N. ) /. ~Q0  ) )
256, 24eqeltrd 2315 . . 3  |-  ( ( ( x  e.  om  /\  y  e.  N. )  /\  ( z  e.  om  /\  w  e.  N. )
)  ->  ( [ <. x ,  y >. ] ~Q0 +Q0  [ <. z ,  w >. ] ~Q0  )  e.  ( ( om  X.  N. ) /. ~Q0  ) )
261, 3, 5, 252ecoptocl 6901 . 2  |-  ( ( A  e. Q0  /\  B  e. Q0 )  ->  ( A +Q0  B )  e.  ( ( om 
X.  N. ) /. ~Q0  ) )
2726, 1eleqtrrdi 2332 1  |-  ( ( A  e. Q0  /\  B  e. Q0 )  ->  ( A +Q0  B )  e. Q0 )
Colors of variables:    wff set class
This proof depends on syntax axioms:    -> wi 4    /\ wa 104    = wceq 1402    e. wcel 2209   <.cop 3712   omcom 4739    X. cxp 4774  (class class class)co 6088    +o coa 6688    .o comu 6689   [cec 6809   /.cqs 6810   N.cnpi 7646    .N cmi 7648   ~Q0 ceq0 7660  Q0cnq0 7661   +Q0 cplq0 7663
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 623  ax-in2 624  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-coll 4248  ax-sep 4251  ax-nul 4261  ax-pow 4313  ax-pr 4348  ax-un 4580  ax-setind 4686  ax-iinf 4737
This proof depends on definitions:  df-bi 117  df-dc 847  df-3or 1010  df-3an 1011  df-tru 1405  df-fal 1408  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ne 2421  df-ral 2533  df-rex 2534  df-reu 2535  df-rab 2537  df-v 2823  df-sbc 3052  df-csb 3148  df-dif 3222  df-un 3224  df-in 3226  df-ss 3233  df-nul 3521  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-int 3971  df-iun 4014  df-br 4132  df-opab 4194  df-mpt 4195  df-tr 4232  df-id 4440  df-iord 4513  df-on 4515  df-suc 4518  df-iom 4740  df-xp 4782  df-rel 4783  df-cnv 4784  df-co 4785  df-dm 4786  df-rn 4787  df-res 4788  df-ima 4789  df-iota 5340  df-fun 5382  df-fn 5383  df-f 5384  df-f1 5385  df-fo 5386  df-f1o 5387  df-fv 5388  df-ov 6091  df-oprab 6092  df-mpo 6093  df-1st 6378  df-2nd 6379  df-recs 6580  df-irdg 6645  df-oadd 6695  df-omul 6696  df-er 6811  df-ec 6813  df-qs 6817  df-ni 7678  df-mi 7680  df-enq0 7798  df-nq0 7799  df-plq0 7801
This theorem is used by:  distnq0r  7837  prarloclemcalc  7876
  Copyright terms: Public domain W3C validator