Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #3191
| From | Jacare Omoplata <walkeystalkey@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Why doesn't TrueQ return True here? |
| Date | 2011-06-19 23:29 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <itm0p5$14k$1@smc.vnet.net> (permalink) |
Here's the output.
-------------------------------------------------------
In[29]:= Element[{t1, t2}, Reals]
Out[29]= (t1 | t2) \[Element] Reals
In[30]:= $Assumptions = t2 > t1
Out[30]= t2 > t1
In[31]:= TrueQ[(t2 - t1) > 0]
Out[31]= False
------------------------------------------------------
I would expect TrueQ to return True, not False. Why does it return False?
And how can I test whether t2-t1 is positive?
Thanks.
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
Why doesn't TrueQ return True here? Jacare Omoplata <walkeystalkey@gmail.com> - 2011-06-19 23:29 +0000 Re: Why doesn't TrueQ return True here? oleksandr_rasputinov@hmamail.com - 2011-06-20 23:38 +0000
csiph-web