Details

Time bar (total: 4.2s)

analyze198.0ms (4.7%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0479722
1479722
011
111
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)

sample78.0ms (1.9%)

Algorithm
intervals
Results
45.0ms130×body1024valid
12.0ms68×body512valid
4.0ms14×body2048valid
3.0ms24×body256valid
1.0ms20×body128valid
Compiler

Compiled 27 to 16 computations (40.7% saved)

simplify105.0ms (2.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (95.0ms)

IterNodesCost
0479722
1479722

prune4.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
58.7b
Counts
2 → 1
Compiler

Compiled 26 to 14 computations (46.2% saved)

localize13.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

rewrite120.0ms (2.9%)

Algorithm
rewrite-expression-head
Error
0b
Rules
44×*-un-lft-identity_binary64_419
30×add-sqr-sqrt_binary64_441 times-frac_binary64_425
16×add-cube-cbrt_binary64_454
sinh-undef_binary64_612 difference-of-squares_binary64_388 distribute-lft-out--_binary64_371 cosh-undef_binary64_613 distribute-lft-out_binary64_370
associate-/l*_binary64_364
associate-/r*_binary64_363
add-log-exp_binary64_458 add-exp-log_binary64_457 add-cbrt-cube_binary64_455
cancel-sign-sub-inv_binary64_385
pow1_binary64_480 flip3--_binary64_423 flip--_binary64_394 associate-/l/_binary64_366 associate-/r/_binary64_365
diff-log_binary64_511 sub-neg_binary64_412 tanh-undef_binary64_614 div-exp_binary64_470 cbrt-undiv_binary64_453 frac-2neg_binary64_430 div-sub_binary64_424 clear-num_binary64_418 div-inv_binary64_416 flip3-+_binary64_422 flip-+_binary64_393
Counts
2 → 76
Calls

2 calls:

24.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
11.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Compiler

Compiled 1739 to 276 computations (84.1% saved)

series147.0ms (3.5%)

Error
1.1b
Counts
2 → 8
Calls

2 calls:

107.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
23.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Compiler

Compiled 268 to 164 computations (38.8% saved)

simplify143.0ms (3.4%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (99.0ms)

IterNodesCost
051522130

prune116.0ms (2.8%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New82284
Fresh000
Picked101
Done000
Total83285
Error
0b
Counts
85 → 2
Compiler

Compiled 1668 to 302 computations (81.9% saved)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

0.0b
(tanh.f64 x)

rewrite15.0ms (0.4%)

Algorithm
rewrite-expression-head
Error
0b
Rules
tanh-def-c_binary64_608 tanh-def-b_binary64_607 tanh-def-a_binary64_606 pow1_binary64_480 add-log-exp_binary64_458 add-exp-log_binary64_457 add-cbrt-cube_binary64_455 add-cube-cbrt_binary64_454 add-sqr-sqrt_binary64_441 *-un-lft-identity_binary64_419
Counts
1 → 10
Calls

1 calls:

2.0ms
(tanh.f64 x)
Compiler

Compiled 82 to 46 computations (43.9% saved)

series65.0ms (1.6%)

Error
0b
Counts
1 → 4
Calls

1 calls:

63.0ms
(tanh.f64 x)
Compiler

Compiled 107 to 94 computations (12.1% saved)

simplify80.0ms (1.9%)

Algorithm
egg-herbie
Counts
14 → 14
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
05420116

prune15.0ms (0.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New14014
Fresh011
Picked011
Done000
Total14216
Error
0b
Counts
16 → 2
Compiler

Compiled 97 to 53 computations (45.4% saved)

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.0b
(-.f64 x (*.f64 1/3 (pow.f64 x 3)))
0.1b
(*.f64 1/3 (pow.f64 x 3))

rewrite72.0ms (1.7%)

Algorithm
rewrite-expression-head
Error
0b
Rules
13×add-sqr-sqrt_binary64_441
12×associate-*r*_binary64_359
add-exp-log_binary64_457
add-cube-cbrt_binary64_454 *-un-lft-identity_binary64_419
add-log-exp_binary64_458 add-cbrt-cube_binary64_455 unpow-prod-down_binary64_498 unswap-sqr_binary64_387 cube-prod_binary64_447
prod-exp_binary64_468 associate-*l*_binary64_360
pow1_binary64_480 sqr-pow_binary64_391
pow-to-exp_binary64_488 pow-exp_binary64_487 cbrt-unprod_binary64_452 unpow3_binary64_485 cube-mult_binary64_449 *-commutative_binary64_350 diff-log_binary64_511 flip3--_binary64_423 sub-neg_binary64_412 flip--_binary64_394 cancel-sign-sub-inv_binary64_385
Counts
2 → 43
Calls

2 calls:

14.0ms
(*.f64 1/3 (pow.f64 x 3))
6.0ms
(-.f64 x (*.f64 1/3 (pow.f64 x 3)))
Compiler

Compiled 594 to 447 computations (24.7% saved)

series174.0ms (4.2%)

Error
0b
Counts
2 → 9
Calls

2 calls:

111.0ms
(-.f64 x (*.f64 1/3 (pow.f64 x 3)))
59.0ms
(*.f64 1/3 (pow.f64 x 3))
Compiler

Compiled 148 to 122 computations (17.6% saved)

simplify76.0ms (1.8%)

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
05194541

prune45.0ms (1.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New52052
Fresh000
Picked011
Done011
Total52254
Error
0b
Counts
54 → 2
Compiler

Compiled 562 to 404 computations (28.1% saved)

regimes54.0ms (1.3%)

Accuracy

Total 0.0b remaining (91.6%)

Threshold costs 0.0b (91.6%)

Compiler

Compiled 218 to 162 computations (25.7% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
033
133

end0.0ms (0%)

sample2.6s (63.2%)

Algorithm
intervals
Results
1.4s3891×body1024valid
358.0ms1931×body512valid
173.0ms426×body2048valid
108.0ms970×body256valid
42.0ms782×body128valid
Compiler

Compiled 111 to 84 computations (24.3% saved)

Profiling

Loading profile data...