Details

Time bar (total: 5.2s)

analyze51.0ms (1%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%62.4%12.6%6
37.5%43.7%18.8%7
46.8%34.3%18.8%8
53.1%23.4%23.5%9
58.5%18%23.5%10
62%12.1%25.9%11
65%9.2%25.9%12
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample716.0ms (13.9%)

Results
683.0ms8256×body256valid
21.0ms246×body256invalid

preprocess26.0ms (0.5%)

Algorithm
egg-herbie
Rules
327×fma-def_binary64
30×distribute-rgt-in_binary64
25×sub-neg_binary64
24×distribute-lft-in_binary64
24×unsub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01124
13524
210024
314724
421224
530624
635124
741024
866524
022
122
Stop Event
unsound
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
0
Call 2
Inputs
(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
(neg.f64 (*.f64 (*.f64 (*.f64 b b) a) a))
Outputs
(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
(*.f64 (*.f64 a (*.f64 a b)) (neg.f64 b))
(*.f64 a (*.f64 a (neg.f64 (*.f64 b b))))
(*.f64 a (*.f64 a (*.f64 b (neg.f64 b))))
(neg.f64 (*.f64 (*.f64 (*.f64 b b) a) a))
(*.f64 (*.f64 a (*.f64 a b)) (neg.f64 b))
(*.f64 a (*.f64 a (neg.f64 (*.f64 b b))))
(*.f64 a (*.f64 a (*.f64 b (neg.f64 b))))
Symmetry

(sort a b)

Compiler

Compiled 12 to 8 computations (33.3% saved)

simplify14.0ms (0.3%)

Algorithm
egg-herbie
Rules
284×fma-def_binary64
30×associate-*l*_binary64
24×distribute-rgt-in_binary64
24×sub-neg_binary64
19×fma-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
12112
25912
312512
419212
526012
632312
737212
851712
960112
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
Outputs
(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
(*.f64 (*.f64 (*.f64 a a) b) (neg.f64 b))
(*.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))
(*.f64 a (*.f64 (*.f64 a (neg.f64 b)) b))
(*.f64 a (*.f64 (*.f64 b b) (neg.f64 a)))

eval1.0ms (0%)

Compiler

Compiled 18 to 10 computations (44.4% saved)

prune1.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
9.2b
Counts
3 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
15.0b
(*.f64 a (*.f64 (*.f64 b b) (neg.f64 a)))
16.4b
(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
Compiler

Compiled 20 to 12 computations (40% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
5.8b
(*.f64 (*.f64 (*.f64 a a) b) b)
10.0b
(*.f64 (*.f64 a a) b)
Compiler

Compiled 27 to 6 computations (77.8% saved)

series6.0ms (0.1%)

Counts
2 → 48
Calls

12 calls:

TimeVariablePointExpression
1.0ms
a
@0
(*.f64 (*.f64 a a) b)
1.0ms
b
@inf
(*.f64 (*.f64 a a) b)
1.0ms
b
@0
(*.f64 (*.f64 a a) b)
1.0ms
a
@0
(*.f64 (*.f64 (*.f64 a a) b) b)
1.0ms
a
@inf
(*.f64 (*.f64 a a) b)

rewrite43.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
554×pow1_binary64
509×add-log-exp_binary64
509×log1p-expm1-u_binary64
509×expm1-log1p-u_binary64
495×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0617
112114
2148914
Stop Event
node limit
Counts
2 → 22
Calls
Call 1
Inputs
(*.f64 (*.f64 a a) b)
(*.f64 (*.f64 (*.f64 a a) b) b)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (*.f64 a a) b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 a a) b) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (*.f64 a a) b) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (*.f64 a a) b)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a (sqrt.f64 b)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 a 4) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 a) a) b))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (*.f64 a a) b) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (*.f64 a a) b)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (*.f64 a a) b)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 a a) b)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 a b) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a b) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a b) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (*.f64 a b) 2)))))))

simplify127.0ms (2.5%)

Algorithm
egg-herbie
Rules
2164×associate-*l*_binary64
1808×associate-*r*_binary64
757×sqr-pow_binary64
304×unswap-sqr_binary64
256×pow-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08408
118408
239408
3108408
4483408
51060408
61126408
71226408
81346408
91468408
101615408
111779408
121968408
132183408
142413408
152657408
162922408
173201408
183501408
193815408
Stop Event
node limit
Counts
70 → 26
Calls
Call 1
Inputs
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
Outputs
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
4.3b
(*.f64 a (*.f64 (*.f64 b b) (neg.f64 a)))
10.0b
(*.f64 (*.f64 b b) (neg.f64 a))
Compiler

Compiled 23 to 6 computations (73.9% saved)

series6.0ms (0.1%)

Counts
2 → 48
Calls

12 calls:

TimeVariablePointExpression
1.0ms
b
@-inf
(*.f64 (*.f64 b b) (neg.f64 a))
1.0ms
a
@0
(*.f64 (*.f64 b b) (neg.f64 a))
1.0ms
b
@0
(*.f64 (*.f64 b b) (neg.f64 a))
1.0ms
b
@inf
(*.f64 (*.f64 b b) (neg.f64 a))
1.0ms
a
@inf
(*.f64 (*.f64 b b) (neg.f64 a))

rewrite48.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
586×pow1_binary64
540×add-log-exp_binary64
539×log1p-expm1-u_binary64
539×expm1-log1p-u_binary64
526×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0721
114714
2196114
Stop Event
node limit
Counts
2 → 25
Calls
Call 1
Inputs
(*.f64 (*.f64 b b) (neg.f64 a))
(*.f64 a (*.f64 (*.f64 b b) (neg.f64 a)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (*.f64 b (*.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 b (*.f64 b a))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b (*.f64 b a)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b (*.f64 b a)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 b (*.f64 b a))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b (sqrt.f64 a)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 b (*.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 b 4) (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 b) b) a))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 b (*.f64 b a)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 b (*.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 b (*.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 b (*.f64 b a))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 b a) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b a) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (*.f64 b a) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (*.f64 b a) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b a) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (pow.f64 (*.f64 b a) 2))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 (*.f64 b a) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 b a) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (*.f64 b a) 2)))))))

simplify128.0ms (2.5%)

Algorithm
egg-herbie
Rules
705×fma-def_binary64
618×distribute-rgt-neg-in_binary64
615×distribute-lft-neg-in_binary64
483×fma-neg_binary64
409×sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011504
129504
276504
3244504
41136504
52375504
63556504
74809504
85727504
96548504
107326504
117997504
Stop Event
node limit
Counts
73 → 29
Calls
Call 1
Inputs
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
Outputs
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 a))
(*.f64 b (neg.f64 (*.f64 a b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 a))
(*.f64 b (neg.f64 (*.f64 a b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 a))
(*.f64 b (neg.f64 (*.f64 a b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 a))
(*.f64 b (neg.f64 (*.f64 a b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 a))
(*.f64 b (neg.f64 (*.f64 a b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 a))
(*.f64 b (neg.f64 (*.f64 a b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 a))
(*.f64 b (neg.f64 (*.f64 a b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 a))
(*.f64 b (neg.f64 (*.f64 a b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 a))
(*.f64 b (neg.f64 (*.f64 a b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 a))
(*.f64 b (neg.f64 (*.f64 a b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 a))
(*.f64 b (neg.f64 (*.f64 a b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 a))
(*.f64 b (neg.f64 (*.f64 a b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 a))
(*.f64 b (neg.f64 (*.f64 a b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 a))
(*.f64 b (neg.f64 (*.f64 a b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 a))
(*.f64 b (neg.f64 (*.f64 a b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 a))
(*.f64 b (neg.f64 (*.f64 a b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 a))
(*.f64 b (neg.f64 (*.f64 a b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 a))
(*.f64 b (neg.f64 (*.f64 a b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 a))
(*.f64 b (neg.f64 (*.f64 a b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 a))
(*.f64 b (neg.f64 (*.f64 a b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 a))
(*.f64 b (neg.f64 (*.f64 a b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 a))
(*.f64 b (neg.f64 (*.f64 a b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 a))
(*.f64 b (neg.f64 (*.f64 a b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 a))
(*.f64 b (neg.f64 (*.f64 a b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 b b) (*.f64 a a)))
(*.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))
(*.f64 (*.f64 a b) (neg.f64 (*.f64 a b)))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 b b) (*.f64 a a)))
(*.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))
(*.f64 (*.f64 a b) (neg.f64 (*.f64 a b)))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 b b) (*.f64 a a)))
(*.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))
(*.f64 (*.f64 a b) (neg.f64 (*.f64 a b)))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 b b) (*.f64 a a)))
(*.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))
(*.f64 (*.f64 a b) (neg.f64 (*.f64 a b)))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 b b) (*.f64 a a)))
(*.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))
(*.f64 (*.f64 a b) (neg.f64 (*.f64 a b)))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 b b) (*.f64 a a)))
(*.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))
(*.f64 (*.f64 a b) (neg.f64 (*.f64 a b)))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 b b) (*.f64 a a)))
(*.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))
(*.f64 (*.f64 a b) (neg.f64 (*.f64 a b)))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 b b) (*.f64 a a)))
(*.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))
(*.f64 (*.f64 a b) (neg.f64 (*.f64 a b)))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 b b) (*.f64 a a)))
(*.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))
(*.f64 (*.f64 a b) (neg.f64 (*.f64 a b)))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 b b) (*.f64 a a)))
(*.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))
(*.f64 (*.f64 a b) (neg.f64 (*.f64 a b)))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 b b) (*.f64 a a)))
(*.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))
(*.f64 (*.f64 a b) (neg.f64 (*.f64 a b)))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 b b) (*.f64 a a)))
(*.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))
(*.f64 (*.f64 a b) (neg.f64 (*.f64 a b)))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 b b) (*.f64 a a)))
(*.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))
(*.f64 (*.f64 a b) (neg.f64 (*.f64 a b)))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 b b) (*.f64 a a)))
(*.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))
(*.f64 (*.f64 a b) (neg.f64 (*.f64 a b)))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 b b) (*.f64 a a)))
(*.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))
(*.f64 (*.f64 a b) (neg.f64 (*.f64 a b)))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 b b) (*.f64 a a)))
(*.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))
(*.f64 (*.f64 a b) (neg.f64 (*.f64 a b)))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 b b) (*.f64 a a)))
(*.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))
(*.f64 (*.f64 a b) (neg.f64 (*.f64 a b)))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 b b) (*.f64 a a)))
(*.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))
(*.f64 (*.f64 a b) (neg.f64 (*.f64 a b)))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 b b) (*.f64 a a)))
(*.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))
(*.f64 (*.f64 a b) (neg.f64 (*.f64 a b)))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 b b) (*.f64 a a)))
(*.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))
(*.f64 (*.f64 a b) (neg.f64 (*.f64 a b)))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 b b) (*.f64 a a)))
(*.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))
(*.f64 (*.f64 a b) (neg.f64 (*.f64 a b)))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 b b) (*.f64 a a)))
(*.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))
(*.f64 (*.f64 a b) (neg.f64 (*.f64 a b)))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 b b) (*.f64 a a)))
(*.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))
(*.f64 (*.f64 a b) (neg.f64 (*.f64 a b)))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 b b) (*.f64 a a)))
(*.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))
(*.f64 (*.f64 a b) (neg.f64 (*.f64 a b)))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))

eval10.0ms (0.2%)

Compiler

Compiled 487 to 260 computations (46.6% saved)

prune16.0ms (0.3%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New48755
Fresh000
Picked011
Done011
Total48957
Error
0.1b
Counts
57 → 9
Alt Table
Click to see full alt table
StatusErrorProgram
0.9b
(neg.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) 3))
22.1b
(neg.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
15.0b
(*.f64 a (*.f64 (*.f64 b b) (neg.f64 a)))
6.0b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
16.4b
(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
0.3b
(neg.f64 (pow.f64 (*.f64 b a) 2))
4.5b
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
21.0b
(neg.f64 (*.f64 (pow.f64 (*.f64 a (sqrt.f64 b)) 2) b))
25.6b
(neg.f64 (cbrt.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 3)))
Compiler

Compiled 162 to 116 computations (28.4% saved)

localize8.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.3b
(pow.f64 (*.f64 b a) 2)
Compiler

Compiled 19 to 9 computations (52.6% saved)

series4.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
a
@-inf
(pow.f64 (*.f64 b a) 2)
1.0ms
b
@0
(pow.f64 (*.f64 b a) 2)
1.0ms
b
@-inf
(pow.f64 (*.f64 b a) 2)
1.0ms
a
@0
(pow.f64 (*.f64 b a) 2)
1.0ms
b
@inf
(pow.f64 (*.f64 b a) 2)

rewrite39.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
512×pow1_binary64
489×add-sqr-sqrt_binary64
471×add-log-exp_binary64
471×log1p-expm1-u_binary64
471×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
11257
213807
Stop Event
node limit
Counts
1 → 22
Calls
Call 1
Inputs
(pow.f64 (*.f64 b a) 2)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 b a) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (*.f64 a (*.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 a (*.f64 b (*.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b a) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 b a) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (*.f64 b a) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b b) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 b a) 4)) (pow.f64 (cbrt.f64 (*.f64 b a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) (cbrt.f64 (pow.f64 (*.f64 b a) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) (*.f64 (cbrt.f64 (*.f64 b a)) (*.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 b a)) (*.f64 (sqrt.f64 (*.f64 b a)) (*.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 b a) (sqrt.f64 (*.f64 b a))) (sqrt.f64 (*.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 b a) b) a)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 b a) a) b)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 b a) (pow.f64 (cbrt.f64 (*.f64 b a)) 2)) (cbrt.f64 (*.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 b a) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 b a) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (*.f64 b a))))))))

simplify171.0ms (3.3%)

Algorithm
egg-herbie
Rules
995×sqr-pow_binary64
753×associate-*l*_binary64
580×cube-prod_binary64
576×fabs-mul_binary64
528×associate-*r*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07240
116240
237240
3105240
4446240
52486240
62578240
72790240
82988240
93230240
103545240
114237240
124731240
135387240
146131240
156690240
167034240
177362240
187466240
197498240
Stop Event
node limit
Counts
46 → 24
Calls
Call 1
Inputs
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
Outputs
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(*.f64 a (*.f64 a b))
5.8b
(*.f64 (*.f64 a (*.f64 a b)) b)
Compiler

Compiled 27 to 6 computations (77.8% saved)

series3.0ms (0.1%)

Counts
2 → 48
Calls

12 calls:

TimeVariablePointExpression
0.0ms
a
@0
(*.f64 (*.f64 a (*.f64 a b)) b)
0.0ms
a
@inf
(*.f64 (*.f64 a (*.f64 a b)) b)
0.0ms
b
@inf
(*.f64 (*.f64 a (*.f64 a b)) b)
0.0ms
a
@-inf
(*.f64 (*.f64 a (*.f64 a b)) b)
0.0ms
b
@-inf
(*.f64 (*.f64 a (*.f64 a b)) b)

rewrite44.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
567×pow1_binary64
520×add-log-exp_binary64
520×log1p-expm1-u_binary64
520×expm1-log1p-u_binary64
508×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0617
112114
2152314
Stop Event
node limit
Counts
2 → 22
Calls
Call 1
Inputs
(*.f64 (*.f64 a (*.f64 a b)) b)
(*.f64 a (*.f64 a b))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 a b) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a b) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a b) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (*.f64 a b) 2)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 a (*.f64 a b))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a (*.f64 a b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a (*.f64 a b)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a (sqrt.f64 b)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 a (*.f64 a b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 a) (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 a (*.f64 a b)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 a (*.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 a (*.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 a (*.f64 a b))))))))

simplify126.0ms (2.4%)

Algorithm
egg-herbie
Rules
2142×associate-*l*_binary64
1789×associate-*r*_binary64
757×sqr-pow_binary64
304×unswap-sqr_binary64
256×pow-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08408
118408
239408
3108408
4488408
51071408
61137408
71237408
81357408
91479408
101626408
111790408
121979408
132192408
142422408
152666408
162931408
173210408
183510408
193824408
Stop Event
node limit
Counts
70 → 26
Calls
Call 1
Inputs
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
Outputs
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(*.f64 b (*.f64 b (neg.f64 a)))
4.3b
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
Compiler

Compiled 24 to 6 computations (75% saved)

series3.0ms (0.1%)

Counts
2 → 48
Calls

12 calls:

TimeVariablePointExpression
0.0ms
a
@0
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
0.0ms
b
@-inf
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
0.0ms
a
@inf
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
0.0ms
b
@inf
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
0.0ms
a
@-inf
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))

rewrite46.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
583×pow1_binary64
536×add-log-exp_binary64
535×log1p-expm1-u_binary64
535×expm1-log1p-u_binary64
525×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0721
114614
2196414
Stop Event
node limit
Counts
2 → 24
Calls
Call 1
Inputs
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 b (*.f64 b (neg.f64 a)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 a b) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a b) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a b) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (pow.f64 (*.f64 a b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (*.f64 a b) 2)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 a (*.f64 b b))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a (*.f64 b b)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 a (*.f64 b b))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b (sqrt.f64 a)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 a (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 a (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 b) (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 a (*.f64 b b)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 a (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 a (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 a (*.f64 b b))))))))

simplify114.0ms (2.2%)

Algorithm
egg-herbie
Rules
705×fma-def_binary64
618×distribute-rgt-neg-in_binary64
616×distribute-lft-neg-in_binary64
483×fma-neg_binary64
410×sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011504
129504
276504
3245504
41125504
52376504
63557504
74810504
85728504
96551504
107329504
Stop Event
node limit
Counts
72 → 28
Calls
Call 1
Inputs
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
Outputs
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(*.f64 (*.f64 (*.f64 a a) b) (neg.f64 b))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(*.f64 (*.f64 (*.f64 a a) b) (neg.f64 b))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(*.f64 (*.f64 (*.f64 a a) b) (neg.f64 b))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(*.f64 (*.f64 (*.f64 a a) b) (neg.f64 b))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(*.f64 (*.f64 (*.f64 a a) b) (neg.f64 b))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(*.f64 (*.f64 (*.f64 a a) b) (neg.f64 b))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(*.f64 (*.f64 (*.f64 a a) b) (neg.f64 b))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(*.f64 (*.f64 (*.f64 a a) b) (neg.f64 b))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(*.f64 (*.f64 (*.f64 a a) b) (neg.f64 b))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(*.f64 (*.f64 (*.f64 a a) b) (neg.f64 b))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(*.f64 (*.f64 (*.f64 a a) b) (neg.f64 b))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(*.f64 (*.f64 (*.f64 a a) b) (neg.f64 b))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(*.f64 (*.f64 (*.f64 a a) b) (neg.f64 b))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(*.f64 (*.f64 (*.f64 a a) b) (neg.f64 b))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(*.f64 (*.f64 (*.f64 a a) b) (neg.f64 b))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(*.f64 (*.f64 (*.f64 a a) b) (neg.f64 b))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(*.f64 (*.f64 (*.f64 a a) b) (neg.f64 b))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(*.f64 (*.f64 (*.f64 a a) b) (neg.f64 b))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(*.f64 (*.f64 (*.f64 a a) b) (neg.f64 b))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(*.f64 (*.f64 (*.f64 a a) b) (neg.f64 b))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(*.f64 (*.f64 (*.f64 a a) b) (neg.f64 b))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(*.f64 (*.f64 (*.f64 a a) b) (neg.f64 b))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(*.f64 (*.f64 (*.f64 a a) b) (neg.f64 b))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(*.f64 (*.f64 (*.f64 a a) b) (neg.f64 b))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 a (neg.f64 (*.f64 b b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 a (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 a (neg.f64 (*.f64 b b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 a (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 a (neg.f64 (*.f64 b b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 a (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 a (neg.f64 (*.f64 b b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 a (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 a (neg.f64 (*.f64 b b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 a (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 a (neg.f64 (*.f64 b b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 a (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 a (neg.f64 (*.f64 b b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 a (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 a (neg.f64 (*.f64 b b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 a (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 a (neg.f64 (*.f64 b b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 a (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 a (neg.f64 (*.f64 b b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 a (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 a (neg.f64 (*.f64 b b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 a (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 a (neg.f64 (*.f64 b b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 a (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 a (neg.f64 (*.f64 b b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 a (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 a (neg.f64 (*.f64 b b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 a (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 a (neg.f64 (*.f64 b b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 a (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 a (neg.f64 (*.f64 b b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 a (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 a (neg.f64 (*.f64 b b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 a (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 a (neg.f64 (*.f64 b b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 a (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 a (neg.f64 (*.f64 b b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 a (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 a (neg.f64 (*.f64 b b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 a (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 a (neg.f64 (*.f64 b b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 a (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 a (neg.f64 (*.f64 b b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 a (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 a (neg.f64 (*.f64 b b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 a (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 a (pow.f64 b 2)))
(neg.f64 (*.f64 a (*.f64 b b)))
(*.f64 a (neg.f64 (*.f64 b b)))
(*.f64 b (*.f64 b (neg.f64 a)))
(*.f64 a (*.f64 b (neg.f64 b)))

localize11.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
21.4b
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
Compiler

Compiled 26 to 18 computations (30.8% saved)

series2.0ms (0%)

Counts
1 → 0
Calls

6 calls:

TimeVariablePointExpression
0.0ms
b
@inf
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
0.0ms
a
@inf
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
0.0ms
a
@0
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
0.0ms
a
@-inf
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
0.0ms
b
@-inf
(*.f64 (pow.f64 a 2) (pow.f64 b 2))

rewrite49.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
575×pow1_binary64
528×add-log-exp_binary64
528×log1p-expm1-u_binary64
528×expm1-log1p-u_binary64
512×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
077
11467
215807
Stop Event
node limit
Counts
1 → 11
Calls
Call 1
Inputs
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 a b) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a b) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a b) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 a b) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (*.f64 a b))))))))

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
11 → 11
Calls
Call 1
Inputs
Outputs

localize11.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.2b
(*.f64 a (sqrt.f64 b))
0.2b
(pow.f64 (*.f64 a (sqrt.f64 b)) 2)
4.3b
(*.f64 (pow.f64 (*.f64 a (sqrt.f64 b)) 2) b)
Compiler

Compiled 34 to 14 computations (58.8% saved)

series14.0ms (0.3%)

Counts
3 → 36
Calls

18 calls:

TimeVariablePointExpression
3.0ms
b
@0
(pow.f64 (*.f64 a (sqrt.f64 b)) 2)
2.0ms
a
@0
(pow.f64 (*.f64 a (sqrt.f64 b)) 2)
1.0ms
b
@-inf
(*.f64 (pow.f64 (*.f64 a (sqrt.f64 b)) 2) b)
1.0ms
b
@-inf
(pow.f64 (*.f64 a (sqrt.f64 b)) 2)
1.0ms
a
@inf
(pow.f64 (*.f64 a (sqrt.f64 b)) 2)

rewrite51.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
682×pow1_binary64
628×add-log-exp_binary64
628×log1p-expm1-u_binary64
628×expm1-log1p-u_binary64
610×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0827
116523
2185623
Stop Event
node limit
Counts
3 → 50
Calls
Call 1
Inputs
(*.f64 (pow.f64 (*.f64 a (sqrt.f64 b)) 2) b)
(pow.f64 (*.f64 a (sqrt.f64 b)) 2)
(*.f64 a (sqrt.f64 b))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 b (*.f64 b (*.f64 a a)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b (*.f64 b (*.f64 a a))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b (*.f64 b (*.f64 a a))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 b (*.f64 b (*.f64 a a)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 b) (*.f64 a (sqrt.f64 b))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 b (*.f64 b (*.f64 a a))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 b) (*.f64 b (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 b (*.f64 b (*.f64 a a))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 b 3) (pow.f64 (*.f64 b (*.f64 a a)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 b (*.f64 a a)) 3) (pow.f64 b 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 b (*.f64 b (*.f64 a a)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 b (*.f64 b (*.f64 a a)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 b (*.f64 b (*.f64 a a)))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 b (*.f64 a a))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 a (*.f64 (sqrt.f64 b) (*.f64 a (sqrt.f64 b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 b) (*.f64 a (*.f64 a (sqrt.f64 b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a (sqrt.f64 b)) (*.f64 a (sqrt.f64 b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b (*.f64 a a)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 b (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a a) b)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 b (*.f64 a a))) (cbrt.f64 (pow.f64 (*.f64 a (sqrt.f64 b)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 b (*.f64 a a))) (*.f64 (cbrt.f64 (*.f64 a (sqrt.f64 b))) (*.f64 a (sqrt.f64 b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 a (sqrt.f64 b)) 4)) (cbrt.f64 (*.f64 b (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 b) (*.f64 a (sqrt.f64 b))) a)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 a (sqrt.f64 b))) (*.f64 (sqrt.f64 (*.f64 a (sqrt.f64 b))) (*.f64 a (sqrt.f64 b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a (sqrt.f64 b)) (sqrt.f64 (*.f64 a (sqrt.f64 b)))) (sqrt.f64 (*.f64 a (sqrt.f64 b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a (sqrt.f64 b)) a) (sqrt.f64 b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a (sqrt.f64 b)) (cbrt.f64 (*.f64 b (*.f64 a a)))) (cbrt.f64 (*.f64 a (sqrt.f64 b))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 a (sqrt.f64 b)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (*.f64 a a)) b))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 b (*.f64 a a)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 b (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 b (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 b (*.f64 a a))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 a (sqrt.f64 b))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a (sqrt.f64 b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b (*.f64 a a)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a (sqrt.f64 b)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 a (sqrt.f64 b))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 a (sqrt.f64 b))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 b (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 a (sqrt.f64 b)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 a) (sqrt.f64 b)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 a (sqrt.f64 b)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 a 3) (pow.f64 b 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 b 3/2) (pow.f64 a 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 a (sqrt.f64 b))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 a (sqrt.f64 b))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 a (sqrt.f64 b))))))))

simplify100.0ms (1.9%)

Algorithm
egg-herbie
Rules
616×fma-neg_binary64
559×unswap-sqr_binary64
376×distribute-rgt-neg-in_binary64
360×unsub-neg_binary64
359×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
013324
133324
2102324
3444324
41147324
53011324
64930324
76137324
87072324
97602324
Stop Event
unsound
Counts
86 → 55
Calls
Call 1
Inputs
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
Outputs
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))

eval30.0ms (0.6%)

Compiler

Compiled 1450 to 691 computations (52.3% saved)

prune30.0ms (0.6%)

Pruning

15 alts after pruning (10 fresh and 5 done)

PrunedKeptTotal
New1359144
Fresh112
Picked011
Done246
Total13815153
Error
0.0b
Counts
153 → 15
Alt Table
Click to see full alt table
StatusErrorProgram
6.4b
(neg.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 3) b))
0.9b
(neg.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) 3))
26.1b
(neg.f64 (*.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) a) (sqrt.f64 b)) b))
15.0b
(*.f64 a (*.f64 (*.f64 b b) (neg.f64 a)))
6.0b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
22.1b
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
4.5b
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
0.8b
(neg.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) (*.f64 (cbrt.f64 (*.f64 b a)) (*.f64 b a))))
16.4b
(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
0.3b
(neg.f64 (*.f64 (*.f64 b a) (*.f64 b a)))
25.6b
(neg.f64 (cbrt.f64 (pow.f64 (pow.f64 (*.f64 b a) 2) 3)))
19.0b
(neg.f64 (sqrt.f64 (pow.f64 (*.f64 b a) 4)))
16.8b
(neg.f64 (pow.f64 (cbrt.f64 (*.f64 b (*.f64 b (*.f64 a a)))) 3))
21.0b
(neg.f64 (*.f64 (pow.f64 (*.f64 a (sqrt.f64 b)) 2) b))
28.2b
(neg.f64 (*.f64 (*.f64 (*.f64 b a) (sqrt.f64 (*.f64 b a))) (sqrt.f64 (*.f64 b a))))
Compiler

Compiled 301 to 188 computations (37.5% saved)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (*.f64 b a) (*.f64 b a))
Compiler

Compiled 22 to 5 computations (77.3% saved)

series2.0ms (0%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
0.0ms
b
@0
(*.f64 (*.f64 b a) (*.f64 b a))
0.0ms
b
@-inf
(*.f64 (*.f64 b a) (*.f64 b a))
0.0ms
a
@-inf
(*.f64 (*.f64 b a) (*.f64 b a))
0.0ms
b
@inf
(*.f64 (*.f64 b a) (*.f64 b a))
0.0ms
a
@inf
(*.f64 (*.f64 b a) (*.f64 b a))

rewrite37.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
485×pow1_binary64
460×add-sqr-sqrt_binary64
454×*-un-lft-identity_binary64
447×add-log-exp_binary64
447×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
11037
212757
Stop Event
node limit
Counts
1 → 11
Calls
Call 1
Inputs
(*.f64 (*.f64 b a) (*.f64 b a))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 b a) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b a) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b a) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (*.f64 b a) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 b a) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 b a) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 b a)) 2))))))

simplify165.0ms (3.2%)

Algorithm
egg-herbie
Rules
995×sqr-pow_binary64
753×associate-*l*_binary64
580×cube-prod_binary64
576×fabs-mul_binary64
528×associate-*r*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07240
116240
237240
3105240
4446240
52486240
62578240
72790240
82988240
93230240
103545240
114237240
124731240
135387240
146131240
156690240
167034240
177362240
187466240
197498240
Stop Event
node limit
Counts
35 → 13
Calls
Call 1
Inputs
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
Outputs
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))

localize7.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
21.6b
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
Compiler

Compiled 21 to 6 computations (71.4% saved)

series2.0ms (0%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
0.0ms
a
@0
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
0.0ms
b
@inf
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
0.0ms
b
@-inf
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
0.0ms
a
@inf
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
0.0ms
a
@-inf
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))

rewrite46.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
569×pow1_binary64
524×add-log-exp_binary64
523×log1p-expm1-u_binary64
523×expm1-log1p-u_binary64
510×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0712
11467
219177
Stop Event
node limit
Counts
1 → 12
Calls
Call 1
Inputs
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 a b) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a b) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a b) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (pow.f64 (*.f64 a b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (*.f64 a b) 2)))))))

simplify99.0ms (1.9%)

Algorithm
egg-herbie
Rules
900×unswap-sqr_binary64
706×fma-def_binary64
537×distribute-rgt-neg-in_binary64
536×distribute-lft-neg-in_binary64
391×fma-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
09288
122288
259288
3213288
4933288
52011288
62886288
73854288
84988288
95805288
106515288
Stop Event
node limit
Counts
36 → 14
Calls
Call 1
Inputs
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
Outputs
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 (*.f64 a a)))
(*.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 (*.f64 a a)))
(*.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 (*.f64 a a)))
(*.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 (*.f64 a a)))
(*.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 (*.f64 a a)))
(*.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 (*.f64 a a)))
(*.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 (*.f64 a a)))
(*.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 (*.f64 a a)))
(*.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 (*.f64 a a)))
(*.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 (*.f64 a a)))
(*.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 (*.f64 a a)))
(*.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 (*.f64 a a)))
(*.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 (*.f64 a a)))
(*.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 (*.f64 a a)))
(*.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 (*.f64 a a)))
(*.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 (*.f64 a a)))
(*.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 (*.f64 a a)))
(*.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 (*.f64 a a)))
(*.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 (*.f64 a a)))
(*.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 (*.f64 a a)))
(*.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 (*.f64 a a)))
(*.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 (*.f64 a a)))
(*.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 (*.f64 a a)))
(*.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 -1 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (*.f64 a a) (*.f64 b b)))
(*.f64 (*.f64 b b) (neg.f64 (*.f64 a a)))
(*.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))

localize14.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 a (*.f64 a b))
0.4b
(pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 3)
5.8b
(*.f64 (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 3) b)
23.2b
(cbrt.f64 (*.f64 a (*.f64 a b)))
Compiler

Compiled 48 to 15 computations (68.8% saved)

series17.0ms (0.3%)

Counts
3 → 24
Calls

18 calls:

TimeVariablePointExpression
4.0ms
b
@-inf
(pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 3)
3.0ms
b
@-inf
(*.f64 (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 3) b)
1.0ms
a
@0
(pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 3)
1.0ms
b
@inf
(pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 3)
1.0ms
a
@0
(cbrt.f64 (*.f64 a (*.f64 a b)))

rewrite58.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
727×pow1_binary64
679×add-log-exp_binary64
679×log1p-expm1-u_binary64
679×expm1-log1p-u_binary64
663×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0926
118923
2200823
Stop Event
node limit
Counts
3 → 74
Calls
Call 1
Inputs
(cbrt.f64 (*.f64 a (*.f64 a b)))
(*.f64 (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 3) b)
(pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 3)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 (*.f64 a (*.f64 a b)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (*.f64 a (*.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 a) (cbrt.f64 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 a) 2) (cbrt.f64 b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 a (*.f64 a b)))) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 a (*.f64 a b)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 a (*.f64 a b)))) (pow.f64 (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 a (*.f64 a b)))) 2) (cbrt.f64 (cbrt.f64 (*.f64 a (*.f64 a b)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 a b)) (cbrt.f64 a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 a (sqrt.f64 b))) (cbrt.f64 (*.f64 a (sqrt.f64 b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 2) 1/3) (cbrt.f64 (cbrt.f64 (*.f64 a (*.f64 a b)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (*.f64 a (*.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 a a) 1/3) (cbrt.f64 b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 a (sqrt.f64 b)) 1/3) (pow.f64 (*.f64 a (sqrt.f64 b)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a (*.f64 a b)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 a (*.f64 a b)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 a (sqrt.f64 b))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (*.f64 a (*.f64 a b)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (*.f64 a (*.f64 a b)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (*.f64 a (*.f64 a b)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (*.f64 a (*.f64 a b)))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 a b) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a b) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a b) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 b 3) (pow.f64 (*.f64 a (*.f64 a b)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 a (*.f64 a b)) 3) (pow.f64 b 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (*.f64 a b) 2)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 a (*.f64 a b))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 a (*.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a b) a)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a (*.f64 a b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 a (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a a) b)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 2) (cbrt.f64 (*.f64 a (*.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 a) (*.f64 (cbrt.f64 (*.f64 a b)) (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 a) 2) (*.f64 (cbrt.f64 a) (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 a (*.f64 a b)))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 a (*.f64 a b)))) (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) (*.f64 (cbrt.f64 (*.f64 a b)) a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a (sqrt.f64 b)) (*.f64 a (sqrt.f64 b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 a) (*.f64 (sqrt.f64 a) (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 a (sqrt.f64 b))) (*.f64 (cbrt.f64 (*.f64 a (sqrt.f64 b))) (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 a b)) (*.f64 (sqrt.f64 (*.f64 a b)) a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 a (*.f64 a b)))) 2) 3) (cbrt.f64 (*.f64 a (*.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 a (sqrt.f64 b))) 3) (pow.f64 (cbrt.f64 (*.f64 a (sqrt.f64 b))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a a) 1) b)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a (pow.f64 (cbrt.f64 (*.f64 a b)) 2)) (cbrt.f64 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a (sqrt.f64 (*.f64 a b))) (sqrt.f64 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a b) (pow.f64 (cbrt.f64 a) 2)) (cbrt.f64 a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a b) (sqrt.f64 a)) (sqrt.f64 a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a a) (pow.f64 (cbrt.f64 b) 2)) (cbrt.f64 b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a a) (sqrt.f64 b)) (sqrt.f64 b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 2) 1) (cbrt.f64 (*.f64 a (*.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 2) (cbrt.f64 a)) (cbrt.f64 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 a (*.f64 a b)))) 2)) (cbrt.f64 (cbrt.f64 (*.f64 a (*.f64 a b)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 2) (cbrt.f64 (*.f64 a (sqrt.f64 b)))) (cbrt.f64 (*.f64 a (sqrt.f64 b))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 a (*.f64 a b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 a) (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 a (*.f64 a b)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 a 3) (pow.f64 (*.f64 a b) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 a b) 3) (pow.f64 a 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 a (*.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 a (*.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 a (*.f64 a b))))))))

simplify170.0ms (3.3%)

Algorithm
egg-herbie
Rules
995×sqr-pow_binary64
753×associate-*l*_binary64
580×cube-prod_binary64
576×fabs-mul_binary64
528×associate-*r*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07240
116240
237240
3105240
4446240
52486240
62578240
72790240
82988240
93230240
103545240
114237240
124731240
135387240
146131240
156690240
167034240
177362240
187466240
197498240
Stop Event
node limit
Counts
98 → 76
Calls
Call 1
Inputs
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
Outputs
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (*.f64 a (sqrt.f64 b)) a)
0.2b
(*.f64 a (sqrt.f64 b))
4.3b
(*.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) a) (sqrt.f64 b)) b)
4.9b
(*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) a) (sqrt.f64 b))
Compiler

Compiled 48 to 8 computations (83.3% saved)

series6.0ms (0.1%)

Counts
3 → 60
Calls

18 calls:

TimeVariablePointExpression
1.0ms
b
@-inf
(*.f64 (*.f64 a (sqrt.f64 b)) a)
1.0ms
b
@0
(*.f64 (*.f64 a (sqrt.f64 b)) a)
1.0ms
b
@inf
(*.f64 (*.f64 a (sqrt.f64 b)) a)
0.0ms
a
@inf
(*.f64 (*.f64 a (sqrt.f64 b)) a)
0.0ms
b
@-inf
(*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) a) (sqrt.f64 b))

rewrite52.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
732×pow1_binary64
673×add-log-exp_binary64
673×log1p-expm1-u_binary64
673×expm1-log1p-u_binary64
655×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0840
116226
2197326
Stop Event
node limit
Counts
3 → 39
Calls
Call 1
Inputs
(*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) a) (sqrt.f64 b))
(*.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) a) (sqrt.f64 b)) b)
(*.f64 (*.f64 a (sqrt.f64 b)) a)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 b (*.f64 a a))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a (sqrt.f64 b)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b (*.f64 a a)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b (*.f64 a a)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 b (*.f64 a a))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 b (*.f64 a a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 b (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 b (*.f64 a a)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 b 3/2) (pow.f64 (*.f64 a (*.f64 a (sqrt.f64 b))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 a (*.f64 a (sqrt.f64 b))) 3) (pow.f64 b 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 b (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 b (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 b (*.f64 a a))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 b (*.f64 b (*.f64 a a)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b (*.f64 b (*.f64 a a))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b (*.f64 b (*.f64 a a))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 b (*.f64 b (*.f64 a a)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 b) (*.f64 a (sqrt.f64 b))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 b (*.f64 b (*.f64 a a))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 b) (*.f64 b (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 b (*.f64 b (*.f64 a a))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 b 3) (pow.f64 (*.f64 b (*.f64 a a)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 b (*.f64 a a)) 3) (pow.f64 b 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 b (*.f64 b (*.f64 a a)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 b (*.f64 b (*.f64 a a)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 b (*.f64 b (*.f64 a a)))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 a (*.f64 a (sqrt.f64 b)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a (*.f64 a (sqrt.f64 b))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a (*.f64 a (sqrt.f64 b))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 a (*.f64 a (sqrt.f64 b)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 a (*.f64 a (sqrt.f64 b)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 a (*.f64 a (sqrt.f64 b))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 a) (sqrt.f64 b)) a))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 a (*.f64 a (sqrt.f64 b))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 a 3) (pow.f64 (*.f64 a (sqrt.f64 b)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 a (sqrt.f64 b)) 3) (pow.f64 a 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 a (*.f64 a (sqrt.f64 b)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 a (*.f64 a (sqrt.f64 b)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 a (*.f64 a (sqrt.f64 b)))))))))

simplify102.0ms (2%)

Algorithm
egg-herbie
Rules
737×unswap-sqr_binary64
708×fma-def_binary64
500×unsub-neg_binary64
421×distribute-rgt-neg-in_binary64
364×neg-sub0_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
017516
143516
2143516
3594516
41428516
53826516
65956516
77517516
87901516
Stop Event
node limit
Counts
99 → 47
Calls
Call 1
Inputs
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) b)))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) b)))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) b)))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (pow.f64 a 2) (sqrt.f64 b))
(*.f64 (pow.f64 a 2) (sqrt.f64 b))
(*.f64 (pow.f64 a 2) (sqrt.f64 b))
(*.f64 (pow.f64 a 2) (sqrt.f64 b))
(*.f64 (pow.f64 a 2) (sqrt.f64 b))
(*.f64 (pow.f64 a 2) (sqrt.f64 b))
(*.f64 (pow.f64 a 2) (sqrt.f64 b))
(*.f64 (pow.f64 a 2) (sqrt.f64 b))
(*.f64 (pow.f64 a 2) (sqrt.f64 b))
(*.f64 (pow.f64 a 2) (sqrt.f64 b))
(*.f64 (pow.f64 a 2) (sqrt.f64 b))
(*.f64 (pow.f64 a 2) (sqrt.f64 b))
Outputs
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) b)))
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) b)))
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) b)))
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) b)))
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (sqrt.f64 b))
(*.f64 (*.f64 a a) (sqrt.f64 b))
(*.f64 a (*.f64 a (sqrt.f64 b)))
(*.f64 (pow.f64 a 2) (sqrt.f64 b))
(*.f64 (*.f64 a a) (sqrt.f64 b))
(*.f64 a (*.f64 a (sqrt.f64 b)))
(*.f64 (pow.f64 a 2) (sqrt.f64 b))
(*.f64 (*.f64 a a) (sqrt.f64 b))
(*.f64 a (*.f64 a (sqrt.f64 b)))
(*.f64 (pow.f64 a 2) (sqrt.f64 b))
(*.f64 (*.f64 a a) (sqrt.f64 b))
(*.f64 a (*.f64 a (sqrt.f64 b)))
(*.f64 (pow.f64 a 2) (sqrt.f64 b))
(*.f64 (*.f64 a a) (sqrt.f64 b))
(*.f64 a (*.f64 a (sqrt.f64 b)))
(*.f64 (pow.f64 a 2) (sqrt.f64 b))
(*.f64 (*.f64 a a) (sqrt.f64 b))
(*.f64 a (*.f64 a (sqrt.f64 b)))
(*.f64 (pow.f64 a 2) (sqrt.f64 b))
(*.f64 (*.f64 a a) (sqrt.f64 b))
(*.f64 a (*.f64 a (sqrt.f64 b)))
(*.f64 (pow.f64 a 2) (sqrt.f64 b))
(*.f64 (*.f64 a a) (sqrt.f64 b))
(*.f64 a (*.f64 a (sqrt.f64 b)))
(*.f64 (pow.f64 a 2) (sqrt.f64 b))
(*.f64 (*.f64 a a) (sqrt.f64 b))
(*.f64 a (*.f64 a (sqrt.f64 b)))
(*.f64 (pow.f64 a 2) (sqrt.f64 b))
(*.f64 (*.f64 a a) (sqrt.f64 b))
(*.f64 a (*.f64 a (sqrt.f64 b)))
(*.f64 (pow.f64 a 2) (sqrt.f64 b))
(*.f64 (*.f64 a a) (sqrt.f64 b))
(*.f64 a (*.f64 a (sqrt.f64 b)))
(*.f64 (pow.f64 a 2) (sqrt.f64 b))
(*.f64 (*.f64 a a) (sqrt.f64 b))
(*.f64 a (*.f64 a (sqrt.f64 b)))

localize14.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.2b
(pow.f64 (pow.f64 (*.f64 b a) 2) 3)
0.3b
(pow.f64 (*.f64 b a) 2)
24.7b
(cbrt.f64 (pow.f64 (pow.f64 (*.f64 b a) 2) 3))
Compiler

Compiled 38 to 22 computations (42.1% saved)

series5.0ms (0.1%)

Counts
2 → 48
Calls

12 calls:

TimeVariablePointExpression
1.0ms
b
@0
(pow.f64 (pow.f64 (*.f64 b a) 2) 3)
1.0ms
a
@0
(pow.f64 (pow.f64 (*.f64 b a) 2) 3)
1.0ms
b
@-inf
(pow.f64 (pow.f64 (*.f64 b a) 2) 3)
0.0ms
a
@-inf
(pow.f64 (pow.f64 (*.f64 b a) 2) 3)
0.0ms
b
@inf
(pow.f64 (pow.f64 (*.f64 b a) 2) 3)

rewrite50.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
676×pow1_binary64
637×add-log-exp_binary64
636×log1p-expm1-u_binary64
636×expm1-log1p-u_binary64
618×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
119514
2192514
Stop Event
node limit
Counts
2 → 53
Calls
Call 1
Inputs
(cbrt.f64 (pow.f64 (pow.f64 (*.f64 b a) 2) 3))
(pow.f64 (pow.f64 (*.f64 b a) 2) 3)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 b a) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (*.f64 a (*.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 a (*.f64 b (*.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b a) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 b a) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (*.f64 b a) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b b) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) (cbrt.f64 (pow.f64 (*.f64 b a) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) (pow.f64 (pow.f64 (*.f64 b a) 4) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) (*.f64 (cbrt.f64 (*.f64 b a)) (*.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 b a) 4)) (pow.f64 (cbrt.f64 (*.f64 b a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 b a)) (*.f64 (sqrt.f64 (*.f64 b a)) (*.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 b a) (sqrt.f64 (*.f64 b a))) (sqrt.f64 (*.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 b a) 4) 1/3) (pow.f64 (cbrt.f64 (*.f64 b a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (pow.f64 (*.f64 b a) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 b a) b) a)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 b a) a) b)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 b a) (pow.f64 (cbrt.f64 (*.f64 b a)) 2)) (cbrt.f64 (*.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b a) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b a) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b a) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 b a) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (*.f64 b a))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 b a) 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b a) (*.f64 (*.f64 b a) (pow.f64 (*.f64 b a) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 b a) 2) (pow.f64 (*.f64 b a) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 b a) 6) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (*.f64 b a) 6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b b) (*.f64 (*.f64 a a) (pow.f64 (*.f64 b a) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 b a) 4) (pow.f64 (*.f64 b a) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 b a) 4)) (*.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) (pow.f64 (*.f64 b a) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 b a) 3) (pow.f64 (*.f64 b a) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 b 6) (pow.f64 a 6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 a 6) (pow.f64 b 6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) 6) (pow.f64 (cbrt.f64 (*.f64 b a)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 b a)) 6) (pow.f64 (sqrt.f64 (*.f64 b a)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 b a) 4)) 3) (pow.f64 (*.f64 b a) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 b b) 3) (pow.f64 (*.f64 a a) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 b a) 4) (*.f64 b a)) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 b a) 4) 1) (pow.f64 (*.f64 b a) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 b a) 4) (cbrt.f64 (pow.f64 (*.f64 b a) 4))) (pow.f64 (cbrt.f64 (*.f64 b a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 b a) 4) (*.f64 b b)) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 b a) 12))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 b a) 6)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 b a) 6) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 b a) 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 b a) 6)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 b a)) 6))))))

simplify189.0ms (3.7%)

Algorithm
egg-herbie
Rules
1153×sqr-pow_binary64
679×cube-prod_binary64
527×associate-*l*_binary64
505×pow-sqr_binary64
455×associate-*r*_binary64
Iterations

Useful iterations: 10 (0.0ms)

IterNodesCost
011480
127480
271480
3291480
42113480
52327480
62688480
73041480
83472408
94007408
104706336
115220336
125603336
135879336
146040336
156154336
166857336
177718336
Stop Event
node limit
Counts
101 → 56
Calls
Call 1
Inputs
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
Outputs
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)

eval53.0ms (1%)

Compiler

Compiled 3134 to 1493 computations (52.4% saved)

prune50.0ms (1%)

Pruning

17 alts after pruning (8 fresh and 9 done)

PrunedKeptTotal
New2535258
Fresh235
Picked101
Done099
Total25617273
Error
0.0b
Counts
273 → 17
Alt Table
Click to see full alt table
StatusErrorProgram
6.4b
(neg.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 3) b))
0.9b
(neg.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) 3))
28.9b
(neg.f64 (*.f64 (*.f64 (*.f64 (*.f64 a a) (sqrt.f64 b)) (sqrt.f64 b)) b))
26.1b
(neg.f64 (*.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) a) (sqrt.f64 b)) b))
15.0b
(*.f64 a (*.f64 (*.f64 b b) (neg.f64 a)))
6.0b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
25.6b
(neg.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 6)))
0.3b
(neg.f64 (*.f64 (*.f64 b a) (*.f64 b a)))
22.1b
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
4.5b
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
0.8b
(neg.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) (*.f64 (cbrt.f64 (*.f64 b a)) (*.f64 b a))))
21.0b
(neg.f64 (*.f64 (pow.f64 (*.f64 a (sqrt.f64 b)) 2) b))
16.8b
(neg.f64 (pow.f64 (cbrt.f64 (*.f64 b (*.f64 b (*.f64 a a)))) 3))
16.4b
(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
31.7b
(neg.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 (*.f64 a b))) (sqrt.f64 (*.f64 a b))) b))
19.0b
(neg.f64 (sqrt.f64 (pow.f64 (*.f64 b a) 4)))
28.2b
(neg.f64 (*.f64 (*.f64 (*.f64 b a) (sqrt.f64 (*.f64 b a))) (sqrt.f64 (*.f64 b a))))
Compiler

Compiled 310 to 188 computations (39.4% saved)

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (cbrt.f64 (*.f64 b a)) (*.f64 b a))
0.2b
(*.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) (*.f64 (cbrt.f64 (*.f64 b a)) (*.f64 b a)))
0.4b
(pow.f64 (cbrt.f64 (*.f64 b a)) 2)
9.3b
(cbrt.f64 (*.f64 b a))
Compiler

Compiled 57 to 15 computations (73.7% saved)

series14.0ms (0.3%)

Counts
4 → 24
Calls

24 calls:

TimeVariablePointExpression
3.0ms
a
@-inf
(*.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) (*.f64 (cbrt.f64 (*.f64 b a)) (*.f64 b a)))
1.0ms
a
@-inf
(pow.f64 (cbrt.f64 (*.f64 b a)) 2)
1.0ms
b
@-inf
(pow.f64 (cbrt.f64 (*.f64 b a)) 2)
1.0ms
a
@inf
(pow.f64 (cbrt.f64 (*.f64 b a)) 2)
1.0ms
a
@-inf
(cbrt.f64 (*.f64 b a))

rewrite65.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
720×pow1_binary64
667×add-log-exp_binary64
667×log1p-expm1-u_binary64
667×expm1-log1p-u_binary64
650×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0937
118531
2209031
Stop Event
node limit
Counts
4 → 68
Calls
Call 1
Inputs
(cbrt.f64 (*.f64 b a))
(pow.f64 (cbrt.f64 (*.f64 b a)) 2)
(*.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) (*.f64 (cbrt.f64 (*.f64 b a)) (*.f64 b a)))
(*.f64 (cbrt.f64 (*.f64 b a)) (*.f64 b a))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 (*.f64 b a))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 b a)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (*.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 b a))) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 b a))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 b) (cbrt.f64 a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 a) (cbrt.f64 b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 b a))) 2) (cbrt.f64 (cbrt.f64 (*.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 b a) 1/6) (pow.f64 (*.f64 b a) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 4))) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 b a))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (*.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 b a)) 1/3) (pow.f64 (sqrt.f64 (*.f64 b a)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b a) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 b a)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 b a))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b a) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (cbrt.f64 (*.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (*.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (*.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (*.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (*.f64 b a))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cbrt.f64 (*.f64 b a)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 b a)) (cbrt.f64 (*.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cbrt.f64 (*.f64 b a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 4)) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 b a))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 b) (*.f64 (cbrt.f64 a) (cbrt.f64 (*.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 b) 2) (pow.f64 (cbrt.f64 a) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 b a))) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 b a) 1/6) (sqrt.f64 (*.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 b a) 1/6) (*.f64 (pow.f64 (*.f64 b a) 1/6) (cbrt.f64 (*.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 b a)) (pow.f64 (*.f64 b a) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 4)) 2)) (sqrt.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 b (cbrt.f64 (*.f64 b a)))) (sqrt.f64 a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 b a)) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 b a))) 2)) (cbrt.f64 (cbrt.f64 (*.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 b a)) (cbrt.f64 b)) (cbrt.f64 a))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 b a) 2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (cbrt.f64 (*.f64 b a)))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 b a) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b a) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b a) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (*.f64 b a) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 (*.f64 b a) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 b a) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (*.f64 b a) 2)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cbrt.f64 (*.f64 b a)) 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b a) 4/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 b a)) 4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (*.f64 b a) 2) 2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 4)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 4) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 b a) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 4)))))))

simplify167.0ms (3.2%)

Algorithm
egg-herbie
Rules
995×sqr-pow_binary64
753×associate-*l*_binary64
580×cube-prod_binary64
576×fabs-mul_binary64
528×associate-*r*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07240
116240
237240
3105240
4446240
52486240
62578240
72790240
82988240
93230240
103545240
114237240
124731240
135387240
146131240
156690240
167034240
177362240
187466240
197498240
Stop Event
node limit
Counts
92 → 70
Calls
Call 1
Inputs
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
Outputs
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))

localize11.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.3b
(pow.f64 (*.f64 a b) 6)
24.7b
(cbrt.f64 (pow.f64 (*.f64 a b) 6))
Compiler

Compiled 26 to 13 computations (50% saved)

series6.0ms (0.1%)

Counts
2 → 48
Calls

12 calls:

TimeVariablePointExpression
1.0ms
a
@0
(pow.f64 (*.f64 a b) 6)
1.0ms
a
@-inf
(pow.f64 (*.f64 a b) 6)
1.0ms
b
@0
(pow.f64 (*.f64 a b) 6)
1.0ms
b
@-inf
(pow.f64 (*.f64 a b) 6)
1.0ms
b
@inf
(pow.f64 (*.f64 a b) 6)

rewrite52.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
609×pow1_binary64
570×add-log-exp_binary64
570×log1p-expm1-u_binary64
570×expm1-log1p-u_binary64
554×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0716
114614
2170014
Stop Event
node limit
Counts
2 → 47
Calls
Call 1
Inputs
(cbrt.f64 (pow.f64 (*.f64 a b) 6))
(pow.f64 (*.f64 a b) 6)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 a b) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 a (*.f64 b (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (*.f64 a (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a b) (*.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 a b) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (*.f64 a b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b b) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 12))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) (*.f64 (cbrt.f64 (*.f64 a b)) (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 12))) (pow.f64 (cbrt.f64 (*.f64 a b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 a b)) (*.f64 (sqrt.f64 (*.f64 a b)) (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a b) (sqrt.f64 (*.f64 a b))) (sqrt.f64 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (pow.f64 (*.f64 a b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 12)) 1/3) (pow.f64 (cbrt.f64 (*.f64 a b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 a 6) 1/3) (pow.f64 (pow.f64 b 6) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a b) a) b)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a b) b) a)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a b) (pow.f64 (cbrt.f64 (*.f64 a b)) 2)) (cbrt.f64 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a b) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a b) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a b) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 12)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (*.f64 a b) 2)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 a b) 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 a b) 6) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 a b) 2) (cbrt.f64 (pow.f64 (*.f64 a b) 12)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (*.f64 a b) 6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 12)) (pow.f64 (*.f64 a b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 a b) 3) (pow.f64 (*.f64 a b) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 a 6) (pow.f64 b 6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 b 6) (pow.f64 a 6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) 6) (pow.f64 (cbrt.f64 (*.f64 a b)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 a b)) 6) (pow.f64 (sqrt.f64 (*.f64 a b)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 12)) 1) (pow.f64 (*.f64 a b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 12)) (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 12)))) (pow.f64 (cbrt.f64 (*.f64 a b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 12)) (*.f64 a b)) (*.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 a b) 12))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 a b) 6)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 a b) 6) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 a b) 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 a b) 6)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 6 (log.f64 (*.f64 a b))))))))

simplify187.0ms (3.6%)

Algorithm
egg-herbie
Rules
1153×sqr-pow_binary64
679×cube-prod_binary64
527×associate-*l*_binary64
505×pow-sqr_binary64
455×associate-*r*_binary64
Iterations

Useful iterations: 10 (0.0ms)

IterNodesCost
011480
127480
271480
3291480
42113480
52327480
62688480
73041480
83472408
94007408
104706336
115220336
125603336
135879336
146040336
156154336
166857336
177718336
Stop Event
node limit
Counts
95 → 49
Calls
Call 1
Inputs
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
Outputs
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(pow.f64 (*.f64 a b) 2)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)
(*.f64 (pow.f64 a 6) (pow.f64 b 6))
(pow.f64 (*.f64 a b) 6)

localize14.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(pow.f64 (cbrt.f64 (*.f64 b (*.f64 b (*.f64 a a)))) 3)
5.8b
(*.f64 b (*.f64 b (*.f64 a a)))
10.0b
(*.f64 b (*.f64 a a))
19.4b
(cbrt.f64 (*.f64 b (*.f64 b (*.f64 a a))))
Compiler

Compiled 49 to 12 computations (75.5% saved)

series8.0ms (0.2%)

Counts
4 → 48
Calls

24 calls:

TimeVariablePointExpression
1.0ms
b
@-inf
(pow.f64 (cbrt.f64 (*.f64 b (*.f64 b (*.f64 a a)))) 3)
0.0ms
b
@0
(pow.f64 (cbrt.f64 (*.f64 b (*.f64 b (*.f64 a a)))) 3)
0.0ms
a
@inf
(pow.f64 (cbrt.f64 (*.f64 b (*.f64 b (*.f64 a a)))) 3)
0.0ms
b
@inf
(pow.f64 (cbrt.f64 (*.f64 b (*.f64 b (*.f64 a a)))) 3)
0.0ms
b
@-inf
(cbrt.f64 (*.f64 b (*.f64 b (*.f64 a a))))

rewrite82.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
725×pow1_binary64
677×add-log-exp_binary64
677×log1p-expm1-u_binary64
677×expm1-log1p-u_binary64
658×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0939
118930
2199630
Stop Event
node limit
Counts
4 → 89
Calls
Call 1
Inputs
(cbrt.f64 (*.f64 b (*.f64 b (*.f64 a a))))
(*.f64 b (*.f64 a a))
(*.f64 b (*.f64 b (*.f64 a a)))
(pow.f64 (cbrt.f64 (*.f64 b (*.f64 b (*.f64 a a)))) 3)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cbrt.f64 (*.f64 b a)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cbrt.f64 (*.f64 b a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 b (*.f64 a a))) (cbrt.f64 b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 b) (cbrt.f64 (*.f64 b (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 b) 2) (cbrt.f64 (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2)) (cbrt.f64 (*.f64 (*.f64 b a) (cbrt.f64 (*.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2)) (pow.f64 (*.f64 (*.f64 b a) (cbrt.f64 (*.f64 b a))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (*.f64 b a) (cbrt.f64 (*.f64 b a)))) (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 b a)) (cbrt.f64 (*.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (*.f64 b a) (cbrt.f64 (*.f64 b a))) 1/3) (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (pow.f64 (cbrt.f64 (*.f64 b a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 b b) 1/3) (cbrt.f64 (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 b a) 1/3) (pow.f64 (*.f64 b a) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b a) 2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 b a)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (*.f64 b a) (cbrt.f64 (*.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 b (*.f64 a a))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b (*.f64 a a)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b (*.f64 a a)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 b (*.f64 a a))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a (sqrt.f64 b)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (*.f64 b b) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 b) (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 b (*.f64 a a)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 b 3) (pow.f64 (*.f64 a a) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 a a) 3) (pow.f64 b 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 b (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 b (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 b (*.f64 a a))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 b a) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b a) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (*.f64 b a) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 b a) (cbrt.f64 (*.f64 b a))) 3/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b a) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 (*.f64 b a) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 b a) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 b 3) (pow.f64 (*.f64 b (*.f64 a a)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 b (*.f64 a a)) 3) (pow.f64 b 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (*.f64 b a) 2)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 b a) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (*.f64 b (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b (*.f64 a a)) b)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 b a) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) (*.f64 (*.f64 b a) (cbrt.f64 (*.f64 b a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (*.f64 b a) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b b) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 b a) (cbrt.f64 (*.f64 b a))) (pow.f64 (cbrt.f64 (*.f64 b a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 b (*.f64 a a))) 2) (*.f64 (cbrt.f64 (*.f64 b (*.f64 a a))) b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 b) (*.f64 (cbrt.f64 (*.f64 b (*.f64 a a))) (*.f64 (*.f64 b a) (cbrt.f64 (*.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 b) 2) (*.f64 (cbrt.f64 b) (*.f64 b (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (*.f64 b a) (cbrt.f64 (*.f64 b a)))) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2)) (*.f64 (*.f64 b a) (cbrt.f64 (*.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a (sqrt.f64 b)) (*.f64 (*.f64 a (sqrt.f64 b)) b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 b) (*.f64 (sqrt.f64 b) (*.f64 b (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b a) (*.f64 b a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 b a)) (*.f64 (cbrt.f64 (*.f64 b a)) (*.f64 (*.f64 b a) (cbrt.f64 (*.f64 b a)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (*.f64 b a) (cbrt.f64 (*.f64 b a)))) 3) (pow.f64 (cbrt.f64 (*.f64 b a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 3) (pow.f64 (cbrt.f64 (*.f64 b a)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 b b) 1) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b (pow.f64 (cbrt.f64 (*.f64 b (*.f64 a a))) 2)) (cbrt.f64 (*.f64 b (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b (*.f64 a (sqrt.f64 b))) (*.f64 a (sqrt.f64 b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b (*.f64 b a)) a)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 b (*.f64 a a)) (pow.f64 (cbrt.f64 b) 2)) (cbrt.f64 b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 b (*.f64 a a)) (sqrt.f64 b)) (sqrt.f64 b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 b b) a) a)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 b b) (cbrt.f64 (pow.f64 a 4))) (cbrt.f64 (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 (*.f64 b a) (cbrt.f64 (*.f64 b a))) 1) (pow.f64 (cbrt.f64 (*.f64 b a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 (*.f64 b a) (cbrt.f64 (*.f64 b a))) (cbrt.f64 b)) (cbrt.f64 (*.f64 b (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 (*.f64 b a) (cbrt.f64 (*.f64 b a))) (cbrt.f64 (*.f64 (*.f64 b a) (cbrt.f64 (*.f64 b a))))) (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 (*.f64 b a) (cbrt.f64 (*.f64 b a))) (cbrt.f64 (*.f64 b a))) (cbrt.f64 (*.f64 b a)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 (*.f64 b a) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 b a) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 b 3) (pow.f64 (*.f64 b (*.f64 a a)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 b (*.f64 a a)) 3) (pow.f64 b 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 b a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (*.f64 b a) 2)))))))

simplify167.0ms (3.2%)

Algorithm
egg-herbie
Rules
2164×associate-*l*_binary64
1808×associate-*r*_binary64
757×sqr-pow_binary64
304×unswap-sqr_binary64
256×pow-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08408
118408
239408
3108408
4483408
51060408
61126408
71226408
81346408
91468408
101615408
111779408
121968408
132183408
142413408
152657408
162922408
173201408
183501408
193815408
Stop Event
node limit
Counts
137 → 84
Calls
Call 1
Inputs
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
Outputs
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))

localize24.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (*.f64 a (sqrt.f64 (*.f64 a b))) (sqrt.f64 (*.f64 a b)))
0.1b
(*.f64 a (sqrt.f64 (*.f64 a b)))
3.6b
(*.f64 (*.f64 (*.f64 a (sqrt.f64 (*.f64 a b))) (sqrt.f64 (*.f64 a b))) b)
8.7b
(sqrt.f64 (*.f64 a b))
Compiler

Compiled 55 to 8 computations (85.5% saved)

series24.0ms (0.5%)

Counts
4 → 48
Calls

24 calls:

TimeVariablePointExpression
2.0ms
a
@-inf
(*.f64 (*.f64 (*.f64 a (sqrt.f64 (*.f64 a b))) (sqrt.f64 (*.f64 a b))) b)
2.0ms
a
@-inf
(*.f64 (*.f64 a (sqrt.f64 (*.f64 a b))) (sqrt.f64 (*.f64 a b)))
2.0ms
b
@0
(*.f64 a (sqrt.f64 (*.f64 a b)))
1.0ms
a
@0
(sqrt.f64 (*.f64 a b))
1.0ms
b
@-inf
(*.f64 a (sqrt.f64 (*.f64 a b)))

rewrite110.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
752×pow1_binary64
692×add-log-exp_binary64
692×log1p-expm1-u_binary64
692×expm1-log1p-u_binary64
675×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0832
116229
2203529
Stop Event
node limit
Counts
4 → 62
Calls
Call 1
Inputs
(sqrt.f64 (*.f64 a b))
(*.f64 (*.f64 (*.f64 a (sqrt.f64 (*.f64 a b))) (sqrt.f64 (*.f64 a b))) b)
(*.f64 a (sqrt.f64 (*.f64 a b)))
(*.f64 (*.f64 a (sqrt.f64 (*.f64 a b))) (sqrt.f64 (*.f64 a b)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (*.f64 a b))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 a b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (*.f64 a b))) (cbrt.f64 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 a b)) (cbrt.f64 (sqrt.f64 (*.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 a b) 1/4) (pow.f64 (*.f64 a b) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 a) (sqrt.f64 b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 b) (sqrt.f64 a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2)) (sqrt.f64 (cbrt.f64 (*.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) 1/2) (pow.f64 (cbrt.f64 (*.f64 a b)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a b) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 a b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a b) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (*.f64 a b))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a b) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (*.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 a b) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (*.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (*.f64 a b))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 a b) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a b) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a b) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 b 3) (pow.f64 (*.f64 (*.f64 a a) b) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 (*.f64 a a) b) 3) (pow.f64 b 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (*.f64 a b) 2)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 a (sqrt.f64 (*.f64 a b)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a (sqrt.f64 (*.f64 a b))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a (sqrt.f64 (*.f64 a b))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 a (sqrt.f64 (*.f64 a b)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 a (sqrt.f64 (*.f64 a b)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 a (*.f64 (*.f64 a a) b)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (sqrt.f64 (*.f64 a b))) a))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 a (sqrt.f64 (*.f64 a b))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 a 3) (pow.f64 (*.f64 a b) 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 a b) 3/2) (pow.f64 a 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 a (sqrt.f64 (*.f64 a b)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 a (sqrt.f64 (*.f64 a b)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 a (sqrt.f64 (*.f64 a b)))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (*.f64 a a) b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 a a) b) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (*.f64 a a) b) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (*.f64 a a) b)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (*.f64 a a) b)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (*.f64 a a) b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (*.f64 a a) b)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (*.f64 a a) b) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 a 3) (pow.f64 (*.f64 a b) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 a b) 3/2) (pow.f64 (*.f64 a (sqrt.f64 (*.f64 a b))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 a (sqrt.f64 (*.f64 a b))) 3) (pow.f64 (*.f64 a b) 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (*.f64 a a) b)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (*.f64 a a) b)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 a a) b)))))))

simplify134.0ms (2.6%)

Algorithm
egg-herbie
Rules
763×unswap-sqr_binary64
724×fma-def_binary64
480×unsub-neg_binary64
416×distribute-rgt-neg-in_binary64
355×neg-sub0_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
015408
140408
2136408
3564408
41429408
53865408
65996408
77524408
87907408
Stop Event
node limit
Counts
110 → 68
Calls
Call 1
Inputs
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) b)))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) b)))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) b)))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) b)))
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 (pow.f64 a 2) b)
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) b)))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) b)))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) b)))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) b)))
Outputs
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 (*.f64 b a) a))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 (*.f64 b a) a))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 (*.f64 b a) a))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 (*.f64 b a) a))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 (*.f64 b a) a))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 (*.f64 b a) a))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 (*.f64 b a) a))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 (*.f64 b a) a))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 (*.f64 b a) a))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 (*.f64 b a) a))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 (*.f64 b a) a))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 (*.f64 b a) a))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 (*.f64 b a) a))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 (*.f64 b a) a))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 (*.f64 b a) a))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 (*.f64 b a) a))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 (*.f64 b a) a))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 (*.f64 b a) a))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 (*.f64 b a) a))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 (*.f64 b a) a))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 (*.f64 b a) a))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 (*.f64 b a) a))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 (*.f64 b a) a))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) (pow.f64 b 2))))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 b (*.f64 (*.f64 b a) a))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 (*.f64 b a) a)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 (*.f64 b a) a)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 (*.f64 b a) a)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 (*.f64 b a) a)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 (*.f64 b a) a)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 (*.f64 b a) a)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 (*.f64 b a) a)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 (*.f64 b a) a)
(*.f64 a (*.f64 a b))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) b)))
(*.f64 (*.f64 a a) b)
(*.f64 (*.f64 b a) a)
(*.f64 a (*.f64 a b))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) b)))
(*.f64 (*.f64 a a) b)
(*.f64 (*.f64 b a) a)
(*.f64 a (*.f64 a b))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) b)))
(*.f64 (*.f64 a a) b)
(*.f64 (*.f64 b a) a)
(*.f64 a (*.f64 a b))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) b)))
(*.f64 (*.f64 a a) b)
(*.f64 (*.f64 b a) a)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 (*.f64 b a) a)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 (*.f64 b a) a)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 (*.f64 b a) a)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 (*.f64 b a) a)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 (*.f64 b a) a)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 (*.f64 b a) a)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 (*.f64 b a) a)
(*.f64 a (*.f64 a b))
(*.f64 (pow.f64 a 2) b)
(*.f64 (*.f64 a a) b)
(*.f64 (*.f64 b a) a)
(*.f64 a (*.f64 a b))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) b)))
(*.f64 (*.f64 a a) b)
(*.f64 (*.f64 b a) a)
(*.f64 a (*.f64 a b))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) b)))
(*.f64 (*.f64 a a) b)
(*.f64 (*.f64 b a) a)
(*.f64 a (*.f64 a b))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) b)))
(*.f64 (*.f64 a a) b)
(*.f64 (*.f64 b a) a)
(*.f64 a (*.f64 a b))
(*.f64 -1 (*.f64 (pow.f64 (sqrt.f64 -1) 2) (*.f64 (pow.f64 a 2) b)))
(*.f64 (*.f64 a a) b)
(*.f64 (*.f64 b a) a)
(*.f64 a (*.f64 a b))

localize30.0ms (0.6%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.3b
(pow.f64 (*.f64 a b) 2)
0.4b
(pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) 3)
19.4b
(cbrt.f64 (pow.f64 (*.f64 a b) 2))
Compiler

Compiled 37 to 21 computations (43.2% saved)

series12.0ms (0.2%)

Counts
3 → 24
Calls

18 calls:

TimeVariablePointExpression
2.0ms
a
@0
(cbrt.f64 (pow.f64 (*.f64 a b) 2))
1.0ms
a
@inf
(pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) 3)
1.0ms
b
@-inf
(pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) 3)
1.0ms
a
@-inf
(pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) 3)
1.0ms
b
@inf
(pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) 3)

rewrite93.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
657×pow1_binary64
616×add-log-exp_binary64
615×log1p-expm1-u_binary64
615×expm1-log1p-u_binary64
598×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0923
119223
2188923
Stop Event
node limit
Counts
3 → 75
Calls
Call 1
Inputs
(cbrt.f64 (pow.f64 (*.f64 a b) 2))
(pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) 3)
(pow.f64 (*.f64 a b) 2)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cbrt.f64 (*.f64 a b)) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cbrt.f64 (*.f64 a b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 a) 2) (pow.f64 (cbrt.f64 b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2)) (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2)) (pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4))) (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 a b)) (cbrt.f64 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4)) 1/3) (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (pow.f64 (cbrt.f64 (*.f64 a b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 a a) 1/3) (pow.f64 (*.f64 b b) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a b) 2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a b) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 a b)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 a b) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 a (*.f64 b (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (*.f64 a (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 a b) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) (cbrt.f64 (pow.f64 (*.f64 a b) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (*.f64 a b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b b) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4)) (pow.f64 (cbrt.f64 (*.f64 a b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4))) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a b) (*.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 a b)) (*.f64 (cbrt.f64 (*.f64 a b)) (cbrt.f64 (pow.f64 (*.f64 a b) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 a b)) (*.f64 (sqrt.f64 (*.f64 a b)) (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4))) 3) (pow.f64 (cbrt.f64 (*.f64 a b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a b) (sqrt.f64 (*.f64 a b))) (sqrt.f64 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a b) a) b)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a b) b) a)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a b) (pow.f64 (cbrt.f64 (*.f64 a b)) 2)) (cbrt.f64 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4)) 1) (pow.f64 (cbrt.f64 (*.f64 a b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4)) (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4)))) (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4)) (cbrt.f64 (*.f64 a b))) (cbrt.f64 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 a b) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (*.f64 a b))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 a b) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 a (*.f64 b (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (*.f64 a (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 a b) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) (cbrt.f64 (pow.f64 (*.f64 a b) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (*.f64 a b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b b) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4)) (pow.f64 (cbrt.f64 (*.f64 a b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4))) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2)) (cbrt.f64 (pow.f64 (*.f64 a b) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a b) (*.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 a b)) (*.f64 (cbrt.f64 (*.f64 a b)) (cbrt.f64 (pow.f64 (*.f64 a b) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 a b)) (*.f64 (sqrt.f64 (*.f64 a b)) (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4))) 3) (pow.f64 (cbrt.f64 (*.f64 a b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a b) (sqrt.f64 (*.f64 a b))) (sqrt.f64 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a b) a) b)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a b) b) a)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 a b) (pow.f64 (cbrt.f64 (*.f64 a b)) 2)) (cbrt.f64 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4)) 1) (pow.f64 (cbrt.f64 (*.f64 a b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4)) (cbrt.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4)))) (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4)) (cbrt.f64 (*.f64 a b))) (cbrt.f64 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 a b) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (*.f64 a b))))))))

simplify207.0ms (4%)

Algorithm
egg-herbie
Rules
995×sqr-pow_binary64
753×associate-*l*_binary64
580×cube-prod_binary64
576×fabs-mul_binary64
528×associate-*r*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07240
116240
237240
3105240
4446240
52486240
62578240
72790240
82988240
93230240
103545240
114237240
124731240
135387240
146131240
156690240
167034240
177362240
187466240
197498240
Stop Event
node limit
Counts
99 → 50
Calls
Call 1
Inputs
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
Outputs
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))

eval164.0ms (3.2%)

Compiler

Compiled 5226 to 2276 computations (56.4% saved)

prune121.0ms (2.3%)

Pruning

21 alts after pruning (8 fresh and 13 done)

PrunedKeptTotal
New3596365
Fresh123
Picked011
Done11213
Total36121382
Error
0b
Counts
382 → 21
Alt Table
Click to see full alt table
StatusErrorProgram
6.4b
(neg.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 3) b))
0.9b
(neg.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) 3))
28.9b
(neg.f64 (*.f64 (*.f64 (*.f64 (*.f64 a a) (sqrt.f64 b)) (sqrt.f64 b)) b))
0.6b
(neg.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 b a) 2)) (*.f64 (cbrt.f64 (*.f64 b a)) (*.f64 b a))))
15.0b
(*.f64 a (*.f64 (*.f64 b b) (neg.f64 a)))
0.8b
(neg.f64 (*.f64 (*.f64 (*.f64 (*.f64 b a) (cbrt.f64 (*.f64 b a))) (cbrt.f64 (*.f64 b a))) (cbrt.f64 (*.f64 b a))))
15.3b
(neg.f64 (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a (*.f64 b b)))) 3))
6.0b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
16.6b
(neg.f64 (*.f64 (cbrt.f64 b) (*.f64 (cbrt.f64 (*.f64 b (*.f64 a a))) (*.f64 (*.f64 b a) (cbrt.f64 (*.f64 b a))))))
25.6b
(neg.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 6)))
0.3b
(neg.f64 (*.f64 (*.f64 b a) (*.f64 b a)))
22.1b
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
4.5b
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
16.8b
(neg.f64 (*.f64 (*.f64 b (*.f64 a (sqrt.f64 b))) (*.f64 a (sqrt.f64 b))))
0.8b
(neg.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) (*.f64 (cbrt.f64 (*.f64 b a)) (*.f64 b a))))
21.0b
(neg.f64 (*.f64 (pow.f64 (*.f64 a (sqrt.f64 b)) 2) b))
16.8b
(neg.f64 (pow.f64 (cbrt.f64 (*.f64 b (*.f64 b (*.f64 a a)))) 3))
16.4b
(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
31.7b
(neg.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 (*.f64 a b))) (sqrt.f64 (*.f64 a b))) b))
19.0b
(neg.f64 (sqrt.f64 (pow.f64 (*.f64 b a) 4)))
50.9b
(neg.f64 (*.f64 (*.f64 (*.f64 a (*.f64 (sqrt.f64 b) (sqrt.f64 a))) (sqrt.f64 (*.f64 a b))) b))
Compiler

Compiled 278 to 166 computations (40.3% saved)

regimes128.0ms (2.5%)

Accuracy

Total -56.3b remaining (-18536.1%)

Threshold costs -56.3b (-18536.1%)

Counts
29 → 1
Calls
Call 1
Inputs
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(neg.f64 (*.f64 (*.f64 b a) (*.f64 b a)))
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
(*.f64 a (*.f64 b (*.f64 b (neg.f64 a))))
(*.f64 a (*.f64 (*.f64 b b) (neg.f64 a)))
(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
(neg.f64 (pow.f64 (*.f64 b a) 2))
(neg.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 6)))
(neg.f64 (sqrt.f64 (pow.f64 (*.f64 b a) 4)))
(neg.f64 (*.f64 (pow.f64 a 2) (pow.f64 b 2)))
(neg.f64 (*.f64 (pow.f64 (*.f64 a (sqrt.f64 b)) 2) b))
(neg.f64 (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a (*.f64 b b)))) 3))
(neg.f64 (pow.f64 (cbrt.f64 (*.f64 b (*.f64 b (*.f64 a a)))) 3))
(neg.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 3) b))
(neg.f64 (pow.f64 (cbrt.f64 (*.f64 b (*.f64 b (*.f64 a a)))) 3))
(neg.f64 (*.f64 (*.f64 b (*.f64 a (sqrt.f64 b))) (*.f64 a (sqrt.f64 b))))
(neg.f64 (*.f64 (*.f64 (*.f64 (*.f64 a a) (sqrt.f64 b)) (sqrt.f64 b)) b))
(neg.f64 (*.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) a) (sqrt.f64 b)) b))
(neg.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 (*.f64 a b))) (sqrt.f64 (*.f64 a b))) b))
(neg.f64 (*.f64 (*.f64 (*.f64 b a) (sqrt.f64 (*.f64 b a))) (sqrt.f64 (*.f64 b a))))
(neg.f64 (cbrt.f64 (pow.f64 (pow.f64 (*.f64 b a) 2) 3)))
(neg.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) 3))
(neg.f64 (cbrt.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 3)))
(neg.f64 (*.f64 (*.f64 (*.f64 a (*.f64 (sqrt.f64 b) (sqrt.f64 a))) (sqrt.f64 (*.f64 a b))) b))
(neg.f64 (*.f64 (cbrt.f64 (pow.f64 (*.f64 b a) 2)) (*.f64 (cbrt.f64 (*.f64 b a)) (*.f64 b a))))
(neg.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) (*.f64 (cbrt.f64 (*.f64 b a)) (*.f64 b a))))
(neg.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 b a)) 2) (*.f64 (cbrt.f64 (*.f64 b a)) (*.f64 b a))))
(neg.f64 (*.f64 (*.f64 (*.f64 (*.f64 b a) (cbrt.f64 (*.f64 b a))) (cbrt.f64 (*.f64 b a))) (cbrt.f64 (*.f64 b a))))
(neg.f64 (*.f64 (cbrt.f64 b) (*.f64 (cbrt.f64 (*.f64 b (*.f64 a a))) (*.f64 (*.f64 b a) (cbrt.f64 (*.f64 b a))))))
Outputs
(neg.f64 (*.f64 (*.f64 b a) (*.f64 b a)))
Calls

6 calls:

27.0ms
b
26.0ms
a
18.0ms
(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
16.0ms
(*.f64 a a)
15.0ms
(*.f64 a a)
Results
ErrorSegmentsBranch
0.3b1a
0.3b1b
0.3b1(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
0.3b1(*.f64 (*.f64 (*.f64 a a) b) b)
0.3b1(*.f64 a a)
0.3b1(*.f64 a a)
Compiler

Compiled 358 to 155 computations (56.7% saved)

simplify8.0ms (0.2%)

Algorithm
egg-herbie
Rules
11×*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
+-commutative_binary64
sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01024
12424
24124
35624
46624
57024
67124
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(neg.f64 (*.f64 (*.f64 b a) (*.f64 b a)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
Outputs
(neg.f64 (*.f64 (*.f64 b a) (*.f64 b a)))
(*.f64 (*.f64 b a) (neg.f64 (*.f64 b a)))
(*.f64 (*.f64 b a) (*.f64 b (neg.f64 a)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
(*.f64 (*.f64 b b) (neg.f64 (*.f64 a a)))
(*.f64 (*.f64 b b) (*.f64 a (neg.f64 a)))
Compiler

Compiled 20 to 12 computations (40% saved)

soundness47.0ms (0.9%)

Algorithm
egg-herbie
Rules
284×fma-def_binary64
30×associate-*l*_binary64
24×distribute-rgt-in_binary64
24×sub-neg_binary64
19×fma-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
12112
25912
312512
419212
526012
632312
737212
851712
960112
Stop Event
saturated
Compiler

Compiled 70 to 42 computations (40% saved)

end35.0ms (0.7%)

Remove

(sort a b)

Compiler

Compiled 38 to 21 computations (44.7% saved)

Profiling

Loading profile data...