More You can work out variations on the measure of rational complexity 

Forum: Com Sci 12500, U Chicago, Autumn 2002, Discuss Classwork
Re: Idea simplest procedures: Open Project? (Mark Kittisopikul)
Date: 2002, Nov 11
From: Mike O'Donnell <odonnell@cs.uchicago.edu>

I didn't think very hard about the definition of complexity of a rational number. It should generally increase with the number of bits needed to represent the numerator and denominator. That number of bits is essentially log(n)+log(d), but to avoid computing logs, I just proposed n*d. If some other measure of complexity has nicer properties, go with it. In particular, if you ever have to choose between rationals of equal complexity, it would be convenient to have a finer ordering. But I have a hunch that whenever an interval contains two rationals of equal complexity, it contains one of smaller complexity between them.

Stuart Kurtz dropped the hint that a nice quick choice of low-complexity rational in the interval [n1/d1,n2/d2] is (n1+n2)/(d1+d2). I suggested that as a solution to the nondeterministic choice of a rational in an interval. Perhaps there is a sensible measure of complexity in which that represents a good tradeoff between simplicity and nearness to the midpoint.




Mike O'D.


to: "You can work out variations on the measure of rational complexity"