Details

Time bar (total: 2.2s)

analyze6.0ms (0.3%)

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
99.9%0%0%13
99.9%0%0%14
Compiler

Compiled 7 to 6 computations (14.3% saved)

sample1.5s (69%)

Results
1.5s8256×body128valid
Compiler

Compiled 14 to 12 computations (14.3% saved)

preprocess43.0ms (2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
074
1104
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 6 to 5 computations (16.7% saved)

simplify42.0ms (1.9%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
074
1104
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)

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(+.f64 x 1/3)
Compiler

Compiled 17 to 13 computations (23.5% saved)

localize3.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite67.0ms (3.1%)

Algorithm
batch-egg-rewrite
Rules
473×pow1_binary64
446×add-log-exp_binary64
446×log1p-expm1-u_binary64
446×expm1-log1p-u_binary64
439×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
044
1914
211494
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 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 expm1.f64 (log1p.f64 (+.f64 x 1/3)))))))

simplify15.0ms (0.7%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0439
1539
Stop Event
saturated
Counts
42 → 33
Calls
Call 1
Inputs
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 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)

prune40.0ms (1.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New32133
Fresh000
Picked011
Done000
Total32234
Error
0b
Counts
34 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 x 1/3)
20.1b
(/.f64 (+.f64 1/27 (pow.f64 x 3)) (fma.f64 x x (-.f64 1/9 (*.f64 x 1/3))))
Compiler

Compiled 299 to 221 computations (26.1% saved)

localize20.0ms (0.9%)

Local error

Found 3 expressions with local error:

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

series12.0ms (0.6%)

Counts
3 → 36
Calls

9 calls:

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

rewrite104.0ms (4.8%)

Algorithm
batch-egg-rewrite
Rules
385×prod-diff_binary64
224×expm1-udef_binary64
224×log1p-udef_binary64
131×add-sqr-sqrt_binary64
125×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify37.0ms (1.7%)

Algorithm
egg-herbie
Rules
16×fma-def_binary64
11×sub-neg_binary64
+-commutative_binary64
*-commutative_binary64
associate-+l-_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
09159
116159
225141
338141
452141
569141
687141
7102141
8114141
9122141
Stop Event
saturated
Counts
112 → 85
Calls
Call 1
Inputs
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)
(*.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))
Outputs
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)
(*.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)

prune136.0ms (6.3%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New85085
Fresh000
Picked011
Done011
Total85287
Error
0b
Counts
87 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 x 1/3)
20.1b
(/.f64 (+.f64 1/27 (pow.f64 x 3)) (fma.f64 x x (-.f64 1/9 (*.f64 x 1/3))))
Compiler

Compiled 1644 to 1243 computations (24.4% saved)

regimes58.0ms (2.7%)

Accuracy

Total 0.0b remaining (68.9%)

Threshold costs 0.0b (68.9%)

Counts
11 → 1
Compiler

Compiled 224 to 173 computations (22.8% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
044
154
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 x 1/3)
Outputs
(+.f64 x 1/3)

end80.0ms (3.7%)

Stop Event
done
Compiler

Compiled 27 to 20 computations (25.9% saved)

Profiling

Loading profile data...