Details

Time bar (total: 4.0s)

analyze5.0ms (0.1%)

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

Compiled 7 to 6 computations (14.3% saved)

sample896.0ms (22.2%)

Results
859.0ms8256×body256valid
Bogosity

preprocess16.0ms (0.4%)

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)

simplify7.0ms (0.2%)

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)

eval8.0ms (0.2%)

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 1 expressions with local error:

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

Compiled 6 to 4 computations (33.3% saved)

series1.0ms (0%)

Counts
1 → 12
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)

rewrite63.0ms (1.6%)

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

Useful iterations: 0 (0.0ms)

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

simplify15.0ms (0.4%)

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

Useful iterations: 0 (0.0ms)

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

eval24.0ms (0.6%)

Compiler

Compiled 268 to 198 computations (26.1% saved)

prune11.0ms (0.3%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New30434
Fresh000
Picked011
Done000
Total30535
Error
0b
Counts
35 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0.5b
(-.f64 (+.f64 1 (+.f64 x -1/3)) 1)
29.8b
x
33.1b
-1/3
17.1b
(*.f64 (fma.f64 x x -1/9) (/.f64 1 (+.f64 x 1/3)))
0.0b
(+.f64 x -1/3)
Compiler

Compiled 27 to 21 computations (22.2% saved)

localize30.0ms (0.7%)

Local error

Found 3 expressions with local error:

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

Compiled 27 to 19 computations (29.6% saved)

series8.0ms (0.2%)

Counts
3 → 36
Calls

9 calls:

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

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

simplify89.0ms (2.2%)

Algorithm
egg-herbie
Rules
758×distribute-neg-frac_binary64
723×associate-*l*_binary64
718×fma-def_binary64
494×associate-*r*_binary64
415×times-frac_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
038259
198255
2237255
3642249
41924246
57280246
Stop Event
node limit
Counts
125 → 108
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)))))
1/3
(+.f64 1/3 x)
(+.f64 1/3 x)
(+.f64 1/3 x)
x
(+.f64 1/3 x)
(+.f64 1/3 x)
(+.f64 1/3 x)
x
(+.f64 1/3 x)
(+.f64 1/3 x)
(+.f64 1/3 x)
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 x -9 (fma.f64 x (*.f64 x 27) (fma.f64 -81 (pow.f64 x 3) 3)))
(fma.f64 x -9 (fma.f64 (*.f64 x x) (fma.f64 x -81 27) 3))
(fma.f64 x (fma.f64 x (fma.f64 x -81 27) -9) 3)
(/.f64 1 x)
(-.f64 (/.f64 1 x) (*.f64 1/3 (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1 x) (/.f64 1/3 (*.f64 x x)))
(+.f64 (/.f64 1 x) (/.f64 -1/3 (*.f64 x x)))
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (*.f64 1/3 (/.f64 1 (pow.f64 x 2))))
(+.f64 (/.f64 1/9 (pow.f64 x 3)) (-.f64 (/.f64 1 x) (/.f64 1/3 (*.f64 x x))))
(+.f64 (/.f64 1 x) (-.f64 (/.f64 1/9 (pow.f64 x 3)) (/.f64 1/3 (*.f64 x x))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1/9 (pow.f64 x 3)) (/.f64 -1/3 (*.f64 x x))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1/9 (pow.f64 x 3))) (/.f64 -1/3 (*.f64 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 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 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 (/.f64 1 x) (/.f64 -1/27 (pow.f64 x 4))) (-.f64 (/.f64 (/.f64 1/3 x) x) (/.f64 1/9 (pow.f64 x 3))))
(+.f64 (/.f64 1/9 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 -1/3 (*.f64 x x)) (/.f64 -1/27 (pow.f64 x 4)))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1/9 (pow.f64 x 3)) (+.f64 (/.f64 -1/3 (*.f64 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 (*.f64 1/9 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)) (*.f64 1/3 (/.f64 1 (pow.f64 x 2))))
(+.f64 (/.f64 1/9 (pow.f64 x 3)) (-.f64 (/.f64 1 x) (/.f64 1/3 (*.f64 x x))))
(+.f64 (/.f64 1 x) (-.f64 (/.f64 1/9 (pow.f64 x 3)) (/.f64 1/3 (*.f64 x x))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1/9 (pow.f64 x 3)) (/.f64 -1/3 (*.f64 x x))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1/9 (pow.f64 x 3))) (/.f64 -1/3 (*.f64 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 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 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 (/.f64 1 x) (/.f64 -1/27 (pow.f64 x 4))) (-.f64 (/.f64 (/.f64 1/3 x) x) (/.f64 1/9 (pow.f64 x 3))))
(+.f64 (/.f64 1/9 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (+.f64 (/.f64 -1/3 (*.f64 x x)) (/.f64 -1/27 (pow.f64 x 4)))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1/9 (pow.f64 x 3)) (+.f64 (/.f64 -1/3 (*.f64 x x)) (/.f64 -1/27 (pow.f64 x 4)))))
1/3
(+.f64 1/3 x)
(+.f64 x 1/3)
(+.f64 1/3 x)
(+.f64 x 1/3)
(+.f64 1/3 x)
(+.f64 x 1/3)
x
(+.f64 1/3 x)
(+.f64 x 1/3)
(+.f64 1/3 x)
(+.f64 x 1/3)
(+.f64 1/3 x)
(+.f64 x 1/3)
x
(+.f64 1/3 x)
(+.f64 x 1/3)
(+.f64 1/3 x)
(+.f64 x 1/3)
(+.f64 1/3 x)
(+.f64 x 1/3)

localize18.0ms (0.4%)

Local error

Found 3 expressions with local error:

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

Compiled 19 to 15 computations (21.1% saved)

series3.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

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

simplify25.0ms (0.6%)

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

Useful iterations: 0 (0.0ms)

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

eval144.0ms (3.6%)

Compiler

Compiled 2835 to 2198 computations (22.5% saved)

prune58.0ms (1.4%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2334237
Fresh202
Picked101
Done112
Total2375242
Error
0b
Counts
242 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
33.1b
-1/3
0.5b
(-.f64 (+.f64 x 2/3) 1)
17.1b
(+.f64 (*.f64 (/.f64 1 (+.f64 x 1/3)) (*.f64 x x)) (*.f64 (/.f64 1 (+.f64 x 1/3)) -1/9))
29.8b
x
0.0b
(+.f64 x -1/3)
Compiler

Compiled 32 to 25 computations (21.9% saved)

localize39.0ms (1%)

Local error

Found 4 expressions with local error:

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

Compiled 49 to 34 computations (30.6% saved)

series5.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite119.0ms (3%)

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
2262617
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) (cbrt.f64 (pow.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 expm1.f64 (log1p.f64 (*.f64 x (/.f64 x (+.f64 x 1/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 +.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 (cbrt.f64 (pow.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 expm1.f64 (log1p.f64 (/.f64 -1/9 (+.f64 x 1/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 (*.f64 3 (log.f64 (/.f64 -1/9 (+.f64 x 1/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))))))

simplify100.0ms (2.5%)

Algorithm
egg-herbie
Rules
593×fma-def_binary64
447×fma-neg_binary64
443×times-frac_binary64
285×associate-/l/_binary64
281×associate-*r/_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
059312
1156312
2402310
31157298
43396298
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 3 (*.f64 x -9)))
(*.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 3 (*.f64 x -9))))
(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 x (*.f64 x (fma.f64 x -9 3)) (fma.f64 -81 (pow.f64 x 5) (*.f64 27 (pow.f64 x 4))))
(fma.f64 (*.f64 x x) (fma.f64 x -9 3) (fma.f64 27 (pow.f64 x 4) (*.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 (+.f64 x -1/3) (/.f64 1/9 x))
(+.f64 x (+.f64 (/.f64 1/9 x) -1/3))
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 x)) x) (+.f64 1/3 (*.f64 1/27 (/.f64 1 (pow.f64 x 2)))))
(+.f64 (/.f64 1/9 x) (-.f64 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 (/.f64 1/9 x) (+.f64 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 -1/3 (-.f64 (-.f64 x (/.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 (+.f64 x -1/3) (/.f64 1/9 x))
(+.f64 x (+.f64 (/.f64 1/9 x) -1/3))
(-.f64 (+.f64 (*.f64 1/9 (/.f64 1 x)) x) (+.f64 1/3 (*.f64 1/27 (/.f64 1 (pow.f64 x 2)))))
(+.f64 (/.f64 1/9 x) (-.f64 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 (/.f64 1/9 x) (+.f64 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 -1/3 (-.f64 (-.f64 x (/.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 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 (*.f64 x x) -3 (fma.f64 (pow.f64 x 3) 9 x)) -1/3)
(+.f64 (fma.f64 x (*.f64 x -3) x) (fma.f64 (pow.f64 x 3) 9 -1/3))
(fma.f64 (*.f64 x x) (fma.f64 x 9 -3) (+.f64 x -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/81 (pow.f64 x 3))) (/.f64 -1/9 x))
(+.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 -1/9 x) (/.f64 -1/81 (pow.f64 x 3))))
(+.f64 (/.f64 -1/9 x) (-.f64 (/.f64 1/27 (*.f64 x x)) (/.f64 1/81 (pow.f64 x 3))))
(+.f64 (+.f64 (/.f64 1/27 (*.f64 x x)) (/.f64 -1/9 x)) (/.f64 -1/81 (pow.f64 x 3)))
(-.f64 (+.f64 (*.f64 1/243 (/.f64 1 (pow.f64 x 4))) (*.f64 1/27 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 1/81 (/.f64 1 (pow.f64 x 3))) (*.f64 1/9 (/.f64 1 x))))
(+.f64 (/.f64 1/243 (pow.f64 x 4)) (-.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 1/9 x) (/.f64 1/81 (pow.f64 x 3)))))
(+.f64 (+.f64 (/.f64 1/27 (*.f64 x x)) (-.f64 (/.f64 1/243 (pow.f64 x 4)) (/.f64 1/81 (pow.f64 x 3)))) (/.f64 -1/9 x))
(+.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 1/243 (pow.f64 x 4)) (+.f64 (/.f64 -1/9 x) (/.f64 -1/81 (pow.f64 x 3)))))
(+.f64 (/.f64 1/27 (*.f64 x x)) (-.f64 (+.f64 (/.f64 1/243 (pow.f64 x 4)) (/.f64 -1/9 x)) (/.f64 1/81 (pow.f64 x 3))))
(+.f64 (+.f64 (/.f64 1/27 (*.f64 x x)) (/.f64 -1/9 x)) (+.f64 (/.f64 1/243 (pow.f64 x 4)) (/.f64 -1/81 (pow.f64 x 3))))
(/.f64 -1/9 x)
(-.f64 (*.f64 1/27 (/.f64 1 (pow.f64 x 2))) (*.f64 1/9 (/.f64 1 x)))
(-.f64 (/.f64 1/27 (*.f64 x x)) (/.f64 1/9 x))
(+.f64 (/.f64 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/81 (pow.f64 x 3))) (/.f64 -1/9 x))
(+.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 -1/9 x) (/.f64 -1/81 (pow.f64 x 3))))
(+.f64 (/.f64 -1/9 x) (-.f64 (/.f64 1/27 (*.f64 x x)) (/.f64 1/81 (pow.f64 x 3))))
(+.f64 (+.f64 (/.f64 1/27 (*.f64 x x)) (/.f64 -1/9 x)) (/.f64 -1/81 (pow.f64 x 3)))
(-.f64 (+.f64 (*.f64 1/243 (/.f64 1 (pow.f64 x 4))) (*.f64 1/27 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 1/81 (/.f64 1 (pow.f64 x 3))) (*.f64 1/9 (/.f64 1 x))))
(+.f64 (/.f64 1/243 (pow.f64 x 4)) (-.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 1/9 x) (/.f64 1/81 (pow.f64 x 3)))))
(+.f64 (+.f64 (/.f64 1/27 (*.f64 x x)) (-.f64 (/.f64 1/243 (pow.f64 x 4)) (/.f64 1/81 (pow.f64 x 3)))) (/.f64 -1/9 x))
(+.f64 (/.f64 1/27 (*.f64 x x)) (+.f64 (/.f64 1/243 (pow.f64 x 4)) (+.f64 (/.f64 -1/9 x) (/.f64 -1/81 (pow.f64 x 3)))))
(+.f64 (/.f64 1/27 (*.f64 x x)) (-.f64 (+.f64 (/.f64 1/243 (pow.f64 x 4)) (/.f64 -1/9 x)) (/.f64 1/81 (pow.f64 x 3))))
(+.f64 (+.f64 (/.f64 1/27 (*.f64 x x)) (/.f64 -1/9 x)) (+.f64 (/.f64 1/243 (pow.f64 x 4)) (/.f64 -1/81 (pow.f64 x 3))))

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

Compiled 12 to 9 computations (25% saved)

series3.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite105.0ms (2.6%)

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

Useful iterations: 0 (0.0ms)

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

simplify22.0ms (0.5%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0778
11078
21178
Stop Event
saturated
Counts
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)

eval356.0ms (8.8%)

Compiler

Compiled 6341 to 4728 computations (25.4% saved)

prune248.0ms (6.1%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New3432345
Fresh112
Picked011
Done112
Total3455350
Error
0b
Counts
350 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0.5b
(-.f64 (+.f64 x 2/3) 1)
29.8b
x
33.1b
-1/3
33.1b
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (/.f64 1 (+.f64 x 1/3)) -1/9))
0.0b
(+.f64 x -1/3)
Compiler

Compiled 28 to 22 computations (21.4% saved)

localize49.0ms (1.2%)

Local error

Found 4 expressions with local error:

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

Compiled 42 to 29 computations (31% saved)

series4.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
3.0ms
x
@inf
(*.f64 3 (*.f64 x x))
1.0ms
x
@0
(*.f64 3 (*.f64 x x))
1.0ms
x
@-inf
(*.f64 3 (*.f64 x x))

rewrite62.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
432×pow1_binary64
419×add-sqr-sqrt_binary64
411×*-un-lft-identity_binary64
400×add-log-exp_binary64
400×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify204.0ms (5.1%)

Algorithm
egg-herbie
Rules
1082×sqr-pow_binary64
617×cube-prod_binary64
556×fabs-mul_binary64
523×pow-sqr_binary64
446×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0684
11284
22384
34484
410484
531884
6126884
7214084
8230484
9248884
10269684
11299184
12338284
13386384
14443184
15512384
16595884
17635084
18664084
19691884
20698884
21702484
22796584
Stop Event
node limit
Counts
26 → 16
Calls
Call 1
Inputs
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
Outputs
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))

eval455.0ms (11.3%)

Compiler

Compiled 2286 to 1652 computations (27.7% saved)

prune39.0ms (1%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1320132
Fresh022
Picked011
Done022
Total1325137
Error
0b
Counts
137 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0.5b
(-.f64 (+.f64 x 2/3) 1)
29.8b
x
33.1b
-1/3
33.1b
(+.f64 (*.f64 3 (*.f64 x x)) (*.f64 (/.f64 1 (+.f64 x 1/3)) -1/9))
0.0b
(+.f64 x -1/3)
Compiler

Compiled 28 to 22 computations (21.4% saved)

regimes46.0ms (1.1%)

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

3 calls:

16.0ms
x
13.0ms
(-.f64 x (/.f64 1 3))
11.0ms
(-.f64 x (/.f64 1 3))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(-.f64 x (/.f64 1 3))
0.0b1(-.f64 x (/.f64 1 3))
Compiler

Compiled 80 to 59 computations (26.3% saved)

regimes73.0ms (1.8%)

Accuracy

Total -60.8b remaining (-5748.2%)

Threshold costs -60.8b (-5748.2%)

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

1 calls:

71.0ms
x
Results
ErrorSegmentsBranch
1.1b3x
Compiler

Compiled 8 to 4 computations (50% saved)

bsearch49.0ms (1.2%)

Algorithm
binary-search
Steps
TimeLeftRight
21.0ms
1.9528963858121105e-8
1.521228129001963
27.0ms
-4279664386679.3286
-4.217355735732614e-10
Compiler

Compiled 10 to 8 computations (20% saved)

simplify7.0ms (0.2%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01120
11220
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(+.f64 x -1/3)
(if (<=.f64 x -8764752663919265/2048) x (if (<=.f64 x 2951133579800441/151115727451828646838272) -1/3 x))
x
Outputs
(+.f64 x -1/3)
(if (<=.f64 x -8764752663919265/2048) x (if (<=.f64 x 2951133579800441/151115727451828646838272) -1/3 x))
x
Compiler

Compiled 18 to 12 computations (33.3% saved)

soundness314.0ms (7.8%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
074
1124
2134
Stop Event
saturated
Compiler

Compiled 22 to 18 computations (18.2% saved)

end44.0ms (1.1%)

Compiler

Compiled 16 to 10 computations (37.5% saved)

Profiling

Loading profile data...