Details

Time bar (total: 2.6s)

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

sample55.0ms (2.1%)

Algorithm
intervals
Results
34.0ms126×body1024valid
8.0ms58×body512valid
3.0ms11×body2048valid
3.0ms31×body256valid
1.0ms30×body128valid
Compiler

Compiled 27 to 16 computations (40.7% saved)

simplify162.0ms (6.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
0479722
1479722

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 57.8b

Counts
2 → 1
Compiler

Compiled 26 to 14 computations (46.2% saved)

localize7.0ms (0.3%)

Local error

Found 3 expressions with local error:

0.0b
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
1.7b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
5.1b
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

rewrite30.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
47×*-un-lft-identity_binary64_760
31×add-sqr-sqrt_binary64_782
30×times-frac_binary64_766
17×add-cube-cbrt_binary64_795
distribute-lft-out_binary64_711 cosh-undef_binary64_954
add-log-exp_binary64_799 difference-of-squares_binary64_729 distribute-lft-out--_binary64_712 sinh-undef_binary64_953
associate-/l*_binary64_705
add-exp-log_binary64_798 associate-/r*_binary64_704 add-cbrt-cube_binary64_796
cancel-sign-sub-inv_binary64_726 pow1_binary64_821
associate-/r/_binary64_706 flip3-+_binary64_763 associate-/l/_binary64_707 flip-+_binary64_734 flip--_binary64_735 flip3--_binary64_764
diff-log_binary64_852 frac-2neg_binary64_771 cbrt-undiv_binary64_794 div-inv_binary64_757 tanh-undef_binary64_955 +-commutative_binary64_690 sum-log_binary64_851 div-sub_binary64_765 div-exp_binary64_811 clear-num_binary64_759 sub-neg_binary64_753
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)))
5.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

series86.0ms (3.3%)

Counts
3 → 9
Calls

3 calls:

62.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
14.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
10.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

simplify83.0ms (3.2%)

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
051572337

prune74.0ms (2.8%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New96298
Fresh000
Picked101
Done000
Total97299

Merged error: 0b

Counts
99 → 2
Compiler

Compiled 1926 to 326 computations (83.1% saved)

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

0.0b
(tanh.f64 x)

rewrite1.0ms (0.1%)

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

1 calls:

1.0ms
(tanh.f64 x)

series45.0ms (1.7%)

Counts
1 → 3
Calls

1 calls:

45.0ms
(tanh.f64 x)

simplify47.0ms (1.8%)

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
05420115

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 94 to 51 computations (45.7% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.0b
(sinh.f64 x)
1.7b
(/.f64 (sinh.f64 x) (cosh.f64 x))

rewrite7.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64_760 add-cube-cbrt_binary64_795 add-sqr-sqrt_binary64_782
times-frac_binary64_766
add-exp-log_binary64_798 add-cbrt-cube_binary64_796
associate-/r*_binary64_704 associate-/l*_binary64_705
add-log-exp_binary64_799 pow1_binary64_821 sinh-def_binary64_945
frac-2neg_binary64_771 cbrt-undiv_binary64_794 associate-/r/_binary64_706 associate-/l/_binary64_707 div-inv_binary64_757 cosh-def_binary64_946 div-exp_binary64_811 clear-num_binary64_759
Counts
2 → 37
Calls

2 calls:

4.0ms
(/.f64 (sinh.f64 x) (cosh.f64 x))
1.0ms
(sinh.f64 x)

series114.0ms (4.4%)

Counts
2 → 6
Calls

2 calls:

87.0ms
(/.f64 (sinh.f64 x) (cosh.f64 x))
27.0ms
(sinh.f64 x)

simplify79.0ms (3%)

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
04905519
14905519

prune21.0ms (0.8%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New43043
Fresh000
Picked011
Done011
Total43245

Merged error: 0b

Counts
45 → 2
Compiler

Compiled 434 to 130 computations (70% saved)

regimes27.0ms (1%)

Compiler

Compiled 104 to 72 computations (30.8% saved)

bsearch0.0ms (0%)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
033
133

end0.0ms (0%)

sample1.7s (66.7%)

Algorithm
intervals
Results
1.0s3829×body1024valid
278.0ms2027×body512valid
126.0ms394×body2048valid
81.0ms978×body256valid
35.0ms772×body128valid
0.0msbody128overflowed
Compiler

Compiled 54 to 39 computations (27.8% saved)

Profiling

Loading profile data...