Details

Time bar (total: 2.7s)

analyze15.0ms (0.6%)

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)

sample70.0ms (2.6%)

Algorithm
intervals
Results
41.0ms107×body1280valid
16.0ms80×body640valid
6.0ms44×body320valid
1.0ms15×body160valid
0.0ms10×body80valid
Compiler

Compiled 27 to 16 computations (40.7% saved)

simplify84.0ms (3.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (74.0ms)

IterNodesCost
0483722
1483722

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 59.4b

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))))
4.2b
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

rewrite25.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity_binary64
30×add-sqr-sqrt_binary64 times-frac_binary64
16×add-cube-cbrt_binary64
distribute-lft-out_binary64 cosh-undef_binary64
add-log-exp_binary64 sinh-undef_binary64 difference-of-squares_binary64 distribute-lft-out--_binary64
associate-/l*_binary64
associate-/r*_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
pow1_binary64
flip3-+_binary64 associate-/l/_binary64 flip3--_binary64 associate-/r/_binary64 flip--_binary64 flip-+_binary64
sub-neg_binary64 diff-log_binary64 cbrt-undiv_binary64 div-sub_binary64 clear-num_binary64 frac-2neg_binary64 tanh-undef_binary64 div-inv_binary64 div-exp_binary64 +-commutative_binary64 sum-log_binary64
Counts
3 → 86
Calls

3 calls:

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

series22.0ms (0.8%)

Counts
3 → 9
Calls

3 calls:

13.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
5.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
3.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

simplify92.0ms (3.4%)

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
048652346
148652346

prune45.0ms (1.7%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New93295
Fresh000
Picked101
Done000
Total94296

Merged error: 0b

Counts
96 → 2
Compiler

Compiled 1910 to 336 computations (82.4% 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
*-un-lft-identity_binary64 add-log-exp_binary64 pow1_binary64 add-cube-cbrt_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 add-sqr-sqrt_binary64 tanh-def-a_binary64 tanh-def-b_binary64 tanh-def-c_binary64
Counts
1 → 10
Calls

1 calls:

1.0ms
(tanh.f64 x)

series14.0ms (0.5%)

Counts
1 → 3
Calls

1 calls:

14.0ms
(tanh.f64 x)

simplify67.0ms (2.5%)

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
06009124

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

localize8.0ms (0.3%)

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.0b
(*.f64 (pow.f64 x 5) 2/15)
0.1b
(*.f64 1/3 (pow.f64 x 3))

rewrite23.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64
15×associate-*r*_binary64
13×add-exp-log_binary64
10×*-un-lft-identity_binary64 add-cube-cbrt_binary64 associate-*l*_binary64
add-log-exp_binary64 unpow-prod-down_binary64
add-cbrt-cube_binary64 unswap-sqr_binary64
prod-exp_binary64
sqr-pow_binary64 cube-prod_binary64
pow1_binary64
pow-to-exp_binary64 diff-log_binary64 cbrt-unprod_binary64 pow-exp_binary64 *-commutative_binary64
sub-neg_binary64 flip3--_binary64 flip--_binary64 unpow3_binary64 associate--l+_binary64 sum-log_binary64 cube-mult_binary64
Counts
3 → 69
Calls

3 calls:

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

series16.0ms (0.6%)

Counts
3 → 9
Calls

3 calls:

6.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)
5.0ms
(*.f64 1/3 (pow.f64 x 3))

simplify52.0ms (1.9%)

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
04988997
14988997

prune62.0ms (2.3%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New78078
Fresh000
Picked011
Done011
Total78280

Merged error: 0b

Counts
80 → 2
Compiler

Compiled 1392 to 1075 computations (22.8% saved)

regimes15.0ms (0.5%)

Compiler

Compiled 17 to 15 computations (11.8% saved)

bsearch0.0ms (0%)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
033
133

end0.0ms (0%)

sample2.1s (76.6%)

Algorithm
intervals
Results
1.1s3295×body1280valid
504.0ms2442×body640valid
159.0ms1201×body320valid
55.0ms644×body160valid
18.0ms418×body80valid
0.0msbody80overflowed
Compiler

Compiled 31 to 24 computations (22.6% saved)

Profiling

Loading profile data...