Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Prove or disprove a closed first-order formula in the theory of univariate mixed trigonometric polynomials
ResourceFunction["VerifyMTP"][formula] returns the truth value of a mixed trigonometric polynomial represented by formula. |
Prove that if x is a positive solution to x2=tanx, then x>1:
| In[1]:= |
| Out[1]= |
Verify a formula in the first order theory of MTPs:
| In[2]:= | ![]() |
| Out[2]= |
Verify a complicated example:
| In[3]:= |
| Out[3]= |
Prove MTP inequalities:
| In[4]:= |
| Out[4]= |
Show that
is a point on the curve given by x=sin t, y=sin 2t by finding an explicit value for t:
| In[5]:= | ![]() |
| Out[5]= |
When x is bounded, Reduce can be used:
| In[6]:= |
| Out[6]= |
| In[7]:= |
| Out[7]= |
When x is unbounded, Reduce is not able to give a result:
| In[8]:= |
| Out[8]= |
VerifyMTP handles this input however:
| In[9]:= |
| Out[9]= |
Show that the circle 25x2+25(y-3)2=36 is disjoint from the parametric curve x=tcos2t, y=t sin t:
| In[10]:= |
| Out[10]= |
Note that it is very hard to tell from a plot if the two curves are disjoint:
| In[11]:= | ![]() |
| Out[11]= | ![]() |
Wolfram Language 13.0 (December 2021) or above
This work is licensed under a Creative Commons Attribution 4.0 International License