Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Make a number or expression more complicated—the opposite of Simplify
ResourceFunction["AntiSimplify"][expr] complicates the value of expr by essentially adding zeroes and multiplying by ones. | |
ResourceFunction["AntiSimplify"][expr,param] complicates expr using the numeric or symbolic parameter param. |
Complicate a number:
In[1]:= |
![]() |
Out[1]= |
![]() |
Complicate a symbolic expression:
In[2]:= |
![]() |
Out[2]= |
![]() |
Use a particular value to expound upon a number:
In[3]:= |
![]() |
Out[3]= |
![]() |
Simplifying the expression gives back the initial value:
In[4]:= |
![]() |
Out[4]= |
![]() |
Obfuscate a symbolic expression by introducing a new variable:
In[5]:= |
![]() |
Out[5]= |
![]() |
Again, simplifying gives back the initial value:
In[6]:= |
![]() |
Out[6]= |
![]() |
The "Complexity" option ramps up the number of nested obfuscation loops the function applies:
In[7]:= |
![]() |
Out[7]= |
![]() |
Add more complexity:
In[8]:= |
![]() |
Out[8]= |
![]() |
Even more:
In[9]:= |
![]() |
Out[9]= |
![]() |
This can get very complicated with larger values:
In[10]:= |
![]() |
Out[10]= |
![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License