Redundant assumptions

asked 2024-11-26 04:17:05 +0100

Jidong gravatar image

updated 2024-11-26 04:53:48 +0100

I want to verify certain inequalities involving real numbers and infinity. One case is showing certain expression is less than infinity. However, the following situation really puzzles me:

a = SR.var('a')
bool(a < infinity)

It returns 'False'. But when I do

assume(a < infinity)

It says

ValueError: Assumption is redundant

Why is this the case and how should I get 'True' for 'bool(a < infinity)'?

Thanks!

edit retag flag offensive close merge delete