Details

Time bar (total: 2.8s)

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)

sample53.0ms (1.9%)

Algorithm
intervals
Results
29.0ms112×body1024valid
8.0ms65×body512valid
5.0ms17×body2048valid
3.0ms35×body256valid
1.0ms27×body128valid
Compiler

Compiled 27 to 16 computations (40.7% saved)

simplify168.0ms (6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
0479722
1479722

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 57.9b

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.5b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
7.2b
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

rewrite29.0ms (1%)

Algorithm
rewrite-expression-head
Rules
47×*-un-lft-identity_binary64_419
31×add-sqr-sqrt_binary64_441
30×times-frac_binary64_425
17×add-cube-cbrt_binary64_454
cosh-undef_binary64_613 distribute-lft-out_binary64_370
sinh-undef_binary64_612 difference-of-squares_binary64_388 add-log-exp_binary64_458 distribute-lft-out--_binary64_371
associate-/l*_binary64_364
add-cbrt-cube_binary64_455 add-exp-log_binary64_457 associate-/r*_binary64_363
cancel-sign-sub-inv_binary64_385 pow1_binary64_480
flip3-+_binary64_422 flip3--_binary64_423 associate-/r/_binary64_365 flip-+_binary64_393 flip--_binary64_394 associate-/l/_binary64_366
clear-num_binary64_418 sub-neg_binary64_412 div-inv_binary64_416 sum-log_binary64_510 frac-2neg_binary64_430 diff-log_binary64_511 +-commutative_binary64_349 div-exp_binary64_470 tanh-undef_binary64_614 cbrt-undiv_binary64_453 div-sub_binary64_424
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))))
5.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
5.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

series109.0ms (3.9%)

Counts
3 → 9
Calls

3 calls:

72.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
21.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
15.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

simplify89.0ms (3.2%)

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
049532364
149532364

prune78.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 1944 to 341 computations (82.5% 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_419 add-log-exp_binary64_458 tanh-def-b_binary64_607 add-cube-cbrt_binary64_454 add-sqr-sqrt_binary64_441 tanh-def-a_binary64_606 add-cbrt-cube_binary64_455 add-exp-log_binary64_457 pow1_binary64_480 tanh-def-c_binary64_608
Counts
1 → 10
Calls

1 calls:

1.0ms
(tanh.f64 x)

series56.0ms (2%)

Counts
1 → 3
Calls

1 calls:

56.0ms
(tanh.f64 x)

simplify48.0ms (1.7%)

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
05383124

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 100 to 56 computations (44% saved)

localize4.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

rewrite8.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454 add-sqr-sqrt_binary64_441
times-frac_binary64_425
add-cbrt-cube_binary64_455 add-exp-log_binary64_457
add-log-exp_binary64_458 associate-/r*_binary64_363 pow1_binary64_480 associate-/l*_binary64_364
cosh-def_binary64_605 sinh-def_binary64_604
clear-num_binary64_418 div-inv_binary64_416 associate-/r/_binary64_365 frac-2neg_binary64_430 div-exp_binary64_470 cbrt-undiv_binary64_453 associate-/l/_binary64_366
Counts
3 → 45
Calls

3 calls:

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

series182.0ms (6.5%)

Counts
3 → 9
Calls

3 calls:

117.0ms
(/.f64 (sinh.f64 x) (cosh.f64 x))
37.0ms
(sinh.f64 x)
28.0ms
(cosh.f64 x)

simplify90.0ms (3.2%)

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 0 (76.0ms)

IterNodesCost
04849623
14849623

prune30.0ms (1.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New54054
Fresh000
Picked011
Done011
Total54256

Merged error: 0b

Counts
56 → 2
Compiler

Compiled 549 to 186 computations (66.1% saved)

regimes32.0ms (1.1%)

Compiler

Compiled 252 to 150 computations (40.5% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
033
133

end0.0ms (0%)

sample1.8s (63.9%)

Algorithm
intervals
Results
1.0s3939×body1024valid
254.0ms1883×body512valid
123.0ms422×body2048valid
78.0ms960×body256valid
33.0ms796×body128valid
Compiler

Compiled 128 to 78 computations (39.1% saved)

Profiling

Loading profile data...