Details

Time bar (total: 3.9s)

analyze392.0ms (10.1%)

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
Symmetry
Compiler

Compiled 8 to 6 computations (25% saved)

sample28.0ms (0.7%)

Algorithm
intervals
Results
12.0ms93×body1024valid
3.0ms43×body512valid
2.0ms98×body128valid
1.0msbody2048valid
1.0ms16×body256valid
Compiler

Compiled 15 to 12 computations (20% saved)

simplify7.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
01011
11011

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 14 to 10 computations (28.6% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.0b
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1))
4.3b
(-.f64 (exp.f64 x) 1)

rewrite84.0ms (2.2%)

Algorithm
rewrite-expression-head
Error
41.3b
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-log-exp_binary64_1481 add-cbrt-cube_binary64_1478
add-exp-log_binary64_1480 cancel-sign-sub-inv_binary64_1408 associate-/l*_binary64_1387
pow1_binary64_1503 flip3--_binary64_1446 flip--_binary64_1417 associate-/r/_binary64_1388
diff-log_binary64_1534 sub-neg_binary64_1435 div-exp_binary64_1493 cbrt-undiv_binary64_1476 frac-2neg_binary64_1453 clear-num_binary64_1441 div-inv_binary64_1439
Counts
2 → 63
Calls

2 calls:

8.0ms
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1))
5.0ms
(-.f64 (exp.f64 x) 1)
Compiler

Compiled 977 to 489 computations (49.9% saved)

series78.0ms (2%)

Error
0.0b
Counts
2 → 12
Calls

2 calls:

45.0ms
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1))
17.0ms
(-.f64 (exp.f64 x) 1)
Compiler

Compiled 252 to 184 computations (27% saved)

simplify64.0ms (1.7%)

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
051051195

prune61.0ms (1.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New72375
Fresh000
Picked011
Done000
Total72476
Error
0.0b
Counts
76 → 4
Compiler

Compiled 1025 to 517 computations (49.6% saved)

localize11.0ms (0.3%)

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)

rewrite138.0ms (3.6%)

Algorithm
rewrite-expression-head
Error
0.0b
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
pow-prod-down_binary64_1513 prod-exp_binary64_1491 cbrt-unprod_binary64_1475
add-log-exp_binary64_1481 associate-*r/_binary64_1384
unswap-sqr_binary64_1410 *-commutative_binary64_1373 flip3-+_binary64_1445 flip-+_binary64_1416 associate-/l*_binary64_1387 associate-/r*_binary64_1386
distribute-rgt-in_binary64_1392 distribute-lft-in_binary64_1391 associate-/r/_binary64_1388
div-exp_binary64_1493 cbrt-undiv_binary64_1476 frac-2neg_binary64_1453 clear-num_binary64_1441 div-inv_binary64_1439
Counts
4 → 92
Calls

4 calls:

8.0ms
(*.f64 (*.f64 x x) (+.f64 1/2 (*.f64 x (+.f64 1/6 (*.f64 1/24 x)))))
6.0ms
(*.f64 x (+.f64 1/6 (*.f64 1/24 x)))
6.0ms
(/.f64 (exp.f64 x) (+.f64 x (*.f64 (*.f64 x x) (+.f64 1/2 (*.f64 x (+.f64 1/6 (*.f64 1/24 x)))))))
4.0ms
(*.f64 1/24 x)
Compiler

Compiled 2689 to 1626 computations (39.5% saved)

series161.0ms (4.2%)

Error
0.0b
Counts
4 → 19
Calls

4 calls:

54.0ms
(*.f64 x (+.f64 1/6 (*.f64 1/24 x)))
41.0ms
(*.f64 (*.f64 x x) (+.f64 1/2 (*.f64 x (+.f64 1/6 (*.f64 1/24 x)))))
34.0ms
(/.f64 (exp.f64 x) (+.f64 x (*.f64 (*.f64 x x) (+.f64 1/2 (*.f64 x (+.f64 1/6 (*.f64 1/24 x)))))))
19.0ms
(*.f64 1/24 x)
Compiler

Compiled 739 to 532 computations (28% saved)

simplify62.0ms (1.6%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
050012236

prune123.0ms (3.2%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1101111
Fresh022
Picked011
Done011
Total1105115
Error
0.0b
Counts
115 → 5
Compiler

Compiled 2754 to 1721 computations (37.5% saved)

localize15.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

rewrite127.0ms (3.3%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
16×add-sqr-sqrt_binary64_1464
10×pow1_binary64_1503 add-exp-log_binary64_1480 add-cbrt-cube_binary64_1478 add-cube-cbrt_binary64_1477 *-un-lft-identity_binary64_1442
associate-*l*_binary64_1383 associate-*r*_binary64_1382
add-log-exp_binary64_1481
associate-*r/_binary64_1384
pow-prod-down_binary64_1513 prod-exp_binary64_1491 cbrt-unprod_binary64_1475 unswap-sqr_binary64_1410 *-commutative_binary64_1373 flip3-+_binary64_1445 flip-+_binary64_1416
distribute-rgt-in_binary64_1392 distribute-lft-in_binary64_1391
sum-log_binary64_1533 +-commutative_binary64_1372
Counts
4 → 73
Calls

4 calls:

12.0ms
(*.f64 x (+.f64 (*.f64 x (+.f64 (*.f64 1/24 x) 1/6)) 1/2))
7.0ms
(*.f64 x (+.f64 (*.f64 1/24 x) 1/6))
5.0ms
(+.f64 (*.f64 1/24 x) 1/6)
4.0ms
(*.f64 1/24 x)
Compiler

Compiled 2015 to 1457 computations (27.7% saved)

series155.0ms (4%)

Error
0.0b
Counts
4 → 20
Calls

4 calls:

50.0ms
(*.f64 x (+.f64 (*.f64 1/24 x) 1/6))
35.0ms
(*.f64 x (+.f64 (*.f64 x (+.f64 (*.f64 1/24 x) 1/6)) 1/2))
34.0ms
(+.f64 (*.f64 1/24 x) 1/6)
19.0ms
(*.f64 1/24 x)
Compiler

Compiled 994 to 772 computations (22.3% saved)

simplify80.0ms (2.1%)

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
049231083
149231083

prune107.0ms (2.8%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New93093
Fresh022
Picked011
Done022
Total93598
Error
0.0b
Counts
98 → 5
Compiler

Compiled 2272 to 1630 computations (28.3% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (+.f64 (+.f64 1/2 (/.f64 1 x)) (*.f64 x 1/12)) (*.f64 (pow.f64 x 3) 1/720))
0.0b
(+.f64 (+.f64 1/2 (/.f64 1 x)) (*.f64 x 1/12))
0.1b
(*.f64 (pow.f64 x 3) 1/720)
0.3b
(*.f64 x 1/12)

rewrite136.0ms (3.5%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
19×add-sqr-sqrt_binary64_1464
18×add-log-exp_binary64_1481
15×associate-*l*_binary64_1383
11×add-exp-log_binary64_1480
10×add-cube-cbrt_binary64_1477 *-un-lft-identity_binary64_1442
add-cbrt-cube_binary64_1478
pow1_binary64_1503 associate-*r*_binary64_1382 sum-log_binary64_1533
unswap-sqr_binary64_1410
prod-exp_binary64_1491 unpow-prod-down_binary64_1521 cube-prod_binary64_1470
diff-log_binary64_1534
cbrt-unprod_binary64_1475 *-commutative_binary64_1373 sqr-pow_binary64_1414
pow-prod-down_binary64_1513 pow-to-exp_binary64_1511 pow-exp_binary64_1510 unpow3_binary64_1508 cube-mult_binary64_1472 flip3-+_binary64_1445 flip-+_binary64_1416 associate-+l+_binary64_1375 +-commutative_binary64_1372 flip3--_binary64_1446 sub-neg_binary64_1435 flip--_binary64_1417 cancel-sign-sub-inv_binary64_1408 associate--l+_binary64_1379
Counts
4 → 77
Calls

4 calls:

13.0ms
(-.f64 (+.f64 (+.f64 1/2 (/.f64 1 x)) (*.f64 x 1/12)) (*.f64 (pow.f64 x 3) 1/720))
10.0ms
(+.f64 (+.f64 1/2 (/.f64 1 x)) (*.f64 x 1/12))
8.0ms
(*.f64 (pow.f64 x 3) 1/720)
4.0ms
(*.f64 x 1/12)
Compiler

Compiled 1744 to 1403 computations (19.6% saved)

series152.0ms (3.9%)

Error
0.0b
Counts
4 → 27
Calls

4 calls:

43.0ms
(+.f64 (+.f64 1/2 (/.f64 1 x)) (*.f64 x 1/12))
36.0ms
(-.f64 (+.f64 (+.f64 1/2 (/.f64 1 x)) (*.f64 x 1/12)) (*.f64 (pow.f64 x 3) 1/720))
34.0ms
(*.f64 (pow.f64 x 3) 1/720)
20.0ms
(*.f64 x 1/12)
Compiler

Compiled 749 to 635 computations (15.2% saved)

simplify77.0ms (2%)

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
049461364
149461364

prune108.0ms (2.8%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1040104
Fresh011
Picked011
Done033
Total1045109
Error
0.0b
Counts
109 → 5
Compiler

Compiled 1905 to 1520 computations (20.2% saved)

regimes200.0ms (5.2%)

Accuracy

Total 0.9b remaining (99.5%)

Threshold costs 0.9b (99.5%)

Compiler

Compiled 2319 to 1645 computations (29.1% saved)

bsearch2.0ms (0%)

Compiler

Compiled 7 to 5 computations (28.6% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07467
17467
Removed

()

end0.0ms (0%)

sample1.5s (38.4%)

Algorithm
intervals
Results
360.0ms2669×body1024valid
104.0ms1316×body512valid
74.0ms3108×body128valid
48.0ms274×body2048valid
30.0ms633×body256valid
Compiler

Compiled 713 to 512 computations (28.2% saved)

Profiling

Loading profile data...