in reply to List all different equations for a given one
Any idea how would I solve such a problem?
Substitute a semirandom range of numerical values for each variable into both equations and evaluate them. If the both result in the same answer, for a wellchosen set of inputs, they're probably the same equation.
Of course, that kind of just moves the goal posts a little to one of coming up with a good set of values; but given the performance of modern processors, unless these are quite complicated formulae, you can probably afford to throw a little (or even quite a lot) of everything at them and still get a statistically, highly probable answer in a few seconds.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks  Silence betokens consent  Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
Re^2: List all different equations for a given one by jess195 (Novice) on Sep 24, 2013 at 18:25 UTC 
actually I was using shunting yard algorithm to do me one thing: break down the equation into parts so I can swtich tings around. For example if I have a * b + c, then the algorithm should return: a b * c +, and then from here I would list different things, like add b a * c +, or c b a * + to the list of accepted equations, yet there are a lot to consider. But that's really difficult to do, as you will end up brute forcing everything. I believe the same goes to your way of solving it. I'm sure there is a smarter way to solve and take into consideration performance.
 [reply] 

 [reply] 
Re^2: List all different equations for a given one by LanX (Chancellor) on Sep 24, 2013 at 21:02 UTC 
How many random numbers do you need to proof that abs($x**10000001) and abs($x**10000000) are identical? :)
Please if you consider replying that you limit the range as soon that one function returns inf think about functions with multiple separated intervals not being inf.
I'd rather avoid numerical approaches as long as possible. (IIRC for instance some differential equations can only be solved numerically)
Cheers Rolf
( addicted to the Perl Programming Language)
 [reply] [d/l] [select] 

$x = 1.000000001; say abs($x**1e8);;
1.10517092716461
$x = 1.000000001; say abs($x**(1e8+1));;
1.10517092826979
You seem to have missed: "semirandom range" & "wellchosen set of inputs". Inspecting a string for exponentiation by big constants is trivial.
if you consider replying that you limit the range as soon that one function returns inf think about functions with multiple separated intervals ...
Vary them one at a time...
I'd rather avoid ...
You are quite welcome to do things the hard way; it seems to suite.
The OP asked for ideas.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks  Silence betokens consent  Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
 [reply] [d/l] 
