Origin Definitions Sections StandardLIB Doc
IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html
rat_1
Nuprl Section: rat_1

Selected Objects
COMRATIONAL_DEFS Rational defs for Sup-Inf procedureNIL
defrat  == 
defqnum p/q == <p,q>
defqnumer q.num == 1of(q)
defqdenom q.den == 2of(q)
defeq_rat a =q b == a.numb.den=b.numa.den
defqadd a +q b == (a.numb.den+b.numa.den)/(a.denb.den)
defqmul a *q b == (a.numb.num)/(a.denb.den)
COMRATIONAL_THMS NIL
THMeq_rat_refl x:x =q x
THMeq_rat_sym x,y:x =q y  y =q x
THMeq_rat_trans x,y,z:x =q y  y =q z  x =q z
THMqadd_functionality p,q,r,s:p =q q  r =q s  p +q r =q q +q s
THMqmul_functionality p,q,r,s:p =q q  r =q s  p *q r =q q *q s
THMqmul_assoc p,q,r:p *q q *q r =q p *q q *q r
THMqadd_assoc p,q,r:p +q q +q r =q p +q q +q r
THMqadd_com p,q:p +q q =q q +q p
THMqmul_com p,q:p *q q =q q *q p
THMqmul_dist_over_qadd a,b,c:a *q b +q c =q a *q b +q a *q c
IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html

Origin Definitions Sections StandardLIB Doc