Details

Time bar (total: 3.3s)

analyze15.0ms (0.5%)

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)

sample59.0ms (1.8%)

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

Compiled 27 to 16 computations (40.7% saved)

simplify230.0ms (7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
0497222
1497222

prune2.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
43×*-un-lft-identity_binary64_751
30×times-frac_binary64_757
29×add-sqr-sqrt_binary64_772
15×add-cube-cbrt_binary64_783
distribute-lft-out--_binary64_705 distribute-lft-out_binary64_704 cosh-undef_binary64_942 sinh-undef_binary64_941 difference-of-squares_binary64_720
associate-/l*_binary64_698
associate-/r*_binary64_697
add-log-exp_binary64_787 add-cbrt-cube_binary64_784 add-exp-log_binary64_786
associate-/l/_binary64_700 pow1_binary64_809 flip--_binary64_726 associate-/r/_binary64_699 flip3--_binary64_755
flip3-+_binary64_754 div-sub_binary64_756 tanh-undef_binary64_943 div-inv_binary64_748 diff-log_binary64_840 cbrt-undiv_binary64_782 frac-2neg_binary64_762 clear-num_binary64_750 sub-neg_binary64_744 flip-+_binary64_725 div-exp_binary64_799
Counts
2 → 73
Calls

2 calls:

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

series186.0ms (5.7%)

Counts
2 → 6
Calls

2 calls:

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

simplify51.0ms (1.6%)

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
050421659

prune62.0ms (1.9%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New77279
Fresh000
Picked101
Done000
Total78280

Merged error: 0b

Counts
80 → 2
Compiler

Compiled 1378 to 431 computations (68.7% saved)

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

0.0b
(tanh.f64 x)

rewrite2.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-cube-cbrt_binary64_783 tanh-def-b_binary64_936 tanh-def-a_binary64_935 pow1_binary64_809 add-log-exp_binary64_787 add-cbrt-cube_binary64_784 *-un-lft-identity_binary64_751 add-exp-log_binary64_786 tanh-def-c_binary64_937 add-sqr-sqrt_binary64_772
Counts
1 → 10
Calls

1 calls:

1.0ms
(tanh.f64 x)

series108.0ms (3.3%)

Counts
1 → 3
Calls

1 calls:

108.0ms
(tanh.f64 x)

simplify48.0ms (1.5%)

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
05365124

prune8.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 108 to 63 computations (41.7% saved)

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

rewrite29.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64_772
15×associate-*r*_binary64_693
14×add-exp-log_binary64_786
11×add-cube-cbrt_binary64_783 add-log-exp_binary64_787 *-un-lft-identity_binary64_751
10×associate-*l*_binary64_694
unpow-prod-down_binary64_827 add-cbrt-cube_binary64_784
unswap-sqr_binary64_719
prod-exp_binary64_797
sqr-pow_binary64_723 pow1_binary64_809 cube-prod_binary64_776
pow-to-exp_binary64_817 pow-exp_binary64_816 *-commutative_binary64_684 diff-log_binary64_840 sum-log_binary64_839 cbrt-unprod_binary64_781
cube-mult_binary64_778 +-commutative_binary64_683 flip3-+_binary64_754 associate--l+_binary64_690 flip--_binary64_726 unpow3_binary64_814 sub-neg_binary64_744 flip3--_binary64_755 flip-+_binary64_725
Counts
4 → 80
Calls

4 calls:

7.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)))
5.0ms
(*.f64 (pow.f64 x 5) 2/15)
3.0ms
(+.f64 x (*.f64 (pow.f64 x 5) 2/15))

series340.0ms (10.4%)

Counts
4 → 12
Calls

4 calls:

169.0ms
(+.f64 x (*.f64 (pow.f64 x 5) 2/15))
60.0ms
(*.f64 (pow.f64 x 5) 2/15)
56.0ms
(-.f64 (+.f64 x (*.f64 (pow.f64 x 5) 2/15)) (*.f64 1/3 (pow.f64 x 3)))
55.0ms
(*.f64 1/3 (pow.f64 x 3))

simplify64.0ms (2%)

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
048831199
148831199

prune98.0ms (3%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New92092
Fresh000
Picked011
Done011
Total92294

Merged error: 0b

Counts
94 → 2
Compiler

Compiled 1646 to 1272 computations (22.7% saved)

regimes8.0ms (0.3%)

Compiler

Compiled 17 to 15 computations (11.8% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
033
133

end0.0ms (0%)

sample1.9s (58.5%)

Algorithm
intervals
Results
1.2s3889×body1024valid
300.0ms1912×body512valid
132.0ms408×body2048valid
97.0ms1002×body256valid
39.0ms789×body128valid
0.0msbody128overflowed
Compiler

Compiled 31 to 24 computations (22.6% saved)

Profiling

Loading profile data...