IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html
Thm*
a:
, b:
.
q:
, r:
b. a = q
b+r
To show this, we hold b

constant while we do induction over a
to prove
a:
.
q:
, r:
b. a = q
b+r.
We use the true-for-less form of induction, assuming
a1:
. a1<a 
(
q:
, r:
b. a1 = q
b+r)
and attempt to show
q:
, r:
b. a = q
b+r.
If a<b then just use a for r, and 0 for q.
Otherwise, a-b
and a-b<a, so by our induction hyp,
a-b = q
b+r for some q
, r
b,
so, a-b = q
b+r, from which follows a = (q+1)
b+r,
which show our goal to be satisfied using q+1 for q.
QED
About:
IF YOU CAN SEE THIS go to /sfa/Nuprl/Shared/Xindentation_hack_doc.html