This morning, I saw the announcement of a paper on the ArXiv, titled Inequalities for Integer and Fractional Parts. I found the results very pretty, even though many of them are rather weird.
But then it struck me: this ought to be useful. In fact, it ought to be useful when doing experimental mathematics, something for which Maple is rather helpful. So why the blog post? Because of the next realization: I don't really know how I would 'integrate' this knowledge into Maple. Whatever ideas I come up with to do this seem less than half-baked. So I decided to see if the collective wisdom here could be applied to come up with this "how".
Comments
Inequalities
I wonder how many of these inequalities are true. For example, I randomly chose Theorem 21 which says if x > 0,
This is wrong: the left side actually varies between 4/3 and 3/2. Moreover, Maple can be persuaded to assert this:
Note that the expression is symmetric in a and b; you can take a = frac(x) and b = floor(x) or vice versa, and at least one of these is strictly positive.
I doubt that a table of inequalities would be very useful in itself, because the one you want will hardly ever be in the table (though it might be a consequence of one or more items there). I think this should be seen in the context of the need to improve Maple's ability to decide whether nonlinear inequalities are true in connection with the "assume" facilities. For example:
unimpressive results
The theorems seem mostly worthless. Besides the error previously mentioned, the few I checked are overly conservative. Consider theorem 1:
The real limit should be 2/7, not 4/15. Similarly for theorem 6, the right side should be 4/3/x, not the conservative 1/x.
Theorem 32 part 2 fails:
solve(y2 := abs(cos(floor(x))) + abs(cos(frac(x))) - abs(cos(x)); fsolve(y2, x=2.9..3); 2.966118521 limit(y2, x=3, left); -cos(2) + cos(1) + cos(3) evalf(%); -0.0335433542So does Theorem 25, at multiple locations for x < 0:
y := abs(sin(floor(x))) + abs(sin(frac(x))) + abs(cos(x)): plot([1,y], x=-10..4); limit(y, x=-2, left);evalf(%); sin(3) - cos(2) 0.5572668446Maple as help for a correct guess
but in the cited example Maple can be of help to guess the correct statement:
x/(x + floor(x)) + x/(x+frac(x)) -5/2; plot(%,x=0 ..6);
or (the transformed one)
x/(x+b) + x/(x+a)-3/2; subs(a=frac(x),b=floor(x),%); plot(%,x=-3 ..16);