Details

Time bar (total: 2.6s)

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)

sample796.0ms (30.6%)

Results
782.0ms8256×body256valid

preprocess13.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
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)

simplify9.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
Counts
1 → 2
Calls
Call 1
Inputs
(-.f64 x (/.f64 1 3))
Outputs
(-.f64 x (/.f64 1 3))
(-.f64 x 1/3)

eval0.0ms (0%)

Compiler

Compiled 9 to 7 computations (22.2% saved)

prune1.0ms (0%)

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)

localize3.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

Compiled 6 to 4 computations (33.3% saved)

series1.0ms (0%)

Counts
1 → 3
Calls

3 calls:

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

rewrite37.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
479×pow1_binary64
475×add-sqr-sqrt_binary64
452×add-log-exp_binary64
452×log1p-expm1-u_binary64
452×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
044
1934
211644
Stop Event
node limit
Counts
1 → 30
Calls
Call 1
Inputs
(-.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 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 (pow.f64 x 3) -1/27) (/.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 (pow.f64 x 3) -1/27)))))) (#(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 (pow.f64 x 3) -1/27) (fma.f64 x x (+.f64 1/9 (*.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 (fma.f64 x x -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 (neg.f64 (+.f64 (pow.f64 x 3) -1/27)) (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 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 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 expm1.f64 (log1p.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)))))

simplify6.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
023
Stop Event
saturated
Counts
33 → 32
Calls
Call 1
Inputs
-1/3
x
x
Outputs
-1/3
x
x

eval6.0ms (0.2%)

Compiler

Compiled 247 to 184 computations (25.5% saved)

prune8.0ms (0.3%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New26632
Fresh000
Picked011
Done000
Total26733
Error
0b
Counts
33 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
15.8b
(*.f64 (fma.f64 x x -1/9) (/.f64 1 (+.f64 x 1/3)))
31.3b
x
31.5b
-1/3
0.0b
(-.f64 x 1/3)
15.8b
(/.f64 (fma.f64 x x -1/9) (+.f64 x 1/3))
20.8b
(/.f64 (+.f64 (pow.f64 x 3) -1/27) (+.f64 (*.f64 x x) (-.f64 1/9 (*.f64 x -1/3))))
15.8b
(/.f64 1 (/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9)))
Compiler

Compiled 55 to 40 computations (27.3% saved)

localize14.0ms (0.5%)

Local error

Found 6 expressions with local error:

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

Compiled 30 to 20 computations (33.3% saved)

series4.0ms (0.2%)

Counts
3 → 36
Calls

9 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9))
1.0ms
x
@inf
(/.f64 1 (/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9)))
1.0ms
x
@-inf
(/.f64 1 (/.f64 (+.f64 x 1/3) (fma.f64 x x -1/9)))
1.0ms
x
@0
(/.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)))

rewrite59.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
409×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
0930
119916
2255416
Stop Event
node limit
Counts
3 → 156
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)))
(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 (cbrt.f64 (pow.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 (neg.f64 (+.f64 x 1/3)) (/.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 (cbrt.f64 (pow.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 (cbrt.f64 (pow.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 (neg.f64 (+.f64 x 1/3)) 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 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 expm1.f64 (log1p.f64 (/.f64 1 (+.f64 x -1/3))))))))
((#(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 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 (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)) (cbrt.f64 (pow.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 (neg.f64 (+.f64 x 1/3))) (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 (/.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 (pow.f64 (cbrt.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 (neg.f64 (+.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 (/.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 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 expm1.f64 (log1p.f64 (+.f64 x -1/3)))))) (#(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))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 -1/9 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 x x -1/9))))) (#(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 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1/9))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1/9)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1/9)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -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 (sqrt.f64 (fma.f64 x x -1/9)) (sqrt.f64 (fma.f64 x x -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 1 (fma.f64 x x -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) -1/729) (+.f64 (pow.f64 x 4) (-.f64 1/81 (*.f64 (*.f64 x x) -1/9))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) 1/81) (fma.f64 x x 1/9))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 6) 1/729) (+.f64 (pow.f64 x 4) (+.f64 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 (E.f64) (log.f64 (fma.f64 x x -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x -1/9) 2) 1/2)))) (#(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 pow.f64 (/.f64 1 (fma.f64 x x -1/9)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 x x -1/9))) 2)) (cbrt.f64 (log.f64 (fma.f64 x x -1/9))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 x x -1/9)))) (sqrt.f64 (log.f64 (fma.f64 x x -1/9))))))) (#(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 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)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (neg.f64 (log.f64 (fma.f64 x x -1/9))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 x x -1/9))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 x x -1/9))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 x x -1/9))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (neg.f64 (log.f64 (fma.f64 x x -1/9)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x x -1/9)))))))

simplify40.0ms (1.5%)

Algorithm
egg-herbie
Rules
709×fma-neg_binary64
704×associate-*l*_binary64
599×associate-/r*_binary64
585×distribute-rgt-neg-in_binary64
560×fma-def_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
041292
1105272
2227270
3541264
41402261
55940261
Stop Event
node limit
Counts
192 → 177
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)
-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
-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 (*.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/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/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/27 (pow.f64 x 4)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1/3 (*.f64 x x)) (/.f64 1/9 (pow.f64 x 3)))))
(+.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 (/.f64 1/9 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 (/.f64 1/3 x) x) (/.f64 1/27 (pow.f64 x 4)))))
(/.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/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/27 (pow.f64 x 4)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1/3 (*.f64 x x)) (/.f64 1/9 (pow.f64 x 3)))))
(+.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 (/.f64 1/9 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 (/.f64 1/3 x) x) (/.f64 1/27 (pow.f64 x 4)))))
-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/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)

localize43.0ms (1.7%)

Local error

Found 8 expressions with local error:

NewErrorProgram
0.3b
(*.f64 x -1/3)
0.0b
(-.f64 1/9 (*.f64 x -1/3))
0.0b
(+.f64 (*.f64 x x) (-.f64 1/9 (*.f64 x -1/3)))
0.0b
(+.f64 (pow.f64 x 3) -1/27)
0.0b
(+.f64 (*.f64 x x) (-.f64 1/9 (*.f64 x -1/3)))
0.0b
(-.f64 1/9 (*.f64 x -1/3))
0.3b
(*.f64 x -1/3)
20.1b
(/.f64 (+.f64 (pow.f64 x 3) -1/27) (+.f64 (*.f64 x x) (-.f64 1/9 (*.f64 x -1/3))))
Compiler

Compiled 49 to 33 computations (32.7% saved)

series6.0ms (0.2%)

Counts
4 → 48
Calls

12 calls:

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

rewrite66.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
627×log-prod_binary64
412×fma-def_binary64
364×pow2_binary64
249×pow1/3_binary64
247×expm1-udef_binary64
Iterations

Useful iterations: 2 (0.0ms)

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

simplify140.0ms (5.4%)

Algorithm
egg-herbie
Rules
1104×sqr-pow_binary64
636×fma-def_binary64
561×cube-prod_binary64
548×fabs-mul_binary64
536×pow-sqr_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
013257
127229
250217
386217
4170217
5425217
61310217
72557217
82951217
93143217
103353217
113651217
124059217
134541217
145108217
155798217
166640217
177034217
187320217
197596217
207666217
217700217
Stop Event
node limit
Counts
214 → 181
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)
(*.f64 -1/3 x)
(*.f64 -1/3 x)
(*.f64 -1/3 x)
(*.f64 -1/3 x)
(*.f64 -1/3 x)
(*.f64 -1/3 x)
(*.f64 -1/3 x)
(*.f64 -1/3 x)
(*.f64 -1/3 x)
(*.f64 -1/3 x)
(*.f64 -1/3 x)
(*.f64 -1/3 x)
1/9
(+.f64 1/9 (*.f64 1/3 x))
(+.f64 1/9 (*.f64 1/3 x))
(+.f64 1/9 (*.f64 1/3 x))
(*.f64 1/3 x)
(+.f64 1/9 (*.f64 1/3 x))
(+.f64 1/9 (*.f64 1/3 x))
(+.f64 1/9 (*.f64 1/3 x))
(*.f64 1/3 x)
(+.f64 1/9 (*.f64 1/3 x))
(+.f64 1/9 (*.f64 1/3 x))
(+.f64 1/9 (*.f64 1/3 x))
1/9
(+.f64 1/9 (*.f64 1/3 x))
(+.f64 1/9 (+.f64 (*.f64 1/3 x) (pow.f64 x 2)))
(+.f64 1/9 (+.f64 (*.f64 1/3 x) (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 1/3 x) (pow.f64 x 2))
(+.f64 1/9 (+.f64 (*.f64 1/3 x) (pow.f64 x 2)))
(+.f64 1/9 (+.f64 (*.f64 1/3 x) (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 1/3 x) (pow.f64 x 2))
(+.f64 1/9 (+.f64 (*.f64 1/3 x) (pow.f64 x 2)))
(+.f64 1/9 (+.f64 (*.f64 1/3 x) (pow.f64 x 2)))
Outputs
-1/3
(-.f64 x 1/3)
(+.f64 x -1/3)
(+.f64 -1/3 x)
(-.f64 x 1/3)
(+.f64 x -1/3)
(+.f64 -1/3 x)
(-.f64 x 1/3)
(+.f64 x -1/3)
(+.f64 -1/3 x)
x
(-.f64 x 1/3)
(+.f64 x -1/3)
(+.f64 -1/3 x)
(-.f64 x 1/3)
(+.f64 x -1/3)
(+.f64 -1/3 x)
(-.f64 x 1/3)
(+.f64 x -1/3)
(+.f64 -1/3 x)
x
(-.f64 x 1/3)
(+.f64 x -1/3)
(+.f64 -1/3 x)
(-.f64 x 1/3)
(+.f64 x -1/3)
(+.f64 -1/3 x)
(-.f64 x 1/3)
(+.f64 x -1/3)
(+.f64 -1/3 x)
(*.f64 -1/3 x)
(*.f64 -1/3 x)
(*.f64 -1/3 x)
(*.f64 -1/3 x)
(*.f64 -1/3 x)
(*.f64 -1/3 x)
(*.f64 -1/3 x)
(*.f64 -1/3 x)
(*.f64 -1/3 x)
(*.f64 -1/3 x)
(*.f64 -1/3 x)
(*.f64 -1/3 x)
1/9
(+.f64 1/9 (*.f64 1/3 x))
(+.f64 1/9 (*.f64 x 1/3))
(fma.f64 x 1/3 1/9)
(+.f64 1/9 (*.f64 1/3 x))
(+.f64 1/9 (*.f64 x 1/3))
(fma.f64 x 1/3 1/9)
(+.f64 1/9 (*.f64 1/3 x))
(+.f64 1/9 (*.f64 x 1/3))
(fma.f64 x 1/3 1/9)
(*.f64 1/3 x)
(*.f64 x 1/3)
(+.f64 1/9 (*.f64 1/3 x))
(+.f64 1/9 (*.f64 x 1/3))
(fma.f64 x 1/3 1/9)
(+.f64 1/9 (*.f64 1/3 x))
(+.f64 1/9 (*.f64 x 1/3))
(fma.f64 x 1/3 1/9)
(+.f64 1/9 (*.f64 1/3 x))
(+.f64 1/9 (*.f64 x 1/3))
(fma.f64 x 1/3 1/9)
(*.f64 1/3 x)
(*.f64 x 1/3)
(+.f64 1/9 (*.f64 1/3 x))
(+.f64 1/9 (*.f64 x 1/3))
(fma.f64 x 1/3 1/9)
(+.f64 1/9 (*.f64 1/3 x))
(+.f64 1/9 (*.f64 x 1/3))
(fma.f64 x 1/3 1/9)
(+.f64 1/9 (*.f64 1/3 x))
(+.f64 1/9 (*.f64 x 1/3))
(fma.f64 x 1/3 1/9)
1/9
(+.f64 1/9 (*.f64 1/3 x))
(+.f64 1/9 (*.f64 x 1/3))
(fma.f64 x 1/3 1/9)
(+.f64 1/9 (+.f64 (*.f64 1/3 x) (pow.f64 x 2)))
(+.f64 1/9 (fma.f64 1/3 x (*.f64 x x)))
(+.f64 1/9 (*.f64 x (+.f64 x 1/3)))
(fma.f64 x (+.f64 x 1/3) 1/9)
(+.f64 1/9 (+.f64 (*.f64 1/3 x) (pow.f64 x 2)))
(+.f64 1/9 (fma.f64 1/3 x (*.f64 x x)))
(+.f64 1/9 (*.f64 x (+.f64 x 1/3)))
(fma.f64 x (+.f64 x 1/3) 1/9)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 1/3 x) (pow.f64 x 2))
(fma.f64 1/3 x (*.f64 x x))
(*.f64 x (+.f64 x 1/3))
(+.f64 1/9 (+.f64 (*.f64 1/3 x) (pow.f64 x 2)))
(+.f64 1/9 (fma.f64 1/3 x (*.f64 x x)))
(+.f64 1/9 (*.f64 x (+.f64 x 1/3)))
(fma.f64 x (+.f64 x 1/3) 1/9)
(+.f64 1/9 (+.f64 (*.f64 1/3 x) (pow.f64 x 2)))
(+.f64 1/9 (fma.f64 1/3 x (*.f64 x x)))
(+.f64 1/9 (*.f64 x (+.f64 x 1/3)))
(fma.f64 x (+.f64 x 1/3) 1/9)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 1/3 x) (pow.f64 x 2))
(fma.f64 1/3 x (*.f64 x x))
(*.f64 x (+.f64 x 1/3))
(+.f64 1/9 (+.f64 (*.f64 1/3 x) (pow.f64 x 2)))
(+.f64 1/9 (fma.f64 1/3 x (*.f64 x x)))
(+.f64 1/9 (*.f64 x (+.f64 x 1/3)))
(fma.f64 x (+.f64 x 1/3) 1/9)
(+.f64 1/9 (+.f64 (*.f64 1/3 x) (pow.f64 x 2)))
(+.f64 1/9 (fma.f64 1/3 x (*.f64 x x)))
(+.f64 1/9 (*.f64 x (+.f64 x 1/3)))
(fma.f64 x (+.f64 x 1/3) 1/9)

localize10.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

Compiled 19 to 12 computations (36.8% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite45.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
825×pow1_binary64
775×add-log-exp_binary64
775×log1p-expm1-u_binary64
775×expm1-log1p-u_binary64
762×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0711
11584
220574
Stop Event
node limit
Counts
1 → 38
Calls
Call 1
Inputs
(/.f64 (fma.f64 x x -1/9) (+.f64 x 1/3))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.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 (+.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 (pow.f64 (cbrt.f64 (fma.f64 x x -1/9)) 2) (*.f64 (cbrt.f64 (fma.f64 x x -1/9)) (/.f64 1 (+.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 (sqrt.f64 (fma.f64 x x -1/9)) (*.f64 (sqrt.f64 (fma.f64 x x -1/9)) (/.f64 1 (+.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fma.f64 x x -1/9)) (/.f64 1 (+.f64 -1/3 (neg.f64 x))))))) (#(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 (/.f64 1 (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 (/.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1/9)) 2) (pow.f64 (cbrt.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 (/.f64 1 (sqrt.f64 (+.f64 x 1/3))) (/.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 (fma.f64 x x -1/9) (+.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 (fma.f64 x x -1/9) (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 (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 1 (+.f64 x -1/3)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (fma.f64 x x -1/9) (+.f64 -1/3 (neg.f64 x))))))) (#(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 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 expm1.f64 (log1p.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)))))

simplify7.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
50 → 40
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)

localize11.0ms (0.4%)

Local error

Found 6 expressions with local error:

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

Compiled 27 to 19 computations (29.6% saved)

series5.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

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

rewrite52.0ms (2%)

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
0918
119411
2235511
Stop Event
node limit
Counts
2 → 54
Calls
Call 1
Inputs
(*.f64 (fma.f64 x x -1/9) (/.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 (*.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 (cbrt.f64 (pow.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) (cbrt.f64 (pow.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 (+.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 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 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 expm1.f64 (log1p.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 (/.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 (+.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 (cbrt.f64 (pow.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 (/.f64 1 (cbrt.f64 (+.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 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 expm1.f64 (log1p.f64 (/.f64 1 (+.f64 x 1/3))))))))

simplify51.0ms (1.9%)

Algorithm
egg-herbie
Rules
748×distribute-neg-frac_binary64
727×associate-*l*_binary64
715×fma-def_binary64
462×associate-*r*_binary64
415×times-frac_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
037220
196216
2235216
3642210
41869207
57078207
Stop Event
node limit
Counts
78 → 70
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 -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)))))
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 -9 x) (+.f64 3 (*.f64 27 (pow.f64 x 2))))
(+.f64 (fma.f64 -9 x 3) (*.f64 27 (*.f64 x x)))
(fma.f64 x -9 (fma.f64 27 (*.f64 x x) 3))
(fma.f64 x -9 (fma.f64 x (*.f64 x 27) 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 -81 (pow.f64 x 3) (fma.f64 x -9 (fma.f64 x (*.f64 x 27) 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 1 x) (/.f64 (/.f64 1/3 x) x))
(+.f64 (/.f64 1 x) (/.f64 (/.f64 -1/3 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 (/.f64 1 x) (/.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/9 (pow.f64 x 3)) (/.f64 -1/3 (*.f64 x x))))
(+.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 (/.f64 -1/3 x) x)))
(-.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 (+.f64 (/.f64 1 x) (/.f64 1/9 (pow.f64 x 3))) (/.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/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/27 (pow.f64 x 4)) (/.f64 (/.f64 1/3 x) x))))
(+.f64 (+.f64 (/.f64 1 x) (/.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 1/9 (pow.f64 x 3))) (+.f64 (/.f64 (/.f64 -1/3 x) x) (/.f64 -1/27 (pow.f64 x 4))))
(/.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 1 x) (/.f64 (/.f64 1/3 x) x))
(+.f64 (/.f64 1 x) (/.f64 (/.f64 -1/3 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 (/.f64 1 x) (/.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/9 (pow.f64 x 3)) (/.f64 -1/3 (*.f64 x x))))
(+.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 (/.f64 -1/3 x) x)))
(-.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 (+.f64 (/.f64 1 x) (/.f64 1/9 (pow.f64 x 3))) (/.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/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/27 (pow.f64 x 4)) (/.f64 (/.f64 1/3 x) x))))
(+.f64 (+.f64 (/.f64 1 x) (/.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 1/9 (pow.f64 x 3))) (+.f64 (/.f64 (/.f64 -1/3 x) x) (/.f64 -1/27 (pow.f64 x 4))))

eval238.0ms (9.2%)

Compiler

Compiled 8115 to 6058 computations (25.3% saved)

prune81.0ms (3.1%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New5475552
Fresh112
Picked101
Done314
Total5527559
Error
0b
Counts
559 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
15.8b
(+.f64 (*.f64 (/.f64 1 (+.f64 x 1/3)) (*.f64 x x)) (*.f64 (/.f64 1 (+.f64 x 1/3)) -1/9))
31.3b
x
0.5b
(-.f64 (+.f64 1 (+.f64 x -1/3)) 1)
31.5b
-1/3
0.0b
(-.f64 x 1/3)
15.8b
(/.f64 1 (/.f64 (+.f64 x 1/3) (-.f64 (*.f64 x x) 1/9)))
31.7b
(/.f64 1 (-.f64 (*.f64 -9 x) 3))
Compiler

Compiled 54 to 43 computations (20.4% saved)

localize8.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

Compiled 20 to 16 computations (20% saved)

series2.0ms (0.1%)

Counts
2 → 15
Calls

6 calls:

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

rewrite46.0ms (1.8%)

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
0813
117313
2200713
Stop Event
node limit
Counts
2 → 59
Calls
Call 1
Inputs
(/.f64 1 (-.f64 (*.f64 -9 x) 3))
(-.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 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))))))) (#(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 +.f64 (*.f64 -9 x) -3)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -3 (*.f64 -9 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -9 x -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -9 x -3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -9 x -3)) (pow.f64 (cbrt.f64 (fma.f64 -9 x -3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 -9 x -3)) 2) (cbrt.f64 (fma.f64 -9 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -9 x -3)) (sqrt.f64 (fma.f64 -9 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 -729 (pow.f64 x 3)) -27) (/.f64 1 (+.f64 (*.f64 81 (*.f64 x x)) (+.f64 9 (*.f64 x -27)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 81 (*.f64 x x)) -9) (/.f64 1 (fma.f64 -9 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 1 (fma.f64 -9 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 81 (*.f64 x x)) (+.f64 9 (*.f64 x -27))) (+.f64 (*.f64 -729 (pow.f64 x 3)) -27)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 -9 x 3) (+.f64 (*.f64 81 (*.f64 x x)) -9)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 -9 x -3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (fma.f64 -9 x -3)) 2) (/.f64 1 (cbrt.f64 (fma.f64 -9 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (fma.f64 -9 x -3)) (pow.f64 (fma.f64 -9 x -3) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 -9 x -3)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.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 (*.f64 -729 (pow.f64 x 3)) -27) (+.f64 (*.f64 81 (*.f64 x x)) (-.f64 9 (*.f64 (*.f64 -9 x) -3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 81 (*.f64 x x)) -9) (fma.f64 -9 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 81 (*.f64 x x)) -9) (-.f64 (*.f64 -9 x) -3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (*.f64 -729 (pow.f64 x 3)) -27)) (neg.f64 (+.f64 (*.f64 81 (*.f64 x x)) (+.f64 9 (*.f64 x -27)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (*.f64 81 (*.f64 x x)) -9)) (neg.f64 (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 (pow.f64 (fma.f64 -9 x -3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -9 x -3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -9 x -3)) 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 (fma.f64 -9 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -9 x -3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -9 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -9 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -9 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -9 x) -3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -9 x -3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x -9 -3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 -9 x)) 2) (cbrt.f64 (*.f64 -9 x)) -3)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 -9 x)) (sqrt.f64 (*.f64 -9 x)) -3)))))

simplify41.0ms (1.6%)

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

Useful iterations: 3 (0.0ms)

IterNodesCost
042183
1106183
2245183
3654178
41908178
57450178
Stop Event
node limit
Counts
74 → 76
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))))
-3
(*.f64 -9 x)
(*.f64 -9 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 x (*.f64 x -3) -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 -3 (*.f64 x x) x) (fma.f64 9 (pow.f64 x 3) -1/3))
(+.f64 x (fma.f64 (*.f64 x x) (fma.f64 x 9 -3) -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 1/27 x) x) (+.f64 (/.f64 1/9 x) (/.f64 1/81 (pow.f64 x 3))))
(+.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.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 1/243 (pow.f64 x 4)) (-.f64 (/.f64 (/.f64 1/27 x) x) (+.f64 (/.f64 1/9 x) (/.f64 1/81 (pow.f64 x 3)))))
(+.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (+.f64 (/.f64 1/243 (pow.f64 x 4)) (/.f64 -1/81 (pow.f64 x 3))) (/.f64 -1/9 x)))
(+.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 -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 1/27 x) x) (+.f64 (/.f64 1/9 x) (/.f64 1/81 (pow.f64 x 3))))
(+.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.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 1/243 (pow.f64 x 4)) (-.f64 (/.f64 (/.f64 1/27 x) x) (+.f64 (/.f64 1/9 x) (/.f64 1/81 (pow.f64 x 3)))))
(+.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (+.f64 (/.f64 1/243 (pow.f64 x 4)) (/.f64 -1/81 (pow.f64 x 3))) (/.f64 -1/9 x)))
(+.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)))))
-3
(*.f64 -9 x)
(*.f64 x -9)
(*.f64 -9 x)
(*.f64 x -9)

localize12.0ms (0.5%)

Local error

Found 6 expressions with local error:

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

Compiled 36 to 21 computations (41.7% saved)

series3.0ms (0.1%)

Counts
3 → 36
Calls

9 calls:

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

rewrite73.0ms (2.8%)

Algorithm
batch-egg-rewrite
Rules
468×log-prod_binary64
365×exp-prod_binary64
294×pow-prod-down_binary64
270×pow2_binary64
185×pow1/3_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01030
122916
2303116
Stop Event
node limit
Counts
3 → 178
Calls
Call 1
Inputs
(/.f64 (+.f64 x 1/3) (-.f64 (*.f64 x x) 1/9))
(/.f64 1 (/.f64 (+.f64 x 1/3) (-.f64 (*.f64 x x) 1/9)))
(-.f64 (*.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 (exp.f64 (log1p.f64 (/.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 (pow.f64 (cbrt.f64 (+.f64 x 1/3)) 2) (pow.f64 (cbrt.f64 (fma.f64 x x -1/9)) 2)) (/.f64 1 (cbrt.f64 (+.f64 x -1/3))))))) (#(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 *.f64 (/.f64 (+.f64 x 1/3) (+.f64 (pow.f64 x 6) -1/729)) (+.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/9) 1/81)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 x 1/3) (+.f64 (pow.f64 x 4) -1/81)) (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) -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) 3) -1/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 (cbrt.f64 (+.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 pow.f64 (sqrt.f64 (+.f64 x -1/3)) -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 log.f64 (+.f64 1 (expm1.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 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 (neg.f64 (log.f64 (+.f64 x -1/3))) 1))))) (#(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 exp.f64 (*.f64 (*.f64 (neg.f64 (log.f64 (+.f64 x -1/3))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (neg.f64 (log.f64 (+.f64 x -1/3))) -1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (+.f64 x -1/3)) 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (+.f64 x -1/3))))))))
((#(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 (pow.f64 (cbrt.f64 (exp.f64 (+.f64 x -1/3))) 2)) (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 (exp.f64 (log1p.f64 (+.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 -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 (pow.f64 (/.f64 1 (cbrt.f64 (+.f64 x -1/3))) -2) (cbrt.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) 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 (/.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1/9)) 2) (pow.f64 (cbrt.f64 (+.f64 x 1/3)) 2)) (/.f64 (cbrt.f64 (fma.f64 x x -1/9)) (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 (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 (+.f64 -1/3 (neg.f64 x))) (neg.f64 (fma.f64 x x -1/9)))))) (#(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 (/.f64 1 (cbrt.f64 (+.f64 x -1/3))) -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 (pow.f64 (+.f64 x -1/3) -1/2) -2)))) (#(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 (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 (pow.f64 (cbrt.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 log.f64 (+.f64 1 (expm1.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 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 (neg.f64 (log.f64 (+.f64 x -1/3))) -1))))) (#(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 (*.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 exp.f64 (*.f64 (*.f64 (neg.f64 (log.f64 (+.f64 x -1/3))) 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (neg.f64 (log.f64 (+.f64 x -1/3))) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (+.f64 x -1/3)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x -1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1 -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 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 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2) -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))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cbrt.f64 (pow.f64 x 4))) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) -1/3)))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) -1/9)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 x x -1/9))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1/9 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1/9))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1/9)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1/9)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1/9)))))))) (#(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 (sqrt.f64 (fma.f64 x x -1/9)) (sqrt.f64 (fma.f64 x x -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 6) -1/729) (/.f64 1 (+.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/9) 1/81))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 4) -1/81) (/.f64 1 (fma.f64 x x 1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 1 (fma.f64 x x -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/9) 1/81)) (+.f64 (pow.f64 x 6) -1/729)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x 1/9) (+.f64 (pow.f64 x 4) -1/81)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) -1/729) (+.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/9) 1/81)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) -1/729) (+.f64 (pow.f64 x 4) (-.f64 1/81 (*.f64 (*.f64 x x) -1/9))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 4) -1/81) (fma.f64 x x 1/9))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 6) -1/729)) (neg.f64 (+.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/9) 1/81))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 4) -1/81)) (neg.f64 (fma.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 (E.f64) (log.f64 (fma.f64 x x -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x -1/9) 2) 1/2)))) (#(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 pow.f64 (/.f64 1 (fma.f64 x x -1/9)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (pow.f64 x 4) (fma.f64 x (*.f64 x 1/9) 1/81)) (+.f64 (pow.f64 x 6) -1/729)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 x x 1/9) (+.f64 (pow.f64 x 4) -1/81)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 x x -1/9))) 2)) (cbrt.f64 (log.f64 (fma.f64 x x -1/9))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 x x -1/9)))) (sqrt.f64 (log.f64 (fma.f64 x x -1/9))))))) (#(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 log.f64 (+.f64 1 (expm1.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 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)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x x -1/9)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (neg.f64 (log.f64 (fma.f64 x x -1/9))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 x x -1/9))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 x x -1/9))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 x x -1/9))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 x x -1/9)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x x -1/9)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x -1/9)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) 1 -1/9)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) -1/9)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 (pow.f64 x 4)) -1/9)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) -1/9)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (pow.f64 x 3/2) -1/9)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3/2) (sqrt.f64 x) -1/9)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 5) (cbrt.f64 x) -1/9)))))

simplify39.0ms (1.5%)

Algorithm
egg-herbie
Rules
709×fma-neg_binary64
704×associate-*l*_binary64
599×associate-/r*_binary64
585×distribute-rgt-neg-in_binary64
560×fma-def_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
041292
1105272
2227270
3541264
41402261
55940261
Stop Event
node limit
Counts
214 → 198
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)
-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
-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 (*.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/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/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/27 (pow.f64 x 4)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1/3 (*.f64 x x)) (/.f64 1/9 (pow.f64 x 3)))))
(+.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 (/.f64 1/9 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 (/.f64 1/3 x) x) (/.f64 1/27 (pow.f64 x 4)))))
(/.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/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/27 (pow.f64 x 4)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1/3 (*.f64 x x)) (/.f64 1/9 (pow.f64 x 3)))))
(+.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 (/.f64 1/9 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 (/.f64 1/3 x) x) (/.f64 1/27 (pow.f64 x 4)))))
-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/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)

localize9.0ms (0.3%)

Local error

Found 6 expressions with local error:

NewErrorProgram
0.5b
(-.f64 (+.f64 1 (+.f64 x -1/3)) 1)
0.5b
(+.f64 1 (+.f64 x -1/3))
0.0b
(+.f64 x -1/3)
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
3 → 36
Calls

9 calls:

TimeVariablePointExpression
0.0ms
x
@-inf
(-.f64 (+.f64 1 (+.f64 x -1/3)) 1)
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
@0
(+.f64 1 (+.f64 x -1/3))
0.0ms
x
@inf
(+.f64 1 (+.f64 x -1/3))

rewrite54.0ms (2.1%)

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
0727
116812
2233212
Stop Event
node limit
Counts
3 → 137
Calls
Call 1
Inputs
(-.f64 (+.f64 1 (+.f64 x -1/3)) 1)
(+.f64 1 (+.f64 x -1/3))
(+.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/9 (*.f64 x x)) (-.f64 -1/3 x))))) (#(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 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 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 expm1.f64 (log.f64 (+.f64 x 2/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 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 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)))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 x 2/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 (pow.f64 (+.f64 x 2/3) 3) (+.f64 (pow.f64 (+.f64 x 2/3) 2) (+.f64 1 (+.f64 x 2/3)))) (/.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 (pow.f64 (+.f64 x 2/3) 2) (+.f64 1 (+.f64 x 2/3))) (/.f64 1 (+.f64 1 (+.f64 x 2/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/9 (*.f64 x x)) (-.f64 -1/3 x))))) (#(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 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 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 expm1.f64 (log.f64 (+.f64 x 2/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)))))

simplify9.0ms (0.3%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
07117
110117
211117
Stop Event
saturated
Counts
173 → 99
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)
-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)
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)
-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)

localize19.0ms (0.7%)

Local error

Found 6 expressions with local error:

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

Compiled 49 to 34 computations (30.6% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite53.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
453×log-prod_binary64
370×prod-exp_binary64
352×exp-prod_binary64
274×pow-prod-down_binary64
252×pow2_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
121517
2262317
Stop Event
node limit
Counts
2 → 90
Calls
Call 1
Inputs
(*.f64 (/.f64 1 (+.f64 x 1/3)) (*.f64 x x))
(*.f64 (/.f64 1 (+.f64 x 1/3)) -1/9)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 x (/.f64 x (+.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (/.f64 x (+.f64 x 1/3)))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (/.f64 x (+.f64 x 1/3))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (/.f64 x (+.f64 x 1/3))))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (/.f64 x (+.f64 x 1/3))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (/.f64 x (+.f64 x 1/3))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x 1/3) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 x (/.f64 (+.f64 x 1/3) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x x) (+.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cbrt.f64 x) x) (/.f64 (+.f64 x 1/3) (pow.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 x x)) (+.f64 -1/3 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 x x) (sqrt.f64 (+.f64 x 1/3))) (sqrt.f64 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 x x) 1) (+.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 x x) (pow.f64 (cbrt.f64 (+.f64 x 1/3)) 2)) (cbrt.f64 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (*.f64 x x)) (+.f64 -1/3 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 x x) -1) (+.f64 -1/3 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (/.f64 x (+.f64 x 1/3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (*.f64 x (/.f64 x (+.f64 x 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (sqrt.f64 (+.f64 x 1/3))) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (sqrt.f64 (+.f64 x 1/3))) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (/.f64 x (+.f64 x 1/3)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (sqrt.f64 (+.f64 x 1/3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 x 6) (pow.f64 (+.f64 x 1/3) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 x 1/3) (*.f64 x x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 x (/.f64 x (+.f64 x 1/3))))) 2)) (cbrt.f64 (log.f64 (*.f64 x (/.f64 x (+.f64 x 1/3))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 x (/.f64 x (+.f64 x 1/3)))))) (sqrt.f64 (log.f64 (*.f64 x (/.f64 x (+.f64 x 1/3))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 x (sqrt.f64 (+.f64 x 1/3))) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (/.f64 x (+.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (/.f64 x (+.f64 x 1/3))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 x (sqrt.f64 (+.f64 x 1/3))) 6))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 x 6) (pow.f64 (+.f64 x 1/3) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (/.f64 x (+.f64 x 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (/.f64 x (+.f64 x 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (/.f64 x (+.f64 x 1/3)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (/.f64 x (sqrt.f64 (+.f64 x 1/3))) 6)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (/.f64 x (+.f64 x 1/3))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 x (sqrt.f64 (+.f64 x 1/3)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (/.f64 x (+.f64 x 1/3)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 x) 2) (log.f64 (+.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (*.f64 2 (log.f64 x)) 1) (log.f64 (+.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 2 (log.f64 x)) (*.f64 (log.f64 (+.f64 x 1/3)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (log.f64 x) 2) (*.f64 (log.f64 (+.f64 x 1/3)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (*.f64 (*.f64 2 (log.f64 x)) 1) (*.f64 (log.f64 (+.f64 x 1/3)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 x) 1) (log.f64 (/.f64 x (+.f64 x 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (+.f64 x 1/3)) -1) (*.f64 2 (log.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (neg.f64 (log.f64 (+.f64 x 1/3))) 1) (*.f64 2 (log.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (neg.f64 (log.f64 (+.f64 x 1/3))) (*.f64 (log.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (+.f64 x 1/3)) -1) (*.f64 (log.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (neg.f64 (log.f64 (+.f64 x 1/3))) 1) (*.f64 (log.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (neg.f64 (log.f64 (+.f64 x 1/3))) (*.f64 (*.f64 2 (log.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (+.f64 x 1/3)) -1) (*.f64 (*.f64 2 (log.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (neg.f64 (log.f64 (+.f64 x 1/3))) 1) (*.f64 (*.f64 2 (log.f64 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 x) 2) (neg.f64 (log.f64 (+.f64 x 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (*.f64 2 (log.f64 x)) 1) (neg.f64 (log.f64 (+.f64 x 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 2 (log.f64 x)) (*.f64 (log.f64 (+.f64 x 1/3)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 x) 2) (*.f64 (log.f64 (+.f64 x 1/3)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (*.f64 2 (log.f64 x)) 1) (*.f64 (log.f64 (+.f64 x 1/3)) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 2 (log.f64 x)) (*.f64 (neg.f64 (log.f64 (+.f64 x 1/3))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 x) 2) (*.f64 (neg.f64 (log.f64 (+.f64 x 1/3))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (*.f64 2 (log.f64 x)) 1) (*.f64 (neg.f64 (log.f64 (+.f64 x 1/3))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (/.f64 x (+.f64 x 1/3))) (*.f64 (log.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (/.f64 x (+.f64 x 1/3)))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 -1/9 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 -1/9 (+.f64 x 1/3)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 -1/9 (+.f64 x 1/3))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 -1/9 (+.f64 x 1/3))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 -1/9 (+.f64 x 1/3))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 -1/9 (+.f64 x 1/3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x 1/3) -1/9))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1/9 (+.f64 x 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1/9 (+.f64 -1/3 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 -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 -1/9 (sqrt.f64 (+.f64 x 1/3))) (sqrt.f64 (+.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 -1/9 (+.f64 x 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (/.f64 -1/9 (+.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/81 (pow.f64 (+.f64 x 1/3) -2)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 -1/9 (+.f64 x 1/3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 -1/9 (+.f64 x 1/3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 -1/9 (+.f64 x 1/3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 x 1/3) -1/9) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (/.f64 -1/9 (+.f64 x 1/3)))) 2)) (cbrt.f64 (log.f64 (/.f64 -1/9 (+.f64 x 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (/.f64 -1/9 (+.f64 x 1/3))))) (sqrt.f64 (log.f64 (/.f64 -1/9 (+.f64 x 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/81 (pow.f64 (+.f64 x 1/3) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 -1/9 (+.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 -1/9 (+.f64 x 1/3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 -1/9 (+.f64 x 1/3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 -1/9 (+.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 -1/9 (+.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 -1/9 (+.f64 x 1/3))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (/.f64 -1/9 (+.f64 x 1/3)) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (/.f64 -1/9 (+.f64 x 1/3)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (/.f64 -1/9 (+.f64 x 1/3)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (/.f64 -1/9 (+.f64 x 1/3))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 -1/9 (+.f64 x 1/3))))))))

simplify33.0ms (1.3%)

Algorithm
egg-herbie
Rules
594×fma-def_binary64
444×fma-neg_binary64
443×times-frac_binary64
307×*-commutative_binary64
288×associate-*r/_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
059312
1156312
2402310
31153298
43287298
Stop Event
node limit
Counts
114 → 117
Calls
Call 1
Inputs
(*.f64 3 (pow.f64 x 2))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -9 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 -9 (pow.f64 x 3)) (*.f64 27 (pow.f64 x 4))))
(+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 -9 (pow.f64 x 3)) (+.f64 (*.f64 -81 (pow.f64 x 5)) (*.f64 27 (pow.f64 x 4)))))
x
(-.f64 x 1/3)
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 x)) x) 1/3)
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 x)) x) (+.f64 1/3 (*.f64 1/27 (/.f64 1 (pow.f64 x 2)))))
x
(-.f64 x 1/3)
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 x)) x) 1/3)
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 x)) x) (+.f64 1/3 (*.f64 1/27 (/.f64 1 (pow.f64 x 2)))))
-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
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -9 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -9 (pow.f64 x 3)))
(fma.f64 -9 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -9) 3))
(*.f64 x (*.f64 x (fma.f64 x -9 3)))
(*.f64 (*.f64 x x) (fma.f64 x -9 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 -9 (pow.f64 x 3)) (*.f64 27 (pow.f64 x 4))))
(fma.f64 3 (*.f64 x x) (fma.f64 -9 (pow.f64 x 3) (*.f64 27 (pow.f64 x 4))))
(fma.f64 27 (pow.f64 x 4) (*.f64 (*.f64 x x) (+.f64 (*.f64 x -9) 3)))
(fma.f64 (*.f64 x x) (fma.f64 x -9 3) (*.f64 27 (pow.f64 x 4)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 -9 (pow.f64 x 3)) (+.f64 (*.f64 -81 (pow.f64 x 5)) (*.f64 27 (pow.f64 x 4)))))
(fma.f64 3 (*.f64 x x) (fma.f64 -9 (pow.f64 x 3) (fma.f64 -81 (pow.f64 x 5) (*.f64 27 (pow.f64 x 4)))))
(fma.f64 3 (*.f64 x x) (fma.f64 -9 (pow.f64 x 3) (fma.f64 27 (pow.f64 x 4) (*.f64 -81 (pow.f64 x 5)))))
(fma.f64 (*.f64 x x) (fma.f64 x -9 3) (fma.f64 -81 (pow.f64 x 5) (*.f64 27 (pow.f64 x 4))))
(fma.f64 27 (pow.f64 x 4) (fma.f64 (*.f64 x x) (fma.f64 x -9 3) (*.f64 -81 (pow.f64 x 5))))
x
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 x)) x) 1/3)
(+.f64 (+.f64 x (/.f64 1/9 x)) -1/3)
(+.f64 x (-.f64 (/.f64 1/9 x) 1/3))
(+.f64 x (+.f64 (/.f64 1/9 x) -1/3))
(+.f64 x (-.f64 -1/3 (/.f64 -1/9 x)))
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 x)) x) (+.f64 1/3 (*.f64 1/27 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (+.f64 (+.f64 x (/.f64 1/9 x)) -1/3) (/.f64 1/27 (*.f64 x x)))
(+.f64 (/.f64 1/9 x) (-.f64 (+.f64 x -1/3) (/.f64 1/27 (*.f64 x x))))
(+.f64 x (+.f64 (/.f64 1/9 x) (-.f64 -1/3 (/.f64 1/27 (*.f64 x x)))))
(+.f64 x (-.f64 (/.f64 1/9 x) (-.f64 1/3 (/.f64 -1/27 (*.f64 x x)))))
(+.f64 x (-.f64 (-.f64 -1/3 (/.f64 1/27 (*.f64 x x))) (/.f64 -1/9 x)))
x
(-.f64 x 1/3)
(+.f64 x -1/3)
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 x)) x) 1/3)
(+.f64 (+.f64 x (/.f64 1/9 x)) -1/3)
(+.f64 x (-.f64 (/.f64 1/9 x) 1/3))
(+.f64 x (+.f64 (/.f64 1/9 x) -1/3))
(+.f64 x (-.f64 -1/3 (/.f64 -1/9 x)))
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 x)) x) (+.f64 1/3 (*.f64 1/27 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (+.f64 (+.f64 x (/.f64 1/9 x)) -1/3) (/.f64 1/27 (*.f64 x x)))
(+.f64 (/.f64 1/9 x) (-.f64 (+.f64 x -1/3) (/.f64 1/27 (*.f64 x x))))
(+.f64 x (+.f64 (/.f64 1/9 x) (-.f64 -1/3 (/.f64 1/27 (*.f64 x x)))))
(+.f64 x (-.f64 (/.f64 1/9 x) (-.f64 1/3 (/.f64 -1/27 (*.f64 x x)))))
(+.f64 x (-.f64 (-.f64 -1/3 (/.f64 1/27 (*.f64 x x))) (/.f64 -1/9 x)))
-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 (fma.f64 (*.f64 x x) -3 x) -1/3)
(+.f64 x (fma.f64 (*.f64 x x) -3 -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 (*.f64 x x) -3 (fma.f64 (pow.f64 x 3) 9 x)) -1/3)
(+.f64 (fma.f64 (*.f64 x x) -3 x) (fma.f64 (pow.f64 x 3) 9 -1/3))
(+.f64 x (fma.f64 (*.f64 x x) (fma.f64 x 9 -3) -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 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 1/27 (*.f64 x x)) (/.f64 -1/9 x)) (/.f64 1/81 (pow.f64 x 3)))
(+.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 -1/9 x) (/.f64 -1/81 (pow.f64 x 3))))
(-.f64 (/.f64 -1/9 x) (*.f64 (/.f64 1 (*.f64 x x)) (-.f64 (/.f64 1/81 x) 1/27)))
(-.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 1/243 (pow.f64 x 4)) (-.f64 (+.f64 (/.f64 1/27 (*.f64 x x)) (/.f64 -1/9 x)) (/.f64 1/81 (pow.f64 x 3))))
(+.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 1/27 (*.f64 x x)) (-.f64 (+.f64 (/.f64 1/243 (pow.f64 x 4)) (/.f64 -1/9 x)) (/.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 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 1/27 (*.f64 x x)) (/.f64 -1/9 x)) (/.f64 1/81 (pow.f64 x 3)))
(+.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 -1/9 x) (/.f64 -1/81 (pow.f64 x 3))))
(-.f64 (/.f64 -1/9 x) (*.f64 (/.f64 1 (*.f64 x x)) (-.f64 (/.f64 1/81 x) 1/27)))
(-.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 1/243 (pow.f64 x 4)) (-.f64 (+.f64 (/.f64 1/27 (*.f64 x x)) (/.f64 -1/9 x)) (/.f64 1/81 (pow.f64 x 3))))
(+.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 1/27 (*.f64 x x)) (-.f64 (+.f64 (/.f64 1/243 (pow.f64 x 4)) (/.f64 -1/9 x)) (/.f64 1/81 (pow.f64 x 3))))

eval230.0ms (8.9%)

Compiler

Compiled 8366 to 6498 computations (22.3% saved)

prune61.0ms (2.3%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New5602562
Fresh112
Picked101
Done134
Total5636569
Error
0b
Counts
569 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
31.5b
-1/3
0.0b
(-.f64 x 1/3)
0.5b
(-.f64 (+.f64 x 2/3) 1)
31.3b
x
15.8b
(/.f64 1 (/.f64 (+.f64 x 1/3) (-.f64 (*.f64 x x) 1/9)))
31.7b
(/.f64 1 (-.f64 (*.f64 -9 x) 3))
Compiler

Compiled 34 to 27 computations (20.6% saved)

localize5.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

Compiled 12 to 9 computations (25% saved)

series1.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite40.0ms (1.5%)

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
218028
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 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 expm1.f64 (log.f64 (+.f64 x 2/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 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 (log.f64 (+.f64 x 5/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)))))

simplify8.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)

eval19.0ms (0.7%)

Compiler

Compiled 758 to 602 computations (20.6% saved)

prune11.0ms (0.4%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New80080
Fresh022
Picked011
Done033
Total80686
Error
0b
Counts
86 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
31.5b
-1/3
0.0b
(-.f64 x 1/3)
0.5b
(-.f64 (+.f64 x 2/3) 1)
31.3b
x
15.8b
(/.f64 1 (/.f64 (+.f64 x 1/3) (-.f64 (*.f64 x x) 1/9)))
31.7b
(/.f64 1 (-.f64 (*.f64 -9 x) 3))
Compiler

Compiled 34 to 27 computations (20.6% saved)

regimes6.0ms (0.2%)

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

1 calls:

4.0ms
x
Results
ErrorSegmentsBranch
0.0b1x
Compiler

Compiled 31 to 23 computations (25.8% saved)

regimes9.0ms (0.4%)

Accuracy

Total -60.5b remaining (-5103.1%)

Threshold costs -60.5b (-5103.1%)

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

1 calls:

9.0ms
x
Results
ErrorSegmentsBranch
1.2b3x
Compiler

Compiled 5 to 3 computations (40% saved)

bsearch25.0ms (1%)

Algorithm
binary-search
Steps
TimeLeftRight
13.0ms
0.0029421815227809534
1888.8247890618795
13.0ms
-251682915.918413
-0.0057880256772278186
Compiler

Compiled 10 to 8 computations (20% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01220
11420
21520
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 x 1/3)
(if (<=.f64 x -8445077287746107/33554432) x (if (<=.f64 x 3392104348071081/1152921504606846976) -1/3 x))
x
Outputs
(-.f64 x 1/3)
(+.f64 x -1/3)
(if (<=.f64 x -8445077287746107/33554432) x (if (<=.f64 x 3392104348071081/1152921504606846976) -1/3 x))
x

end22.0ms (0.8%)

Stop Event
fuel
Compiler

Compiled 34 to 22 computations (35.3% saved)

Profiling

Loading profile data...