Details

Time bar (total: 1.6s)

analyze4.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
75%12.5%12.5%5
75%6.2%18.8%6
75%3.1%21.9%7
75%1.6%23.5%8
75%0.8%24.3%9
75%0.4%24.6%10
75%0.2%24.8%11
75%0.1%24.9%12
75%0%25%13
75%0%25%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample859.0ms (55.4%)

Results
846.0ms8256×body128valid

preprocess20.0ms (1.3%)

Algorithm
egg-herbie
Rules
fma-neg_binary64
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
associate-/l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
078
1158
2218
3248
4268
5278
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(/.f64 (-.f64 (*.f64 x x) 3) 6)
Outputs
(/.f64 (-.f64 (*.f64 x x) 3) 6)
(/.f64 (fma.f64 x x -3) 6)
(fma.f64 (/.f64 x 6) x -1/2)
Compiler

Compiled 8 to 6 computations (25% saved)

simplify9.0ms (0.5%)

Algorithm
egg-herbie
Rules
fma-neg_binary64
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
associate-/l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
078
1158
2218
3248
4268
5278
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(/.f64 (-.f64 (*.f64 x x) 3) 6)
Outputs
(/.f64 (-.f64 (*.f64 x x) 3) 6)
(/.f64 (fma.f64 x x -3) 6)
(fma.f64 (/.f64 x 6) x -1/2)

prune3.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.1b
(fma.f64 (/.f64 x 6) x -1/2)
0.1b
(/.f64 (-.f64 (*.f64 x x) 3) 6)
Compiler

Compiled 44 to 32 computations (27.3% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 (/.f64 x 6) x -1/2)

series3.0ms (0.2%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(fma.f64 (/.f64 x 6) x -1/2)
1.0ms
x
@-inf
(fma.f64 (/.f64 x 6) x -1/2)
1.0ms
x
@0
(fma.f64 (/.f64 x 6) x -1/2)

rewrite35.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
586×pow1_binary64
553×add-log-exp_binary64
553×log1p-expm1-u_binary64
553×expm1-log1p-u_binary64
544×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11308
214798
Stop Event
node limit
Counts
1 → 21
Calls
Call 1
Inputs
(fma.f64 (/.f64 x 6) x -1/2)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 -1/2 (/.f64 x (/.f64 6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 x (/.f64 6 x)) -1/2)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (/.f64 x (/.f64 6 x)) 1) -1/2)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 (/.f64 x 6) x -1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (/.f64 x 6) x -1/2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (/.f64 x 6) x -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (/.f64 x 6) x -1/2)) (cbrt.f64 (pow.f64 (fma.f64 (/.f64 x 6) x -1/2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 (/.f64 x 6) x -1/2) 2)) (cbrt.f64 (fma.f64 (/.f64 x 6) x -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (/.f64 x 6) x -1/2)) (sqrt.f64 (fma.f64 (/.f64 x 6) x -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (/.f64 x (/.f64 6 x)) 3) -1/8) (+.f64 (*.f64 (/.f64 x (/.f64 6 x)) (/.f64 x (/.f64 6 x))) (-.f64 1/4 (*.f64 (/.f64 x (/.f64 6 x)) -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (/.f64 x (/.f64 6 x)) (/.f64 x (/.f64 6 x))) 1/4) (-.f64 (/.f64 x (/.f64 6 x)) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (/.f64 x 6) x -1/2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (/.f64 x 6) x -1/2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (/.f64 x 6) x -1/2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (/.f64 x 6) x -1/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (/.f64 x 6) x -1/2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (/.f64 x 6) x -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (/.f64 x 6) x -1/2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (/.f64 x 6) x -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (/.f64 x 6) x -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (/.f64 x 6) x -1/2)))))))

simplify59.0ms (3.8%)

Algorithm
egg-herbie
Rules
608×sqr-pow_binary64
441×associate-*l*_binary64
434×unswap-sqr_binary64
281×cube-prod_binary64
276×fabs-mul_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0987
11887
23087
35487
411787
534687
6121187
7210887
8227287
9245687
10266487
11295887
12335187
13382987
14439087
Stop Event
node limit
Counts
33 → 26
Calls
Call 1
Inputs
-1/2
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(*.f64 1/6 (pow.f64 x 2))
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(*.f64 1/6 (pow.f64 x 2))
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
Outputs
-1/2
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (*.f64 x x))
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (*.f64 x x))
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)

prune38.0ms (2.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New24226
Fresh011
Picked011
Done000
Total24428
Error
0.0b
Counts
28 → 4
Alt Table
StatusErrorProgram
0.1b
(+.f64 -1/2 (/.f64 x (/.f64 6 x)))
0.1b
(fma.f64 1/6 (*.f64 x x) -1/2)
0.1b
(fma.f64 (/.f64 x 6) x -1/2)
0.1b
(/.f64 (-.f64 (*.f64 x x) 3) 6)
Compiler

Compiled 314 to 235 computations (25.2% saved)

localize4.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(/.f64 x (/.f64 6 x))

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@0
(/.f64 x (/.f64 6 x))
1.0ms
x
@inf
(/.f64 x (/.f64 6 x))
0.0ms
x
@-inf
(/.f64 x (/.f64 6 x))

rewrite64.0ms (4.1%)

Algorithm
batch-egg-rewrite
Rules
579×pow1_binary64
546×add-log-exp_binary64
546×log1p-expm1-u_binary64
546×expm1-log1p-u_binary64
535×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
11137
215027
Stop Event
node limit
Counts
1 → 39
Calls
Call 1
Inputs
(/.f64 x (/.f64 6 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (*.f64 x 1/6))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 x 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (*.f64 x 1/6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (*.f64 x 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (*.f64 x 1/6))) (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x 1/6))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x 1/6))) 2) (cbrt.f64 (*.f64 x (*.f64 x 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (*.f64 x 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (*.f64 x 1/6))) (sqrt.f64 (*.f64 x (*.f64 x 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (*.f64 x 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 x) (/.f64 1 (/.f64 -6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x 1/6) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/6 (/.f64 x (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) 6) (/.f64 (cbrt.f64 x) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) 6) (/.f64 (sqrt.f64 x) (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) 1) (/.f64 (cbrt.f64 x) (/.f64 6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (/.f64 6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (pow.f64 (/.f64 6 x) 2))) (/.f64 x (cbrt.f64 (/.f64 6 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 (pow.f64 (/.f64 6 x) 2))) (cbrt.f64 (*.f64 x (*.f64 x 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (cbrt.f64 (pow.f64 (/.f64 6 x) 2))) (/.f64 (sqrt.f64 x) (cbrt.f64 (/.f64 6 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (/.f64 6 x))) (/.f64 x (sqrt.f64 (/.f64 6 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 (/.f64 6 x))) (/.f64 (cbrt.f64 x) (sqrt.f64 (/.f64 6 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x 1) (*.f64 x 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x -6) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x 1/6) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x 1/6) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x 1/6) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x 1/6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 x 1/6)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 x 1/6))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (*.f64 x 1/6))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 6 (*.f64 x x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 x (/.f64 -6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (*.f64 x 1/6)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (*.f64 x 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (*.f64 x 1/6)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 x 3) (pow.f64 (/.f64 6 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 x 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 x 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 x 1/6))))))))

simplify64.0ms (4.1%)

Algorithm
egg-herbie
Rules
607×sqr-pow_binary64
445×associate-*l*_binary64
434×unswap-sqr_binary64
281×cube-prod_binary64
273×fabs-mul_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0684
11284
22384
34484
410784
533684
6123784
7211384
8227784
9246184
10266984
11296084
12335384
13383384
14439684
Stop Event
node limit
Counts
51 → 41
Calls
Call 1
Inputs
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (pow.f64 x 2))
Outputs
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (*.f64 x x))
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (*.f64 x x))
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (*.f64 x x))
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (*.f64 x x))
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (*.f64 x x))
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (*.f64 x x))
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (*.f64 x x))
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (*.f64 x x))
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (*.f64 x x))
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (*.f64 x x))
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (*.f64 x x))
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (*.f64 x x))

prune40.0ms (2.5%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New39241
Fresh022
Picked011
Done011
Total39645
Error
0b
Counts
45 → 6
Alt Table
StatusErrorProgram
0.1b
(+.f64 -1/2 (/.f64 x (/.f64 6 x)))
0.1b
(fma.f64 1/6 (*.f64 x x) -1/2)
0.1b
(fma.f64 (/.f64 x 6) x -1/2)
0.1b
(+.f64 -1/2 (pow.f64 (/.f64 6 (*.f64 x x)) -1))
0.1b
(+.f64 -1/2 (*.f64 1/6 (/.f64 x (/.f64 1 x))))
0.1b
(/.f64 (-.f64 (*.f64 x x) 3) 6)
Compiler

Compiled 556 to 412 computations (25.9% saved)

localize4.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (-.f64 (*.f64 x x) 3) 6)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite41.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
796×pow1_binary64
756×log1p-expm1-u_binary64
756×expm1-log1p-u_binary64
82×add-sqr-sqrt_binary64
78×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify58.0ms (3.8%)

Algorithm
egg-herbie
Rules
608×sqr-pow_binary64
441×associate-*l*_binary64
434×unswap-sqr_binary64
281×cube-prod_binary64
276×fabs-mul_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0987
11887
23087
35487
411787
534687
6121187
7210887
8227287
9245687
10266487
11295887
12335187
13382987
14439087
Stop Event
node limit
Counts
39 → 32
Calls
Call 1
Inputs
-1/2
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(*.f64 1/6 (pow.f64 x 2))
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(*.f64 1/6 (pow.f64 x 2))
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
Outputs
-1/2
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (*.f64 x x))
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (*.f64 x x))
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)

prune27.0ms (1.7%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New32032
Fresh033
Picked011
Done022
Total32638
Error
0b
Counts
38 → 6
Alt Table
StatusErrorProgram
0.1b
(+.f64 -1/2 (/.f64 x (/.f64 6 x)))
0.1b
(fma.f64 1/6 (*.f64 x x) -1/2)
0.1b
(fma.f64 (/.f64 x 6) x -1/2)
0.1b
(+.f64 -1/2 (pow.f64 (/.f64 6 (*.f64 x x)) -1))
0.1b
(+.f64 -1/2 (*.f64 1/6 (/.f64 x (/.f64 1 x))))
0.1b
(/.f64 (-.f64 (*.f64 x x) 3) 6)
Compiler

Compiled 359 to 268 computations (25.3% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 1/6 (*.f64 x x) -1/2)

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@inf
(fma.f64 1/6 (*.f64 x x) -1/2)
0.0ms
x
@0
(fma.f64 1/6 (*.f64 x x) -1/2)
0.0ms
x
@-inf
(fma.f64 1/6 (*.f64 x x) -1/2)

rewrite33.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
505×pow1_binary64
472×add-log-exp_binary64
472×log1p-expm1-u_binary64
472×expm1-log1p-u_binary64
463×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11228
213048
Stop Event
node limit
Counts
1 → 21
Calls
Call 1
Inputs
(fma.f64 1/6 (*.f64 x x) -1/2)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 -1/2 (*.f64 1/6 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/6 (*.f64 x x)) -1/2)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/6 (*.f64 x x)) 1) -1/2)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 1/6 (*.f64 x x) -1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/6 (*.f64 x x) -1/2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/6 (*.f64 x x) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/6 (*.f64 x x) -1/2)) (cbrt.f64 (pow.f64 (fma.f64 1/6 (*.f64 x x) -1/2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 1/6 (*.f64 x x) -1/2) 2)) (cbrt.f64 (fma.f64 1/6 (*.f64 x x) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/6 (*.f64 x x) -1/2)) (sqrt.f64 (fma.f64 1/6 (*.f64 x x) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 1/6 (*.f64 x x)) 3) -1/8) (+.f64 (*.f64 (*.f64 1/6 (*.f64 x x)) (*.f64 1/6 (*.f64 x x))) (-.f64 1/4 (*.f64 (*.f64 1/6 (*.f64 x x)) -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 1/6 (*.f64 x x)) (*.f64 1/6 (*.f64 x x))) 1/4) (-.f64 (*.f64 1/6 (*.f64 x x)) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/6 (*.f64 x x) -1/2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/6 (*.f64 x x) -1/2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/6 (*.f64 x x) -1/2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/6 (*.f64 x x) -1/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/6 (*.f64 x x) -1/2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/6 (*.f64 x x) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/6 (*.f64 x x) -1/2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/6 (*.f64 x x) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/6 (*.f64 x x) -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/6 (*.f64 x x) -1/2)))))))

simplify57.0ms (3.7%)

Algorithm
egg-herbie
Rules
608×sqr-pow_binary64
441×associate-*l*_binary64
434×unswap-sqr_binary64
281×cube-prod_binary64
276×fabs-mul_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0987
11887
23087
35487
411787
534687
6121187
7210887
8227287
9245687
10266487
11295887
12335187
13382987
14439087
Stop Event
node limit
Counts
33 → 26
Calls
Call 1
Inputs
-1/2
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(*.f64 1/6 (pow.f64 x 2))
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(*.f64 1/6 (pow.f64 x 2))
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
Outputs
-1/2
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (*.f64 x x))
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)
(*.f64 1/6 (pow.f64 x 2))
(*.f64 1/6 (*.f64 x x))
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)
(-.f64 (*.f64 1/6 (pow.f64 x 2)) 1/2)
(fma.f64 1/6 (*.f64 x x) -1/2)

prune20.0ms (1.3%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New26026
Fresh022
Picked011
Done033
Total26632
Error
0b
Counts
32 → 6
Alt Table
StatusErrorProgram
0.1b
(+.f64 -1/2 (/.f64 x (/.f64 6 x)))
0.1b
(fma.f64 1/6 (*.f64 x x) -1/2)
0.1b
(fma.f64 (/.f64 x 6) x -1/2)
0.1b
(+.f64 -1/2 (pow.f64 (/.f64 6 (*.f64 x x)) -1))
0.1b
(+.f64 -1/2 (*.f64 1/6 (/.f64 x (/.f64 1 x))))
0.1b
(/.f64 (-.f64 (*.f64 x x) 3) 6)
Compiler

Compiled 311 to 205 computations (34.1% saved)

regimes35.0ms (2.3%)

Accuracy

Total -0.2b remaining (-294.6%)

Threshold costs -0.2b (-294.6%)

Counts
12 → 1
Compiler

Compiled 122 to 84 computations (31.1% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 (/.f64 x 6) x -1/2)
Outputs
(fma.f64 (/.f64 x 6) x -1/2)

end61.0ms (3.9%)

Stop Event
fuel
Compiler

Compiled 58 to 40 computations (31% saved)

Profiling

Loading profile data...