Details

Time bar (total: 2.9s)

analyze3.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
Compiler

Compiled 7 to 6 computations (14.3% saved)

sample1.3s (43.9%)

Results
1.2s8256×body256valid

preprocess60.0ms (2.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
074
1124
2134
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(-.f64 x (/.f64 1 3))
Outputs
(-.f64 x (/.f64 1 3))
(+.f64 x -1/3)
Compiler

Compiled 7 to 6 computations (14.3% saved)

simplify15.0ms (0.5%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
074
1124
2134
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(-.f64 x (/.f64 1 3))
Outputs
(-.f64 x (/.f64 1 3))
(+.f64 x -1/3)

eval1.0ms (0%)

Compiler

Compiled 9 to 7 computations (22.2% saved)

prune2.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(+.f64 x -1/3)
Compiler

Compiled 4 to 3 computations (25% saved)

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 x -1/3)
Compiler

Compiled 6 to 4 computations (33.3% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite60.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
473×pow1_binary64
468×add-sqr-sqrt_binary64
456×*-un-lft-identity_binary64
446×add-log-exp_binary64
446×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
044
1914
211514
Stop Event
node limit
Counts
1 → 30
Calls
Call 1
Inputs
(+.f64 x -1/3)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 x -1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) (+.f64 x 1/3)) (/.f64 1/9 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x -1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x -1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x -1/3)) (pow.f64 (cbrt.f64 (+.f64 x -1/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x -1/3)) 2) (cbrt.f64 (+.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x -1/3)) (sqrt.f64 (+.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1/27 (pow.f64 x 3)) (/.f64 1 (fma.f64 x x (-.f64 1/9 (*.f64 x -1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x -1/9) (/.f64 1 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (-.f64 1/9 (*.f64 x -1/3))) (+.f64 -1/27 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1/27 (pow.f64 x 3)) (fma.f64 x x (-.f64 1/9 (*.f64 x -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1/27 (pow.f64 x 3)) (+.f64 1/9 (-.f64 (*.f64 x x) (*.f64 x -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 x x -1/9) (+.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 -1/27 (pow.f64 x 3))) (neg.f64 (fma.f64 x x (-.f64 1/9 (*.f64 x -1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 x x -1/9)) (neg.f64 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1/9 (*.f64 x x)) (-.f64 -1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x -1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x -1/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x -1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x -1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x -1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x -1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) -1/3)))))

simplify8.0ms (0.3%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0539
1739
2839
Stop Event
saturated
Counts
42 → 34
Calls
Call 1
Inputs
-1/3
(-.f64 x 1/3)
(-.f64 x 1/3)
(-.f64 x 1/3)
x
(-.f64 x 1/3)
(-.f64 x 1/3)
(-.f64 x 1/3)
x
(-.f64 x 1/3)
(-.f64 x 1/3)
(-.f64 x 1/3)
Outputs
-1/3
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
x
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
x
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)

eval8.0ms (0.3%)

Compiler

Compiled 268 to 198 computations (26.1% saved)

prune11.0ms (0.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New29534
Fresh000
Picked011
Done000
Total29635
Error
0b
Counts
35 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(+.f64 x -1/3)
32.8b
x
0.5b
(-.f64 (+.f64 1 (+.f64 x -1/3)) 1)
30.6b
-1/3
13.6b
(/.f64 1 (/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9)))
13.6b
(*.f64 (fma.f64 x x -1/9) (/.f64 1 (+.f64 x 1/3)))
Compiler

Compiled 38 to 29 computations (23.7% saved)

localize12.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x x -1/9)
0.0b
(/.f64 1 (+.f64 x 1/3))
0.0b
(+.f64 x 1/3)
12.6b
(*.f64 (fma.f64 x x -1/9) (/.f64 1 (+.f64 x 1/3)))
Compiler

Compiled 27 to 19 computations (29.6% saved)

series6.0ms (0.2%)

Counts
4 → 48
Calls

12 calls:

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

rewrite114.0ms (4%)

Algorithm
batch-egg-rewrite
Rules
906×pow1_binary64
848×add-log-exp_binary64
848×log1p-expm1-u_binary64
848×expm1-log1p-u_binary64
834×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0927
119420
2237320
Stop Event
node limit
Counts
4 → 115
Calls
Call 1
Inputs
(*.f64 (fma.f64 x x -1/9) (/.f64 1 (+.f64 x 1/3)))
(+.f64 x 1/3)
(/.f64 1 (+.f64 x 1/3))
(fma.f64 x x -1/9)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) (/.f64 1 (+.f64 x 1/3))) (*.f64 -1/9 (/.f64 1 (+.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (/.f64 1 (+.f64 x 1/3)) (*.f64 x x)) (*.f64 (/.f64 1 (+.f64 x 1/3)) -1/9))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 x 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (-.f64 x 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 x x -1/9) (+.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1/9)) 2) (/.f64 (+.f64 x 1/3) (cbrt.f64 (fma.f64 x x -1/9))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (fma.f64 x x -1/9)) (/.f64 (+.f64 x 1/3) (sqrt.f64 (fma.f64 x x -1/9))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 x x -1/9)) (+.f64 -1/3 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (fma.f64 x x -1/9) (sqrt.f64 (+.f64 x 1/3))) (sqrt.f64 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (fma.f64 x x -1/9) 1) (+.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (fma.f64 x x -1/9) (pow.f64 (cbrt.f64 (+.f64 x 1/3)) 2)) (cbrt.f64 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 3) 1/27) (+.f64 (*.f64 x x) (+.f64 1/9 (*.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (fma.f64 x x -1/9)) (+.f64 -1/3 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x x -1/9) -1) (+.f64 -1/3 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 x 1/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 x 1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 x 1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 x 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 x 1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 x 1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (fma.f64 x x -1/9) 3) (pow.f64 (+.f64 x 1/3) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 x x -1/9) 3) (pow.f64 (/.f64 1 (+.f64 x 1/3)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 1 (+.f64 x 1/3)) 3) (pow.f64 (fma.f64 x x -1/9) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) -1/3)))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 x 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) (-.f64 x 1/3)) (/.f64 1/9 (-.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x -1/9) (/.f64 1 (-.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x 1/3)) (pow.f64 (cbrt.f64 (+.f64 x 1/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x 1/3)) 2) (cbrt.f64 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x 1/3)) (sqrt.f64 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1/27 (pow.f64 x 3)) (/.f64 1 (fma.f64 x x (-.f64 1/9 (*.f64 x 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 x x -1/9) (-.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 1 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (-.f64 1/9 (*.f64 x 1/3))) (+.f64 1/27 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 x 1/3) (fma.f64 x x -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 x 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (+.f64 x 1/3)) 2) (cbrt.f64 (/.f64 1 (+.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (+.f64 x 1/3)) (pow.f64 (+.f64 x 1/3) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1/3 (neg.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1/27 (pow.f64 x 3)) (fma.f64 x x (-.f64 1/9 (*.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1/27 (pow.f64 x 3)) (+.f64 1/9 (-.f64 (*.f64 x x) (*.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 x x -1/9)) (neg.f64 (-.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1/27 (pow.f64 x 3))) (neg.f64 (fma.f64 x x (-.f64 1/9 (*.f64 x 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1/9 (*.f64 x x)) (-.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x 1/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x 1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x 1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x 1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x 1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) 1/3)))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (+.f64 x 1/3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 x 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1 (+.f64 x 1/3))) (cbrt.f64 (pow.f64 (+.f64 x 1/3) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 x 1/3) -2)) (cbrt.f64 (/.f64 1 (+.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 x 1/3) -1/2) (pow.f64 (+.f64 x 1/3) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (+.f64 -1/3 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (+.f64 x 1/3)) 2) -1) (pow.f64 (cbrt.f64 (+.f64 x 1/3)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (+.f64 x 1/3)) -1) (pow.f64 (sqrt.f64 (+.f64 x 1/3)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 1/27 (pow.f64 x 3))) (fma.f64 x x (-.f64 1/9 (*.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x x -1/9)) (-.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x 1/3) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (+.f64 x 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (+.f64 x 1/3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 1 (+.f64 x 1/3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x 1/3) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x 1/3) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (+.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (+.f64 x 1/3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (+.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (+.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (+.f64 x 1/3))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 -1/9 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) -1/9)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) 1) -1/9)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 x x) 1/9)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x x -1/9)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x -1/9) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x x -1/9))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x -1/9)) (pow.f64 (cbrt.f64 (fma.f64 x x -1/9)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1/9)) 2) (cbrt.f64 (fma.f64 x x -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1/9)) 2) (*.f64 (cbrt.f64 (fma.f64 x x -1/9)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x x -1/9)) (sqrt.f64 (fma.f64 x x -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x x -1/9)) (*.f64 (sqrt.f64 (fma.f64 x x -1/9)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x x) 3) 1/729) (+.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (+.f64 1/81 (*.f64 (*.f64 x x) 1/9))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x x) 3) -1/729) (+.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (-.f64 1/81 (*.f64 (*.f64 x x) -1/9))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) 1/81) (+.f64 (*.f64 x x) 1/9))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) 1/81) (-.f64 (*.f64 x x) -1/9))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x -1/9) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x -1/9) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x x -1/9)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x x -1/9)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x x -1/9) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x x -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x x -1/9) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x x -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x x -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x x -1/9)))))))

simplify110.0ms (3.8%)

Algorithm
egg-herbie
Rules
752×associate-*l*_binary64
748×distribute-neg-frac_binary64
718×fma-def_binary64
498×associate-*r*_binary64
415×times-frac_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
040331
1102309
2244309
3647303
41936300
57363300
Stop Event
node limit
Counts
163 → 139
Calls
Call 1
Inputs
-1/3
(-.f64 x 1/3)
(-.f64 x 1/3)
(-.f64 x 1/3)
x
(-.f64 x 1/3)
(-.f64 x 1/3)
(-.f64 x 1/3)
x
(-.f64 x 1/3)
(-.f64 x 1/3)
(-.f64 x 1/3)
1/3
(+.f64 1/3 x)
(+.f64 1/3 x)
(+.f64 1/3 x)
x
(+.f64 1/3 x)
(+.f64 1/3 x)
(+.f64 1/3 x)
x
(+.f64 1/3 x)
(+.f64 1/3 x)
(+.f64 1/3 x)
3
(+.f64 (*.f64 -9 x) 3)
(+.f64 (*.f64 -9 x) (+.f64 3 (*.f64 27 (pow.f64 x 2))))
(+.f64 (*.f64 -9 x) (+.f64 (*.f64 -81 (pow.f64 x 3)) (+.f64 3 (*.f64 27 (pow.f64 x 2)))))
(/.f64 1 x)
(-.f64 (/.f64 1 x) (*.f64 1/3 (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (*.f64 1/3 (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (*.f64 1/27 (/.f64 1 (pow.f64 x 4)))))
(/.f64 1 x)
(-.f64 (/.f64 1 x) (*.f64 1/3 (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (*.f64 1/3 (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (*.f64 1/27 (/.f64 1 (pow.f64 x 4)))))
-1/9
(-.f64 (pow.f64 x 2) 1/9)
(-.f64 (pow.f64 x 2) 1/9)
(-.f64 (pow.f64 x 2) 1/9)
(pow.f64 x 2)
(-.f64 (pow.f64 x 2) 1/9)
(-.f64 (pow.f64 x 2) 1/9)
(-.f64 (pow.f64 x 2) 1/9)
(pow.f64 x 2)
(-.f64 (pow.f64 x 2) 1/9)
(-.f64 (pow.f64 x 2) 1/9)
(-.f64 (pow.f64 x 2) 1/9)
Outputs
-1/3
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
x
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
x
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
1/3
(+.f64 1/3 x)
(+.f64 x 1/3)
(+.f64 1/3 x)
(+.f64 x 1/3)
(+.f64 1/3 x)
(+.f64 x 1/3)
x
(+.f64 1/3 x)
(+.f64 x 1/3)
(+.f64 1/3 x)
(+.f64 x 1/3)
(+.f64 1/3 x)
(+.f64 x 1/3)
x
(+.f64 1/3 x)
(+.f64 x 1/3)
(+.f64 1/3 x)
(+.f64 x 1/3)
(+.f64 1/3 x)
(+.f64 x 1/3)
3
(+.f64 (*.f64 -9 x) 3)
(fma.f64 -9 x 3)
(fma.f64 x -9 3)
(+.f64 (*.f64 -9 x) (+.f64 3 (*.f64 27 (pow.f64 x 2))))
(fma.f64 -9 x (+.f64 3 (*.f64 27 (*.f64 x x))))
(fma.f64 x -9 (fma.f64 27 (*.f64 x x) 3))
(fma.f64 x (fma.f64 x 27 -9) 3)
(+.f64 (*.f64 -9 x) (+.f64 (*.f64 -81 (pow.f64 x 3)) (+.f64 3 (*.f64 27 (pow.f64 x 2)))))
(fma.f64 -9 x (fma.f64 -81 (pow.f64 x 3) (+.f64 3 (*.f64 27 (*.f64 x x)))))
(fma.f64 x -9 (fma.f64 -81 (pow.f64 x 3) (fma.f64 27 (*.f64 x x) 3)))
(fma.f64 x -9 (fma.f64 27 (*.f64 x x) (fma.f64 -81 (pow.f64 x 3) 3)))
(fma.f64 x -9 (fma.f64 (*.f64 x x) (fma.f64 x -81 27) 3))
(fma.f64 x (fma.f64 x (fma.f64 x -81 27) -9) 3)
(/.f64 1 x)
(-.f64 (/.f64 1 x) (*.f64 1/3 (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 x) (/.f64 1/3 (*.f64 x x)))
(+.f64 (/.f64 1 x) (/.f64 -1/3 (*.f64 x x)))
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (*.f64 1/3 (/.f64 1 (pow.f64 x 2))))
(+.f64 (/.f64 1/9 (pow.f64 x 3)) (-.f64 (/.f64 1 x) (/.f64 1/3 (*.f64 x x))))
(+.f64 (/.f64 1 x) (-.f64 (/.f64 1/9 (pow.f64 x 3)) (/.f64 1/3 (*.f64 x x))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1/9 (pow.f64 x 3)) (/.f64 -1/3 (*.f64 x x))))
(+.f64 (/.f64 1 x) (-.f64 (/.f64 -1/3 (*.f64 x x)) (/.f64 -1/9 (pow.f64 x 3))))
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (*.f64 1/27 (/.f64 1 (pow.f64 x 4)))))
(+.f64 (/.f64 1/9 (pow.f64 x 3)) (-.f64 (/.f64 1 x) (+.f64 (/.f64 1/3 (*.f64 x x)) (/.f64 1/27 (pow.f64 x 4)))))
(+.f64 (/.f64 1/9 (pow.f64 x 3)) (-.f64 (-.f64 (/.f64 1 x) (/.f64 1/27 (pow.f64 x 4))) (/.f64 1/3 (*.f64 x x))))
(-.f64 (+.f64 (/.f64 1 x) (+.f64 (/.f64 1/9 (pow.f64 x 3)) (/.f64 -1/3 (*.f64 x x)))) (/.f64 1/27 (pow.f64 x 4)))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1/9 (pow.f64 x 3)) (+.f64 (/.f64 -1/3 (*.f64 x x)) (/.f64 -1/27 (pow.f64 x 4)))))
(-.f64 (+.f64 (/.f64 1 x) (+.f64 (/.f64 -1/3 (*.f64 x x)) (/.f64 -1/27 (pow.f64 x 4)))) (/.f64 -1/9 (pow.f64 x 3)))
(/.f64 1 x)
(-.f64 (/.f64 1 x) (*.f64 1/3 (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 x) (/.f64 1/3 (*.f64 x x)))
(+.f64 (/.f64 1 x) (/.f64 -1/3 (*.f64 x x)))
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (*.f64 1/3 (/.f64 1 (pow.f64 x 2))))
(+.f64 (/.f64 1/9 (pow.f64 x 3)) (-.f64 (/.f64 1 x) (/.f64 1/3 (*.f64 x x))))
(+.f64 (/.f64 1 x) (-.f64 (/.f64 1/9 (pow.f64 x 3)) (/.f64 1/3 (*.f64 x x))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1/9 (pow.f64 x 3)) (/.f64 -1/3 (*.f64 x x))))
(+.f64 (/.f64 1 x) (-.f64 (/.f64 -1/3 (*.f64 x x)) (/.f64 -1/9 (pow.f64 x 3))))
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (*.f64 1/27 (/.f64 1 (pow.f64 x 4)))))
(+.f64 (/.f64 1/9 (pow.f64 x 3)) (-.f64 (/.f64 1 x) (+.f64 (/.f64 1/3 (*.f64 x x)) (/.f64 1/27 (pow.f64 x 4)))))
(+.f64 (/.f64 1/9 (pow.f64 x 3)) (-.f64 (-.f64 (/.f64 1 x) (/.f64 1/27 (pow.f64 x 4))) (/.f64 1/3 (*.f64 x x))))
(-.f64 (+.f64 (/.f64 1 x) (+.f64 (/.f64 1/9 (pow.f64 x 3)) (/.f64 -1/3 (*.f64 x x)))) (/.f64 1/27 (pow.f64 x 4)))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1/9 (pow.f64 x 3)) (+.f64 (/.f64 -1/3 (*.f64 x x)) (/.f64 -1/27 (pow.f64 x 4)))))
(-.f64 (+.f64 (/.f64 1 x) (+.f64 (/.f64 -1/3 (*.f64 x x)) (/.f64 -1/27 (pow.f64 x 4)))) (/.f64 -1/9 (pow.f64 x 3)))
-1/9
(-.f64 (pow.f64 x 2) 1/9)
(+.f64 (*.f64 x x) -1/9)
(fma.f64 x x -1/9)
(-.f64 (pow.f64 x 2) 1/9)
(+.f64 (*.f64 x x) -1/9)
(fma.f64 x x -1/9)
(-.f64 (pow.f64 x 2) 1/9)
(+.f64 (*.f64 x x) -1/9)
(fma.f64 x x -1/9)
(pow.f64 x 2)
(*.f64 x x)
(-.f64 (pow.f64 x 2) 1/9)
(+.f64 (*.f64 x x) -1/9)
(fma.f64 x x -1/9)
(-.f64 (pow.f64 x 2) 1/9)
(+.f64 (*.f64 x x) -1/9)
(fma.f64 x x -1/9)
(-.f64 (pow.f64 x 2) 1/9)
(+.f64 (*.f64 x x) -1/9)
(fma.f64 x x -1/9)
(pow.f64 x 2)
(*.f64 x x)
(-.f64 (pow.f64 x 2) 1/9)
(+.f64 (*.f64 x x) -1/9)
(fma.f64 x x -1/9)
(-.f64 (pow.f64 x 2) 1/9)
(+.f64 (*.f64 x x) -1/9)
(fma.f64 x x -1/9)
(-.f64 (pow.f64 x 2) 1/9)
(+.f64 (*.f64 x x) -1/9)
(fma.f64 x x -1/9)

localize11.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 x -1/3)
0.5b
(+.f64 1 (+.f64 x -1/3))
0.5b
(-.f64 (+.f64 1 (+.f64 x -1/3)) 1)
Compiler

Compiled 19 to 15 computations (21.1% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite74.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
877×pow1_binary64
831×add-log-exp_binary64
830×log1p-expm1-u_binary64
830×expm1-log1p-u_binary64
820×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0717
11688
224208
Stop Event
node limit
Counts
2 → 89
Calls
Call 1
Inputs
(-.f64 (+.f64 1 (+.f64 x -1/3)) 1)
(+.f64 1 (+.f64 x -1/3))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (+.f64 x -4/3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (+.f64 x -4/3) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 x -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1/3 x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 x -1/3) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 x 2/3) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 x 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 x -4/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 1 x) -4/3)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x -1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x -1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x -1/3)) (pow.f64 (cbrt.f64 (+.f64 x -1/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x -1/3)) 2) (cbrt.f64 (+.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x -1/3)) (sqrt.f64 (+.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 x 2/3) 3) -1) (/.f64 1 (+.f64 (pow.f64 (+.f64 x 2/3) 2) (+.f64 1 (+.f64 x 2/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 -1/27 (pow.f64 x 3)) (/.f64 1 (fma.f64 x x (-.f64 1/9 (*.f64 x -1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 x 2/3) 2) -1) (/.f64 1 (+.f64 1 (+.f64 x 2/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x -1/9) (/.f64 1 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (+.f64 x 2/3)) 1) (-.f64 (sqrt.f64 (+.f64 x 2/3)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (-.f64 1/9 (*.f64 x -1/3))) (+.f64 -1/27 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 x 2/3) 2) (+.f64 1 (+.f64 x 2/3))) (+.f64 (pow.f64 (+.f64 x 2/3) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (+.f64 x 2/3)) (+.f64 (pow.f64 (+.f64 x 2/3) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x 2/3) 3) -1) (+.f64 (pow.f64 (+.f64 x 2/3) 2) (+.f64 1 (+.f64 x 2/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x 2/3) 3) -1) (+.f64 (pow.f64 (+.f64 x 2/3) 2) (-.f64 1 (*.f64 (+.f64 x 2/3) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1/27 (pow.f64 x 3)) (fma.f64 x x (-.f64 1/9 (*.f64 x -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 -1/27 (pow.f64 x 3)) (+.f64 1/9 (-.f64 (*.f64 x x) (*.f64 x -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x 2/3) 2) -1) (+.f64 1 (+.f64 x 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x 2/3) 2) -1) (-.f64 (+.f64 x 2/3) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 x x -1/9) (+.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 -1/27 (pow.f64 x 3))) (neg.f64 (fma.f64 x x (-.f64 1/9 (*.f64 x -1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 x x -1/9)) (neg.f64 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 x 2/3) 3) -1)) (neg.f64 (+.f64 (pow.f64 (+.f64 x 2/3) 2) (+.f64 1 (+.f64 x 2/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 x 2/3) 2) -1)) (neg.f64 (+.f64 1 (+.f64 x 2/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (+.f64 x -4/3) 3)) (+.f64 1 (-.f64 (*.f64 (+.f64 x -4/3) (+.f64 x -4/3)) (+.f64 x -4/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (+.f64 x -4/3) (+.f64 x -4/3))) (-.f64 1 (+.f64 x -4/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1/9 (*.f64 x x)) (-.f64 -1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x -1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x -1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x -1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x -1/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x -1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x -1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log.f64 (+.f64 x 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 x 2/3) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 x 2/3)) 2) (cbrt.f64 (+.f64 x 2/3)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 x 2/3)) (sqrt.f64 (+.f64 x 2/3)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) -1/3)))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 x 2/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 4/3 x)) (/.f64 (pow.f64 (+.f64 x -1/3) 2) (-.f64 4/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x 2/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x 2/3)) (pow.f64 (cbrt.f64 (+.f64 x 2/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x 2/3)) 2) (cbrt.f64 (+.f64 x 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x 2/3)) 2) (*.f64 (cbrt.f64 (+.f64 x 2/3)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x 2/3)) (sqrt.f64 (+.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)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (+.f64 x -1/3) 3)) (/.f64 1 (+.f64 1 (*.f64 (+.f64 x -1/3) (+.f64 x -4/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (+.f64 x -1/3) 2)) (/.f64 1 (-.f64 4/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (*.f64 (+.f64 x -1/3) (+.f64 x -4/3))) (+.f64 1 (pow.f64 (+.f64 x -1/3) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 4/3 x) (-.f64 1 (pow.f64 (+.f64 x -1/3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (+.f64 x -1/3) 3)) (+.f64 1 (*.f64 (+.f64 x -1/3) (+.f64 x -4/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (+.f64 x -1/3) 3)) (+.f64 (pow.f64 (+.f64 x -1/3) 2) (-.f64 4/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (+.f64 x -1/3) 2)) (-.f64 4/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (+.f64 x -1/3) 3))) (neg.f64 (+.f64 1 (*.f64 (+.f64 x -1/3) (+.f64 x -4/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 (+.f64 x -1/3) 2))) (neg.f64 (-.f64 4/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 x) 3) -1/27) (+.f64 (*.f64 (+.f64 1 x) (+.f64 1 x)) (-.f64 1/9 (*.f64 (+.f64 1 x) -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 x -1/3) 2) 1) (+.f64 x -4/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 1 x) (+.f64 1 x)) 1/9) (-.f64 (+.f64 1 x) -1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 (+.f64 x -1/3) 3)) 1) (+.f64 1 (*.f64 (+.f64 x -1/3) (+.f64 x -4/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (pow.f64 (+.f64 x -1/3) 2)) 1) (-.f64 4/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x 2/3) 1)))) (#(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 pow.f64 (pow.f64 (+.f64 x 2/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x 2/3) 2))))) (#(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 expm1.f64 (log1p.f64 (+.f64 x 2/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 fma.f64 1 (+.f64 x -1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 x -1/3)) 2) (cbrt.f64 (+.f64 x -1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 x -1/3)) (sqrt.f64 (+.f64 x -1/3)) 1)))))

simplify13.0ms (0.5%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0778
11078
21178
Stop Event
saturated
Counts
113 → 95
Calls
Call 1
Inputs
-1/3
(-.f64 x 1/3)
(-.f64 x 1/3)
(-.f64 x 1/3)
x
(-.f64 x 1/3)
(-.f64 x 1/3)
(-.f64 x 1/3)
x
(-.f64 x 1/3)
(-.f64 x 1/3)
(-.f64 x 1/3)
2/3
(+.f64 2/3 x)
(+.f64 2/3 x)
(+.f64 2/3 x)
x
(+.f64 2/3 x)
(+.f64 2/3 x)
(+.f64 2/3 x)
x
(+.f64 2/3 x)
(+.f64 2/3 x)
(+.f64 2/3 x)
Outputs
-1/3
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
x
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
x
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
2/3
(+.f64 2/3 x)
(+.f64 x 2/3)
(+.f64 2/3 x)
(+.f64 x 2/3)
(+.f64 2/3 x)
(+.f64 x 2/3)
x
(+.f64 2/3 x)
(+.f64 x 2/3)
(+.f64 2/3 x)
(+.f64 x 2/3)
(+.f64 2/3 x)
(+.f64 x 2/3)
x
(+.f64 2/3 x)
(+.f64 x 2/3)
(+.f64 2/3 x)
(+.f64 x 2/3)
(+.f64 2/3 x)
(+.f64 x 2/3)

localize17.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x x -1/9)
0.0b
(+.f64 x 1/3)
0.1b
(/.f64 1 (/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9)))
12.6b
(/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9))
Compiler

Compiled 30 to 20 computations (33.3% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
0.0ms
x
@0
(/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9))
0.0ms
x
@inf
(/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9))
0.0ms
x
@-inf
(/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9))
0.0ms
x
@-inf
(/.f64 1 (/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9)))
0.0ms
x
@0
(/.f64 1 (/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9)))

rewrite70.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
408×log-prod_binary64
327×exp-prod_binary64
291×prod-exp_binary64
274×cbrt-unprod_binary64
244×pow-prod-down_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify52.0ms (1.8%)

Algorithm
egg-herbie
Rules
712×associate-*l*_binary64
685×fma-neg_binary64
618×associate-/r*_binary64
585×distribute-rgt-neg-in_binary64
554×fma-def_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
039220
1101218
2220216
3532210
41433207
56102207
Stop Event
node limit
Counts
143 → 135
Calls
Call 1
Inputs
-3
(-.f64 (*.f64 -9 x) 3)
(-.f64 (+.f64 (*.f64 -9 x) (*.f64 -27 (pow.f64 x 2))) 3)
(-.f64 (+.f64 (*.f64 -9 x) (+.f64 (*.f64 -81 (pow.f64 x 3)) (*.f64 -27 (pow.f64 x 2)))) 3)
(/.f64 1 x)
(+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (/.f64 1 x))
(+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)))
(+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/27 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x))))
(/.f64 1 x)
(+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (/.f64 1 x))
(+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)))
(+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/27 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x))))
-1/3
(-.f64 x 1/3)
(-.f64 x 1/3)
(-.f64 x 1/3)
x
(-.f64 x 1/3)
(-.f64 x 1/3)
(-.f64 x 1/3)
x
(-.f64 x 1/3)
(-.f64 x 1/3)
(-.f64 x 1/3)
Outputs
-3
(-.f64 (*.f64 -9 x) 3)
(fma.f64 -9 x -3)
(-.f64 (+.f64 (*.f64 -9 x) (*.f64 -27 (pow.f64 x 2))) 3)
(+.f64 (fma.f64 -9 x (*.f64 -27 (*.f64 x x))) -3)
(fma.f64 -9 x (fma.f64 -27 (*.f64 x x) -3))
(fma.f64 -9 x (fma.f64 x (*.f64 x -27) -3))
(fma.f64 x (fma.f64 x -27 -9) -3)
(-.f64 (+.f64 (*.f64 -9 x) (+.f64 (*.f64 -81 (pow.f64 x 3)) (*.f64 -27 (pow.f64 x 2)))) 3)
(+.f64 (fma.f64 -9 x (fma.f64 -81 (pow.f64 x 3) (*.f64 -27 (*.f64 x x)))) -3)
(+.f64 (fma.f64 -27 (*.f64 x x) (*.f64 -81 (pow.f64 x 3))) (fma.f64 -9 x -3))
(fma.f64 -9 x (fma.f64 x (*.f64 x -27) (fma.f64 -81 (pow.f64 x 3) -3)))
(fma.f64 -9 x (fma.f64 x (*.f64 x (fma.f64 x -81 -27)) -3))
(fma.f64 x (fma.f64 x (fma.f64 x -81 -27) -9) -3)
(/.f64 1 x)
(+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (/.f64 1 x))
(+.f64 (/.f64 1 x) (/.f64 1/3 (*.f64 x x)))
(+.f64 (/.f64 1 x) (/.f64 (/.f64 1/3 x) x))
(+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)))
(+.f64 (/.f64 1/3 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1/9 (pow.f64 x 3))))
(+.f64 (/.f64 (/.f64 1/3 x) x) (+.f64 (/.f64 1 x) (/.f64 1/9 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1/3 (*.f64 x x)) (/.f64 1/9 (pow.f64 x 3))))
(+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/27 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x))))
(+.f64 (/.f64 1/3 (*.f64 x x)) (+.f64 (+.f64 (/.f64 1 x) (/.f64 1/9 (pow.f64 x 3))) (/.f64 1/27 (pow.f64 x 4))))
(+.f64 (/.f64 (/.f64 1/3 x) x) (+.f64 (+.f64 (/.f64 1 x) (/.f64 1/9 (pow.f64 x 3))) (/.f64 1/27 (pow.f64 x 4))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1/27 (pow.f64 x 4)) (+.f64 (/.f64 1/3 (*.f64 x x)) (/.f64 1/9 (pow.f64 x 3)))))
(/.f64 1 x)
(+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (/.f64 1 x))
(+.f64 (/.f64 1 x) (/.f64 1/3 (*.f64 x x)))
(+.f64 (/.f64 1 x) (/.f64 (/.f64 1/3 x) x))
(+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)))
(+.f64 (/.f64 1/3 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1/9 (pow.f64 x 3))))
(+.f64 (/.f64 (/.f64 1/3 x) x) (+.f64 (/.f64 1 x) (/.f64 1/9 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1/3 (*.f64 x x)) (/.f64 1/9 (pow.f64 x 3))))
(+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/27 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x))))
(+.f64 (/.f64 1/3 (*.f64 x x)) (+.f64 (+.f64 (/.f64 1 x) (/.f64 1/9 (pow.f64 x 3))) (/.f64 1/27 (pow.f64 x 4))))
(+.f64 (/.f64 (/.f64 1/3 x) x) (+.f64 (+.f64 (/.f64 1 x) (/.f64 1/9 (pow.f64 x 3))) (/.f64 1/27 (pow.f64 x 4))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1/27 (pow.f64 x 4)) (+.f64 (/.f64 1/3 (*.f64 x x)) (/.f64 1/9 (pow.f64 x 3)))))
-1/3
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
x
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
x
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)

eval173.0ms (6.1%)

Compiler

Compiled 5898 to 4504 computations (23.6% saved)

prune72.0ms (2.5%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New4675472
Fresh202
Picked101
Done213
Total4726478
Error
0b
Counts
478 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(+.f64 x -1/3)
0.1b
(/.f64 1 (+.f64 0 (/.f64 1 (+.f64 x -1/3))))
30.4b
(/.f64 1 (-.f64 (*.f64 -9 x) 3))
0.5b
(-.f64 (+.f64 x 2/3) 1)
32.8b
x
30.6b
-1/3
Compiler

Compiled 32 to 27 computations (15.6% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 x 2/3)
0.5b
(-.f64 (+.f64 x 2/3) 1)
Compiler

Compiled 12 to 9 computations (25% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite65.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
720×pow1_binary64
682×add-log-exp_binary64
681×log1p-expm1-u_binary64
681×expm1-log1p-u_binary64
672×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11398
218058
Stop Event
node limit
Counts
2 → 74
Calls
Call 1
Inputs
(-.f64 (+.f64 x 2/3) 1)
(+.f64 x 2/3)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 2/3 (-.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 2/3 (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 x 2/3) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 x 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1/3 x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x -1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x -1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x -1/3)) (pow.f64 (cbrt.f64 (+.f64 x -1/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x -1/3)) 2) (cbrt.f64 (+.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x -1/3)) (sqrt.f64 (+.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 x 2/3) 3) -1) (/.f64 1 (+.f64 (pow.f64 (+.f64 x 2/3) 2) (+.f64 x 5/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 x 2/3) 2) -1) (/.f64 1 (+.f64 x 5/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (+.f64 x 2/3)) 1) (-.f64 (sqrt.f64 (+.f64 x 2/3)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 x 2/3) 2) (+.f64 x 5/3)) (+.f64 (pow.f64 (+.f64 x 2/3) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x 5/3) (+.f64 (pow.f64 (+.f64 x 2/3) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x 2/3) 3) -1) (+.f64 (pow.f64 (+.f64 x 2/3) 2) (+.f64 x 5/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x 2/3) 3) -1) (+.f64 (pow.f64 (+.f64 x 2/3) 2) (-.f64 1 (*.f64 (+.f64 x 2/3) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x 2/3) 2) -1) (+.f64 x 5/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x 2/3) 2) -1) (-.f64 (+.f64 x 2/3) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 x 2/3) 3) -1)) (neg.f64 (+.f64 (pow.f64 (+.f64 x 2/3) 2) (+.f64 x 5/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 x 2/3) 2) -1)) (neg.f64 (+.f64 x 5/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) -1/27) (+.f64 (*.f64 x x) (-.f64 1/9 (*.f64 x -1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) 1/9) (-.f64 x -1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x -1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x -1/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x -1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x -1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x -1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x -1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log.f64 (+.f64 x 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 x 2/3) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 x 2/3)) 2) (cbrt.f64 (+.f64 x 2/3)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 x 2/3)) (sqrt.f64 (+.f64 x 2/3)) -1)))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 x 5/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) (+.f64 x -2/3)) (/.f64 4/9 (+.f64 x -2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x 2/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x 2/3)) (pow.f64 (cbrt.f64 (+.f64 x 2/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x 2/3)) 2) (cbrt.f64 (+.f64 x 2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x 2/3)) 2) (*.f64 (cbrt.f64 (+.f64 x 2/3)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x 2/3)) (sqrt.f64 (+.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)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 8/27 (pow.f64 x 3)) (/.f64 1 (fma.f64 x x (-.f64 4/9 (*.f64 x 2/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x -4/9) (/.f64 1 (+.f64 x -2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (-.f64 4/9 (*.f64 x 2/3))) (+.f64 8/27 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x -2/3) (fma.f64 x x -4/9)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 8/27 (pow.f64 x 3)) (fma.f64 x x (-.f64 4/9 (*.f64 x 2/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 8/27 (pow.f64 x 3)) (+.f64 4/9 (-.f64 (*.f64 x x) (*.f64 x 2/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 x x -4/9) (+.f64 x -2/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 8/27 (pow.f64 x 3))) (neg.f64 (fma.f64 x x (-.f64 4/9 (*.f64 x 2/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 x x -4/9)) (neg.f64 (+.f64 x -2/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 4/9 (*.f64 x x)) (-.f64 2/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 8/27 (pow.f64 x 3)) 1) (fma.f64 x x (-.f64 4/9 (*.f64 x 2/3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x x -4/9) 1) (+.f64 x -2/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x 2/3) 1)))) (#(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 pow.f64 (pow.f64 (+.f64 x 2/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x 2/3) 2))))) (#(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 expm1.f64 (log1p.f64 (+.f64 x 2/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 fma.f64 1 x 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) 2/3)))))

simplify10.0ms (0.3%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0778
11078
21178
Stop Event
saturated
Counts
98 → 80
Calls
Call 1
Inputs
-1/3
(-.f64 x 1/3)
(-.f64 x 1/3)
(-.f64 x 1/3)
x
(-.f64 x 1/3)
(-.f64 x 1/3)
(-.f64 x 1/3)
x
(-.f64 x 1/3)
(-.f64 x 1/3)
(-.f64 x 1/3)
2/3
(+.f64 2/3 x)
(+.f64 2/3 x)
(+.f64 2/3 x)
x
(+.f64 2/3 x)
(+.f64 2/3 x)
(+.f64 2/3 x)
x
(+.f64 2/3 x)
(+.f64 2/3 x)
(+.f64 2/3 x)
Outputs
-1/3
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
x
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
x
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
2/3
(+.f64 2/3 x)
(+.f64 x 2/3)
(+.f64 2/3 x)
(+.f64 x 2/3)
(+.f64 2/3 x)
(+.f64 x 2/3)
x
(+.f64 2/3 x)
(+.f64 x 2/3)
(+.f64 2/3 x)
(+.f64 x 2/3)
(+.f64 2/3 x)
(+.f64 x 2/3)
x
(+.f64 2/3 x)
(+.f64 x 2/3)
(+.f64 2/3 x)
(+.f64 x 2/3)
(+.f64 2/3 x)
(+.f64 x 2/3)

localize15.0ms (0.5%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (+.f64 x -1/3))
0.0b
(+.f64 x -1/3)
0.1b
(/.f64 1 (+.f64 0 (/.f64 1 (+.f64 x -1/3))))
Compiler

Compiled 29 to 24 computations (17.2% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite74.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
746×pow1_binary64
706×add-log-exp_binary64
705×log1p-expm1-u_binary64
705×expm1-log1p-u_binary64
694×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify54.0ms (1.9%)

Algorithm
egg-herbie
Rules
709×associate-*l*_binary64
685×fma-neg_binary64
615×associate-/r*_binary64
585×distribute-rgt-neg-in_binary64
554×fma-def_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
039220
1101218
2220216
3532210
41430207
56092207
Stop Event
node limit
Counts
85 → 78
Calls
Call 1
Inputs
-1/3
(-.f64 x 1/3)
(-.f64 x 1/3)
(-.f64 x 1/3)
x
(-.f64 x 1/3)
(-.f64 x 1/3)
(-.f64 x 1/3)
x
(-.f64 x 1/3)
(-.f64 x 1/3)
(-.f64 x 1/3)
-3
(-.f64 (*.f64 -9 x) 3)
(-.f64 (+.f64 (*.f64 -9 x) (*.f64 -27 (pow.f64 x 2))) 3)
(-.f64 (+.f64 (*.f64 -9 x) (+.f64 (*.f64 -81 (pow.f64 x 3)) (*.f64 -27 (pow.f64 x 2)))) 3)
(/.f64 1 x)
(+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (/.f64 1 x))
(+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)))
(+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/27 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x))))
(/.f64 1 x)
(+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (/.f64 1 x))
(+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)))
(+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/27 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x))))
Outputs
-1/3
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
x
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
x
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 x 1/3)
(+.f64 x -1/3)
-3
(-.f64 (*.f64 -9 x) 3)
(fma.f64 -9 x -3)
(fma.f64 x -9 -3)
(-.f64 (+.f64 (*.f64 -9 x) (*.f64 -27 (pow.f64 x 2))) 3)
(+.f64 (fma.f64 -9 x (*.f64 -27 (*.f64 x x))) -3)
(fma.f64 x -9 (fma.f64 -27 (*.f64 x x) -3))
(fma.f64 x (*.f64 x -27) (fma.f64 x -9 -3))
(fma.f64 x (fma.f64 x -27 -9) -3)
(-.f64 (+.f64 (*.f64 -9 x) (+.f64 (*.f64 -81 (pow.f64 x 3)) (*.f64 -27 (pow.f64 x 2)))) 3)
(+.f64 (fma.f64 -9 x (fma.f64 -81 (pow.f64 x 3) (*.f64 -27 (*.f64 x x)))) -3)
(+.f64 (fma.f64 x -9 (fma.f64 -27 (*.f64 x x) (*.f64 -81 (pow.f64 x 3)))) -3)
(fma.f64 x -9 (fma.f64 x (*.f64 x -27) (fma.f64 -81 (pow.f64 x 3) -3)))
(fma.f64 x -9 (fma.f64 x (*.f64 x (fma.f64 x -81 -27)) -3))
(fma.f64 x (fma.f64 x (fma.f64 x -81 -27) -9) -3)
(/.f64 1 x)
(+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (/.f64 1 x))
(+.f64 (/.f64 1 x) (/.f64 1/3 (*.f64 x x)))
(+.f64 (/.f64 1 x) (/.f64 (/.f64 1/3 x) x))
(+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)))
(+.f64 (/.f64 1/3 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1/9 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1/3 (*.f64 x x)) (/.f64 1/9 (pow.f64 x 3))))
(+.f64 (/.f64 (/.f64 1/3 x) x) (+.f64 (/.f64 1 x) (/.f64 1/9 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (*.f64 (/.f64 1 (*.f64 x x)) (+.f64 1/3 (/.f64 1/9 x))))
(+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/27 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x))))
(+.f64 (/.f64 1/3 (*.f64 x x)) (+.f64 (+.f64 (/.f64 1 x) (/.f64 1/9 (pow.f64 x 3))) (/.f64 1/27 (pow.f64 x 4))))
(+.f64 (/.f64 1/3 (*.f64 x x)) (+.f64 (/.f64 1/9 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (/.f64 1/27 (pow.f64 x 4)))))
(+.f64 (/.f64 1/9 (pow.f64 x 3)) (+.f64 (/.f64 1/3 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1/27 (pow.f64 x 4)))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 (/.f64 1/3 x) x) (+.f64 (/.f64 1/9 (pow.f64 x 3)) (/.f64 1/27 (pow.f64 x 4)))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1/27 (pow.f64 x 4)) (*.f64 (/.f64 1 (*.f64 x x)) (+.f64 1/3 (/.f64 1/9 x)))))
(/.f64 1 x)
(+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (/.f64 1 x))
(+.f64 (/.f64 1 x) (/.f64 1/3 (*.f64 x x)))
(+.f64 (/.f64 1 x) (/.f64 (/.f64 1/3 x) x))
(+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)))
(+.f64 (/.f64 1/3 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1/9 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1/3 (*.f64 x x)) (/.f64 1/9 (pow.f64 x 3))))
(+.f64 (/.f64 (/.f64 1/3 x) x) (+.f64 (/.f64 1 x) (/.f64 1/9 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (*.f64 (/.f64 1 (*.f64 x x)) (+.f64 1/3 (/.f64 1/9 x))))
(+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/27 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x))))
(+.f64 (/.f64 1/3 (*.f64 x x)) (+.f64 (+.f64 (/.f64 1 x) (/.f64 1/9 (pow.f64 x 3))) (/.f64 1/27 (pow.f64 x 4))))
(+.f64 (/.f64 1/3 (*.f64 x x)) (+.f64 (/.f64 1/9 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (/.f64 1/27 (pow.f64 x 4)))))
(+.f64 (/.f64 1/9 (pow.f64 x 3)) (+.f64 (/.f64 1/3 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1/27 (pow.f64 x 4)))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 (/.f64 1/3 x) x) (+.f64 (/.f64 1/9 (pow.f64 x 3)) (/.f64 1/27 (pow.f64 x 4)))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1/27 (pow.f64 x 4)) (*.f64 (/.f64 1 (*.f64 x x)) (+.f64 1/3 (/.f64 1/9 x)))))

localize8.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.3b
(/.f64 1 (-.f64 (*.f64 -9 x) 3))
Compiler

Compiled 20 to 16 computations (20% saved)

series36.0ms (1.3%)

Counts
1 → 12
Calls

3 calls:

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

rewrite61.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
792×pow1_binary64
740×add-log-exp_binary64
740×log1p-expm1-u_binary64
740×expm1-log1p-u_binary64
728×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
088
11738
220088
Stop Event
node limit
Counts
1 → 22
Calls
Call 1
Inputs
(/.f64 1 (-.f64 (*.f64 -9 x) 3))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (fma.f64 -9 x -3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (fma.f64 -9 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 -9 x -3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (fma.f64 -9 x -3))) (cbrt.f64 (pow.f64 (fma.f64 -9 x -3) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 -9 x -3) -2)) (/.f64 1 (cbrt.f64 (fma.f64 -9 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 -9 x -3) -1/2) (pow.f64 (fma.f64 -9 x -3) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (neg.f64 (fma.f64 -9 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (fma.f64 -9 x -3)) 2) -1) (pow.f64 (cbrt.f64 (fma.f64 -9 x -3)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (fma.f64 -9 x -3)) -1) (pow.f64 (sqrt.f64 (fma.f64 -9 x -3)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 (*.f64 -729 (pow.f64 x 3)) -27)) (+.f64 (*.f64 81 (*.f64 x x)) (+.f64 9 (*.f64 x -27))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 (*.f64 81 (*.f64 x x)) -9)) (fma.f64 -9 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -9 x -3) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (fma.f64 -9 x -3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (fma.f64 -9 x -3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (fma.f64 -9 x -3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -9 x -3) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -9 x -3) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (fma.f64 -9 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (fma.f64 -9 x -3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (fma.f64 -9 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (fma.f64 -9 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (fma.f64 -9 x -3))))))))

simplify78.0ms (2.7%)

Algorithm
egg-herbie
Rules
722×associate-*l*_binary64
693×fma-def_binary64
500×associate-*r*_binary64
410×times-frac_binary64
371×fma-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
040174
1103174
2242174
3649169
41967169
57693169
Stop Event
node limit
Counts
34 → 36
Calls
Call 1
Inputs
-1/3
(-.f64 x 1/3)
(-.f64 (+.f64 (*.f64 -3 (pow.f64 x 2)) x) 1/3)
(-.f64 (+.f64 (*.f64 -3 (pow.f64 x 2)) (+.f64 (*.f64 9 (pow.f64 x 3)) x)) 1/3)
(/.f64 -1/9 x)
(-.f64 (*.f64 1/27 (/.f64 1 (pow.f64 x 2))) (*.f64 1/9 (/.f64 1 x)))
(-.f64 (*.f64 1/27 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/81 (/.f64 1 (pow.f64 x 3))) (*.f64 1/9 (/.f64 1 x))))
(-.f64 (+.f64 (*.f64 1/243 (/.f64 1 (pow.f64 x 4))) (*.f64 1/27 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 1/81 (/.f64 1 (pow.f64 x 3))) (*.f64 1/9 (/.f64 1 x))))
(/.f64 -1/9 x)
(-.f64 (*.f64 1/27 (/.f64 1 (pow.f64 x 2))) (*.f64 1/9 (/.f64 1 x)))
(-.f64 (*.f64 1/27 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/81 (/.f64 1 (pow.f64 x 3))) (*.f64 1/9 (/.f64 1 x))))
(-.f64 (+.f64 (*.f64 1/243 (/.f64 1 (pow.f64 x 4))) (*.f64 1/27 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 1/81 (/.f64 1 (pow.f64 x 3))) (*.f64 1/9 (/.f64 1 x))))
Outputs
-1/3
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 (+.f64 (*.f64 -3 (pow.f64 x 2)) x) 1/3)
(+.f64 (fma.f64 -3 (*.f64 x x) x) -1/3)
(+.f64 x (fma.f64 -3 (*.f64 x x) -1/3))
(fma.f64 (fma.f64 x -3 1) x -1/3)
(fma.f64 x (fma.f64 x -3 1) -1/3)
(-.f64 (+.f64 (*.f64 -3 (pow.f64 x 2)) (+.f64 (*.f64 9 (pow.f64 x 3)) x)) 1/3)
(+.f64 (fma.f64 -3 (*.f64 x x) (fma.f64 9 (pow.f64 x 3) x)) -1/3)
(+.f64 (fma.f64 9 (pow.f64 x 3) x) (fma.f64 -3 (*.f64 x x) -1/3))
(+.f64 (fma.f64 x (*.f64 x (fma.f64 x 9 -3)) x) -1/3)
(fma.f64 (*.f64 x x) (fma.f64 x 9 -3) (+.f64 x -1/3))
(/.f64 -1/9 x)
(-.f64 (*.f64 1/27 (/.f64 1 (pow.f64 x 2))) (*.f64 1/9 (/.f64 1 x)))
(-.f64 (/.f64 1/27 (*.f64 x x)) (/.f64 1/9 x))
(-.f64 (/.f64 (/.f64 1/27 x) x) (/.f64 1/9 x))
(+.f64 (/.f64 1/27 (*.f64 x x)) (/.f64 -1/9 x))
(-.f64 (*.f64 1/27 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/81 (/.f64 1 (pow.f64 x 3))) (*.f64 1/9 (/.f64 1 x))))
(-.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 1/9 x) (/.f64 1/81 (pow.f64 x 3))))
(+.f64 (-.f64 (/.f64 (/.f64 1/27 x) x) (/.f64 1/81 (pow.f64 x 3))) (/.f64 -1/9 x))
(+.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 -1/9 x) (/.f64 -1/81 (pow.f64 x 3))))
(+.f64 (+.f64 (/.f64 1/27 (*.f64 x x)) (/.f64 -1/9 x)) (/.f64 -1/81 (pow.f64 x 3)))
(-.f64 (+.f64 (*.f64 1/243 (/.f64 1 (pow.f64 x 4))) (*.f64 1/27 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 1/81 (/.f64 1 (pow.f64 x 3))) (*.f64 1/9 (/.f64 1 x))))
(+.f64 (/.f64 1/243 (pow.f64 x 4)) (-.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 1/9 x) (/.f64 1/81 (pow.f64 x 3)))))
(+.f64 (+.f64 (-.f64 (/.f64 (/.f64 1/27 x) x) (/.f64 1/81 (pow.f64 x 3))) (/.f64 -1/9 x)) (/.f64 1/243 (pow.f64 x 4)))
(+.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 1/243 (pow.f64 x 4)) (+.f64 (/.f64 -1/9 x) (/.f64 -1/81 (pow.f64 x 3)))))
(+.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 -1/81 (pow.f64 x 3)) (+.f64 (/.f64 1/243 (pow.f64 x 4)) (/.f64 -1/9 x))))
(+.f64 (+.f64 (/.f64 1/27 (*.f64 x x)) (/.f64 -1/9 x)) (+.f64 (/.f64 1/243 (pow.f64 x 4)) (/.f64 -1/81 (pow.f64 x 3))))
(/.f64 -1/9 x)
(-.f64 (*.f64 1/27 (/.f64 1 (pow.f64 x 2))) (*.f64 1/9 (/.f64 1 x)))
(-.f64 (/.f64 1/27 (*.f64 x x)) (/.f64 1/9 x))
(-.f64 (/.f64 (/.f64 1/27 x) x) (/.f64 1/9 x))
(+.f64 (/.f64 1/27 (*.f64 x x)) (/.f64 -1/9 x))
(-.f64 (*.f64 1/27 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/81 (/.f64 1 (pow.f64 x 3))) (*.f64 1/9 (/.f64 1 x))))
(-.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 1/9 x) (/.f64 1/81 (pow.f64 x 3))))
(+.f64 (-.f64 (/.f64 (/.f64 1/27 x) x) (/.f64 1/81 (pow.f64 x 3))) (/.f64 -1/9 x))
(+.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 -1/9 x) (/.f64 -1/81 (pow.f64 x 3))))
(+.f64 (+.f64 (/.f64 1/27 (*.f64 x x)) (/.f64 -1/9 x)) (/.f64 -1/81 (pow.f64 x 3)))
(-.f64 (+.f64 (*.f64 1/243 (/.f64 1 (pow.f64 x 4))) (*.f64 1/27 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 1/81 (/.f64 1 (pow.f64 x 3))) (*.f64 1/9 (/.f64 1 x))))
(+.f64 (/.f64 1/243 (pow.f64 x 4)) (-.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 1/9 x) (/.f64 1/81 (pow.f64 x 3)))))
(+.f64 (+.f64 (-.f64 (/.f64 (/.f64 1/27 x) x) (/.f64 1/81 (pow.f64 x 3))) (/.f64 -1/9 x)) (/.f64 1/243 (pow.f64 x 4)))
(+.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 1/243 (pow.f64 x 4)) (+.f64 (/.f64 -1/9 x) (/.f64 -1/81 (pow.f64 x 3)))))
(+.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 -1/81 (pow.f64 x 3)) (+.f64 (/.f64 1/243 (pow.f64 x 4)) (/.f64 -1/9 x))))
(+.f64 (+.f64 (/.f64 1/27 (*.f64 x x)) (/.f64 -1/9 x)) (+.f64 (/.f64 1/243 (pow.f64 x 4)) (/.f64 -1/81 (pow.f64 x 3))))

eval128.0ms (4.5%)

Compiler

Compiled 2497 to 2058 computations (17.6% saved)

prune56.0ms (1.9%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New2271228
Fresh112
Picked011
Done033
Total2286234
Error
0b
Counts
234 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
30.6b
-1/3
0.0b
(+.f64 x -1/3)
0.1b
(/.f64 1 (+.f64 0 (/.f64 1 (+.f64 x -1/3))))
30.4b
(/.f64 1 (-.f64 (*.f64 -9 x) 3))
0.5b
(-.f64 (+.f64 x 2/3) 1)
32.8b
x
Compiler

Compiled 32 to 27 computations (15.6% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune3.0ms (0.1%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New000
Fresh022
Picked000
Done044
Total066
Error
0b
Counts
6 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
30.6b
-1/3
0.0b
(+.f64 x -1/3)
0.1b
(/.f64 1 (+.f64 0 (/.f64 1 (+.f64 x -1/3))))
30.4b
(/.f64 1 (-.f64 (*.f64 -9 x) 3))
0.5b
(-.f64 (+.f64 x 2/3) 1)
32.8b
x
Compiler

Compiled 32 to 27 computations (15.6% saved)

regimes24.0ms (0.8%)

Counts
13 → 1
Calls
Call 1
Inputs
-1/3
x
-1/3
x
-1/3
(+.f64 x -1/3)
(-.f64 (+.f64 x 2/3) 1)
(-.f64 x (/.f64 1 3))
(/.f64 1 (-.f64 (*.f64 -9 x) 3))
(-.f64 (+.f64 1 (+.f64 x -1/3)) 1)
(/.f64 1 (+.f64 0 (/.f64 1 (+.f64 x -1/3))))
(/.f64 1 (/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9)))
(*.f64 (fma.f64 x x -1/9) (/.f64 1 (+.f64 x 1/3)))
Outputs
(+.f64 x -1/3)
Calls

3 calls:

9.0ms
x
6.0ms
(-.f64 x (/.f64 1 3))
5.0ms
(-.f64 x (/.f64 1 3))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(-.f64 x (/.f64 1 3))
0.0b1(-.f64 x (/.f64 1 3))
Compiler

Compiled 76 to 59 computations (22.4% saved)

regimes14.0ms (0.5%)

Accuracy

Total -60.2b remaining (-3759.7%)

Threshold costs -60.2b (-3759.7%)

Counts
5 → 3
Calls
Call 1
Inputs
-1/3
x
-1/3
x
-1/3
Outputs
x
-1/3
x
Calls

1 calls:

13.0ms
x
Results
ErrorSegmentsBranch
1.6b3x
Compiler

Compiled 8 to 5 computations (37.5% saved)

bsearch29.0ms (1%)

Algorithm
binary-search
Steps
TimeLeftRight
15.0ms
0.10266196555053207
780016502182.3667
14.0ms
-0.8676585674290122
-1.3233892757447837e-7
Compiler

Compiled 10 to 8 computations (20% saved)

simplify5.0ms (0.2%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01120
11220
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(+.f64 x -1/3)
(if (<=.f64 x -16005475536724449280/18446744073709551616) x (if (<=.f64 x 1893779004614651648/18446744073709551616) -1/3 x))
-1/3
Outputs
(+.f64 x -1/3)
(if (<=.f64 x -16005475536724449280/18446744073709551616) x (if (<=.f64 x 1893779004614651648/18446744073709551616) -1/3 x))
(if (<=.f64 x -7815173601916235/9007199254740992) x (if (<=.f64 x 7397574236775983/72057594037927936) -1/3 x))
-1/3
Compiler

Compiled 18 to 13 computations (27.8% saved)

soundness8.0ms (0.3%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
074
1124
2134
Stop Event
saturated
Compiler

Compiled 22 to 18 computations (18.2% saved)

end23.0ms (0.8%)

Compiler

Compiled 16 to 11 computations (31.3% saved)

Profiling

Loading profile data...