Details

Time bar (total: 3.9s)

analyze52.0ms (1.3%)

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)

sample724.0ms (18.5%)

Results
692.0ms8256×body256valid
21.0ms257×body256invalid

preprocess22.0ms (0.6%)

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
421524
530924
635424
741324
866824
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 (*.f64 a b) (neg.f64 b)))
(*.f64 (*.f64 a 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 (*.f64 a b) (neg.f64 b)))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
Symmetry

(sort a b)

Compiler

Compiled 12 to 8 computations (33.3% saved)

simplify11.0ms (0.3%)

Algorithm
egg-herbie
Rules
284×fma-def_binary64
31×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
312212
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))
(neg.f64 (*.f64 a (*.f64 a (*.f64 b b))))
(*.f64 a (*.f64 (*.f64 b (neg.f64 a)) b))
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))

eval1.0ms (0%)

Compiler

Compiled 18 to 9 computations (50% saved)

prune1.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 20 to 12 computations (40% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
5.5b
(*.f64 (*.f64 (*.f64 a a) b) b)
11.7b
(*.f64 (*.f64 a a) b)
Compiler

Compiled 27 to 6 computations (77.8% saved)

series8.0ms (0.2%)

Counts
2 → 48
Calls

12 calls:

TimeVariablePointExpression
2.0ms
a
@0
(*.f64 (*.f64 a a) b)
1.0ms
b
@inf
(*.f64 (*.f64 a a) b)
1.0ms
a
@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)

rewrite42.0ms (1.1%)

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
2148014
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)))))))

simplify108.0ms (2.8%)

Algorithm
egg-herbie
Rules
2154×associate-*l*_binary64
1800×associate-*r*_binary64
764×sqr-pow_binary64
304×unswap-sqr_binary64
257×pow-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08408
118408
239408
3108408
4483408
51067408
61133408
71233408
81353408
91475408
101622408
111786408
121975408
132188408
142418408
152662408
162927408
173206408
183506408
193820408
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.2%)

Local error

Found 1 expressions with local error:

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

Compiled 21 to 6 computations (71.4% saved)

series2.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
a
@0
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
0.0ms
a
@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
b
@0
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
0.0ms
b
@-inf
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))

rewrite37.0ms (1%)

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
219137
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)))))))

simplify74.0ms (1.9%)

Algorithm
egg-herbie
Rules
744×unswap-sqr_binary64
706×fma-def_binary64
579×distribute-rgt-neg-in_binary64
571×distribute-lft-neg-in_binary64
391×fma-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
09288
122288
259288
3214288
4918288
51995288
62870288
73838288
84972288
95812288
106506288
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 a (*.f64 a (neg.f64 (*.f64 b b))))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a 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 a (*.f64 a (neg.f64 (*.f64 b b))))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a 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 a (*.f64 a (neg.f64 (*.f64 b b))))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a 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 a (*.f64 a (neg.f64 (*.f64 b b))))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a 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 a (*.f64 a (neg.f64 (*.f64 b b))))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a 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 a (*.f64 a (neg.f64 (*.f64 b b))))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a 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 a (*.f64 a (neg.f64 (*.f64 b b))))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a 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 a (*.f64 a (neg.f64 (*.f64 b b))))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a 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 a (*.f64 a (neg.f64 (*.f64 b b))))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a 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 a (*.f64 a (neg.f64 (*.f64 b b))))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a 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 a (*.f64 a (neg.f64 (*.f64 b b))))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a 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 a (*.f64 a (neg.f64 (*.f64 b b))))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a 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 a (*.f64 a (neg.f64 (*.f64 b b))))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a 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 a (*.f64 a (neg.f64 (*.f64 b b))))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a 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 a (*.f64 a (neg.f64 (*.f64 b b))))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a 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 a (*.f64 a (neg.f64 (*.f64 b b))))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a 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 a (*.f64 a (neg.f64 (*.f64 b b))))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a 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 a (*.f64 a (neg.f64 (*.f64 b b))))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a 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 a (*.f64 a (neg.f64 (*.f64 b b))))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a 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 a (*.f64 a (neg.f64 (*.f64 b b))))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a 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 a (*.f64 a (neg.f64 (*.f64 b b))))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a 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 a (*.f64 a (neg.f64 (*.f64 b b))))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a 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 a (*.f64 a (neg.f64 (*.f64 b b))))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a 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 a (*.f64 a (neg.f64 (*.f64 b b))))
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))

eval8.0ms (0.2%)

Compiler

Compiled 348 to 200 computations (42.5% saved)

prune11.0ms (0.3%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New34640
Fresh000
Picked011
Done011
Total34842
Error
0.1b
Counts
42 → 8
Alt Table
Click to see full alt table
StatusErrorProgram
16.3b
(neg.f64 (*.f64 a (*.f64 a (*.f64 b b))))
17.8b
(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
0.4b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
18.4b
(neg.f64 (*.f64 (pow.f64 (*.f64 a (sqrt.f64 b)) 2) b))
28.3b
(neg.f64 (cbrt.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 3)))
23.1b
(*.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))
0.9b
(neg.f64 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) 3))
5.8b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
Compiler

Compiled 146 to 98 computations (32.9% saved)

localize7.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

Compiled 22 to 5 computations (77.3% saved)

series2.0ms (0%)

Counts
1 → 24
Calls

6 calls:

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

rewrite33.0ms (0.8%)

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
212727
Stop Event
node limit
Counts
1 → 11
Calls
Call 1
Inputs
(*.f64 (*.f64 a b) (*.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 (*.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 (log.f64 (*.f64 a b)) 2))))))

simplify157.0ms (4%)

Algorithm
egg-herbie
Rules
1022×sqr-pow_binary64
719×associate-*l*_binary64
648×cube-prod_binary64
567×fabs-mul_binary64
505×associate-*r*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07240
116240
237240
3103240
4432240
52343240
62435240
72636240
82834240
93072240
103391240
114063240
124557240
135205240
145943240
156504240
166848240
177176240
187270240
197302240
207955240
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 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
5.3b
(*.f64 a (*.f64 a (*.f64 b b)))
10.4b
(*.f64 a (*.f64 b b))
Compiler

Compiled 27 to 6 computations (77.8% saved)

series5.0ms (0.1%)

Counts
2 → 48
Calls

12 calls:

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

rewrite39.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
555×pow1_binary64
510×add-log-exp_binary64
510×log1p-expm1-u_binary64
510×expm1-log1p-u_binary64
496×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0617
112114
2148214
Stop Event
node limit
Counts
2 → 22
Calls
Call 1
Inputs
(*.f64 a (*.f64 b b))
(*.f64 a (*.f64 a (*.f64 b b)))
Outputs
((#(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 sqrt.f64 (*.f64 (*.f64 a a) (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 a) (*.f64 b 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))))))))
((#(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)))))))

simplify104.0ms (2.7%)

Algorithm
egg-herbie
Rules
2164×associate-*l*_binary64
1800×associate-*r*_binary64
764×sqr-pow_binary64
304×unswap-sqr_binary64
257×pow-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08408
118408
239408
3108408
4485408
51066408
61132408
71232408
81352408
91474408
101621408
111785408
121974408
132189408
142419408
152663408
162928408
173207408
183507408
193821408
Stop Event
node limit
Counts
70 → 26
Calls
Call 1
Inputs
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 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) (pow.f64 b 2))
Outputs
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 a b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b (*.f64 b (*.f64 a a)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b (*.f64 b (*.f64 a a)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b (*.f64 b (*.f64 a a)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b (*.f64 b (*.f64 a a)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b (*.f64 b (*.f64 a a)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b (*.f64 b (*.f64 a a)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b (*.f64 b (*.f64 a a)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b (*.f64 b (*.f64 a a)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b (*.f64 b (*.f64 a a)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b (*.f64 b (*.f64 a a)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b (*.f64 b (*.f64 a a)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b (*.f64 b (*.f64 a a)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b (*.f64 b (*.f64 a a)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b (*.f64 b (*.f64 a a)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b (*.f64 b (*.f64 a a)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b (*.f64 b (*.f64 a a)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b (*.f64 b (*.f64 a a)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b (*.f64 b (*.f64 a a)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b (*.f64 b (*.f64 a a)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b (*.f64 b (*.f64 a a)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b (*.f64 b (*.f64 a a)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b (*.f64 b (*.f64 a a)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b (*.f64 b (*.f64 a a)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.f64 a b)))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 b b) (*.f64 a a))
(*.f64 b (*.f64 b (*.f64 a a)))
(*.f64 a (*.f64 b (*.f64 a b)))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.f64 a b)))

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(*.f64 a (*.f64 a b))
5.5b
(*.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
a
@-inf
(*.f64 (*.f64 a (*.f64 a b)) b)
0.0ms
b
@inf
(*.f64 (*.f64 a (*.f64 a b)) b)
0.0ms
b
@-inf
(*.f64 (*.f64 a (*.f64 a b)) b)

rewrite40.0ms (1%)

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
2152214
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))))))))

simplify103.0ms (2.6%)

Algorithm
egg-herbie
Rules
2170×associate-*l*_binary64
1807×associate-*r*_binary64
764×sqr-pow_binary64
304×unswap-sqr_binary64
257×pow-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08408
118408
239408
3108408
4483408
51066408
61132408
71232408
81352408
91474408
101621408
111785408
121974408
132187408
142417408
152661408
162926408
173205408
183505408
193819408
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 (*.f64 a 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 (*.f64 a 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 (*.f64 a 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 (*.f64 a 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 (*.f64 a 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 (*.f64 a 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 (*.f64 a 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 (*.f64 a 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 (*.f64 a 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 (*.f64 a 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 (*.f64 a 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 (*.f64 a 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 (*.f64 a 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 (*.f64 a 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 (*.f64 a 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 (*.f64 a 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 (*.f64 a 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 (*.f64 a 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 (*.f64 a 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 (*.f64 a 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 (*.f64 a 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 (*.f64 a 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 (*.f64 a 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 (*.f64 a 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))

localize12.0ms (0.3%)

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.8b
(*.f64 (pow.f64 (*.f64 a (sqrt.f64 b)) 2) b)
Compiler

Compiled 34 to 14 computations (58.8% saved)

series15.0ms (0.4%)

Counts
3 → 36
Calls

18 calls:

TimeVariablePointExpression
3.0ms
a
@-inf
(*.f64 (pow.f64 (*.f64 a (sqrt.f64 b)) 2) b)
3.0ms
b
@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
b
@inf
(pow.f64 (*.f64 a (sqrt.f64 b)) 2)

rewrite49.0ms (1.2%)

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
2185523
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 (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 a a) 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 (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 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))))))))

simplify72.0ms (1.8%)

Algorithm
egg-herbie
Rules
616×fma-neg_binary64
559×unswap-sqr_binary64
383×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
41149324
53002324
64941324
76129324
87064324
97580324
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 a (*.f64 a (*.f64 b b)))
(*.f64 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 b (*.f64 a (*.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 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.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 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.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 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 a (*.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 a (*.f64 a (*.f64 b b)))
(*.f64 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))

localize15.0ms (0.4%)

Local error

Found 3 expressions with local error:

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

Compiled 38 to 22 computations (42.1% saved)

series9.0ms (0.2%)

Counts
3 → 72
Calls

18 calls:

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

rewrite49.0ms (1.2%)

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
0921
119521
2191421
Stop Event
node limit
Counts
3 → 78
Calls
Call 1
Inputs
(cbrt.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 3))
(pow.f64 (*.f64 a b) 2)
(pow.f64 (pow.f64 (*.f64 a b) 2) 3)
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 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) (cbrt.f64 (pow.f64 (*.f64 a b) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) (pow.f64 (pow.f64 (*.f64 a b) 4) 1/3))))) (#(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 (pow.f64 (*.f64 a b) 4)) (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 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 (*.f64 (*.f64 a b) (sqrt.f64 (*.f64 a b))) (sqrt.f64 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 a b) 4) 1/3) (pow.f64 (cbrt.f64 (*.f64 a b)) 2))))) (#(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 (*.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) 2) 1)))) (#(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 (cbrt.f64 (*.f64 a b)) 2) 3)))) (#(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 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 (*.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 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) (cbrt.f64 (pow.f64 (*.f64 a b) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) (pow.f64 (pow.f64 (*.f64 a b) 4) 1/3))))) (#(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 (pow.f64 (*.f64 a b) 4)) (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 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 (*.f64 (*.f64 a b) (sqrt.f64 (*.f64 a b))) (sqrt.f64 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 a b) 4) 1/3) (pow.f64 (cbrt.f64 (*.f64 a b)) 2))))) (#(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 (*.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 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 (*.f64 a b) 6))))) (#(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) 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a b) (*.f64 (*.f64 a b) (pow.f64 (*.f64 a b) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 a b) 2) (pow.f64 (*.f64 a b) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 a b) 6) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (*.f64 a b) 6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 a b) 4) (pow.f64 (*.f64 a b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4)) (*.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) (pow.f64 (*.f64 a b) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a a) (*.f64 (*.f64 b b) (pow.f64 (*.f64 a b) 4)))))) (#(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 (pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 4)) 3) (pow.f64 (*.f64 a b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 a a) 3) (pow.f64 (*.f64 b b) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 a b) 4) (*.f64 a b)) (*.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 a b) 4) 1) (pow.f64 (*.f64 a b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 a b) 4) (cbrt.f64 (pow.f64 (*.f64 a b) 4))) (pow.f64 (cbrt.f64 (*.f64 a b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 a b) 4) (*.f64 a a)) (*.f64 b 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 (log.f64 (*.f64 a b)) 6))))))

simplify177.0ms (4.5%)

Algorithm
egg-herbie
Rules
1484×sqr-pow_binary64
679×cube-prod_binary64
570×pow-sqr_binary64
510×associate-*l*_binary64
432×associate-*r*_binary64
Iterations

Useful iterations: 10 (0.0ms)

IterNodesCost
011720
127720
271720
3292720
41919720
52129720
62486720
72839720
83274648
93809648
104508504
115015504
125398504
135674504
145830504
155942504
166647504
177509504
Stop Event
node limit
Counts
150 → 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 2) (pow.f64 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 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)

eval37.0ms (0.9%)

Compiler

Compiled 1861 to 924 computations (50.3% saved)

prune30.0ms (0.8%)

Pruning

11 alts after pruning (6 fresh and 5 done)

PrunedKeptTotal
New1706176
Fresh101
Picked101
Done156
Total17311184
Error
0.0b
Counts
184 → 11
Alt Table
Click to see full alt table
StatusErrorProgram
16.3b
(neg.f64 (*.f64 a (*.f64 a (*.f64 b b))))
17.8b
(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
1.3b
(neg.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) 3))
23.0b
(neg.f64 (*.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) a) (sqrt.f64 b)) b))
5.5b
(neg.f64 (*.f64 (*.f64 (*.f64 a b) b) a))
28.3b
(neg.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 6)))
0.4b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
6.4b
(neg.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 3) b))
18.4b
(neg.f64 (*.f64 (pow.f64 (*.f64 a (sqrt.f64 b)) 2) b))
48.4b
(neg.f64 (*.f64 a (pow.f64 (*.f64 b (sqrt.f64 a)) 2)))
5.8b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
Compiler

Compiled 187 to 125 computations (33.2% saved)

localize13.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.5b
(pow.f64 (cbrt.f64 (*.f64 a b)) 2)
0.5b
(pow.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) 3)
9.8b
(cbrt.f64 (*.f64 a b))
Compiler

Compiled 36 to 17 computations (52.8% saved)

series19.0ms (0.5%)

Counts
3 → 0
Calls

18 calls:

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

rewrite53.0ms (1.3%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
0924
119222
2198622
Stop Event
node limit
Counts
3 → 71
Calls
Call 1
Inputs
(cbrt.f64 (*.f64 a b))
(pow.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) 3)
(pow.f64 (cbrt.f64 (*.f64 a b)) 2)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 (*.f64 a b))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 a b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 a b))) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 a b))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 a) (cbrt.f64 b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 b) (cbrt.f64 a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 a b))) 2) (cbrt.f64 (cbrt.f64 (*.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 a b) 1/6) (pow.f64 (*.f64 a b) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 4))) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 a b))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 a b)) 1/3) (pow.f64 (sqrt.f64 (*.f64 a b)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a b) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 a b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 a b))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a b) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (cbrt.f64 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (*.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (*.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (*.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.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 (*.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)) (pow.f64 (cbrt.f64 (*.f64 a b)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) (pow.f64 (cbrt.f64 (*.f64 a b)) 4))))) (#(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 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 (pow.f64 (cbrt.f64 (*.f64 a b)) 4) (pow.f64 (cbrt.f64 (*.f64 a b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 4)) (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 a b))) 2) (pow.f64 (cbrt.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 (*.f64 (*.f64 a b) (sqrt.f64 (*.f64 a b))) (sqrt.f64 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 a b))) 2) 6) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 a b))) 6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 a) 6) (pow.f64 (cbrt.f64 b) 6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 a b) 1/6) 6) (pow.f64 (pow.f64 (*.f64 a b) 1/6) 6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (cbrt.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) 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 (pow.f64 (cbrt.f64 (*.f64 a b)) 4) (cbrt.f64 (*.f64 a b))) (cbrt.f64 (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 4) 1) (pow.f64 (cbrt.f64 (*.f64 a b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 4) (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 4))) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 a b))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.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 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 (pow.f64 (cbrt.f64 (*.f64 a b)) 2)) 1)))) (#(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 (*.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 (cbrt.f64 a) (*.f64 (cbrt.f64 b) (cbrt.f64 (*.f64 a b))))))) (#(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 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 a b))) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 a b))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 a b))) (cbrt.f64 (*.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 4)) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 a b))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 a b) 1/6) (*.f64 (pow.f64 (*.f64 a b) 1/6) (cbrt.f64 (*.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 a b)) (pow.f64 (*.f64 a b) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 a b)) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 a b))) 2)) (cbrt.f64 (cbrt.f64 (*.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 a b)) (cbrt.f64 a)) (cbrt.f64 b))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.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 cbrt.f64 (pow.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 (*.f64 2 (log.f64 (cbrt.f64 (*.f64 a b)))))))))

simplify8.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

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

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (*.f64 a b) b)
5.3b
(*.f64 (*.f64 (*.f64 a b) b) a)
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 (*.f64 a b) b) a)
0.0ms
a
@-inf
(*.f64 (*.f64 (*.f64 a b) b) a)
0.0ms
b
@-inf
(*.f64 (*.f64 (*.f64 a b) b) a)
0.0ms
a
@inf
(*.f64 (*.f64 (*.f64 a b) b) a)
0.0ms
b
@inf
(*.f64 (*.f64 (*.f64 a b) b) a)

rewrite42.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
549×pow1_binary64
519×add-sqr-sqrt_binary64
503×add-log-exp_binary64
503×log1p-expm1-u_binary64
503×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0617
112114
2144414
Stop Event
node limit
Counts
2 → 22
Calls
Call 1
Inputs
(*.f64 (*.f64 (*.f64 a b) b) a)
(*.f64 (*.f64 a b) 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 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 (sqrt.f64 a) b) 2)))) (#(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 a) (*.f64 b 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))))))))

simplify105.0ms (2.7%)

Algorithm
egg-herbie
Rules
2156×associate-*l*_binary64
1787×associate-*r*_binary64
764×sqr-pow_binary64
304×unswap-sqr_binary64
257×pow-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08408
118408
239408
3108408
4477408
51056408
61122408
71222408
81342408
91464408
101611408
111775408
121964408
132179408
142409408
152653408
162918408
173197408
183497408
193811408
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 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
Outputs
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.f64 (*.f64 a b) (*.f64 a b))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 b (*.f64 a b))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 b (*.f64 a b))

localize11.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

Compiled 26 to 13 computations (50% saved)

series9.0ms (0.2%)

Counts
2 → 48
Calls

12 calls:

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

rewrite42.0ms (1.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
2168114
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 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 (*.f64 a b) 3) (pow.f64 (*.f64 a b) 3))))) (#(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))))))))

simplify167.0ms (4.3%)

Algorithm
egg-herbie
Rules
1484×sqr-pow_binary64
679×cube-prod_binary64
570×pow-sqr_binary64
510×associate-*l*_binary64
432×associate-*r*_binary64
Iterations

Useful iterations: 10 (0.0ms)

IterNodesCost
011480
127480
271480
3292480
41919480
52129480
62486480
72839480
83274408
93809408
104508336
115015336
125398336
135674336
145830336
155942336
166647336
177509336
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)

localize11.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(*.f64 b (sqrt.f64 a))
0.1b
(pow.f64 (*.f64 b (sqrt.f64 a)) 2)
1.2b
(*.f64 a (pow.f64 (*.f64 b (sqrt.f64 a)) 2))
Compiler

Compiled 34 to 14 computations (58.8% saved)

series11.0ms (0.3%)

Counts
3 → 48
Calls

18 calls:

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

rewrite45.0ms (1.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
2185523
Stop Event
node limit
Counts
3 → 50
Calls
Call 1
Inputs
(*.f64 a (pow.f64 (*.f64 b (sqrt.f64 a)) 2))
(pow.f64 (*.f64 b (sqrt.f64 a)) 2)
(*.f64 b (sqrt.f64 a))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (*.f64 b b) (*.f64 a a))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 b b) (*.f64 a a)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (*.f64 b b) (*.f64 a a)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (*.f64 b b) (*.f64 a a))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 a) (*.f64 b (sqrt.f64 a))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (*.f64 b b) (*.f64 a a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (*.f64 b b) (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (*.f64 b b) (*.f64 a a)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 a 3) (pow.f64 (*.f64 a (*.f64 b b)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 a (*.f64 b b)) 3) (pow.f64 a 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (*.f64 b b) (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (*.f64 b b) (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 b b) (*.f64 a a))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 a (*.f64 b b))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 a (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 b (*.f64 (sqrt.f64 a) (*.f64 b (sqrt.f64 a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 a) (*.f64 b (*.f64 b (sqrt.f64 a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b (sqrt.f64 a)) (*.f64 b (sqrt.f64 a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 a (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 a (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 a (*.f64 b b))) (cbrt.f64 (pow.f64 (*.f64 b (sqrt.f64 a)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 a (*.f64 b b))) (*.f64 (cbrt.f64 (*.f64 b (sqrt.f64 a))) (*.f64 b (sqrt.f64 a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 b (sqrt.f64 a)) 4)) (cbrt.f64 (*.f64 a (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 a) (*.f64 b (sqrt.f64 a))) b)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 b (sqrt.f64 a))) (*.f64 (sqrt.f64 (*.f64 b (sqrt.f64 a))) (*.f64 b (sqrt.f64 a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 b b) a)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 b (sqrt.f64 a)) (sqrt.f64 (*.f64 b (sqrt.f64 a)))) (sqrt.f64 (*.f64 b (sqrt.f64 a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 b (sqrt.f64 a)) b) (sqrt.f64 a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 b (sqrt.f64 a)) (cbrt.f64 (*.f64 a (*.f64 b b)))) (cbrt.f64 (*.f64 b (sqrt.f64 a))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 b (sqrt.f64 a)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 a (*.f64 b 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))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 b (sqrt.f64 a))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b (sqrt.f64 a)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a (*.f64 b b)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b (sqrt.f64 a)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 b (sqrt.f64 a))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 b (sqrt.f64 a))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 a (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 b (sqrt.f64 a)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 b) (sqrt.f64 a)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 b (sqrt.f64 a)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 b 3) (pow.f64 a 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 a 3/2) (pow.f64 b 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 b (sqrt.f64 a))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 b (sqrt.f64 a))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 b (sqrt.f64 a))))))))

simplify78.0ms (2%)

Algorithm
egg-herbie
Rules
606×fma-neg_binary64
528×unswap-sqr_binary64
383×distribute-rgt-neg-in_binary64
354×unsub-neg_binary64
344×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
015396
136396
2104396
3447396
41129396
52938396
64831396
75994396
86913396
97423396
Stop Event
unsound
Counts
98 → 57
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 (pow.f64 a 2) (pow.f64 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 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 a (pow.f64 b 2))
(*.f64 (sqrt.f64 a) b)
(*.f64 (sqrt.f64 a) b)
(*.f64 (sqrt.f64 a) b)
(*.f64 (sqrt.f64 a) b)
(*.f64 (sqrt.f64 a) b)
(*.f64 (sqrt.f64 a) b)
(*.f64 (sqrt.f64 a) b)
(*.f64 (sqrt.f64 a) b)
(*.f64 (sqrt.f64 a) b)
(*.f64 (sqrt.f64 a) b)
(*.f64 (sqrt.f64 a) b)
(*.f64 (sqrt.f64 a) b)
Outputs
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 a (*.f64 b (*.f64 b a)))
(*.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 b (*.f64 b a)))
(*.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 b (*.f64 b a)))
(*.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 b (*.f64 b a)))
(*.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 b (*.f64 b a)))
(*.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 b (*.f64 b a)))
(*.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 b (*.f64 b a)))
(*.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 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 a (*.f64 b (*.f64 b a)))
(*.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 b (*.f64 b a)))
(*.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 b (*.f64 b a)))
(*.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 b (*.f64 b a)))
(*.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 b (*.f64 b a)))
(*.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 b (*.f64 b a)))
(*.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 b (*.f64 b a)))
(*.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 b (*.f64 b a)))
(*.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 b (*.f64 b a)))
(*.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 b (*.f64 b a)))
(*.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 b (*.f64 b a)))
(*.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 b (*.f64 b a)))
(*.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 b (*.f64 b a)))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 a (pow.f64 b 2))
(*.f64 a (*.f64 b b))
(*.f64 b (*.f64 b a))
(*.f64 (sqrt.f64 a) b)
(*.f64 b (sqrt.f64 a))
(*.f64 (sqrt.f64 a) b)
(*.f64 b (sqrt.f64 a))
(*.f64 (sqrt.f64 a) b)
(*.f64 b (sqrt.f64 a))
(*.f64 (sqrt.f64 a) b)
(*.f64 b (sqrt.f64 a))
(*.f64 (sqrt.f64 a) b)
(*.f64 b (sqrt.f64 a))
(*.f64 (sqrt.f64 a) b)
(*.f64 b (sqrt.f64 a))
(*.f64 (sqrt.f64 a) b)
(*.f64 b (sqrt.f64 a))
(*.f64 (sqrt.f64 a) b)
(*.f64 b (sqrt.f64 a))
(*.f64 (sqrt.f64 a) b)
(*.f64 b (sqrt.f64 a))
(*.f64 (sqrt.f64 a) b)
(*.f64 b (sqrt.f64 a))
(*.f64 (sqrt.f64 a) b)
(*.f64 b (sqrt.f64 a))
(*.f64 (sqrt.f64 a) b)
(*.f64 b (sqrt.f64 a))

localize15.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 a (*.f64 a b))
0.5b
(pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 3)
5.5b
(*.f64 (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 3) b)
22.3b
(cbrt.f64 (*.f64 a (*.f64 a b)))
Compiler

Compiled 48 to 15 computations (68.8% saved)

series15.0ms (0.4%)

Counts
3 → 24
Calls

18 calls:

TimeVariablePointExpression
3.0ms
b
@-inf
(*.f64 (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 3) b)
2.0ms
b
@-inf
(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
(pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 3)
1.0ms
a
@inf
(pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 3)

rewrite92.0ms (2.3%)

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
2200623
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))))))))

simplify181.0ms (4.6%)

Algorithm
egg-herbie
Rules
1022×sqr-pow_binary64
719×associate-*l*_binary64
648×cube-prod_binary64
567×fabs-mul_binary64
505×associate-*r*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07240
116240
237240
3103240
4432240
52343240
62435240
72636240
82834240
93072240
103391240
114063240
124557240
135205240
145943240
156504240
166848240
177176240
187270240
197302240
207955240
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 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
(*.f64 (*.f64 a a) (*.f64 b b))
(*.f64 (*.f64 b a) (*.f64 b a))
(*.f64 a (*.f64 a (*.f64 b b)))
(*.f64 b (*.f64 (*.f64 a a) b))

eval94.0ms (2.4%)

Compiler

Compiled 3536 to 1660 computations (53.1% saved)

prune44.0ms (1.1%)

Pruning

13 alts after pruning (3 fresh and 10 done)

PrunedKeptTotal
New2902292
Fresh011
Picked011
Done099
Total29013303
Error
0.0b
Counts
303 → 13
Alt Table
Click to see full alt table
StatusErrorProgram
28.3b
(neg.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 6)))
6.4b
(neg.f64 (*.f64 (*.f64 (pow.f64 (cbrt.f64 a) 2) (*.f64 (cbrt.f64 a) (*.f64 a b))) b))
51.4b
(neg.f64 (*.f64 a (*.f64 (*.f64 (*.f64 b (sqrt.f64 a)) (cbrt.f64 (*.f64 a (*.f64 b b)))) (cbrt.f64 (*.f64 b (sqrt.f64 a))))))
48.4b
(neg.f64 (*.f64 a (pow.f64 (*.f64 b (sqrt.f64 a)) 2)))
16.3b
(neg.f64 (*.f64 a (*.f64 a (*.f64 b b))))
17.8b
(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
1.3b
(neg.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) 3))
23.0b
(neg.f64 (*.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) a) (sqrt.f64 b)) b))
5.5b
(neg.f64 (*.f64 (*.f64 (*.f64 a b) b) a))
0.4b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
6.4b
(neg.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 3) b))
18.4b
(neg.f64 (*.f64 (pow.f64 (*.f64 a (sqrt.f64 b)) 2) b))
5.8b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
Compiler

Compiled 157 to 100 computations (36.3% saved)

localize20.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(cbrt.f64 (*.f64 b (sqrt.f64 a)))
1.2b
(*.f64 a (*.f64 (*.f64 (*.f64 b (sqrt.f64 a)) (cbrt.f64 (*.f64 a (*.f64 b b)))) (cbrt.f64 (*.f64 b (sqrt.f64 a)))))
10.4b
(*.f64 a (*.f64 b b))
21.8b
(cbrt.f64 (*.f64 a (*.f64 b b)))
Compiler

Compiled 96 to 12 computations (87.5% saved)

series57.0ms (1.5%)

Counts
3 → 36
Calls

18 calls:

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

rewrite58.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
996×pow1_binary64
922×add-log-exp_binary64
922×log1p-expm1-u_binary64
922×expm1-log1p-u_binary64
164×associate-*r*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01247
124324
2310024
Stop Event
node limit
Counts
3 → 69
Calls
Call 1
Inputs
(cbrt.f64 (*.f64 a (*.f64 b b)))
(*.f64 a (*.f64 (*.f64 (*.f64 b (sqrt.f64 a)) (cbrt.f64 (*.f64 a (*.f64 b b)))) (cbrt.f64 (*.f64 b (sqrt.f64 a)))))
(cbrt.f64 (*.f64 b (sqrt.f64 a)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cbrt.f64 (*.f64 a (*.f64 b b))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 a (*.f64 b b))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 b (sqrt.f64 a))) (cbrt.f64 (*.f64 b (sqrt.f64 a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (*.f64 a (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 a) (cbrt.f64 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 b (*.f64 (cbrt.f64 (*.f64 a (*.f64 b b))) (sqrt.f64 a)))) (cbrt.f64 (cbrt.f64 (*.f64 b (sqrt.f64 a)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 a (*.f64 b b)))) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 a (*.f64 b b)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 a (*.f64 b b)))) (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 b (sqrt.f64 a)))) (cbrt.f64 (*.f64 b (sqrt.f64 a)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 a (*.f64 b b)))) 2) (cbrt.f64 (cbrt.f64 (*.f64 a (*.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 b) (*.f64 (cbrt.f64 (sqrt.f64 a)) (cbrt.f64 (*.f64 b (sqrt.f64 a)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 b (sqrt.f64 a)))) (cbrt.f64 (*.f64 b (*.f64 (cbrt.f64 (*.f64 a (*.f64 b b))) (sqrt.f64 a)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 b b)) (cbrt.f64 a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 b (sqrt.f64 a))) (pow.f64 (*.f64 b (sqrt.f64 a)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 b (sqrt.f64 a)) 1/6) (*.f64 (pow.f64 (*.f64 b (sqrt.f64 a)) 1/6) (cbrt.f64 (*.f64 b (sqrt.f64 a)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 a b)) (cbrt.f64 b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (*.f64 a (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 a (*.f64 b b))) 2) 1/3) (cbrt.f64 (cbrt.f64 (*.f64 a (*.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 a b) 1/3) (cbrt.f64 b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 b (sqrt.f64 a))) (cbrt.f64 b)) (cbrt.f64 (sqrt.f64 a)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a (*.f64 b b)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 a (*.f64 b b))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b (sqrt.f64 a)) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 b (sqrt.f64 a))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 a (*.f64 b b)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 a (*.f64 b b))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (*.f64 a (*.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cbrt.f64 (*.f64 a (*.f64 b b))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (*.f64 a (*.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (*.f64 a (*.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (*.f64 a (*.f64 b b)))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (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 log.f64 (+.f64 1 (expm1.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 a 3) (pow.f64 (*.f64 a (*.f64 b b)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 a (*.f64 b b)) 3) (pow.f64 a 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 (exp.f64 (log1p.f64 (cbrt.f64 (*.f64 b (sqrt.f64 a))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 b (sqrt.f64 a))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (*.f64 b (sqrt.f64 a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 a (*.f64 b b)))) (cbrt.f64 (cbrt.f64 (*.f64 b (sqrt.f64 a)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 b) (cbrt.f64 (sqrt.f64 a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 b (sqrt.f64 a)))) (cbrt.f64 (cbrt.f64 (*.f64 a (*.f64 b b)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 a)) (cbrt.f64 b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 b (sqrt.f64 a)) 1/6) (pow.f64 (*.f64 b (sqrt.f64 a)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 a (*.f64 b b)))) 2)) (sqrt.f64 (cbrt.f64 (cbrt.f64 (*.f64 a (*.f64 b b))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 a)) (sqrt.f64 (cbrt.f64 (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (*.f64 b (sqrt.f64 a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 b (sqrt.f64 a))) 1/3) (pow.f64 (sqrt.f64 (*.f64 b (sqrt.f64 a))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a (*.f64 b b)) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 a (*.f64 b b))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 b (sqrt.f64 a)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 b (sqrt.f64 a))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 b (sqrt.f64 a)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 b (sqrt.f64 a)) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (cbrt.f64 (*.f64 a (*.f64 b b))))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (cbrt.f64 (*.f64 b (sqrt.f64 a))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (*.f64 b (sqrt.f64 a)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cbrt.f64 (*.f64 b (sqrt.f64 a))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (*.f64 b (sqrt.f64 a)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (*.f64 b (sqrt.f64 a)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (*.f64 b (sqrt.f64 a)))))))))

simplify79.0ms (2%)

Algorithm
egg-herbie
Rules
622×fma-def_binary64
458×distribute-rgt-neg-in_binary64
446×unswap-sqr_binary64
428×distribute-lft-neg-in_binary64
407×fma-neg_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
033512
191512
2260432
31131432
41839432
52813432
63656432
74730432
85448432
96245432
Stop Event
node limit
Counts
105 → 78
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 (*.f64 (pow.f64 (sqrt.f64 -1) 4) 1) 1/3) (*.f64 (pow.f64 a 2) (*.f64 (cbrt.f64 -1) (pow.f64 b 2)))))
(*.f64 -1 (*.f64 (pow.f64 (*.f64 (pow.f64 (sqrt.f64 -1) 4) 1) 1/3) (*.f64 (pow.f64 a 2) (*.f64 (cbrt.f64 -1) (pow.f64 b 2)))))
(*.f64 -1 (*.f64 (pow.f64 (*.f64 (pow.f64 (sqrt.f64 -1) 4) 1) 1/3) (*.f64 (pow.f64 a 2) (*.f64 (cbrt.f64 -1) (pow.f64 b 2)))))
(*.f64 -1 (*.f64 (pow.f64 (*.f64 (pow.f64 (sqrt.f64 -1) 4) 1) 1/3) (*.f64 (pow.f64 a 2) (*.f64 (cbrt.f64 -1) (pow.f64 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 a 2) (*.f64 (cbrt.f64 -1) (pow.f64 b 2))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (*.f64 (cbrt.f64 -1) (pow.f64 b 2))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (*.f64 (cbrt.f64 -1) (pow.f64 b 2))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (*.f64 (cbrt.f64 -1) (pow.f64 b 2))))
(*.f64 (sqrt.f64 1) (*.f64 (pow.f64 a 1/6) (pow.f64 b 1/3)))
(*.f64 (sqrt.f64 1) (*.f64 (pow.f64 a 1/6) (pow.f64 b 1/3)))
(*.f64 (sqrt.f64 1) (*.f64 (pow.f64 a 1/6) (pow.f64 b 1/3)))
(*.f64 (sqrt.f64 1) (*.f64 (pow.f64 a 1/6) (pow.f64 b 1/3)))
(*.f64 (sqrt.f64 1) (*.f64 (pow.f64 a 1/6) (pow.f64 b 1/3)))
(*.f64 (sqrt.f64 1) (*.f64 (pow.f64 a 1/6) (pow.f64 b 1/3)))
(*.f64 (sqrt.f64 1) (*.f64 (pow.f64 a 1/6) (pow.f64 b 1/3)))
(*.f64 (sqrt.f64 1) (*.f64 (pow.f64 a 1/6) (pow.f64 b 1/3)))
(*.f64 (pow.f64 (*.f64 -1 a) 1/6) (pow.f64 (*.f64 (sqrt.f64 -1) (*.f64 1 b)) 1/3))
(*.f64 (pow.f64 (*.f64 -1 a) 1/6) (pow.f64 (*.f64 (sqrt.f64 -1) (*.f64 1 b)) 1/3))
(*.f64 (pow.f64 (*.f64 -1 a) 1/6) (pow.f64 (*.f64 (sqrt.f64 -1) (*.f64 1 b)) 1/3))
(*.f64 (pow.f64 (*.f64 -1 a) 1/6) (pow.f64 (*.f64 (sqrt.f64 -1) (*.f64 1 b)) 1/3))
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 (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 -1 (*.f64 (pow.f64 (*.f64 (pow.f64 (sqrt.f64 -1) 4) 1) 1/3) (*.f64 (pow.f64 a 2) (*.f64 (cbrt.f64 -1) (pow.f64 b 2)))))
(neg.f64 (*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 -1) 4)) (*.f64 (*.f64 a a) (*.f64 (*.f64 b b) (cbrt.f64 -1)))))
(*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 -1) 4)) (*.f64 (*.f64 (*.f64 b b) (cbrt.f64 -1)) (*.f64 (neg.f64 a) a)))
(*.f64 a (neg.f64 (*.f64 a (*.f64 (*.f64 b b) (cbrt.f64 -1)))))
(*.f64 a (*.f64 a (*.f64 b (*.f64 b (neg.f64 (cbrt.f64 -1))))))
(*.f64 b (*.f64 (*.f64 a (*.f64 a (cbrt.f64 -1))) (neg.f64 b)))
(*.f64 (*.f64 a a) (*.f64 (cbrt.f64 -1) (*.f64 b (neg.f64 b))))
(*.f64 -1 (*.f64 (pow.f64 (*.f64 (pow.f64 (sqrt.f64 -1) 4) 1) 1/3) (*.f64 (pow.f64 a 2) (*.f64 (cbrt.f64 -1) (pow.f64 b 2)))))
(neg.f64 (*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 -1) 4)) (*.f64 (*.f64 a a) (*.f64 (*.f64 b b) (cbrt.f64 -1)))))
(*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 -1) 4)) (*.f64 (*.f64 (*.f64 b b) (cbrt.f64 -1)) (*.f64 (neg.f64 a) a)))
(*.f64 a (neg.f64 (*.f64 a (*.f64 (*.f64 b b) (cbrt.f64 -1)))))
(*.f64 a (*.f64 a (*.f64 b (*.f64 b (neg.f64 (cbrt.f64 -1))))))
(*.f64 b (*.f64 (*.f64 a (*.f64 a (cbrt.f64 -1))) (neg.f64 b)))
(*.f64 (*.f64 a a) (*.f64 (cbrt.f64 -1) (*.f64 b (neg.f64 b))))
(*.f64 -1 (*.f64 (pow.f64 (*.f64 (pow.f64 (sqrt.f64 -1) 4) 1) 1/3) (*.f64 (pow.f64 a 2) (*.f64 (cbrt.f64 -1) (pow.f64 b 2)))))
(neg.f64 (*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 -1) 4)) (*.f64 (*.f64 a a) (*.f64 (*.f64 b b) (cbrt.f64 -1)))))
(*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 -1) 4)) (*.f64 (*.f64 (*.f64 b b) (cbrt.f64 -1)) (*.f64 (neg.f64 a) a)))
(*.f64 a (neg.f64 (*.f64 a (*.f64 (*.f64 b b) (cbrt.f64 -1)))))
(*.f64 a (*.f64 a (*.f64 b (*.f64 b (neg.f64 (cbrt.f64 -1))))))
(*.f64 b (*.f64 (*.f64 a (*.f64 a (cbrt.f64 -1))) (neg.f64 b)))
(*.f64 (*.f64 a a) (*.f64 (cbrt.f64 -1) (*.f64 b (neg.f64 b))))
(*.f64 -1 (*.f64 (pow.f64 (*.f64 (pow.f64 (sqrt.f64 -1) 4) 1) 1/3) (*.f64 (pow.f64 a 2) (*.f64 (cbrt.f64 -1) (pow.f64 b 2)))))
(neg.f64 (*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 -1) 4)) (*.f64 (*.f64 a a) (*.f64 (*.f64 b b) (cbrt.f64 -1)))))
(*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 -1) 4)) (*.f64 (*.f64 (*.f64 b b) (cbrt.f64 -1)) (*.f64 (neg.f64 a) a)))
(*.f64 a (neg.f64 (*.f64 a (*.f64 (*.f64 b b) (cbrt.f64 -1)))))
(*.f64 a (*.f64 a (*.f64 b (*.f64 b (neg.f64 (cbrt.f64 -1))))))
(*.f64 b (*.f64 (*.f64 a (*.f64 a (cbrt.f64 -1))) (neg.f64 b)))
(*.f64 (*.f64 a a) (*.f64 (cbrt.f64 -1) (*.f64 b (neg.f64 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 -1 (*.f64 (pow.f64 a 2) (*.f64 (cbrt.f64 -1) (pow.f64 b 2))))
(neg.f64 (*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 -1) 4)) (*.f64 (*.f64 a a) (*.f64 (*.f64 b b) (cbrt.f64 -1)))))
(*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 -1) 4)) (*.f64 (*.f64 (*.f64 b b) (cbrt.f64 -1)) (*.f64 (neg.f64 a) a)))
(*.f64 a (neg.f64 (*.f64 a (*.f64 (*.f64 b b) (cbrt.f64 -1)))))
(*.f64 a (*.f64 a (*.f64 b (*.f64 b (neg.f64 (cbrt.f64 -1))))))
(*.f64 b (*.f64 (*.f64 a (*.f64 a (cbrt.f64 -1))) (neg.f64 b)))
(*.f64 (*.f64 a a) (*.f64 (cbrt.f64 -1) (*.f64 b (neg.f64 b))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (*.f64 (cbrt.f64 -1) (pow.f64 b 2))))
(neg.f64 (*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 -1) 4)) (*.f64 (*.f64 a a) (*.f64 (*.f64 b b) (cbrt.f64 -1)))))
(*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 -1) 4)) (*.f64 (*.f64 (*.f64 b b) (cbrt.f64 -1)) (*.f64 (neg.f64 a) a)))
(*.f64 a (neg.f64 (*.f64 a (*.f64 (*.f64 b b) (cbrt.f64 -1)))))
(*.f64 a (*.f64 a (*.f64 b (*.f64 b (neg.f64 (cbrt.f64 -1))))))
(*.f64 b (*.f64 (*.f64 a (*.f64 a (cbrt.f64 -1))) (neg.f64 b)))
(*.f64 (*.f64 a a) (*.f64 (cbrt.f64 -1) (*.f64 b (neg.f64 b))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (*.f64 (cbrt.f64 -1) (pow.f64 b 2))))
(neg.f64 (*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 -1) 4)) (*.f64 (*.f64 a a) (*.f64 (*.f64 b b) (cbrt.f64 -1)))))
(*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 -1) 4)) (*.f64 (*.f64 (*.f64 b b) (cbrt.f64 -1)) (*.f64 (neg.f64 a) a)))
(*.f64 a (neg.f64 (*.f64 a (*.f64 (*.f64 b b) (cbrt.f64 -1)))))
(*.f64 a (*.f64 a (*.f64 b (*.f64 b (neg.f64 (cbrt.f64 -1))))))
(*.f64 b (*.f64 (*.f64 a (*.f64 a (cbrt.f64 -1))) (neg.f64 b)))
(*.f64 (*.f64 a a) (*.f64 (cbrt.f64 -1) (*.f64 b (neg.f64 b))))
(*.f64 -1 (*.f64 (pow.f64 a 2) (*.f64 (cbrt.f64 -1) (pow.f64 b 2))))
(neg.f64 (*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 -1) 4)) (*.f64 (*.f64 a a) (*.f64 (*.f64 b b) (cbrt.f64 -1)))))
(*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 -1) 4)) (*.f64 (*.f64 (*.f64 b b) (cbrt.f64 -1)) (*.f64 (neg.f64 a) a)))
(*.f64 a (neg.f64 (*.f64 a (*.f64 (*.f64 b b) (cbrt.f64 -1)))))
(*.f64 a (*.f64 a (*.f64 b (*.f64 b (neg.f64 (cbrt.f64 -1))))))
(*.f64 b (*.f64 (*.f64 a (*.f64 a (cbrt.f64 -1))) (neg.f64 b)))
(*.f64 (*.f64 a a) (*.f64 (cbrt.f64 -1) (*.f64 b (neg.f64 b))))
(*.f64 (sqrt.f64 1) (*.f64 (pow.f64 a 1/6) (pow.f64 b 1/3)))
(*.f64 (pow.f64 a 1/6) (cbrt.f64 b))
(*.f64 (sqrt.f64 1) (*.f64 (pow.f64 a 1/6) (pow.f64 b 1/3)))
(*.f64 (pow.f64 a 1/6) (cbrt.f64 b))
(*.f64 (sqrt.f64 1) (*.f64 (pow.f64 a 1/6) (pow.f64 b 1/3)))
(*.f64 (pow.f64 a 1/6) (cbrt.f64 b))
(*.f64 (sqrt.f64 1) (*.f64 (pow.f64 a 1/6) (pow.f64 b 1/3)))
(*.f64 (pow.f64 a 1/6) (cbrt.f64 b))
(*.f64 (sqrt.f64 1) (*.f64 (pow.f64 a 1/6) (pow.f64 b 1/3)))
(*.f64 (pow.f64 a 1/6) (cbrt.f64 b))
(*.f64 (sqrt.f64 1) (*.f64 (pow.f64 a 1/6) (pow.f64 b 1/3)))
(*.f64 (pow.f64 a 1/6) (cbrt.f64 b))
(*.f64 (sqrt.f64 1) (*.f64 (pow.f64 a 1/6) (pow.f64 b 1/3)))
(*.f64 (pow.f64 a 1/6) (cbrt.f64 b))
(*.f64 (sqrt.f64 1) (*.f64 (pow.f64 a 1/6) (pow.f64 b 1/3)))
(*.f64 (pow.f64 a 1/6) (cbrt.f64 b))
(*.f64 (pow.f64 (*.f64 -1 a) 1/6) (pow.f64 (*.f64 (sqrt.f64 -1) (*.f64 1 b)) 1/3))
(*.f64 (pow.f64 (neg.f64 a) 1/6) (cbrt.f64 (*.f64 b (sqrt.f64 -1))))
(*.f64 (pow.f64 (*.f64 -1 a) 1/6) (pow.f64 (*.f64 (sqrt.f64 -1) (*.f64 1 b)) 1/3))
(*.f64 (pow.f64 (neg.f64 a) 1/6) (cbrt.f64 (*.f64 b (sqrt.f64 -1))))
(*.f64 (pow.f64 (*.f64 -1 a) 1/6) (pow.f64 (*.f64 (sqrt.f64 -1) (*.f64 1 b)) 1/3))
(*.f64 (pow.f64 (neg.f64 a) 1/6) (cbrt.f64 (*.f64 b (sqrt.f64 -1))))
(*.f64 (pow.f64 (*.f64 -1 a) 1/6) (pow.f64 (*.f64 (sqrt.f64 -1) (*.f64 1 b)) 1/3))
(*.f64 (pow.f64 (neg.f64 a) 1/6) (cbrt.f64 (*.f64 b (sqrt.f64 -1))))

localize12.0ms (0.3%)

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.6b
(*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) a) (sqrt.f64 b))
4.8b
(*.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) a) (sqrt.f64 b)) b)
Compiler

Compiled 48 to 8 computations (83.3% saved)

series7.0ms (0.2%)

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
a
@inf
(*.f64 (*.f64 a (sqrt.f64 b)) a)
1.0ms
b
@inf
(*.f64 (*.f64 a (sqrt.f64 b)) a)
0.0ms
b
@-inf
(*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) a) (sqrt.f64 b))

rewrite48.0ms (1.2%)

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
2196126
Stop Event
node limit
Counts
3 → 39
Calls
Call 1
Inputs
(*.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) a) (sqrt.f64 b)) b)
(*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) a) (sqrt.f64 b))
(*.f64 (*.f64 a (sqrt.f64 b)) a)
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 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 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)))))))))

simplify79.0ms (2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
017516
143516
2142516
3573516
41405516
53788516
65912516
77384516
87768516
Stop Event
node limit
Counts
99 → 47
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)
(*.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) (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) (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) 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) (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)))

localize18.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (cbrt.f64 a) (*.f64 a b))
0.5b
(pow.f64 (cbrt.f64 a) 2)
0.7b
(cbrt.f64 a)
5.5b
(*.f64 (*.f64 (pow.f64 (cbrt.f64 a) 2) (*.f64 (cbrt.f64 a) (*.f64 a b))) b)
Compiler

Compiled 58 to 20 computations (65.5% saved)

series12.0ms (0.3%)

Counts
4 → 36
Calls

18 calls:

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

rewrite56.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
885×pow1_binary64
818×add-log-exp_binary64
818×log1p-expm1-u_binary64
818×expm1-log1p-u_binary64
798×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01028
120625
2245525
Stop Event
node limit
Counts
4 → 62
Calls
Call 1
Inputs
(*.f64 (*.f64 (pow.f64 (cbrt.f64 a) 2) (*.f64 (cbrt.f64 a) (*.f64 a b))) b)
(cbrt.f64 a)
(pow.f64 (cbrt.f64 a) 2)
(*.f64 (cbrt.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 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 (cbrt.f64 a)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 a) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 a)) 2) (cbrt.f64 (cbrt.f64 a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 a)) (pow.f64 (cbrt.f64 (cbrt.f64 a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 a 1/6) (pow.f64 a 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (*.f64 a (cbrt.f64 a)))) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 a)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 a) 1/3) (pow.f64 (sqrt.f64 a) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 a 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 a) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 a) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 a)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 a 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 a) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (cbrt.f64 a))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 a)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 a)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 a)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 a)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (cbrt.f64 a) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 a) (cbrt.f64 a))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 a) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cbrt.f64 a) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 a)) 2) (cbrt.f64 (*.f64 a (cbrt.f64 a))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 a)) 2) (*.f64 (cbrt.f64 (cbrt.f64 a)) (cbrt.f64 a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 a (cbrt.f64 a))) (pow.f64 (cbrt.f64 (cbrt.f64 a)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 a) (pow.f64 a 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 a 1/6) (*.f64 (pow.f64 a 1/6) (cbrt.f64 a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 a) (pow.f64 (cbrt.f64 (cbrt.f64 a)) 2)) (cbrt.f64 (cbrt.f64 a)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 a (cbrt.f64 a)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 a) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (cbrt.f64 a))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 a (*.f64 b (cbrt.f64 a)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a (*.f64 b (cbrt.f64 a))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a (*.f64 b (cbrt.f64 a))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 a (*.f64 b (cbrt.f64 a)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (cbrt.f64 a) 2) (sqrt.f64 b)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 a (*.f64 b (cbrt.f64 a))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cbrt.f64 a)) (*.f64 a b)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 a (*.f64 b (cbrt.f64 a))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 a (pow.f64 (*.f64 a b) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 a b) 3) a))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 a (*.f64 b (cbrt.f64 a)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 a (*.f64 b (cbrt.f64 a)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 a (*.f64 b (cbrt.f64 a)))))))))

simplify145.0ms (3.7%)

Algorithm
egg-herbie
Rules
2160×unswap-sqr_binary64
1150×sqr-pow_binary64
470×pow-sqr_binary64
429×cube-prod_binary64
406×fabs-mul_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
014348
134348
272348
3197348
4813348
51645348
61751348
71898348
82086348
92303348
102582348
112923348
123323348
133823348
144422348
154771348
164983348
175153348
185267348
195339348
205866348
Stop Event
node limit
Counts
98 → 66
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 (*.f64 1 (pow.f64 a 4)) 1/3) b)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 a 4)) 1/3) b)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 a 4)) 1/3) b)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 a 4)) 1/3) b)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 a 4)) 1/3) b)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 a 4)) 1/3) b)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 a 4)) 1/3) b)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 a 4)) 1/3) b)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 a 4)) 1/3) b)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 a 4)) 1/3) b)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 a 4)) 1/3) b)
(*.f64 (pow.f64 (*.f64 1 (pow.f64 a 4)) 1/3) 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 (*.f64 1 (pow.f64 a 4)) 1/3) b)
(*.f64 b (cbrt.f64 (pow.f64 a 4)))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 a 4)) 1/3) b)
(*.f64 b (cbrt.f64 (pow.f64 a 4)))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 a 4)) 1/3) b)
(*.f64 b (cbrt.f64 (pow.f64 a 4)))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 a 4)) 1/3) b)
(*.f64 b (cbrt.f64 (pow.f64 a 4)))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 a 4)) 1/3) b)
(*.f64 b (cbrt.f64 (pow.f64 a 4)))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 a 4)) 1/3) b)
(*.f64 b (cbrt.f64 (pow.f64 a 4)))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 a 4)) 1/3) b)
(*.f64 b (cbrt.f64 (pow.f64 a 4)))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 a 4)) 1/3) b)
(*.f64 b (cbrt.f64 (pow.f64 a 4)))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 a 4)) 1/3) b)
(*.f64 b (cbrt.f64 (pow.f64 a 4)))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 a 4)) 1/3) b)
(*.f64 b (cbrt.f64 (pow.f64 a 4)))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 a 4)) 1/3) b)
(*.f64 b (cbrt.f64 (pow.f64 a 4)))
(*.f64 (pow.f64 (*.f64 1 (pow.f64 a 4)) 1/3) b)
(*.f64 b (cbrt.f64 (pow.f64 a 4)))

eval65.0ms (1.7%)

Compiler

Compiled 4092 to 1620 computations (60.4% saved)

prune36.0ms (0.9%)

Pruning

13 alts after pruning (0 fresh and 13 done)

PrunedKeptTotal
New2390239
Fresh000
Picked011
Done01212
Total23913252
Error
0.0b
Counts
252 → 13
Alt Table
Click to see full alt table
StatusErrorProgram
28.3b
(neg.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 6)))
6.4b
(neg.f64 (*.f64 (*.f64 (pow.f64 (cbrt.f64 a) 2) (*.f64 (cbrt.f64 a) (*.f64 a b))) b))
51.4b
(neg.f64 (*.f64 a (*.f64 (*.f64 (*.f64 b (sqrt.f64 a)) (cbrt.f64 (*.f64 a (*.f64 b b)))) (cbrt.f64 (*.f64 b (sqrt.f64 a))))))
48.4b
(neg.f64 (*.f64 a (pow.f64 (*.f64 b (sqrt.f64 a)) 2)))
16.3b
(neg.f64 (*.f64 a (*.f64 a (*.f64 b b))))
17.8b
(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
1.3b
(neg.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 a b)) 2) 3))
23.0b
(neg.f64 (*.f64 (*.f64 (*.f64 (*.f64 a (sqrt.f64 b)) a) (sqrt.f64 b)) b))
5.5b
(neg.f64 (*.f64 (*.f64 (*.f64 a b) b) a))
0.4b
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
6.4b
(neg.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 a (*.f64 a b))) 3) b))
18.4b
(neg.f64 (*.f64 (pow.f64 (*.f64 a (sqrt.f64 b)) 2) b))
5.8b
(neg.f64 (*.f64 (*.f64 a (*.f64 a b)) b))
Compiler

Compiled 157 to 100 computations (36.3% saved)

regimes44.0ms (1.1%)

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

6 calls:

10.0ms
b
8.0ms
a
6.0ms
(*.f64 a a)
5.0ms
(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
5.0ms
(*.f64 a a)
Results
ErrorSegmentsBranch
0.4b1a
0.4b1b
0.4b1(neg.f64 (*.f64 (*.f64 (*.f64 a a) b) b))
0.4b1(*.f64 (*.f64 (*.f64 a a) b) b)
0.4b1(*.f64 a a)
0.4b1(*.f64 a a)
Compiler

Compiled 194 to 99 computations (49% saved)

regimes7.0ms (0.2%)

Accuracy

Total -10.9b remaining (-197.2%)

Threshold costs -10.9b (-197.2%)

Counts
2 → 1
Calls
Call 1
Inputs
(neg.f64 (*.f64 (*.f64 (*.f64 a b) b) a))
(neg.f64 (*.f64 a (*.f64 a (*.f64 b b))))
Outputs
(neg.f64 (*.f64 (*.f64 (*.f64 a b) b) a))
Calls

2 calls:

3.0ms
b
3.0ms
a
Results
ErrorSegmentsBranch
5.5b1a
5.5b1b
Compiler

Compiled 24 to 14 computations (41.7% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
distribute-lft-neg-in_binary64
distribute-rgt-neg-in_binary64
+-commutative_binary64
sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0924
12524
24724
35724
46224
56324
Stop Event
saturated
Calls
Call 1
Inputs
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(neg.f64 (*.f64 (*.f64 (*.f64 a b) b) a))
Outputs
(neg.f64 (*.f64 (*.f64 a b) (*.f64 a b)))
(*.f64 (*.f64 a b) (neg.f64 (*.f64 a b)))
(*.f64 (*.f64 a b) (*.f64 a (neg.f64 b)))
(neg.f64 (*.f64 (*.f64 (*.f64 a b) b) a))
(*.f64 (*.f64 b (*.f64 a b)) (neg.f64 a))
(*.f64 a (*.f64 b (*.f64 a (neg.f64 b))))

end21.0ms (0.5%)

Stop Event
done
Remove

(sort a b)

Compiler

Compiled 58 to 32 computations (44.8% saved)

Profiling

Loading profile data...