Details

Time bar (total: 2.7s)

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

Algorithm
intervals
Results
32.0ms124×body1024valid
8.0ms61×body512valid
4.0ms14×body2048valid
2.0ms29×body256valid
1.0ms28×body128valid
Compiler

Compiled 27 to 16 computations (40.7% saved)

simplify170.0ms (6.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
0479722
1479722

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
58.4b
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.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)))

rewrite29.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
47×*-un-lft-identity_binary64_3488
31×add-sqr-sqrt_binary64_3510
30×times-frac_binary64_3494
17×add-cube-cbrt_binary64_3523
distribute-lft-out_binary64_3439 cosh-undef_binary64_3682
difference-of-squares_binary64_3457 distribute-lft-out--_binary64_3440 add-log-exp_binary64_3527 sinh-undef_binary64_3681
associate-/l*_binary64_3433
associate-/r*_binary64_3432 add-cbrt-cube_binary64_3524 add-exp-log_binary64_3526
cancel-sign-sub-inv_binary64_3454 pow1_binary64_3549
flip3--_binary64_3492 associate-/l/_binary64_3435 flip-+_binary64_3462 flip3-+_binary64_3491 associate-/r/_binary64_3434 flip--_binary64_3463
clear-num_binary64_3487 diff-log_binary64_3580 +-commutative_binary64_3418 frac-2neg_binary64_3499 tanh-undef_binary64_3683 div-exp_binary64_3539 sum-log_binary64_3579 cbrt-undiv_binary64_3522 div-sub_binary64_3493 div-inv_binary64_3485 sub-neg_binary64_3481
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)))
4.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

series110.0ms (4%)

Counts
3 → 9
Calls

3 calls:

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

simplify94.0ms (3.4%)

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
049532364
149532364

prune76.0ms (2.8%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New96298
Fresh000
Picked101
Done000
Total97299
Error
0b
Counts
99 → 2
Compiler

Compiled 1952 to 348 computations (82.2% 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
add-cbrt-cube_binary64_3524 add-sqr-sqrt_binary64_3510 add-exp-log_binary64_3526 tanh-def-b_binary64_3676 tanh-def-a_binary64_3675 tanh-def-c_binary64_3677 add-cube-cbrt_binary64_3523 add-log-exp_binary64_3527 *-un-lft-identity_binary64_3488 pow1_binary64_3549
Counts
1 → 10
Calls

1 calls:

1.0ms
(tanh.f64 x)

series50.0ms (1.8%)

Counts
1 → 3
Calls

1 calls:

50.0ms
(tanh.f64 x)

simplify52.0ms (1.9%)

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
05383124

prune12.0ms (0.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New13013
Fresh011
Picked011
Done000
Total13215
Error
0b
Counts
15 → 2
Compiler

Compiled 108 to 63 computations (41.7% saved)

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

rewrite24.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64_3510
15×associate-*r*_binary64_3428
13×add-exp-log_binary64_3526
10×associate-*l*_binary64_3429 add-cube-cbrt_binary64_3523 *-un-lft-identity_binary64_3488
unpow-prod-down_binary64_3567 add-log-exp_binary64_3527
unswap-sqr_binary64_3456 add-cbrt-cube_binary64_3524
prod-exp_binary64_3537
cube-prod_binary64_3516 sqr-pow_binary64_3460
pow1_binary64_3549
pow-exp_binary64_3556 diff-log_binary64_3580 cbrt-unprod_binary64_3521 pow-to-exp_binary64_3557 *-commutative_binary64_3419
unpow3_binary64_3554 flip3--_binary64_3492 cancel-sign-sub-inv_binary64_3454 flip--_binary64_3463 cube-mult_binary64_3518 associate--l+_binary64_3425 sum-log_binary64_3579 sub-neg_binary64_3481
Counts
3 → 70
Calls

3 calls:

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

series85.0ms (3.1%)

Counts
3 → 9
Calls

3 calls:

31.0ms
(-.f64 (+.f64 x (*.f64 (pow.f64 x 5) 2/15)) (*.f64 1/3 (pow.f64 x 3)))
29.0ms
(*.f64 (pow.f64 x 5) 2/15)
25.0ms
(*.f64 1/3 (pow.f64 x 3))

simplify49.0ms (1.8%)

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
050921004

prune83.0ms (3%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New79079
Fresh000
Picked011
Done011
Total79281
Error
0b
Counts
81 → 2
Compiler

Compiled 1405 to 1085 computations (22.8% saved)

regimes32.0ms (1.2%)

Accuracy

Total 0.0b remaining (91.5%)

Threshold costs 0.0b (91.5%)

Compiler

Compiled 210 to 144 computations (31.4% 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 (65.1%)

Algorithm
intervals
Results
1.0s3907×body1024valid
261.0ms1958×body512valid
106.0ms382×body2048valid
83.0ms975×body256valid
33.0ms778×body128valid
Compiler

Compiled 107 to 75 computations (29.9% saved)

Profiling

Loading profile data...