Details

Time bar (total: 3.2s)

analyze167.0ms (5.2%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0479722
1479722
011
111
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%1.6%48.5%9
50.4%1.2%48.5%10
50.4%1.2%48.5%11
50.4%1.1%48.6%12
50.4%1%48.6%13
50.5%0.9%48.6%14
Compiler

Compiled 14 to 8 computations (42.9% saved)

sample62.0ms (1.9%)

Algorithm
intervals
Results
37.0ms129×body1024valid
8.0ms60×body512valid
3.0ms38×body256valid
3.0ms10×body2048valid
1.0ms19×body128valid
0.0msbody128overflowed
Compiler

Compiled 27 to 16 computations (40.7% saved)

simplify70.0ms (2.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
0479722
1479722

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
59.3b
Counts
2 → 1
Compiler

Compiled 26 to 14 computations (46.2% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
1.0b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
6.2b
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

rewrite96.0ms (3%)

Algorithm
rewrite-expression-head
Error
0b
Rules
47×*-un-lft-identity_binary64_760
31×add-sqr-sqrt_binary64_782
30×times-frac_binary64_766
17×add-cube-cbrt_binary64_795
cosh-undef_binary64_954 distribute-lft-out_binary64_711
sinh-undef_binary64_953 add-log-exp_binary64_799 difference-of-squares_binary64_729 distribute-lft-out--_binary64_712
associate-/l*_binary64_705
add-exp-log_binary64_798 add-cbrt-cube_binary64_796 associate-/r*_binary64_704
pow1_binary64_821 cancel-sign-sub-inv_binary64_726
flip3--_binary64_764 flip--_binary64_735 associate-/l/_binary64_707 flip3-+_binary64_763 associate-/r/_binary64_706 flip-+_binary64_734
diff-log_binary64_852 sub-neg_binary64_753 tanh-undef_binary64_955 div-exp_binary64_811 cbrt-undiv_binary64_794 frac-2neg_binary64_771 div-sub_binary64_765 clear-num_binary64_759 div-inv_binary64_757 sum-log_binary64_851 +-commutative_binary64_690
Counts
3 → 89
Calls

3 calls:

12.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
6.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
4.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Compiler

Compiled 1999 to 313 computations (84.3% saved)

series131.0ms (4.1%)

Error
0.9b
Counts
3 → 16
Calls

3 calls:

64.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
28.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
24.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Compiler

Compiled 551 to 341 computations (38.1% saved)

simplify84.0ms (2.6%)

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
049742437
149742437

prune79.0ms (2.5%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1032105
Fresh000
Picked101
Done000
Total1042106
Error
0b
Counts
106 → 2
Compiler

Compiled 2039 to 379 computations (81.4% saved)

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

0.0b
(tanh.f64 x)

rewrite7.0ms (0.2%)

Algorithm
rewrite-expression-head
Error
0b
Rules
tanh-def-c_binary64_949 tanh-def-b_binary64_948 tanh-def-a_binary64_947 pow1_binary64_821 add-log-exp_binary64_799 add-exp-log_binary64_798 add-cbrt-cube_binary64_796 add-cube-cbrt_binary64_795 add-sqr-sqrt_binary64_782 *-un-lft-identity_binary64_760
Counts
1 → 10
Calls

1 calls:

1.0ms
(tanh.f64 x)
Compiler

Compiled 82 to 46 computations (43.9% saved)

series56.0ms (1.7%)

Error
0b
Counts
1 → 4
Calls

1 calls:

53.0ms
(tanh.f64 x)
Compiler

Compiled 107 to 94 computations (12.1% saved)

simplify50.0ms (1.6%)

Algorithm
egg-herbie
Counts
14 → 14
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
05420116

prune11.0ms (0.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New14014
Fresh011
Picked011
Done000
Total14216
Error
0b
Counts
16 → 2
Compiler

Compiled 97 to 53 computations (45.4% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.0b
(-.f64 x (*.f64 1/3 (pow.f64 x 3)))
0.1b
(*.f64 1/3 (pow.f64 x 3))

rewrite47.0ms (1.5%)

Algorithm
rewrite-expression-head
Error
0b
Rules
13×add-sqr-sqrt_binary64_782
12×associate-*r*_binary64_700
add-exp-log_binary64_798
add-cube-cbrt_binary64_795 *-un-lft-identity_binary64_760
add-log-exp_binary64_799 add-cbrt-cube_binary64_796 unpow-prod-down_binary64_839 unswap-sqr_binary64_728 cube-prod_binary64_788
prod-exp_binary64_809 associate-*l*_binary64_701
pow1_binary64_821 sqr-pow_binary64_732
pow-to-exp_binary64_829 pow-exp_binary64_828 cbrt-unprod_binary64_793 unpow3_binary64_826 cube-mult_binary64_790 *-commutative_binary64_691 diff-log_binary64_852 flip3--_binary64_764 sub-neg_binary64_753 flip--_binary64_735 cancel-sign-sub-inv_binary64_726
Counts
2 → 43
Calls

2 calls:

7.0ms
(*.f64 1/3 (pow.f64 x 3))
3.0ms
(-.f64 x (*.f64 1/3 (pow.f64 x 3)))
Compiler

Compiled 594 to 447 computations (24.7% saved)

series98.0ms (3.1%)

Error
0b
Counts
2 → 9
Calls

2 calls:

58.0ms
(-.f64 x (*.f64 1/3 (pow.f64 x 3)))
35.0ms
(*.f64 1/3 (pow.f64 x 3))
Compiler

Compiled 148 to 122 computations (17.6% saved)

simplify50.0ms (1.6%)

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
05194541

prune37.0ms (1.2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New52052
Fresh000
Picked011
Done011
Total52254
Error
0b
Counts
54 → 2
Compiler

Compiled 562 to 404 computations (28.1% saved)

regimes33.0ms (1%)

Accuracy

Total 0.0b remaining (88.1%)

Threshold costs 0.0b (88.1%)

Compiler

Compiled 218 to 162 computations (25.7% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
033
133

end0.0ms (0%)

sample2.1s (66%)

Algorithm
intervals
Results
1.0s3917×body1024valid
253.0ms1920×body512valid
116.0ms396×body2048valid
77.0ms987×body256valid
35.0ms780×body128valid
0.0msbody128overflowed
Compiler

Compiled 111 to 84 computations (24.3% saved)

Profiling

Loading profile data...