Details

Time bar (total: 1.5s)

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

sample818.0ms (53.7%)

Results
805.0ms8256×body128valid

preprocess16.0ms (1.1%)

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)

simplify7.0ms (0.4%)

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)

prune4.0ms (0.3%)

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)

localize3.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

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

rewrite32.0ms (2.1%)

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 log1p.f64 (expm1.f64 (fma.f64 (/.f64 x 6) x -1/2)))))) (#(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 expm1.f64 (log1p.f64 (fma.f64 (/.f64 x 6) x -1/2)))))))

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

prune24.0ms (1.6%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New23326
Fresh011
Picked011
Done000
Total23528
Error
0.0b
Counts
28 → 5
Alt Table
StatusErrorProgram
0.1b
(fma.f64 (/.f64 x 6) x -1/2)
16.3b
(/.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))))
0.1b
(+.f64 -1/2 (/.f64 x (/.f64 6 x)))
0.2b
(fma.f64 1/6 (*.f64 x x) -1/2)
0.1b
(/.f64 (-.f64 (*.f64 x x) 3) 6)
Compiler

Compiled 378 to 283 computations (25.1% saved)

localize4.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

series3.0ms (0.2%)

Counts
1 → 12
Calls

3 calls:

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

rewrite34.0ms (2.3%)

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 log1p.f64 (expm1.f64 (*.f64 x (*.f64 x 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 x 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 x 1/6))))))))

simplify56.0ms (3.7%)

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

prune44.0ms (2.9%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New38341
Fresh213
Picked011
Done011
Total40646
Error
0b
Counts
46 → 6
Alt Table
StatusErrorProgram
0.1b
(fma.f64 (/.f64 x 6) x -1/2)
0.1b
(+.f64 -1/2 (/.f64 x (/.f64 6 x)))
0.1b
(+.f64 -1/2 (pow.f64 (/.f64 6 (*.f64 x x)) -1))
0.4b
(+.f64 -1/2 (*.f64 (/.f64 1 (cbrt.f64 (pow.f64 (/.f64 6 x) 2))) (/.f64 x (cbrt.f64 (/.f64 6 x)))))
0.1b
(/.f64 (-.f64 (*.f64 x x) 3) 6)
0.6b
(+.f64 -1/2 (*.f64 (cbrt.f64 (*.f64 x (*.f64 x 1/6))) (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x 1/6))) 2)))
Compiler

Compiled 594 to 444 computations (25.3% saved)

localize16.0ms (1%)

Local error

Found 1 expressions with local error:

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

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite36.0ms (2.4%)

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 log1p.f64 (expm1.f64 (*.f64 (fma.f64 x x -3) 1/6)))))) (#(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 expm1.f64 (log1p.f64 (*.f64 (fma.f64 x x -3) 1/6)))))))

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

prune26.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
(fma.f64 (/.f64 x 6) x -1/2)
0.1b
(+.f64 -1/2 (/.f64 x (/.f64 6 x)))
0.1b
(+.f64 -1/2 (pow.f64 (/.f64 6 (*.f64 x x)) -1))
0.4b
(+.f64 -1/2 (*.f64 (/.f64 1 (cbrt.f64 (pow.f64 (/.f64 6 x) 2))) (/.f64 x (cbrt.f64 (/.f64 6 x)))))
0.1b
(/.f64 (-.f64 (*.f64 x x) 3) 6)
0.6b
(+.f64 -1/2 (*.f64 (cbrt.f64 (*.f64 x (*.f64 x 1/6))) (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x 1/6))) 2)))
Compiler

Compiled 397 to 300 computations (24.4% saved)

localize5.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(/.f64 6 (*.f64 x x))
0.8b
(pow.f64 (/.f64 6 (*.f64 x x)) -1)

series3.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

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

rewrite38.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
646×pow1_binary64
609×add-log-exp_binary64
609×log1p-expm1-u_binary64
609×expm1-log1p-u_binary64
72×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify59.0ms (3.9%)

Algorithm
egg-herbie
Rules
464×sqr-pow_binary64
452×associate-*l*_binary64
434×unswap-sqr_binary64
335×associate-/l/_binary64
255×*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08168
114168
227168
353168
4128168
5386168
61501168
72751168
82917168
93101168
103309168
113605168
123996168
134474168
Stop Event
node limit
Counts
76 → 55
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))
(/.f64 6 (pow.f64 x 2))
(/.f64 6 (pow.f64 x 2))
(/.f64 6 (pow.f64 x 2))
(/.f64 6 (pow.f64 x 2))
(/.f64 6 (pow.f64 x 2))
(/.f64 6 (pow.f64 x 2))
(/.f64 6 (pow.f64 x 2))
(/.f64 6 (pow.f64 x 2))
(/.f64 6 (pow.f64 x 2))
(/.f64 6 (pow.f64 x 2))
(/.f64 6 (pow.f64 x 2))
(/.f64 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))
(/.f64 6 (pow.f64 x 2))
(/.f64 6 (*.f64 x x))
(/.f64 6 (pow.f64 x 2))
(/.f64 6 (*.f64 x x))
(/.f64 6 (pow.f64 x 2))
(/.f64 6 (*.f64 x x))
(/.f64 6 (pow.f64 x 2))
(/.f64 6 (*.f64 x x))
(/.f64 6 (pow.f64 x 2))
(/.f64 6 (*.f64 x x))
(/.f64 6 (pow.f64 x 2))
(/.f64 6 (*.f64 x x))
(/.f64 6 (pow.f64 x 2))
(/.f64 6 (*.f64 x x))
(/.f64 6 (pow.f64 x 2))
(/.f64 6 (*.f64 x x))
(/.f64 6 (pow.f64 x 2))
(/.f64 6 (*.f64 x x))
(/.f64 6 (pow.f64 x 2))
(/.f64 6 (*.f64 x x))
(/.f64 6 (pow.f64 x 2))
(/.f64 6 (*.f64 x x))
(/.f64 6 (pow.f64 x 2))
(/.f64 6 (*.f64 x x))

prune65.0ms (4.3%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New53255
Fresh202
Picked101
Done123
Total57461
Error
0b
Counts
61 → 4
Alt Table
StatusErrorProgram
0.1b
(fma.f64 (/.f64 x 6) x -1/2)
0.4b
(+.f64 -1/2 (/.f64 (/.f64 1 (/.f64 (sqrt.f64 6) x)) (/.f64 (sqrt.f64 6) x)))
0.1b
(+.f64 -1/2 (/.f64 1 (*.f64 6 (pow.f64 x -2))))
0.1b
(/.f64 (-.f64 (*.f64 x x) 3) 6)
Compiler

Compiled 645 to 541 computations (16.1% saved)

regimes57.0ms (3.8%)

Accuracy

Total -0.4b remaining (-384.4%)

Threshold costs -0.4b (-384.4%)

Counts
23 → 1
Compiler

Compiled 261 to 197 computations (24.5% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
1810
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 -1/2 (/.f64 x (/.f64 6 x)))
Outputs
(+.f64 -1/2 (/.f64 x (/.f64 6 x)))

end50.0ms (3.3%)

Stop Event
fuel
Compiler

Compiled 51 to 40 computations (21.6% saved)

Profiling

Loading profile data...