Details

Time bar (total: 4.9s)

analyze760.0ms (15.4%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01011
11011
011
111
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
25%62.5%12.5%4
25%56.2%18.8%5
28.1%50%21.9%6
29.7%46.9%23.5%7
30.5%45.3%24.3%8
30.8%44.9%24.3%9
31.2%44.5%24.3%10
31.3%44.4%24.3%11
31.4%44.3%24.3%12
31.4%44.2%24.3%13
31.5%44.2%24.3%14
Compiler

Compiled 8 to 6 computations (25% saved)

sample50.0ms (1%)

Algorithm
intervals
Results
23.0ms87×body1024valid
5.0ms36×body512valid
5.0ms15×body2048valid
5.0ms103×body128valid
1.0ms15×body256valid
Compiler

Compiled 15 to 12 computations (20% saved)

simplify12.0ms (0.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
01011
11011

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 14 to 10 computations (28.6% saved)

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.5b
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1))
4.2b
(-.f64 (exp.f64 x) 1)

rewrite31.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt_binary64_1464
30×*-un-lft-identity_binary64_1442
21×times-frac_binary64_1448
15×add-cube-cbrt_binary64_1477
10×difference-of-squares_binary64_1411
associate-/r*_binary64_1386
difference-of-sqr-1_binary64_1412 distribute-lft-out--_binary64_1394
add-cbrt-cube_binary64_1478 add-log-exp_binary64_1481
cancel-sign-sub-inv_binary64_1408 associate-/l*_binary64_1387 add-exp-log_binary64_1480
associate-/r/_binary64_1388 flip3--_binary64_1446 flip--_binary64_1417 pow1_binary64_1503
cbrt-undiv_binary64_1476 div-inv_binary64_1439 sub-neg_binary64_1435 clear-num_binary64_1441 frac-2neg_binary64_1453 diff-log_binary64_1534 div-exp_binary64_1493
Counts
2 → 63
Calls

2 calls:

13.0ms
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1))
9.0ms
(-.f64 (exp.f64 x) 1)

series114.0ms (2.3%)

Counts
2 → 12
Calls

2 calls:

83.0ms
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1))
30.0ms
(-.f64 (exp.f64 x) 1)
Compiler

Compiled 140 to 111 computations (20.7% saved)

simplify117.0ms (2.4%)

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 0 (87.0ms)

IterNodesCost
051051195

prune133.0ms (2.7%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New71475
Fresh000
Picked101
Done000
Total72476
Error
0b
Counts
76 → 4
Compiler

Compiled 1025 to 518 computations (49.5% saved)

localize22.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 (exp.f64 x) (+.f64 x (*.f64 (*.f64 x x) (+.f64 1/2 (*.f64 x (+.f64 1/6 (*.f64 1/24 x)))))))
0.0b
(*.f64 (*.f64 x x) (+.f64 1/2 (*.f64 x (+.f64 1/6 (*.f64 1/24 x)))))
0.3b
(*.f64 x (+.f64 1/6 (*.f64 1/24 x)))
0.3b
(*.f64 1/24 x)

rewrite62.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64_1464
17×add-cube-cbrt_binary64_1477 *-un-lft-identity_binary64_1442
15×add-cbrt-cube_binary64_1478
14×add-exp-log_binary64_1480
13×pow1_binary64_1503
associate-*r*_binary64_1382 times-frac_binary64_1448
associate-*l*_binary64_1383
cbrt-unprod_binary64_1475 pow-prod-down_binary64_1513 prod-exp_binary64_1491
associate-*r/_binary64_1384 add-log-exp_binary64_1481
associate-/r*_binary64_1386 associate-/l*_binary64_1387 *-commutative_binary64_1373 flip3-+_binary64_1445 flip-+_binary64_1416 unswap-sqr_binary64_1410
associate-/r/_binary64_1388 distribute-lft-in_binary64_1391 distribute-rgt-in_binary64_1392
cbrt-undiv_binary64_1476 div-inv_binary64_1439 clear-num_binary64_1441 frac-2neg_binary64_1453 div-exp_binary64_1493
Counts
4 → 92
Calls

4 calls:

14.0ms
(*.f64 x (+.f64 1/6 (*.f64 1/24 x)))
14.0ms
(*.f64 (*.f64 x x) (+.f64 1/2 (*.f64 x (+.f64 1/6 (*.f64 1/24 x)))))
10.0ms
(/.f64 (exp.f64 x) (+.f64 x (*.f64 (*.f64 x x) (+.f64 1/2 (*.f64 x (+.f64 1/6 (*.f64 1/24 x)))))))
8.0ms
(*.f64 1/24 x)

series358.0ms (7.3%)

Counts
4 → 23
Calls

4 calls:

173.0ms
(*.f64 (*.f64 x x) (+.f64 1/2 (*.f64 x (+.f64 1/6 (*.f64 1/24 x)))))
94.0ms
(*.f64 x (+.f64 1/6 (*.f64 1/24 x)))
58.0ms
(/.f64 (exp.f64 x) (+.f64 x (*.f64 (*.f64 x x) (+.f64 1/2 (*.f64 x (+.f64 1/6 (*.f64 1/24 x)))))))
33.0ms
(*.f64 1/24 x)
Compiler

Compiled 566 to 442 computations (21.9% saved)

simplify109.0ms (2.2%)

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
050012300

prune221.0ms (4.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1150115
Fresh033
Picked011
Done000
Total1154119
Error
0b
Counts
119 → 4
Compiler

Compiled 2798 to 1687 computations (39.7% saved)

localize11.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(+.f64 1/2 (/.f64 1 x))
0.0b
(+.f64 (+.f64 1/2 (/.f64 1 x)) (*.f64 x 1/12))
0.3b
(*.f64 x 1/12)

rewrite39.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
10×add-log-exp_binary64_1481
*-un-lft-identity_binary64_1442
add-sqr-sqrt_binary64_1464
add-cbrt-cube_binary64_1478 add-exp-log_binary64_1480 pow1_binary64_1503 add-cube-cbrt_binary64_1477
sum-log_binary64_1533
associate-*r*_binary64_1382 associate-*l*_binary64_1383
+-commutative_binary64_1372 distribute-lft-out_binary64_1393 flip3-+_binary64_1445 flip-+_binary64_1416
cbrt-unprod_binary64_1475 associate-+l+_binary64_1375 div-inv_binary64_1439 pow-prod-down_binary64_1513 *-commutative_binary64_1373 prod-exp_binary64_1491 unswap-sqr_binary64_1410
Counts
3 → 44
Calls

3 calls:

16.0ms
(+.f64 (+.f64 1/2 (/.f64 1 x)) (*.f64 x 1/12))
11.0ms
(+.f64 1/2 (/.f64 1 x))
7.0ms
(*.f64 x 1/12)

series137.0ms (2.8%)

Counts
3 → 18
Calls

3 calls:

78.0ms
(+.f64 (+.f64 1/2 (/.f64 1 x)) (*.f64 x 1/12))
31.0ms
(*.f64 x 1/12)
28.0ms
(+.f64 1/2 (/.f64 1 x))
Compiler

Compiled 203 to 184 computations (9.4% saved)

simplify147.0ms (3%)

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 0 (126.0ms)

IterNodesCost
04880618
14880618

prune89.0ms (1.8%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New62062
Fresh022
Picked011
Done011
Total62466
Error
0b
Counts
66 → 4
Compiler

Compiled 755 to 604 computations (20% saved)

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.0b
(/.f64 1 (-.f64 1 (exp.f64 (neg.f64 x))))
3.9b
(-.f64 1 (exp.f64 (neg.f64 x)))

rewrite30.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt_binary64_1464 *-un-lft-identity_binary64_1442
18×times-frac_binary64_1448
14×add-cube-cbrt_binary64_1477
10×difference-of-squares_binary64_1411
associate-/r*_binary64_1386 add-exp-log_binary64_1480
distribute-lft-out--_binary64_1394
add-cbrt-cube_binary64_1478 add-log-exp_binary64_1481
cancel-sign-sub-inv_binary64_1408 associate-/l*_binary64_1387 pow1_binary64_1503
associate-/r/_binary64_1388 flip3--_binary64_1446 flip--_binary64_1417 div-exp_binary64_1493
inv-pow_binary64_1527 cbrt-undiv_binary64_1476 div-inv_binary64_1439 sub-neg_binary64_1435 clear-num_binary64_1441 1-exp_binary64_1486 rec-exp_binary64_1492 pow-flip_binary64_1516 frac-2neg_binary64_1453 diff-log_binary64_1534
Counts
2 → 62
Calls

2 calls:

12.0ms
(/.f64 1 (-.f64 1 (exp.f64 (neg.f64 x))))
9.0ms
(-.f64 1 (exp.f64 (neg.f64 x)))

series115.0ms (2.3%)

Counts
2 → 12
Calls

2 calls:

78.0ms
(/.f64 1 (-.f64 1 (exp.f64 (neg.f64 x))))
36.0ms
(-.f64 1 (exp.f64 (neg.f64 x)))
Compiler

Compiled 140 to 131 computations (6.4% saved)

simplify146.0ms (2.9%)

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 0 (114.0ms)

IterNodesCost
049511118
149511118

prune91.0ms (1.8%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New74074
Fresh011
Picked011
Done022
Total74478
Error
0b
Counts
78 → 4
Compiler

Compiled 917 to 587 computations (36% saved)

regimes150.0ms (3%)

Accuracy

Total 0.9b remaining (98.2%)

Threshold costs 0.9b (98.2%)

Compiler

Compiled 661 to 508 computations (23.1% saved)

bsearch0.0ms (0%)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02027
12027

end0.0ms (0%)

sample2.0s (39.9%)

Algorithm
intervals
Results
703.0ms2614×body1024valid
200.0ms1315×body512valid
138.0ms3158×body128valid
88.0ms285×body2048valid
63.0ms628×body256valid
Compiler

Compiled 218 to 170 computations (22% saved)

Profiling

Loading profile data...