Details

Time bar (total: 3.3s)

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

sample57.0ms (1.7%)

Algorithm
intervals
Results
31.0ms105×body1024valid
11.0ms73×body512valid
4.0ms42×body256valid
3.0ms11×body2048valid
1.0ms25×body128valid
Compiler

Compiled 27 to 16 computations (40.7% saved)

simplify264.0ms (7.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (96.0ms)

IterNodesCost
0471922
1471922

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 58.9b

Counts
2 → 1
Compiler

Compiled 26 to 14 computations (46.2% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

2.0b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
6.6b
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

rewrite27.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity_binary64_767
30×times-frac_binary64_773 add-sqr-sqrt_binary64_789
16×add-cube-cbrt_binary64_802
distribute-lft-out_binary64_718 2cosh-undef_binary64_963 distribute-lft-out--_binary64_719 2sinh-undef_binary64_962 difference-of-squares_binary64_736
associate-/l*_binary64_712
associate-/r*_binary64_711
add-exp-log_binary64_805 add-log-exp_binary64_806 add-cbrt-cube_binary64_803
cancel-sign-sub-inv_binary64_733
associate-/l/_binary64_714 associate-/r/_binary64_713 pow1_binary64_828 flip--_binary64_742 flip3--_binary64_771
tanh-undef_binary64_964 frac-2neg_binary64_778 cbrt-undiv_binary64_801 sub-neg_binary64_760 flip-+_binary64_741 diff-log_binary64_859 flip3-+_binary64_770 div-exp_binary64_818 div-sub_binary64_772 clear-num_binary64_766 div-inv_binary64_764
Counts
2 → 76
Calls

2 calls:

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

series190.0ms (5.7%)

Counts
2 → 6
Calls

2 calls:

146.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
44.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

simplify80.0ms (2.4%)

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
049412143
149412143

prune77.0ms (2.3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New80282
Fresh000
Picked101
Done000
Total81283

Merged error: 0b

Counts
83 → 2
Compiler

Compiled 1823 to 414 computations (77.3% saved)

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

0.0b
(tanh.f64 x)

rewrite2.0ms (0%)

Algorithm
rewrite-expression-head
Rules
tanh-def-a_binary64_954 tanh-def-b_binary64_955 add-exp-log_binary64_805 pow1_binary64_828 tanh-def-c_binary64_956 add-log-exp_binary64_806 add-sqr-sqrt_binary64_789 *-un-lft-identity_binary64_767 add-cbrt-cube_binary64_803 add-cube-cbrt_binary64_802
Counts
1 → 10
Calls

1 calls:

1.0ms
(tanh.f64 x)

series93.0ms (2.8%)

Counts
1 → 3
Calls

1 calls:

93.0ms
(tanh.f64 x)

simplify48.0ms (1.4%)

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
05377124

prune11.0ms (0.3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New13013
Fresh011
Picked011
Done000
Total13215

Merged error: 0b

Counts
15 → 2
Compiler

Compiled 128 to 81 computations (36.7% saved)

localize8.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 x (*.f64 (pow.f64 x 5) 2/15))
0.0b
(-.f64 (+.f64 x (*.f64 (pow.f64 x 5) 2/15)) (*.f64 1/3 (pow.f64 x 3)))
0.1b
(*.f64 (pow.f64 x 5) 2/15)
0.1b
(*.f64 1/3 (pow.f64 x 3))

rewrite33.0ms (1%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64_789
15×associate-*r*_binary64_707
14×add-exp-log_binary64_805
11×add-log-exp_binary64_806 *-un-lft-identity_binary64_767 add-cube-cbrt_binary64_802
10×associate-*l*_binary64_708
unpow-prod-down_binary64_846 add-cbrt-cube_binary64_803
unswap-sqr_binary64_735
prod-exp_binary64_816
sqr-pow_binary64_739 cube-prod_binary64_795 pow1_binary64_828
pow-to-exp_binary64_836 cbrt-unprod_binary64_800 pow-exp_binary64_835 *-commutative_binary64_698 diff-log_binary64_859 sum-log_binary64_858
sub-neg_binary64_760 flip-+_binary64_741 cancel-sign-sub-inv_binary64_733 cube-mult_binary64_797 +-commutative_binary64_697 flip3-+_binary64_770 flip--_binary64_742 unpow3_binary64_833 flip3--_binary64_771 associate--l+_binary64_704
Counts
4 → 81
Calls

4 calls:

8.0ms
(*.f64 1/3 (pow.f64 x 3))
7.0ms
(-.f64 (+.f64 x (*.f64 (pow.f64 x 5) 2/15)) (*.f64 1/3 (pow.f64 x 3)))
6.0ms
(+.f64 x (*.f64 (pow.f64 x 5) 2/15))
6.0ms
(*.f64 (pow.f64 x 5) 2/15)

series340.0ms (10.2%)

Counts
4 → 12
Calls

4 calls:

181.0ms
(+.f64 x (*.f64 (pow.f64 x 5) 2/15))
60.0ms
(*.f64 (pow.f64 x 5) 2/15)
53.0ms
(-.f64 (+.f64 x (*.f64 (pow.f64 x 5) 2/15)) (*.f64 1/3 (pow.f64 x 3)))
47.0ms
(*.f64 1/3 (pow.f64 x 3))

simplify64.0ms (1.9%)

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049021206
149021206

prune96.0ms (2.9%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New93093
Fresh000
Picked011
Done011
Total93295

Merged error: 0b

Counts
95 → 2
Compiler

Compiled 1659 to 1282 computations (22.7% saved)

regimes8.0ms (0.2%)

Compiler

Compiled 17 to 15 computations (11.8% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
133

end0.0ms (0%)

sample1.9s (57.3%)

Algorithm
intervals
Results
1.2s3889×body1024valid
295.0ms1912×body512valid
129.0ms408×body2048valid
99.0ms1002×body256valid
42.0ms789×body128valid
0.0msbody128overflowed
Compiler

Compiled 31 to 24 computations (22.6% saved)

Profiling

Loading profile data...