Details

Time bar (total: 5.1s)

analyze4.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%50%50%3
25%25%50%4
37.5%12.5%50%5
43.7%6.2%50%6
46.9%3.1%50%7
48.4%1.6%50%8
49.2%0.8%50%9
49.6%0.4%50%10
49.8%0.2%50%11
49.9%0.1%50%12
Compiler

Compiled 14 to 12 computations (14.3% saved)

sample3.6s (70.7%)

Results
2.3s4130×body1024valid
770.0ms2070×body512valid
300.0ms417×body2048valid
230.0ms1639×body256valid
0.0msbody256invalid

preprocess181.0ms (3.5%)

Algorithm
egg-herbie
Rules
781×fma-neg_binary64
591×unsub-neg_binary64
574×distribute-rgt-in_binary64
573×distribute-neg-in_binary64
515×fma-def_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01115
12013
22813
34313
47313
510913
615313
727213
858813
9104113
10147913
11187613
12208013
13222113
14251413
15339713
16457113
17532913
18560313
19569913
20581913
21585713
22628113
23672313
24704013
25714813
26719613
27721613
28722413
29722413
30722413
31759013
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
Outputs
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
(*.f64 1/2 (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))
Compiler

Compiled 14 to 12 computations (14.3% saved)

simplify169.0ms (3.3%)

Algorithm
egg-herbie
Rules
781×fma-neg_binary64
591×unsub-neg_binary64
574×distribute-rgt-in_binary64
573×distribute-neg-in_binary64
515×fma-def_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01115
12013
22813
34313
47313
510913
615313
727213
858813
9104113
10147913
11187613
12208013
13222113
14251413
15339713
16457113
17532913
18560313
19569913
20581913
21585713
22628113
23672313
24704013
25714813
26719613
27721613
28722413
29722413
30722413
31759013
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
Outputs
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
(*.f64 1/2 (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))

eval1.0ms (0%)

Compiler

Compiled 21 to 17 computations (19% saved)

prune2.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0b
Counts
3 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
58.5b
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
0b
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))
Compiler

Compiled 22 to 18 computations (18.2% saved)

localize5.0ms (0.1%)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
5.0b
(log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))
0.0b
(/.f64 (+.f64 1 x) (-.f64 1 x))
0.0b
(/.f64 (+.f64 1 x) (-.f64 1 x))
5.0b
(log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))

series4.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@0
(log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))
1.0ms
x
@inf
(log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))
1.0ms
x
@-inf
(log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))
0.0ms
x
@inf
(/.f64 (+.f64 1 x) (-.f64 1 x))
0.0ms
x
@0
(/.f64 (+.f64 1 x) (-.f64 1 x))

rewrite52.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
843×pow1_binary64
786×log1p-expm1-u_binary64
786×expm1-log1p-u_binary64
785×add-log-exp_binary64
771×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0722
115120
2207820
Stop Event
node limit
Counts
2 → 62
Calls
Call 1
Inputs
(log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))
(/.f64 (+.f64 1 x) (-.f64 1 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log1p.f64 x) (neg.f64 (log1p.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) 2)) (log.f64 (cbrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) (log.f64 (sqrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (-.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (+.f64 (neg.f64 x) -1)) (log.f64 (neg.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) (pow.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) 2) (cbrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) (sqrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (log1p.f64 x) 3) (pow.f64 (log1p.f64 (neg.f64 x)) 3)) (+.f64 (*.f64 (log1p.f64 x) (log1p.f64 x)) (+.f64 (*.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 (neg.f64 x))) (*.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (log1p.f64 x) (log1p.f64 x)) (*.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 (neg.f64 x)))) (+.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (-.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 (+.f64 1 x) (-.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (+.f64 1 x) (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 x) (/.f64 1 (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) (pow.f64 (cbrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) 2) (cbrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 x)) 2) (*.f64 (cbrt.f64 (+.f64 1 x)) (/.f64 1 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) (sqrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1 x)) (*.f64 (sqrt.f64 (+.f64 1 x)) (/.f64 1 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (neg.f64 x) -1) (/.f64 1 (neg.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 1 x)) (+.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 1 x)) 2) 1) (/.f64 (cbrt.f64 (+.f64 1 x)) (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (+.f64 1 x)) 1) (/.f64 (sqrt.f64 (+.f64 1 x)) (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (-.f64 1 x)) 2)) (/.f64 (+.f64 1 x) (cbrt.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 1 x)) 2) (pow.f64 (cbrt.f64 (-.f64 1 x)) 2)) (cbrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (+.f64 1 x)) (pow.f64 (cbrt.f64 (-.f64 1 x)) 2)) (/.f64 (sqrt.f64 (+.f64 1 x)) (cbrt.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (-.f64 1 x))) (/.f64 (+.f64 1 x) (sqrt.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 1 x)) 2) (sqrt.f64 (-.f64 1 x))) (/.f64 (cbrt.f64 (+.f64 1 x)) (sqrt.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 1 x) (-.f64 1 (*.f64 x x))) (+.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 1 x) (-.f64 1 (pow.f64 x 3))) (+.f64 1 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))) (sqrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) 2)) (cbrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (+.f64 1 x) (neg.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (+.f64 1 x) 3) (pow.f64 (-.f64 1 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))))))

simplify37.0ms (0.7%)

Algorithm
egg-herbie
Rules
829×fma-def_binary64
822×fma-neg_binary64
560×associate-/r*_binary64
559×times-frac_binary64
537×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
052319
1154307
2437301
31297298
43668294
Stop Event
node limit
Counts
86 → 90
Calls
Call 1
Inputs
(*.f64 2 x)
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))
(+.f64 (*.f64 2/7 (pow.f64 x 7)) (+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5)))))
(log.f64 -1)
(+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x))))
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/5 (/.f64 1 (pow.f64 x 5))))))
(log.f64 -1)
(+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x)))
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x))))
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/5 (/.f64 1 (pow.f64 x 5))))))
1
(+.f64 (*.f64 2 x) 1)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1))
(+.f64 (*.f64 2 (pow.f64 x 3)) (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1)))
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
Outputs
(*.f64 2 x)
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3)))
(*.f64 x (fma.f64 x (*.f64 x 2/3) 2))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))
(fma.f64 2 x (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))
(fma.f64 x (fma.f64 x (*.f64 x 2/3) 2) (*.f64 2/5 (pow.f64 x 5)))
(+.f64 (*.f64 2/7 (pow.f64 x 7)) (+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5)))))
(fma.f64 2/7 (pow.f64 x 7) (fma.f64 2 x (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))))
(fma.f64 2 x (fma.f64 2/7 (pow.f64 x 7) (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))))
(fma.f64 x (fma.f64 x (*.f64 x 2/3) 2) (fma.f64 2/5 (pow.f64 x 5) (*.f64 2/7 (pow.f64 x 7))))
(log.f64 -1)
(+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x)))
(+.f64 (log.f64 -1) (/.f64 2 x))
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x))))
(+.f64 (+.f64 (log.f64 -1) (/.f64 2 x)) (/.f64 2/3 (pow.f64 x 3)))
(+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (/.f64 2/3 (pow.f64 x 3))))
(+.f64 (/.f64 2 x) (+.f64 (log.f64 -1) (/.f64 2/3 (pow.f64 x 3))))
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/5 (/.f64 1 (pow.f64 x 5))))))
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5)))))
(+.f64 (+.f64 (log.f64 -1) (/.f64 2 x)) (+.f64 (/.f64 2/5 (pow.f64 x 5)) (/.f64 2/3 (pow.f64 x 3))))
(+.f64 (log.f64 -1) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5)))))
(+.f64 (/.f64 2 x) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (log.f64 -1) (/.f64 2/5 (pow.f64 x 5)))))
(log.f64 -1)
(+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x)))
(+.f64 (log.f64 -1) (/.f64 2 x))
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x))))
(+.f64 (+.f64 (log.f64 -1) (/.f64 2 x)) (/.f64 2/3 (pow.f64 x 3)))
(+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (/.f64 2/3 (pow.f64 x 3))))
(+.f64 (/.f64 2 x) (+.f64 (log.f64 -1) (/.f64 2/3 (pow.f64 x 3))))
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/5 (/.f64 1 (pow.f64 x 5))))))
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5)))))
(+.f64 (+.f64 (log.f64 -1) (/.f64 2 x)) (+.f64 (/.f64 2/5 (pow.f64 x 5)) (/.f64 2/3 (pow.f64 x 3))))
(+.f64 (log.f64 -1) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5)))))
(+.f64 (/.f64 2 x) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (log.f64 -1) (/.f64 2/5 (pow.f64 x 5)))))
1
(+.f64 (*.f64 2 x) 1)
(fma.f64 2 x 1)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1))
(fma.f64 2 (*.f64 x x) (fma.f64 2 x 1))
(fma.f64 2 (fma.f64 x x x) 1)
(+.f64 (*.f64 2 (pow.f64 x 3)) (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1)))
(fma.f64 2 (pow.f64 x 3) (fma.f64 2 (*.f64 x x) (fma.f64 2 x 1)))
(fma.f64 2 (*.f64 x (fma.f64 x x x)) (fma.f64 2 x 1))
(fma.f64 2 (fma.f64 x (fma.f64 x x x) x) 1)
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(+.f64 -1 (neg.f64 (/.f64 2 x)))
(-.f64 -1 (/.f64 2 x))
(+.f64 -1 (/.f64 -2 x))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x)))))
(-.f64 -1 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x))))
(+.f64 (/.f64 -2 x) (-.f64 (/.f64 -2 (*.f64 x x)) 1))
(+.f64 -1 (-.f64 (/.f64 -2 x) (/.f64 2 (*.f64 x x))))
(-.f64 -1 (+.f64 (/.f64 2 x) (/.f64 (/.f64 2 x) x)))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))))
(-.f64 -1 (+.f64 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x))) (/.f64 2 (pow.f64 x 3))))
(+.f64 -1 (+.f64 (/.f64 -2 x) (+.f64 (/.f64 -2 (pow.f64 x 3)) (/.f64 -2 (*.f64 x x)))))
(+.f64 -1 (+.f64 (/.f64 -2 x) (+.f64 (/.f64 -2 (pow.f64 x 3)) (/.f64 (/.f64 -2 x) x))))
(-.f64 (/.f64 -2 x) (fma.f64 (/.f64 1 (*.f64 x x)) (+.f64 2 (/.f64 2 x)) 1))
-1
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x))))
(+.f64 -1 (neg.f64 (/.f64 2 x)))
(-.f64 -1 (/.f64 2 x))
(+.f64 -1 (/.f64 -2 x))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x)))))
(-.f64 -1 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x))))
(+.f64 (/.f64 -2 x) (-.f64 (/.f64 -2 (*.f64 x x)) 1))
(+.f64 -1 (-.f64 (/.f64 -2 x) (/.f64 2 (*.f64 x x))))
(-.f64 -1 (+.f64 (/.f64 2 x) (/.f64 (/.f64 2 x) x)))
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3)))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))))
(-.f64 -1 (+.f64 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x))) (/.f64 2 (pow.f64 x 3))))
(+.f64 -1 (+.f64 (/.f64 -2 x) (+.f64 (/.f64 -2 (pow.f64 x 3)) (/.f64 -2 (*.f64 x x)))))
(+.f64 -1 (+.f64 (/.f64 -2 x) (+.f64 (/.f64 -2 (pow.f64 x 3)) (/.f64 (/.f64 -2 x) x))))
(-.f64 (/.f64 -2 x) (fma.f64 (/.f64 1 (*.f64 x x)) (+.f64 2 (/.f64 2 x)) 1))

eval102.0ms (2%)

Compiler

Compiled 1489 to 1102 computations (26% saved)

prune12.0ms (0.2%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New87390
Fresh000
Picked011
Done011
Total87592
Error
0b
Counts
92 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0b
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))
0.8b
(*.f64 (/.f64 1 2) (*.f64 2 x))
58.5b
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
0.4b
(*.f64 (/.f64 1 2) (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)))
0.4b
(*.f64 (/.f64 1 2) (+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))))
Compiler

Compiled 57 to 47 computations (17.5% saved)

localize10.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(*.f64 2/3 (pow.f64 x 3))
0.1b
(*.f64 2/3 (pow.f64 x 3))

series2.0ms (0%)

Counts
1 → 0
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@0
(*.f64 2/3 (pow.f64 x 3))
1.0ms
x
@inf
(*.f64 2/3 (pow.f64 x 3))
1.0ms
x
@-inf
(*.f64 2/3 (pow.f64 x 3))

rewrite37.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
505×pow1_binary64
498×add-sqr-sqrt_binary64
476×add-log-exp_binary64
476×log1p-expm1-u_binary64
476×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

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

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 x 2/3)
0.0b
(*.f64 x (fma.f64 x (*.f64 x 2/3) 2))
0.0b
(*.f64 x (fma.f64 x (*.f64 x 2/3) 2))
0.3b
(*.f64 x 2/3)

series3.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
(*.f64 x (fma.f64 x (*.f64 x 2/3) 2))
1.0ms
x
@inf
(*.f64 x (fma.f64 x (*.f64 x 2/3) 2))
1.0ms
x
@0
(*.f64 x (fma.f64 x (*.f64 x 2/3) 2))
0.0ms
x
@0
(*.f64 x 2/3)
0.0ms
x
@-inf
(*.f64 x 2/3)

rewrite53.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
641×pow1_binary64
594×add-log-exp_binary64
594×log1p-expm1-u_binary64
594×expm1-log1p-u_binary64
583×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0715
114215
2159015
Stop Event
node limit
Counts
2 → 24
Calls
Call 1
Inputs
(*.f64 x 2/3)
(*.f64 x (fma.f64 x (*.f64 x 2/3) 2))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x 2/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x 2/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x 2/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x 2/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x 2/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 4/9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 x 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x 2/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x 2/3)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 x (*.f64 x 2/3))) (*.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (fma.f64 x (*.f64 x 2/3) 2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 2))))))))

simplify132.0ms (2.6%)

Algorithm
egg-herbie
Rules
1331×sqr-pow_binary64
715×pow-sqr_binary64
530×cube-prod_binary64
472×fabs-mul_binary64
445×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
010165
122165
240165
380165
4147165
5367165
61214165
71925165
82012165
92145165
102303165
112537165
122859165
133280165
143780165
154375165
165095165
175418165
185702165
195922165
206104165
216186165
227126165
Stop Event
node limit
Counts
48 → 30
Calls
Call 1
Inputs
(*.f64 2/3 x)
(*.f64 2/3 x)
(*.f64 2/3 x)
(*.f64 2/3 x)
(*.f64 2/3 x)
(*.f64 2/3 x)
(*.f64 2/3 x)
(*.f64 2/3 x)
(*.f64 2/3 x)
(*.f64 2/3 x)
(*.f64 2/3 x)
(*.f64 2/3 x)
(*.f64 2 x)
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
(*.f64 2/3 (pow.f64 x 3))
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
(*.f64 2/3 (pow.f64 x 3))
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
Outputs
(*.f64 2/3 x)
(*.f64 2/3 x)
(*.f64 2/3 x)
(*.f64 2/3 x)
(*.f64 2/3 x)
(*.f64 2/3 x)
(*.f64 2/3 x)
(*.f64 2/3 x)
(*.f64 2/3 x)
(*.f64 2/3 x)
(*.f64 2/3 x)
(*.f64 2/3 x)
(*.f64 2 x)
(*.f64 x 2)
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3)))
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2))
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2))
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2))
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3)))
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2))
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2))
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2))
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3)))
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2))
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2))
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2))
(*.f64 2/3 (pow.f64 x 3))
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3)))
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2))
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2))
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2))
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3)))
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2))
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2))
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2))
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3)))
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2))
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2))
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2))
(*.f64 2/3 (pow.f64 x 3))
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3)))
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2))
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2))
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2))
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3)))
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2))
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2))
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2))
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3)))
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3)))
(fma.f64 2/3 (pow.f64 x 3) (*.f64 x 2))
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2))
(*.f64 x (fma.f64 x (*.f64 2/3 x) 2))

localize28.0ms (0.5%)

eval15.0ms (0.3%)

Compiler

Compiled 584 to 476 computations (18.5% saved)

prune7.0ms (0.1%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New40141
Fresh000
Picked011
Done134
Total41546
Error
0b
Counts
46 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0b
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))
0.8b
(*.f64 (/.f64 1 2) (*.f64 2 x))
58.5b
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
0.4b
(*.f64 (/.f64 1 2) (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)))
0.4b
(*.f64 (/.f64 1 2) (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x)))
Compiler

Compiled 59 to 47 computations (20.3% saved)

localize8.0ms (0.2%)

Local error

Found 6 expressions with local error:

NewErrorProgram
0.3b
(*.f64 x 2/3)
0.1b
(*.f64 x (*.f64 x 2/3))
0.1b
(*.f64 (*.f64 x (*.f64 x 2/3)) x)
0.1b
(*.f64 (*.f64 x (*.f64 x 2/3)) x)
0.1b
(*.f64 x (*.f64 x 2/3))
0.3b
(*.f64 x 2/3)

series2.0ms (0%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@0
(*.f64 x (*.f64 x 2/3))
1.0ms
x
@inf
(*.f64 x (*.f64 x 2/3))
0.0ms
x
@-inf
(*.f64 x (*.f64 x 2/3))
0.0ms
x
@0
(*.f64 (*.f64 x (*.f64 x 2/3)) x)
0.0ms
x
@inf
(*.f64 (*.f64 x (*.f64 x 2/3)) x)

rewrite74.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
548×pow1_binary64
527×add-sqr-sqrt_binary64
506×add-log-exp_binary64
506×log1p-expm1-u_binary64
506×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify131.0ms (2.5%)

Algorithm
egg-herbie
Rules
1272×sqr-pow_binary64
566×pow-sqr_binary64
563×cube-prod_binary64
536×unswap-sqr_binary64
535×fabs-mul_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
09168
123168
248168
3105168
4274168
51141168
62295168
72461168
82711168
92998168
103377168
113871168
124476168
135182168
145653168
155976168
166248168
176418168
186508168
197185168
Stop Event
node limit
Counts
46 → 25
Calls
Call 1
Inputs
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
Outputs
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (*.f64 x x))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (*.f64 x x))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (*.f64 x x))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (*.f64 x x))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (*.f64 x x))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (*.f64 x x))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (*.f64 x x))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (*.f64 x x))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (*.f64 x x))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (*.f64 x x))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (*.f64 x x))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (*.f64 x x))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))

eval14.0ms (0.3%)

Compiler

Compiled 620 to 496 computations (20% saved)

prune10.0ms (0.2%)

Pruning

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New36137
Fresh000
Picked011
Done044
Total36642
Error
0b
Counts
42 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
0b
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))
0.8b
(*.f64 (/.f64 1 2) (*.f64 2 x))
0.4b
(*.f64 (/.f64 1 2) (+.f64 (*.f64 (-.f64 (+.f64 1 (*.f64 x (*.f64 x 2/3))) 1) x) (*.f64 2 x)))
58.5b
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
0.4b
(*.f64 (/.f64 1 2) (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)))
0.4b
(*.f64 (/.f64 1 2) (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x)))
Compiler

Compiled 79 to 63 computations (20.3% saved)

localize11.0ms (0.2%)

Local error

Found 8 expressions with local error:

NewErrorProgram
2.4b
(-.f64 (+.f64 1 (*.f64 x (*.f64 x 2/3))) 1)
0.3b
(*.f64 x 2/3)
0.1b
(*.f64 x (*.f64 x 2/3))
0.0b
(*.f64 (-.f64 (+.f64 1 (*.f64 x (*.f64 x 2/3))) 1) x)
0.0b
(*.f64 (-.f64 (+.f64 1 (*.f64 x (*.f64 x 2/3))) 1) x)
0.1b
(*.f64 x (*.f64 x 2/3))
0.3b
(*.f64 x 2/3)
2.4b
(-.f64 (+.f64 1 (*.f64 x (*.f64 x 2/3))) 1)

series2.0ms (0%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(-.f64 (+.f64 1 (*.f64 x (*.f64 x 2/3))) 1)
0.0ms
x
@0
(-.f64 (+.f64 1 (*.f64 x (*.f64 x 2/3))) 1)
0.0ms
x
@inf
(*.f64 (-.f64 (+.f64 1 (*.f64 x (*.f64 x 2/3))) 1) x)
0.0ms
x
@-inf
(*.f64 (-.f64 (+.f64 1 (*.f64 x (*.f64 x 2/3))) 1) x)
0.0ms
x
@-inf
(-.f64 (+.f64 1 (*.f64 x (*.f64 x 2/3))) 1)

rewrite53.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
942×pow1_binary64
882×add-log-exp_binary64
882×log1p-expm1-u_binary64
882×expm1-log1p-u_binary64
99×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0929
119717
2258117
Stop Event
node limit
Counts
2 → 72
Calls
Call 1
Inputs
(-.f64 (+.f64 1 (*.f64 x (*.f64 x 2/3))) 1)
(*.f64 (-.f64 (+.f64 1 (*.f64 x (*.f64 x 2/3))) 1) x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (fma.f64 (*.f64 x x) 2/3 -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (fma.f64 (*.f64 x x) 2/3 -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2/3 (*.f64 x x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x (*.f64 x 2/3) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (fma.f64 x (*.f64 x 2/3) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (*.f64 x x) 2/3 -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 2/3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 x 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2/3 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x 2/3) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2/3 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (*.f64 x x) 4/9)) (*.f64 (cbrt.f64 (*.f64 x 2/3)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2/3 (*.f64 x x))) (pow.f64 (cbrt.f64 (*.f64 2/3 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 2/3 (*.f64 x x))) 2) (cbrt.f64 (*.f64 2/3 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (*.f64 x 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x 2/3)) (*.f64 (sqrt.f64 (*.f64 x 2/3)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 2/3)) (*.f64 x (sqrt.f64 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (*.f64 x 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x 2/3) 1) 3) -1) (/.f64 1 (+.f64 (pow.f64 (fma.f64 x (*.f64 x 2/3) 1) 2) (+.f64 (*.f64 2/3 (*.f64 x x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x 2/3) 1) 2) -1) (/.f64 1 (+.f64 (*.f64 2/3 (*.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 2/3))) 1) (-.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 2/3))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (cbrt.f64 (*.f64 (*.f64 x x) 4/9))) (cbrt.f64 (*.f64 x 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 (*.f64 x 2/3))) (sqrt.f64 (*.f64 x 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x 2/3) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x 2/3) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x 2/3) 1) 2) (+.f64 (*.f64 2/3 (*.f64 x x)) 2)) (+.f64 (pow.f64 (fma.f64 x (*.f64 x 2/3) 1) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 2/3 (*.f64 x x)) 2) (+.f64 (pow.f64 (fma.f64 x (*.f64 x 2/3) 1) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x 2/3) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 x (*.f64 x 2/3) 1) 2) (+.f64 (*.f64 2/3 (*.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x 2/3) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 x (*.f64 x 2/3) 1) 2) (-.f64 1 (*.f64 (fma.f64 x (*.f64 x 2/3) 1) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x 2/3) 1) 2) -1) (+.f64 (*.f64 2/3 (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x 2/3) 1) 2) -1) (-.f64 (fma.f64 x (*.f64 x 2/3) 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x 2/3) 1) 3) -1)) (neg.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x 2/3) 1) 2) (+.f64 (*.f64 2/3 (*.f64 x x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x 2/3) 1) 2) -1)) (neg.f64 (+.f64 (*.f64 2/3 (*.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (fma.f64 (*.f64 x x) 2/3 -1) 3)) (+.f64 1 (-.f64 (*.f64 (fma.f64 (*.f64 x x) 2/3 -1) (fma.f64 (*.f64 x x) 2/3 -1)) (fma.f64 (*.f64 x x) 2/3 -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (fma.f64 (*.f64 x x) 2/3 -1) (fma.f64 (*.f64 x x) 2/3 -1))) (-.f64 1 (fma.f64 (*.f64 x x) 2/3 -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2/3 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2/3 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 2/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (*.f64 x x) 3) 8/27) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 2/3 (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 2/3 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 2/3 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) 8/27))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2/3 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2/3 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2/3 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x (*.f64 x 2/3) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x 2/3) 1)) 2) (cbrt.f64 (fma.f64 x (*.f64 x 2/3) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 2/3))) (hypot.f64 1 (*.f64 x (sqrt.f64 2/3))) -1)))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 (fma.f64 (*.f64 x x) 2/3 -1) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 x (fma.f64 (*.f64 x x) 2/3 -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 x (*.f64 x 2/3) 1) x) (*.f64 -1 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (fma.f64 x (*.f64 x 2/3) 1)) (*.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 2/3 (*.f64 x x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x 2/3) 1) 3) -1) x) (+.f64 (pow.f64 (fma.f64 x (*.f64 x 2/3) 1) 2) (+.f64 (*.f64 2/3 (*.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 (fma.f64 x (*.f64 x 2/3) 1) 2) -1) x) (+.f64 (*.f64 2/3 (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 (pow.f64 (fma.f64 x (*.f64 x 2/3) 1) 3) -1)) (+.f64 (pow.f64 (fma.f64 x (*.f64 x 2/3) 1) 2) (+.f64 (*.f64 2/3 (*.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 (pow.f64 (fma.f64 x (*.f64 x 2/3) 1) 2) -1)) (+.f64 (*.f64 2/3 (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 2/3 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 2/3 (*.f64 x x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 2/3 (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x (sqrt.f64 2/3)) (sqrt.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (*.f64 2/3 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (*.f64 2/3 (*.f64 x x))) x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (*.f64 2/3 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (*.f64 2/3 (*.f64 x x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (*.f64 (pow.f64 (*.f64 x x) 3) 8/27)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (pow.f64 (*.f64 x x) 3) 8/27) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 2/3 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 2/3 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 2/3 (*.f64 x x)))))))))

simplify130.0ms (2.5%)

Algorithm
egg-herbie
Rules
1272×sqr-pow_binary64
566×pow-sqr_binary64
563×cube-prod_binary64
536×unswap-sqr_binary64
535×fabs-mul_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
09168
123168
248168
3105168
4274168
51141168
62295168
72461168
82711168
92998168
103377168
113871168
124476168
135182168
145653168
155976168
166248168
176418168
186508168
197185168
Stop Event
node limit
Counts
96 → 74
Calls
Call 1
Inputs
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
Outputs
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (*.f64 x x))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (*.f64 x x))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (*.f64 x x))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (*.f64 x x))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (*.f64 x x))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (*.f64 x x))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (*.f64 x x))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (*.f64 x x))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (*.f64 x x))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (*.f64 x x))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (*.f64 x x))
(*.f64 2/3 (pow.f64 x 2))
(*.f64 2/3 (*.f64 x x))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))
(*.f64 2/3 (pow.f64 x 3))

eval65.0ms (1.3%)

Compiler

Compiled 2170 to 1642 computations (24.3% saved)

prune19.0ms (0.4%)

Pruning

6 alts after pruning (0 fresh and 6 done)

PrunedKeptTotal
New99099
Fresh000
Picked011
Done055
Total996105
Error
0b
Counts
105 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
0b
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))
0.8b
(*.f64 (/.f64 1 2) (*.f64 2 x))
0.4b
(*.f64 (/.f64 1 2) (+.f64 (*.f64 (-.f64 (+.f64 1 (*.f64 x (*.f64 x 2/3))) 1) x) (*.f64 2 x)))
58.5b
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
0.4b
(*.f64 (/.f64 1 2) (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)))
0.4b
(*.f64 (/.f64 1 2) (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x)))
Compiler

Compiled 79 to 63 computations (20.3% saved)

regimes17.0ms (0.3%)

Counts
7 → 1
Calls
Call 1
Inputs
(*.f64 (/.f64 1 2) (*.f64 2 x))
(*.f64 (/.f64 1 2) (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x)))
(*.f64 (/.f64 1 2) (+.f64 (*.f64 (-.f64 (+.f64 1 (*.f64 x (*.f64 x 2/3))) 1) x) (*.f64 2 x)))
(*.f64 (/.f64 1 2) (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)))
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
(*.f64 (/.f64 1 2) (+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))))
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))
Outputs
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))
Calls

4 calls:

5.0ms
x
4.0ms
(log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))
2.0ms
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
2.0ms
(/.f64 (+.f64 1 x) (-.f64 1 x))
Results
ErrorSegmentsBranch
0b1x
0b1(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
0b1(log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))
0b1(/.f64 (+.f64 1 x) (-.f64 1 x))
Compiler

Compiled 119 to 94 computations (21% saved)

regimes40.0ms (0.8%)

Counts
6 → 1
Calls
Call 1
Inputs
(*.f64 (/.f64 1 2) (*.f64 2 x))
(*.f64 (/.f64 1 2) (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x)))
(*.f64 (/.f64 1 2) (+.f64 (*.f64 (-.f64 (+.f64 1 (*.f64 x (*.f64 x 2/3))) 1) x) (*.f64 2 x)))
(*.f64 (/.f64 1 2) (*.f64 x (fma.f64 x (*.f64 x 2/3) 2)))
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
(*.f64 (/.f64 1 2) (+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))))
Outputs
(*.f64 (/.f64 1 2) (+.f64 (*.f64 (-.f64 (+.f64 1 (*.f64 x (*.f64 x 2/3))) 1) x) (*.f64 2 x)))
Calls

4 calls:

28.0ms
(log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))
5.0ms
x
2.0ms
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
2.0ms
(/.f64 (+.f64 1 x) (-.f64 1 x))
Results
ErrorSegmentsBranch
0.4b1x
0.4b1(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
0.4b1(log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))
0.4b1(/.f64 (+.f64 1 x) (-.f64 1 x))
Compiler

Compiled 111 to 88 computations (20.7% saved)

regimes6.0ms (0.1%)

Accuracy

Total -0.4b remaining (-85.3%)

Threshold costs -0.4b (-85.3%)

Counts
2 → 1
Calls
Call 1
Inputs
(*.f64 (/.f64 1 2) (*.f64 2 x))
(*.f64 (/.f64 1 2) (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x)))
Outputs
(*.f64 (/.f64 1 2) (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x)))
Calls

1 calls:

5.0ms
x
Results
ErrorSegmentsBranch
0.4b1x
Compiler

Compiled 25 to 19 computations (24% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02464
14564
25164
35464
45564
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))
(*.f64 (/.f64 1 2) (+.f64 (*.f64 (-.f64 (+.f64 1 (*.f64 x (*.f64 x 2/3))) 1) x) (*.f64 2 x)))
(*.f64 (/.f64 1 2) (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x)))
(*.f64 (/.f64 1 2) (*.f64 2 x))
Outputs
(*.f64 1/2 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))
(*.f64 (/.f64 1 2) (+.f64 (*.f64 (-.f64 (+.f64 1 (*.f64 x (*.f64 x 2/3))) 1) x) (*.f64 2 x)))
(*.f64 1/2 (+.f64 (*.f64 x (+.f64 (+.f64 1 (*.f64 x (*.f64 x 2/3))) -1)) (*.f64 x 2)))
(*.f64 (/.f64 1 2) (+.f64 (*.f64 (*.f64 x (*.f64 x 2/3)) x) (*.f64 2 x)))
(*.f64 1/2 (+.f64 (*.f64 x 2) (*.f64 x (*.f64 x (*.f64 x 2/3)))))
(*.f64 (/.f64 1 2) (*.f64 2 x))
(*.f64 1/2 (*.f64 x 2))

end40.0ms (0.8%)

Stop Event
done
Compiler

Compiled 91 to 69 computations (24.2% saved)

Profiling

Loading profile data...