Details

Time bar (total: 4.7s)

analyze15.0ms (0.3%)

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)

sample71.0ms (1.5%)

Algorithm
intervals
Results
44.0ms120×body1024valid
10.0ms63×body512valid
6.0ms17×body2048valid
3.0ms31×body256valid
1.0ms25×body128valid
Compiler

Compiled 27 to 16 computations (40.7% saved)

simplify374.0ms (7.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (122.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.1b

Counts
2 → 1
Compiler

Compiled 26 to 14 computations (46.2% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
1.2b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
5.5b
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

rewrite38.0ms (0.8%)

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:

18.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
7.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
5.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

series227.0ms (4.8%)

Counts
3 → 9
Calls

3 calls:

153.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)))
29.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

simplify78.0ms (1.7%)

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
050012364

prune74.0ms (1.6%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New95398
Fresh000
Picked101
Done000
Total96399

Merged error: 0b

Counts
99 → 3
Compiler

Compiled 1963 to 357 computations (81.8% saved)

localize2.0ms (0%)

Local error

Found 1 expressions with local error:

0.0b
(tanh.f64 x)

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

2.0ms
(tanh.f64 x)

series125.0ms (2.6%)

Counts
1 → 3
Calls

1 calls:

124.0ms
(tanh.f64 x)

simplify64.0ms (1.4%)

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
05377124

prune22.0ms (0.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New13013
Fresh022
Picked011
Done000
Total13316

Merged error: 0b

Counts
16 → 3
Compiler

Compiled 119 to 72 computations (39.5% saved)

localize16.0ms (0.3%)

Local error

Found 2 expressions with local error:

0.0b
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
1.2b
(/.f64 (*.f64 2 (sinh.f64 x)) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))

rewrite35.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64_760
add-exp-log_binary64_798 add-cbrt-cube_binary64_796
associate-/r*_binary64_704 times-frac_binary64_766
add-cube-cbrt_binary64_795 add-log-exp_binary64_799 add-sqr-sqrt_binary64_782
distribute-lft-out_binary64_711 cosh-undef_binary64_954
cbrt-undiv_binary64_794 associate-/r/_binary64_706 flip3-+_binary64_763 flip-+_binary64_734 div-exp_binary64_811 pow1_binary64_821
frac-2neg_binary64_771 prod-exp_binary64_809 associate-/l/_binary64_707 div-inv_binary64_757 associate-/l*_binary64_705 +-commutative_binary64_690 sum-log_binary64_851 associate-*r/_binary64_702 cbrt-unprod_binary64_793 clear-num_binary64_759 sinh-def_binary64_945
Counts
2 → 41
Calls

2 calls:

19.0ms
(/.f64 (*.f64 2 (sinh.f64 x)) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
10.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

series263.0ms (5.6%)

Counts
2 → 6
Calls

2 calls:

226.0ms
(/.f64 (*.f64 2 (sinh.f64 x)) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
37.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

simplify63.0ms (1.3%)

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
04907648
14907648

prune32.0ms (0.7%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New47047
Fresh011
Picked011
Done011
Total47350

Merged error: 0b

Counts
50 → 3
Compiler

Compiled 646 to 228 computations (64.7% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

rewrite25.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64_782
15×associate-*r*_binary64_700
13×add-exp-log_binary64_798
10×*-un-lft-identity_binary64_760 add-cube-cbrt_binary64_795 associate-*l*_binary64_701
add-log-exp_binary64_799 unpow-prod-down_binary64_839
unswap-sqr_binary64_728 add-cbrt-cube_binary64_796
prod-exp_binary64_809
sqr-pow_binary64_732 cube-prod_binary64_788
pow1_binary64_821
diff-log_binary64_852 pow-exp_binary64_828 pow-to-exp_binary64_829 cbrt-unprod_binary64_793 *-commutative_binary64_691
cube-mult_binary64_790 unpow3_binary64_826 cancel-sign-sub-inv_binary64_726 sum-log_binary64_851 associate--l+_binary64_697 sub-neg_binary64_753 flip--_binary64_735 flip3--_binary64_764
Counts
3 → 70
Calls

3 calls:

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

series212.0ms (4.5%)

Counts
3 → 9
Calls

3 calls:

87.0ms
(*.f64 (pow.f64 x 5) 2/15)
64.0ms
(-.f64 (+.f64 x (*.f64 (pow.f64 x 5) 2/15)) (*.f64 1/3 (pow.f64 x 3)))
61.0ms
(*.f64 1/3 (pow.f64 x 3))

simplify65.0ms (1.4%)

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
048581004
148581004

prune108.0ms (2.3%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New79079
Fresh000
Picked011
Done022
Total79382

Merged error: 0b

Counts
82 → 3
Compiler

Compiled 1405 to 1085 computations (22.8% saved)

regimes30.0ms (0.6%)

Compiler

Compiled 174 to 120 computations (31% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
033
133

end0.0ms (0%)

sample2.8s (58.4%)

Algorithm
intervals
Results
1.6s3928×body1024valid
436.0ms1970×body512valid
161.0ms381×body2048valid
133.0ms979×body256valid
52.0ms742×body128valid
Compiler

Compiled 89 to 63 computations (29.2% saved)

Profiling

Loading profile data...