WhoCites
Definitions
MarkB
generic
Sections
NuprlLIB
Doc
Who Cites modulus?
modulus
Def a mod n == if 0
a
a rem n ;((-a) rem n)=
0
0 else n-((-a) rem n) fi
Thm*
a:
, n:
. (a mod n)
eq_int
Def
i=
j == if i=j
true
; false
fi
Thm*
i,j:
. (i=
j)
le_int
Def
i
j ==
j <
i
Thm*
i,j:
. (i
j)
lt_int
Def
i <
j == if i < j
true
; false
fi
Thm*
i,j:
. (i <
j)
bnot
Def
b == if b
false
else true
fi
Thm*
b:
.
b
Syntax:
a mod n
has structure:
modulus(a; n)
About:
WhoCites
Definitions
MarkB
generic
Sections
NuprlLIB
Doc