Details

Time bar (total: 6.8s)

analyze4.0ms (0.1%)

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%0.8%49.2%9
50.4%0.4%49.2%10
50.4%0.2%49.4%11
50.4%0.1%49.5%12
50.4%0%49.6%13
50.4%0%49.6%14
Compiler

Compiled 9 to 8 computations (11.1% saved)

sample104.0ms (1.5%)

Algorithm
intervals
Results
74.0ms128×body2048valid
17.0ms71×body1024valid
5.0ms38×body512valid
1.0ms12×body256valid
0.0msbody128valid
Compiler

Compiled 17 to 16 computations (5.9% saved)

simplify240.0ms (3.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (74.0ms)

IterNodesCost
0508713

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.0b

Counts
2 → 1
Compiler

Compiled 16 to 14 computations (12.5% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.0b
(-.f64 (exp.f64 x) 2)
2.5b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))

rewrite18.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64_1442
add-log-exp_binary64_1481
cancel-sign-sub-inv_binary64_1408 add-sqr-sqrt_binary64_1464
associate-+l+_binary64_1375 frac-add_binary64_1450 add-cube-cbrt_binary64_1477
flip3--_binary64_1446 flip--_binary64_1417
add-cbrt-cube_binary64_1478 sum-log_binary64_1533 sub-neg_binary64_1435 add-exp-log_binary64_1480 distribute-lft-out_binary64_1393 diff-log_binary64_1534 exp-diff_binary64_1490 pow1_binary64_1503 neg-sub0_binary64_1437 distribute-lft-out--_binary64_1394 exp-neg_binary64_1489
+-commutative_binary64_1372 flip3-+_binary64_1445 flip-+_binary64_1416 associate-+l-_binary64_1377 difference-of-squares_binary64_1411
Counts
2 → 39
Calls

2 calls:

10.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
5.0ms
(-.f64 (exp.f64 x) 2)

series77.0ms (1.1%)

Counts
2 → 6
Calls

2 calls:

59.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
18.0ms
(-.f64 (exp.f64 x) 2)

simplify58.0ms (0.9%)

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
04904654
14904654

prune42.0ms (0.6%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New43245
Fresh000
Picked101
Done000
Total44246

Merged error: 0.0b

Counts
46 → 2
Compiler

Compiled 621 to 325 computations (47.7% saved)

localize12.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(+.f64 (*.f64 x x) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))))
0.0b
(*.f64 1/360 (pow.f64 x 6))
0.1b
(*.f64 1/12 (pow.f64 x 4))

rewrite28.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt_binary64_1464
14×associate-*r*_binary64_1382
13×add-exp-log_binary64_1480
add-cube-cbrt_binary64_1477 *-un-lft-identity_binary64_1442
add-log-exp_binary64_1481 unpow-prod-down_binary64_1521
add-cbrt-cube_binary64_1478
associate-*l*_binary64_1383 prod-exp_binary64_1491 unswap-sqr_binary64_1410
sqr-pow_binary64_1414
sum-log_binary64_1533 pow1_binary64_1503
cbrt-unprod_binary64_1475 pow-exp_binary64_1510 *-commutative_binary64_1373 pow-to-exp_binary64_1511
+-commutative_binary64_1372 flip3-+_binary64_1445 flip-+_binary64_1416 associate-+r+_binary64_1374
Counts
3 → 63
Calls

3 calls:

9.0ms
(+.f64 (*.f64 x x) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))))
7.0ms
(*.f64 1/12 (pow.f64 x 4))
6.0ms
(*.f64 1/360 (pow.f64 x 6))

series190.0ms (2.8%)

Counts
3 → 9
Calls

3 calls:

68.0ms
(*.f64 1/360 (pow.f64 x 6))
63.0ms
(+.f64 (*.f64 x x) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))))
58.0ms
(*.f64 1/12 (pow.f64 x 4))

simplify81.0ms (1.2%)

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
04910967
14910967

prune85.0ms (1.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New70272
Fresh011
Picked011
Done000
Total70474

Merged error: 0b

Counts
74 → 4
Compiler

Compiled 1540 to 1079 computations (29.9% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.4b
(*.f64 (cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6))))) (cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6))))))
27.7b
(cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6)))))
27.7b
(cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6)))))
27.7b
(cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6)))))

rewrite65.0ms (1%)

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod_binary64_1473
23×add-sqr-sqrt_binary64_1464
18×cbrt-div_binary64_1474
15×add-cube-cbrt_binary64_1477 *-un-lft-identity_binary64_1442
11×pow1_binary64_1503
flip3-+_binary64_1445 flip-+_binary64_1416 pow1/3_binary64_1524
associate-*r*_binary64_1382 swap-sqr_binary64_1409 associate-*l*_binary64_1383 add-exp-log_binary64_1480
add-cbrt-cube_binary64_1478 add-log-exp_binary64_1481 frac-times_binary64_1452 unswap-sqr_binary64_1410
associate-*r/_binary64_1384 pow-prod-down_binary64_1513 pow-sqr_binary64_1415 pow-prod-up_binary64_1512 associate-*l/_binary64_1385
pow2_binary64_1523 cbrt-unprod_binary64_1475 pow-plus_binary64_1505 *-commutative_binary64_1373 prod-exp_binary64_1491
Counts
4 → 87
Calls

4 calls:

22.0ms
(*.f64 (cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6))))) (cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6))))))
10.0ms
(cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6)))))
8.0ms
(cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6)))))
8.0ms
(cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6)))))

series603.0ms (8.9%)

Counts
4 → 12
Calls

4 calls:

171.0ms
(*.f64 (cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6))))) (cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6))))))
145.0ms
(cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6)))))
144.0ms
(cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6)))))
143.0ms
(cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6)))))

simplify102.0ms (1.5%)

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
049204267
149204267

prune358.0ms (5.3%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New99099
Fresh022
Picked011
Done011
Total994103

Merged error: 0b

Counts
103 → 4
Compiler

Compiled 6133 to 4442 computations (27.6% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(pow.f64 (exp.f64 x) -2)
0.0b
(*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2))
0.0b
(/.f64 (-.f64 (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2)) (pow.f64 (exp.f64 x) -2)) (-.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))
2.7b
(-.f64 (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2)) (pow.f64 (exp.f64 x) -2))

rewrite93.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
80×*-un-lft-identity_binary64_1442
71×add-sqr-sqrt_binary64_1464
36×times-frac_binary64_1448
35×difference-of-squares_binary64_1411
31×add-cube-cbrt_binary64_1477
27×distribute-lft-out--_binary64_1394
19×cancel-sign-sub-inv_binary64_1408
14×unpow-prod-down_binary64_1521
12×pow1_binary64_1503
11×flip3--_binary64_1446 flip--_binary64_1417
10×sqr-pow_binary64_1414
associate--l+_binary64_1379 add-cbrt-cube_binary64_1478 add-exp-log_binary64_1480 distribute-lft-in_binary64_1391 distribute-rgt-in_binary64_1392
swap-sqr_binary64_1409
associate-/r*_binary64_1386 associate-/r/_binary64_1388 associate-/l*_binary64_1387 add-log-exp_binary64_1481
associate-*r*_binary64_1382 sub-neg_binary64_1435 associate-*l*_binary64_1383
frac-sub_binary64_1451 frac-times_binary64_1452 pow-pow_binary64_1514
pow-unpow_binary64_1519 exp-prod_binary64_1494
associate-*r/_binary64_1384 associate-/l/_binary64_1389 exp-diff_binary64_1490 neg-sub0_binary64_1437 associate-*l/_binary64_1385 exp-neg_binary64_1489
pow2_binary64_1523 cbrt-undiv_binary64_1476 cbrt-unprod_binary64_1475 pow-exp_binary64_1510 div-inv_binary64_1439 clear-num_binary64_1441 pow-plus_binary64_1505 pow-prod-down_binary64_1513 *-commutative_binary64_1373 pow-sqr_binary64_1415 frac-2neg_binary64_1453 diff-log_binary64_1534 prod-exp_binary64_1491 div-sub_binary64_1447 pow-prod-up_binary64_1512 div-exp_binary64_1493 pow-to-exp_binary64_1511 unswap-sqr_binary64_1410
Counts
4 → 167
Calls

4 calls:

31.0ms
(/.f64 (-.f64 (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2)) (pow.f64 (exp.f64 x) -2)) (-.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))
20.0ms
(-.f64 (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2)) (pow.f64 (exp.f64 x) -2))
14.0ms
(*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2))
4.0ms
(pow.f64 (exp.f64 x) -2)

series588.0ms (8.6%)

Counts
4 → 12
Calls

4 calls:

361.0ms
(/.f64 (-.f64 (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2)) (pow.f64 (exp.f64 x) -2)) (-.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))
133.0ms
(-.f64 (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2)) (pow.f64 (exp.f64 x) -2))
51.0ms
(pow.f64 (exp.f64 x) -2)
42.0ms
(*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2))

simplify122.0ms (1.8%)

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 0 (75.0ms)

IterNodesCost
049184731
149184731

prune237.0ms (3.5%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1790179
Fresh011
Picked011
Done022
Total1794183

Merged error: 0b

Counts
183 → 4
Compiler

Compiled 5206 to 2879 computations (44.7% saved)

regimes57.0ms (0.8%)

Compiler

Compiled 648 to 484 computations (25.3% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01722
11722

end0.0ms (0%)

sample3.6s (52.9%)

Algorithm
intervals
Results
2.4s4195×body2048valid
508.0ms2010×body1024valid
132.0ms955×body512valid
40.0ms488×body256valid
16.0ms352×body128valid
Compiler

Compiled 347 to 263 computations (24.2% saved)

Profiling

Loading profile data...