Details

Time bar (total: 852.0ms)

analyze4.0ms (0.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
62.5%12.5%25%5
68.7%6.2%25%6
71.8%3.1%25%7
73.4%1.6%25%8
74.2%0.8%25%9
74.6%0.4%25%10
74.8%0.2%25%11
74.9%0.1%25%12
74.9%0%25%13
74.9%0%25%14
Compiler

Compiled 7 to 5 computations (28.6% saved)

sample601.0ms (70.5%)

Results
588.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 14 to 10 computations (28.6% saved)

preprocess21.0ms (2.5%)

Algorithm
egg-herbie
Rules
92×fma-def_binary64
68×fma-neg_binary64
24×cancel-sign-sub-inv_binary64
16×distribute-rgt-in_binary64
12×sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
1117
2177
3227
4267
5317
6427
7647
81357
92547
103647
113867
123887
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(*.f64 x (-.f64 x 1))
Outputs
(*.f64 x (-.f64 x 1))
(*.f64 x (+.f64 x -1))
(fma.f64 x x (neg.f64 x))
(-.f64 (*.f64 x x) x)
Compiler

Compiled 6 to 4 computations (33.3% saved)

simplify11.0ms (1.3%)

Algorithm
egg-herbie
Rules
92×fma-def_binary64
68×fma-neg_binary64
24×cancel-sign-sub-inv_binary64
16×distribute-rgt-in_binary64
12×sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
1117
2177
3227
4267
5317
6427
7647
81357
92547
103647
113867
123887
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(*.f64 x (-.f64 x 1))
Outputs
(*.f64 x (-.f64 x 1))
(*.f64 x (+.f64 x -1))
(fma.f64 x x (neg.f64 x))
(-.f64 (*.f64 x x) x)

prune3.0ms (0.4%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 35 to 20 computations (42.9% saved)

localize3.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 x x) x)

series2.0ms (0.2%)

Counts
1 → 12
Calls

3 calls:

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

rewrite34.0ms (4%)

Algorithm
batch-egg-rewrite
Rules
497×pow1_binary64
468×add-log-exp_binary64
468×log1p-expm1-u_binary64
468×expm1-log1p-u_binary64
457×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify27.0ms (3.2%)

Algorithm
egg-herbie
Rules
681×fma-neg_binary64
536×associate-*l*_binary64
440×associate-*r*_binary64
434×unswap-sqr_binary64
256×fma-def_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0774
11574
22874
36774
419074
569474
6343674
Stop Event
node limit
Counts
48 → 42
Calls
Call 1
Inputs
(*.f64 -1 x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (pow.f64 x 2) x)
(pow.f64 x 2)
(-.f64 (pow.f64 x 2) x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (pow.f64 x 2) x)
(pow.f64 x 2)
(-.f64 (pow.f64 x 2) x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (pow.f64 x 2) x)
Outputs
(*.f64 -1 x)
(neg.f64 x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(fma.f64 x x (neg.f64 x))
(*.f64 x (+.f64 -1 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(fma.f64 x x (neg.f64 x))
(*.f64 x (+.f64 -1 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(fma.f64 x x (neg.f64 x))
(*.f64 x (+.f64 -1 x))
(pow.f64 x 2)
(*.f64 x x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(fma.f64 x x (neg.f64 x))
(*.f64 x (+.f64 -1 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(fma.f64 x x (neg.f64 x))
(*.f64 x (+.f64 -1 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(fma.f64 x x (neg.f64 x))
(*.f64 x (+.f64 -1 x))
(pow.f64 x 2)
(*.f64 x x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(fma.f64 x x (neg.f64 x))
(*.f64 x (+.f64 -1 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(fma.f64 x x (neg.f64 x))
(*.f64 x (+.f64 -1 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(fma.f64 x x (neg.f64 x))
(*.f64 x (+.f64 -1 x))

prune21.0ms (2.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New42042
Fresh011
Picked011
Done000
Total42244
Error
0b
Counts
44 → 2
Alt Table
StatusErrorProgram
0.0b
(-.f64 (*.f64 x x) x)
0.0b
(*.f64 x (-.f64 x 1))
Compiler

Compiled 442 to 178 computations (59.7% saved)

localize3.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (-.f64 x 1))

series1.0ms (0.2%)

Counts
1 → 12
Calls

3 calls:

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

rewrite32.0ms (3.8%)

Algorithm
batch-egg-rewrite
Rules
507×pow1_binary64
473×add-log-exp_binary64
472×log1p-expm1-u_binary64
472×expm1-log1p-u_binary64
464×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify29.0ms (3.4%)

Algorithm
egg-herbie
Rules
681×fma-neg_binary64
536×associate-*l*_binary64
440×associate-*r*_binary64
434×unswap-sqr_binary64
256×fma-def_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0774
11574
22874
36774
419074
569474
6343674
Stop Event
node limit
Counts
31 → 25
Calls
Call 1
Inputs
(*.f64 -1 x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (pow.f64 x 2) x)
(pow.f64 x 2)
(-.f64 (pow.f64 x 2) x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (pow.f64 x 2) x)
(pow.f64 x 2)
(-.f64 (pow.f64 x 2) x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (pow.f64 x 2) x)
Outputs
(*.f64 -1 x)
(neg.f64 x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(fma.f64 x x (neg.f64 x))
(*.f64 x (+.f64 -1 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(fma.f64 x x (neg.f64 x))
(*.f64 x (+.f64 -1 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(fma.f64 x x (neg.f64 x))
(*.f64 x (+.f64 -1 x))
(pow.f64 x 2)
(*.f64 x x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(fma.f64 x x (neg.f64 x))
(*.f64 x (+.f64 -1 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(fma.f64 x x (neg.f64 x))
(*.f64 x (+.f64 -1 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(fma.f64 x x (neg.f64 x))
(*.f64 x (+.f64 -1 x))
(pow.f64 x 2)
(*.f64 x x)
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(fma.f64 x x (neg.f64 x))
(*.f64 x (+.f64 -1 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(fma.f64 x x (neg.f64 x))
(*.f64 x (+.f64 -1 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (*.f64 x x) x)
(fma.f64 x x (neg.f64 x))
(*.f64 x (+.f64 -1 x))

prune9.0ms (1.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New25025
Fresh000
Picked011
Done011
Total25227
Error
0b
Counts
27 → 2
Alt Table
StatusErrorProgram
0.0b
(-.f64 (*.f64 x x) x)
0.0b
(*.f64 x (-.f64 x 1))
Compiler

Compiled 201 to 135 computations (32.8% saved)

regimes13.0ms (1.5%)

Accuracy

Total 0.0b remaining (93.1%)

Threshold costs 0.0b (93.1%)

Counts
6 → 1
Compiler

Compiled 30 to 16 computations (46.7% saved)

simplify2.0ms (0.2%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
047
167
2117
3137
4147
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) x)
Outputs
(-.f64 (*.f64 x x) x)

end37.0ms (4.3%)

Stop Event
done
Compiler

Compiled 24 to 13 computations (45.8% saved)

Profiling

Loading profile data...