Details

Time bar (total: 2.2s)

analyze1.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
100%0%0%2
Compiler

Compiled 10 to 8 computations (20% saved)

sample813.0ms (37.5%)

Results
710.0ms8256×body128valid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify80.0ms (3.7%)

Algorithm
egg-herbie
Rules
638×fma-def_binary64
434×unswap-sqr_binary64
366×fma-neg_binary64
277×*-commutative_binary64
262×exp-prod_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11513
22013
32713
44613
57813
614613
727413
867013
9189613
10269213
11353513
12471313
13486513
14479413

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 27 to 21 computations (22.2% saved)

localize6.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

series16.0ms (0.7%)

Counts
2 → 16
Calls

2 calls:

14.0ms
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
2.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

rewrite12.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity_binary64
15×times-frac_binary64
13×add-sqr-sqrt_binary64
13×add-cube-cbrt_binary64
associate-/r*_binary64
Counts
2 → 57
Calls

2 calls:

5.0ms
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
4.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

simplify75.0ms (3.5%)

Algorithm
egg-herbie
Rules
713×fma-neg_binary64
684×fma-def_binary64
548×associate-*l*_binary64
292×times-frac_binary64
257×distribute-rgt-in_binary64
Counts
73 → 105
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01151210
12481114
25491101
312411099
442051099
549801099

prune63.0ms (2.9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1032105
Fresh000
Picked011
Done000
Total1033106
Error
0b
Counts
106 → 3
Alt Table
StatusErrorProgram
0.0b
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
0.0b
(*.f64 (/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) (/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
34.5b
(fma.f64 x (*.f64 x -1/2) (fma.f64 5/24 (pow.f64 x 4) 1))
Compiler

Compiled 1649 to 691 computations (58.1% saved)

localize8.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) (/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
0.0b
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
0.0b
(/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))

series41.0ms (1.9%)

Counts
2 → 24
Calls

2 calls:

21.0ms
(/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))
20.0ms
(*.f64 (/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) (/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))

rewrite136.0ms (6.3%)

Algorithm
rewrite-expression-head
Rules
434×sqrt-prod_binary64
376×times-frac_binary64
354×add-sqr-sqrt_binary64
292×*-un-lft-identity_binary64
174×add-cube-cbrt_binary64
Counts
2 → 345
Calls

2 calls:

53.0ms
(*.f64 (/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) (/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
7.0ms
(/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))

simplify345.0ms (15.9%)

Algorithm
egg-herbie
Rules
599×fma-def_binary64
480×associate-/r*_binary64
438×associate-/r/_binary64
290×associate-*l/_binary64
286×associate-*r/_binary64
Counts
369 → 332
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
029916093
186713574
2272712897
3462912897
4501612897

prune358.0ms (16.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New4930493
Fresh011
Picked011
Done011
Total4933496
Error
0b
Counts
496 → 3
Alt Table
StatusErrorProgram
0.0b
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
0.0b
(*.f64 (/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) (/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
34.5b
(fma.f64 x (*.f64 x -1/2) (fma.f64 5/24 (pow.f64 x 4) 1))
Compiler

Compiled 15986 to 6668 computations (58.3% saved)

localize6.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 5/24 (pow.f64 x 4) 1)

series3.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

3.0ms
(fma.f64 5/24 (pow.f64 x 4) 1)

rewrite1.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:

0.0ms
(fma.f64 5/24 (pow.f64 x 4) 1)

simplify65.0ms (3%)

Algorithm
egg-herbie
Rules
1000×fma-def_binary64
504×distribute-rgt-out_binary64
362×distribute-rgt-in_binary64
345×distribute-lft-in_binary64
343×*-commutative_binary64
Counts
22 → 15
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
018214
127196
260196
3155196
4604196
52405196
63070196
74655196
84944196

prune12.0ms (0.5%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New15015
Fresh000
Picked011
Done022
Total15318
Error
0b
Counts
18 → 3
Alt Table
StatusErrorProgram
0.0b
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
0.0b
(*.f64 (/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))) (/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
34.5b
(fma.f64 x (*.f64 x -1/2) (fma.f64 5/24 (pow.f64 x 4) 1))
Compiler

Compiled 261 to 198 computations (24.1% saved)

regimes67.0ms (3.1%)

Accuracy

Total 0.0b remaining (81.6%)

Threshold costs 0.0b (81.6%)

Counts
24 → 1
Compiler

Compiled 1020 to 759 computations (25.6% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01120
11620
21820
31920
41920

end60.0ms (2.8%)

Compiler

Compiled 69 to 49 computations (29% saved)

Profiling

Loading profile data...