Details

Time bar (total: 4.2s)

analyze175.0ms (4.2%)

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)

sample55.0ms (1.3%)

Algorithm
intervals
Results
31.0ms122×body1024valid
8.0ms63×body512valid
3.0ms37×body256valid
3.0msbody2048valid
1.0ms25×body128valid
Compiler

Compiled 27 to 16 computations (40.7% saved)

simplify72.0ms (1.7%)

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

rewrite104.0ms (2.5%)

Algorithm
rewrite-expression-head
Error
0b
Rules
47×*-un-lft-identity_binary64_1442
31×add-sqr-sqrt_binary64_1464
30×times-frac_binary64_1448
17×add-cube-cbrt_binary64_1477
cosh-undef_binary64_1636 distribute-lft-out_binary64_1393
sinh-undef_binary64_1635 add-log-exp_binary64_1481 difference-of-squares_binary64_1411 distribute-lft-out--_binary64_1394
associate-/l*_binary64_1387
add-exp-log_binary64_1480 add-cbrt-cube_binary64_1478 associate-/r*_binary64_1386
pow1_binary64_1503 cancel-sign-sub-inv_binary64_1408
flip3--_binary64_1446 flip--_binary64_1417 associate-/l/_binary64_1389 flip3-+_binary64_1445 associate-/r/_binary64_1388 flip-+_binary64_1416
diff-log_binary64_1534 sub-neg_binary64_1435 tanh-undef_binary64_1637 div-exp_binary64_1493 cbrt-undiv_binary64_1476 frac-2neg_binary64_1453 div-sub_binary64_1447 clear-num_binary64_1441 div-inv_binary64_1439 sum-log_binary64_1533 +-commutative_binary64_1372
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))))
6.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
6.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Compiler

Compiled 1999 to 313 computations (84.3% saved)

series141.0ms (3.4%)

Error
0.9b
Counts
3 → 18
Calls

3 calls:

70.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
28.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
22.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Compiler

Compiled 602 to 382 computations (36.5% saved)

simplify87.0ms (2.1%)

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
050392484

prune89.0ms (2.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1043107
Fresh000
Picked101
Done000
Total1053108
Error
0b
Counts
108 → 3
Compiler

Compiled 2106 to 426 computations (79.8% saved)

localize2.0ms (0%)

Local error

Found 1 expressions with local error:

0.0b
(tanh.f64 x)

rewrite7.0ms (0.2%)

Algorithm
rewrite-expression-head
Error
0b
Rules
tanh-def-c_binary64_1631 tanh-def-b_binary64_1630 tanh-def-a_binary64_1629 pow1_binary64_1503 add-log-exp_binary64_1481 add-exp-log_binary64_1480 add-cbrt-cube_binary64_1478 add-cube-cbrt_binary64_1477 add-sqr-sqrt_binary64_1464 *-un-lft-identity_binary64_1442
Counts
1 → 10
Calls

1 calls:

1.0ms
(tanh.f64 x)
Compiler

Compiled 82 to 46 computations (43.9% saved)

series55.0ms (1.3%)

Error
0b
Counts
1 → 6
Calls

1 calls:

51.0ms
(tanh.f64 x)
Compiler

Compiled 158 to 135 computations (14.6% saved)

simplify38.0ms (0.9%)

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
04965163
14965163

prune14.0ms (0.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New15116
Fresh112
Picked011
Done000
Total16319
Error
0b
Counts
19 → 3
Compiler

Compiled 146 to 93 computations (36.3% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (+.f64 x (*.f64 (pow.f64 x 5) 2/15)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 (pow.f64 x 7) 17/315)))
0.1b
(*.f64 (pow.f64 x 7) 17/315)
0.1b
(*.f64 (pow.f64 x 5) 2/15)
0.2b
(*.f64 1/3 (pow.f64 x 3))

rewrite220.0ms (5.3%)

Algorithm
rewrite-expression-head
Error
0b
Rules
34×add-sqr-sqrt_binary64_1464
19×add-exp-log_binary64_1480
18×associate-*r*_binary64_1382
17×*-un-lft-identity_binary64_1442 associate-*l*_binary64_1383
16×add-log-exp_binary64_1481
15×add-cube-cbrt_binary64_1477
12×unpow-prod-down_binary64_1521
10×add-cbrt-cube_binary64_1478 unswap-sqr_binary64_1410
prod-exp_binary64_1491
sqr-pow_binary64_1414
pow1_binary64_1503 cube-prod_binary64_1470 sum-log_binary64_1533 diff-log_binary64_1534 flip3-+_binary64_1445 frac-sub_binary64_1451 flip-+_binary64_1416
pow-to-exp_binary64_1511 pow-exp_binary64_1510 cbrt-unprod_binary64_1475 *-commutative_binary64_1373 cancel-sign-sub-inv_binary64_1408
unpow3_binary64_1508 cube-mult_binary64_1472 flip3--_binary64_1446 sub-neg_binary64_1435 flip--_binary64_1417 difference-of-squares_binary64_1411 distribute-lft-out--_binary64_1394 associate--l+_binary64_1379 associate--r+_binary64_1378
Counts
4 → 106
Calls

4 calls:

11.0ms
(-.f64 (+.f64 x (*.f64 (pow.f64 x 5) 2/15)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 (pow.f64 x 7) 17/315)))
7.0ms
(*.f64 1/3 (pow.f64 x 3))
5.0ms
(*.f64 (pow.f64 x 5) 2/15)
5.0ms
(*.f64 (pow.f64 x 7) 17/315)
Compiler

Compiled 3201 to 2555 computations (20.2% saved)

series194.0ms (4.7%)

Error
0b
Counts
4 → 17
Calls

4 calls:

52.0ms
(*.f64 (pow.f64 x 7) 17/315)
47.0ms
(-.f64 (+.f64 x (*.f64 (pow.f64 x 5) 2/15)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 (pow.f64 x 7) 17/315)))
44.0ms
(*.f64 (pow.f64 x 5) 2/15)
37.0ms
(*.f64 1/3 (pow.f64 x 3))
Compiler

Compiled 691 to 574 computations (16.9% saved)

simplify104.0ms (2.5%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (76.0ms)

IterNodesCost
050172213

prune186.0ms (4.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1230123
Fresh011
Picked011
Done011
Total1233126
Error
0b
Counts
126 → 3
Compiler

Compiled 3108 to 2462 computations (20.8% saved)

localize4.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(pow.f64 (tanh.f64 x) 3)
0.0b
(tanh.f64 x)
37.0b
(cbrt.f64 (pow.f64 (tanh.f64 x) 3))

rewrite52.0ms (1.2%)

Algorithm
rewrite-expression-head
Error
0b
Rules
12×cbrt-prod_binary64_1473
add-cube-cbrt_binary64_1477 add-sqr-sqrt_binary64_1464 *-un-lft-identity_binary64_1442
cube-div_binary64_1471 unpow-prod-down_binary64_1521 cube-prod_binary64_1470
pow1_binary64_1503 add-exp-log_binary64_1480 add-cbrt-cube_binary64_1478
add-log-exp_binary64_1481 tanh-def-c_binary64_1631 cbrt-div_binary64_1474 tanh-def-b_binary64_1630 tanh-def-a_binary64_1629 pow-unpow_binary64_1519
unpow3_binary64_1508 cube-mult_binary64_1472 sqr-pow_binary64_1414
pow1/3_binary64_1524 rem-cbrt-cube_binary64_1466 pow-pow_binary64_1514 pow-to-exp_binary64_1511 pow-exp_binary64_1510 rem-cube-cbrt_binary64_1465
Counts
3 → 60
Calls

3 calls:

3.0ms
(cbrt.f64 (pow.f64 (tanh.f64 x) 3))
3.0ms
(pow.f64 (tanh.f64 x) 3)
1.0ms
(tanh.f64 x)
Compiler

Compiled 703 to 435 computations (38.1% saved)

series241.0ms (5.8%)

Error
0b
Counts
3 → 18
Calls

3 calls:

104.0ms
(pow.f64 (tanh.f64 x) 3)
60.0ms
(cbrt.f64 (pow.f64 (tanh.f64 x) 3))
58.0ms
(tanh.f64 x)
Compiler

Compiled 558 to 487 computations (12.7% saved)

simplify61.0ms (1.5%)

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
05029769

prune46.0ms (1.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New78078
Fresh000
Picked011
Done022
Total78381
Error
0b
Counts
81 → 3
Compiler

Compiled 692 to 432 computations (37.6% saved)

regimes85.0ms (2%)

Accuracy

Total 0.0b remaining (98.4%)

Threshold costs 0.0b (98.4%)

Compiler

Compiled 829 to 557 computations (32.8% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
033
133

end0.0ms (0%)

sample2.1s (50.8%)

Algorithm
intervals
Results
1.0s3917×body1024valid
254.0ms1966×body512valid
118.0ms412×body2048valid
81.0ms935×body256valid
31.0ms770×body128valid
0.0msbody128overflowed
Compiler

Compiled 389 to 266 computations (31.6% saved)

Profiling

Loading profile data...