Details

Time bar (total: 1.0s)

analyze5.0ms (0.5%)

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)

sample649.0ms (61.9%)

Results
633.0ms8256×body128valid
Compiler

Compiled 14 to 12 computations (14.3% saved)

preprocess16.0ms (1.5%)

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)

simplify5.0ms (0.5%)

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)

prune2.0ms (0.2%)

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)

localize2.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite32.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 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)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x 1/3)))))))

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

prune23.0ms (2.2%)

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)
23.8b
(/.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)

localize8.0ms (0.8%)

Local error

Found 4 expressions with local error:

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

series6.0ms (0.5%)

Counts
4 → 39
Calls

12 calls:

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

rewrite62.0ms (5.9%)

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
01238
127438
2341338
Stop Event
node limit
Counts
4 → 109
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))
(+.f64 1/27 (pow.f64 x 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 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 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 -.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 expm1.f64 (log1p.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 +.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 expm1.f64 (log1p.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 -.f64 (exp.f64 (log1p.f64 (+.f64 1/27 (pow.f64 x 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1/729 (-.f64 1/27 (pow.f64 x 3))) (/.f64 (pow.f64 x 6) (-.f64 1/27 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1/27 (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1/27 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1/27 (pow.f64 x 3))) (pow.f64 (cbrt.f64 (+.f64 1/27 (pow.f64 x 3))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1/27 (pow.f64 x 3))) 2) (cbrt.f64 (+.f64 1/27 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1/27 (pow.f64 x 3))) (sqrt.f64 (+.f64 1/27 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1/19683 (pow.f64 x 9)) (/.f64 1 (-.f64 (+.f64 1/729 (pow.f64 x 6)) (pow.f64 (*.f64 x 1/3) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1/729 (pow.f64 x 6)) (/.f64 1 (-.f64 1/27 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (+.f64 1/729 (pow.f64 x 6)) (pow.f64 (*.f64 x 1/3) 3)) (+.f64 1/19683 (pow.f64 x 9))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1/27 (pow.f64 x 3)) (-.f64 1/729 (pow.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1/19683 (pow.f64 x 9)) (-.f64 (+.f64 1/729 (pow.f64 x 6)) (pow.f64 (*.f64 x 1/3) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1/19683 (pow.f64 x 9)) (+.f64 (pow.f64 x 6) (-.f64 1/729 (pow.f64 (*.f64 x 1/3) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1/729 (pow.f64 x 6)) (-.f64 1/27 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1/19683 (pow.f64 x 9))) (neg.f64 (-.f64 (+.f64 1/729 (pow.f64 x 6)) (pow.f64 (*.f64 x 1/3) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1/729 (pow.f64 x 6))) (neg.f64 (-.f64 1/27 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 6) 1/729) (-.f64 (pow.f64 x 3) 1/27))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1/27 (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1/27 (pow.f64 x 3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 1/27 (pow.f64 x 3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 1/27 (pow.f64 x 3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 1/27 (pow.f64 x 3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 1/27 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 1/27 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 1/27 (pow.f64 x 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 1/27 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 x x) 1/27)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 x 3) 1/27)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) x 1/27)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3/2) (pow.f64 x 3/2) 1/27)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 1/27 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 1/27 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 1/27 (pow.f64 x 3))) 1))))))

simplify77.0ms (7.3%)

Algorithm
egg-herbie
Rules
733×sqr-pow_binary64
370×cube-prod_binary64
362×unswap-sqr_binary64
313×pow-sqr_binary64
223×fabs-mul_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
012168
127168
241150
363150
498150
5193150
6583150
71261150
81368150
91601150
101759150
111987150
122309150
132730150
143230150
153825150
164547150
174872150
Stop Event
node limit
Counts
148 → 120
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))
1/27
(pow.f64 x 3)
(pow.f64 x 3)
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)
1/27
(pow.f64 x 3)
(pow.f64 x 3)

prune81.0ms (7.7%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1200120
Fresh000
Picked011
Done011
Total1202122
Error
0b
Counts
122 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 x 1/3)
23.8b
(/.f64 (+.f64 1/27 (pow.f64 x 3)) (fma.f64 x x (-.f64 1/9 (*.f64 x 1/3))))
Compiler

Compiled 2318 to 1751 computations (24.5% saved)

regimes34.0ms (3.3%)

Accuracy

Total 0.0b remaining (67%)

Threshold costs 0.0b (67%)

Counts
17 → 1
Compiler

Compiled 148 to 108 computations (27% saved)

simplify2.0ms (0.2%)

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)

end37.0ms (3.6%)

Stop Event
done
Compiler

Compiled 27 to 20 computations (25.9% saved)

Profiling

Loading profile data...