Details

Time bar (total: 7.4s)

analyze80.0ms (1.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
50%12.5%37.5%5
50%6.2%43.8%6
50%3.1%46.9%7
50%1.6%48.5%8
50%0.8%49.2%9
50.4%0.4%49.2%10
50.4%0.2%49.4%11
50.4%0.1%49.5%12
50.4%0%49.6%13
50.4%0%49.6%14
Compiler

Compiled 10 to 8 computations (20% saved)

sample96.0ms (1.3%)

Algorithm
intervals
Results
65.0ms122×body2048valid
14.0ms57×body1024valid
7.0ms46×body512valid
2.0ms19×body256valid
1.0ms12×body128valid
Compiler

Compiled 20 to 16 computations (20% saved)

simplify63.0ms (0.8%)

Algorithm
egg-herbie
Rules
819×div-sub_binary64
801×associate-/l*_binary64
624×fma-def_binary64
581×fma-neg_binary64
548×unswap-sqr_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
12013
23513
35713
411213
522313
648113
789013
8157013
9477813
10581513

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
32.5b
Counts
2 → 1
Alt Table
StatusErrorProgram
32.5b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
Compiler

Compiled 27 to 21 computations (22.2% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (exp.f64 x) 2)
5.2b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))

rewrite15.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity_binary64
22×add-sqr-sqrt_binary64
18×prod-diff_binary64
18×add-cube-cbrt_binary64
13×associate-+l+_binary64
Counts
2 → 69
Calls

2 calls:

8.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
4.0ms
(-.f64 (exp.f64 x) 2)

series6.0ms (0.1%)

Counts
2 → 16
Calls

2 calls:

3.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
3.0ms
(-.f64 (exp.f64 x) 2)

simplify91.0ms (1.2%)

Algorithm
egg-herbie
Rules
650×fma-neg_binary64
326×fma-def_binary64
296×distribute-rgt-in_binary64
282×distribute-lft-in_binary64
268×distribute-rgt-out_binary64
Counts
85 → 148
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01451174
1295959
2717942
32801932
44435932
54838932

prune136.0ms (1.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1453148
Fresh000
Picked011
Done000
Total1454149
Error
0.0b
Counts
149 → 4
Alt Table
StatusErrorProgram
32.5b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
1.0b
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2))))
1.3b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
32.7b
(/.f64 (+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3)) (fma.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2) (+.f64 (expm1.f64 (*.f64 x -2)) (/.f64 2 (exp.f64 x)))))
Compiler

Compiled 2149 to 1234 computations (42.6% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)))
0.0b
(*.f64 1/20160 (pow.f64 x 8))
0.1b
(*.f64 1/360 (pow.f64 x 6))
0.1b
(*.f64 1/12 (pow.f64 x 4))

rewrite25.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt_binary64
21×associate-*r*_binary64
19×add-exp-log_binary64
13×*-un-lft-identity_binary64
13×add-cube-cbrt_binary64
Counts
4 → 97
Calls

4 calls:

8.0ms
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)))
5.0ms
(*.f64 1/360 (pow.f64 x 6))
4.0ms
(*.f64 1/12 (pow.f64 x 4))
4.0ms
(*.f64 1/20160 (pow.f64 x 8))

series69.0ms (0.9%)

Counts
4 → 6
Calls

4 calls:

19.0ms
(*.f64 1/360 (pow.f64 x 6))
19.0ms
(*.f64 1/20160 (pow.f64 x 8))
17.0ms
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2)))
13.0ms
(*.f64 1/12 (pow.f64 x 4))

simplify124.0ms (1.7%)

Algorithm
egg-herbie
Rules
341×*-commutative_binary64
298×unswap-sqr_binary64
291×fma-def_binary64
264×fma-neg_binary64
234×distribute-rgt-in_binary64
Counts
103 → 168
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01731333
13611268
29901186
323641184
446201184
549871184
649021184

prune158.0ms (2.1%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1680168
Fresh022
Picked011
Done011
Total1684172
Error
0.0b
Counts
172 → 4
Alt Table
StatusErrorProgram
32.5b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
1.0b
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2))))
1.3b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
32.7b
(/.f64 (+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3)) (fma.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2) (+.f64 (expm1.f64 (*.f64 x -2)) (/.f64 2 (exp.f64 x)))))
Compiler

Compiled 3759 to 3024 computations (19.6% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
0.1b
(*.f64 1/12 (pow.f64 x 4))

rewrite3.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

2.0ms
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))

series15.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

15.0ms
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))

simplify85.0ms (1.2%)

Algorithm
egg-herbie
Rules
540×distribute-rgt-in_binary64
530×distribute-lft-in_binary64
522×unswap-sqr_binary64
436×distribute-rgt-out_binary64
363×*-commutative_binary64
Counts
22 → 33
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
020277
130254
268254
3195254
4915254
53165254
64937254
74897254

prune42.0ms (0.6%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New76076
Fresh011
Picked011
Done022
Total76480
Error
0.0b
Counts
80 → 4
Alt Table
StatusErrorProgram
32.5b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
1.0b
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2))))
1.3b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
32.7b
(/.f64 (+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3)) (fma.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2) (+.f64 (expm1.f64 (*.f64 x -2)) (/.f64 2 (exp.f64 x)))))
Compiler

Compiled 751 to 523 computations (30.4% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (exp.f64 x) 2)
0.1b
(pow.f64 (exp.f64 x) -3)
0.3b
(/.f64 (+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3)) (fma.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2) (+.f64 (expm1.f64 (*.f64 x -2)) (/.f64 2 (exp.f64 x)))))
5.0b
(+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3))

rewrite35.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity_binary64
22×add-sqr-sqrt_binary64
18×add-cube-cbrt_binary64
16×fma-def_binary64
12×times-frac_binary64
Counts
3 → 87
Calls

3 calls:

15.0ms
(+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3))
12.0ms
(/.f64 (+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3)) (fma.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2) (+.f64 (expm1.f64 (*.f64 x -2)) (/.f64 2 (exp.f64 x)))))
2.0ms
(pow.f64 (exp.f64 x) -3)

series238.0ms (3.2%)

Counts
3 → 36
Calls

3 calls:

166.0ms
(/.f64 (+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3)) (fma.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2) (+.f64 (expm1.f64 (*.f64 x -2)) (/.f64 2 (exp.f64 x)))))
49.0ms
(+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3))
22.0ms
(pow.f64 (exp.f64 x) -3)

simplify161.0ms (2.2%)

Algorithm
egg-herbie
Rules
505×fma-def_binary64
463×associate-*l*_binary64
457×fma-neg_binary64
443×associate-*r*_binary64
305×distribute-rgt-in_binary64
Counts
123 → 204
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01804192
14453905
212483865
347073844
449713844

prune447.0ms (6%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New2612263
Fresh000
Picked101
Done033
Total2625267
Error
0b
Counts
267 → 5
Alt Table
StatusErrorProgram
32.7b
(/.f64 (*.f64 (*.f64 (cbrt.f64 (+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3))) (cbrt.f64 (+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3)))) (cbrt.f64 (+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3)))) (fma.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2) (+.f64 (expm1.f64 (*.f64 x -2)) (/.f64 2 (exp.f64 x)))))
32.5b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
1.0b
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/20160 (pow.f64 x 8)) (pow.f64 x 2))))
1.3b
(fma.f64 x x (*.f64 1/12 (pow.f64 x 4)))
32.7b
(/.f64 (+.f64 (pow.f64 (exp.f64 x) -3) (pow.f64 (-.f64 (exp.f64 x) 2) 3)) (fma.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2) (+.f64 (expm1.f64 (*.f64 x -2)) (/.f64 2 (exp.f64 x)))))
Compiler

Compiled 7954 to 5239 computations (34.1% saved)

regimes107.0ms (1.4%)

Accuracy

Total 0.6b remaining (98.5%)

Threshold costs 0.6b (98.5%)

Compiler

Compiled 976 to 732 computations (25% saved)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01829
12229
22229

end1.0ms (0%)

Compiler

Compiled 21 to 17 computations (19% saved)

sample5.4s (72.4%)

Algorithm
intervals
Results
3.7s4209×body2048valid
823.0ms1954×body1024valid
270.0ms985×body512valid
74.0ms499×body256valid
29.0ms353×body128valid
0.0msbody128invalid
Compiler

Compiled 161 to 118 computations (26.7% saved)

Profiling

Loading profile data...