Details

Time bar (total: 26.8s)

analyze1.9s (7.1%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05362451
055
155
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%81.1%18.9%7
0%68.6%31.4%8
0%59.2%40.8%9
0%59.2%40.8%10
0%59.2%40.8%11
0.4%49.5%50.1%12
0.8%44.4%54.8%13
1.4%39.9%58.7%14
Symmetry

(sort M D)

Compiler

Compiled 36 to 32 computations (11.1% saved)

sample160.0ms (0.6%)

Algorithm
intervals
Results
45.0ms314×body128nan
35.0ms256×body128valid
23.0ms178×body128invalid
Compiler

Compiled 71 to 68 computations (4.2% saved)

simplify35.0ms (0.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
0520541

prune5.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112
Error
28.3b
Counts
2 → 1
Compiler

Compiled 54 to 46 computations (14.8% saved)

localize18.0ms (0.1%)

Local error

Found 4 expressions with local error:

6.2b
(/.f64 (*.f64 M D) (*.f64 d 2))
12.3b
(sqrt.f64 (/.f64 d h))
12.5b
(sqrt.f64 (/.f64 d l))
15.4b
(*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))

rewrite245.0ms (0.9%)

Algorithm
rewrite-expression-head
Error
14.7b
Rules
84×add-exp-log_binary64_1480
42×prod-exp_binary64_1491
31×add-sqr-sqrt_binary64_1464
30×times-frac_binary64_1448
28×add-cbrt-cube_binary64_1478
26×sqrt-prod_binary64_1458
25×add-cube-cbrt_binary64_1477 *-un-lft-identity_binary64_1442
20×div-exp_binary64_1493
13×associate-*r*_binary64_1382
10×pow-exp_binary64_1510 cbrt-unprod_binary64_1475
pow1_binary64_1503
cbrt-undiv_binary64_1476
add-log-exp_binary64_1481 div-inv_binary64_1439 rem-sqrt-square_binary64_1455
pow-to-exp_binary64_1511 pow1/2_binary64_1522 sqrt-pow1_binary64_1460 sqrt-div_binary64_1459
pow-prod-down_binary64_1513 associate-*r/_binary64_1384 associate-*l*_binary64_1383 *-commutative_binary64_1373 frac-2neg_binary64_1453 clear-num_binary64_1441 associate-/l*_binary64_1387 associate-/r*_binary64_1386
Counts
4 → 115
Calls

4 calls:

11.0ms
(*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))
6.0ms
(/.f64 (*.f64 M D) (*.f64 d 2))
3.0ms
(sqrt.f64 (/.f64 d l))
3.0ms
(sqrt.f64 (/.f64 d h))
Compiler

Compiled 3980 to 1816 computations (54.4% saved)

series800.0ms (3%)

Error
26.6b
Counts
4 → 36
Calls

4 calls:

541.0ms
(*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))
138.0ms
(/.f64 (*.f64 M D) (*.f64 d 2))
42.0ms
(sqrt.f64 (/.f64 d h))
40.0ms
(sqrt.f64 (/.f64 d l))
Compiler

Compiled 3146 to 2306 computations (26.7% saved)

simplify69.0ms (0.3%)

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
050392413

prune262.0ms (1%)

Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New13021151
Fresh000
Picked101
Done000
Total13121152
Error
14.0b
Counts
152 → 21
Compiler

Compiled 5318 to 2516 computations (52.7% saved)

localize24.0ms (0.1%)

Local error

Found 4 expressions with local error:

5.8b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (sqrt.f64 (/.f64 d l))) (-.f64 1 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))))
6.2b
(/.f64 (*.f64 M D) (*.f64 d 2))
12.5b
(sqrt.f64 (/.f64 d l))
15.4b
(*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))

rewrite295.0ms (1.1%)

Algorithm
rewrite-expression-head
Error
12.0b
Rules
93×add-exp-log_binary64_1480
48×prod-exp_binary64_1491
37×add-cbrt-cube_binary64_1478
22×add-sqr-sqrt_binary64_1464
20×div-exp_binary64_1493 times-frac_binary64_1448
19×add-cube-cbrt_binary64_1477 *-un-lft-identity_binary64_1442
16×pow1_binary64_1503 cbrt-unprod_binary64_1475 associate-*r*_binary64_1382
13×sqrt-div_binary64_1459 sqrt-prod_binary64_1458
12×associate-*r/_binary64_1384
10×pow-exp_binary64_1510
frac-times_binary64_1452
pow-prod-down_binary64_1513
cbrt-undiv_binary64_1476 associate-*l/_binary64_1385
add-log-exp_binary64_1481 flip3--_binary64_1446 flip--_binary64_1417
div-inv_binary64_1439
pow-to-exp_binary64_1511 associate-*l*_binary64_1383 *-commutative_binary64_1373 rem-sqrt-square_binary64_1455 sub-neg_binary64_1435 distribute-rgt-in_binary64_1392 cancel-sign-sub-inv_binary64_1408 distribute-lft-in_binary64_1391
pow1/2_binary64_1522 sqrt-pow1_binary64_1460 frac-2neg_binary64_1453 clear-num_binary64_1441 associate-/l*_binary64_1387 associate-/r*_binary64_1386
Counts
4 → 126
Calls

4 calls:

21.0ms
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (sqrt.f64 (/.f64 d l))) (-.f64 1 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))))
13.0ms
(*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))
6.0ms
(/.f64 (*.f64 M D) (*.f64 d 2))
3.0ms
(sqrt.f64 (/.f64 d l))
Compiler

Compiled 6223 to 2306 computations (62.9% saved)

series2.5s (9.2%)

Error
13.6b
Counts
4 → 51
Calls

4 calls:

1.6s
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (sqrt.f64 (/.f64 d l))) (-.f64 1 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))))
555.0ms
(*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))
142.0ms
(/.f64 (*.f64 M D) (*.f64 d 2))
43.0ms
(sqrt.f64 (/.f64 d l))
Compiler

Compiled 6088 to 4435 computations (27.2% saved)

simplify126.0ms (0.5%)

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 0 (76.0ms)

IterNodesCost
049475747
149475747

prune320.0ms (1.2%)

Pruning

27 alts after pruning (27 fresh and 0 done)

PrunedKeptTotal
New16512177
Fresh51520
Picked101
Done000
Total17127198
Error
11.5b
Counts
198 → 27
Compiler

Compiled 8403 to 3369 computations (59.9% saved)

localize27.0ms (0.1%)

Local error

Found 4 expressions with local error:

6.2b
(/.f64 (*.f64 M D) (*.f64 2 d))
6.3b
(/.f64 (*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2))) l)
6.3b
(*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)))
12.5b
(sqrt.f64 (/.f64 d l))

rewrite191.0ms (0.7%)

Algorithm
rewrite-expression-head
Error
10.0b
Rules
86×add-exp-log_binary64_1480
42×prod-exp_binary64_1491
30×add-cbrt-cube_binary64_1478
21×div-exp_binary64_1493
17×add-sqr-sqrt_binary64_1464
14×add-cube-cbrt_binary64_1477 times-frac_binary64_1448 *-un-lft-identity_binary64_1442
13×sqrt-prod_binary64_1458
10×pow-exp_binary64_1510 cbrt-unprod_binary64_1475
pow1_binary64_1503 cbrt-undiv_binary64_1476
add-log-exp_binary64_1481 associate-/r*_binary64_1386
div-inv_binary64_1439 associate-*l*_binary64_1383
rem-sqrt-square_binary64_1455 pow-to-exp_binary64_1511 frac-2neg_binary64_1453 clear-num_binary64_1441 associate-/l*_binary64_1387
pow1/2_binary64_1522 sqrt-pow1_binary64_1460 sqrt-div_binary64_1459 pow-prod-down_binary64_1513 associate-*r*_binary64_1382 *-commutative_binary64_1373
Counts
4 → 98
Calls

4 calls:

10.0ms
(/.f64 (*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2))) l)
8.0ms
(*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)))
6.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))
3.0ms
(sqrt.f64 (/.f64 d l))
Compiler

Compiled 4302 to 1677 computations (61% saved)

series1.1s (4.1%)

Error
11.5b
Counts
4 → 42
Calls

4 calls:

530.0ms
(/.f64 (*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2))) l)
349.0ms
(*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)))
132.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))
42.0ms
(sqrt.f64 (/.f64 d l))
Compiler

Compiled 4768 to 3034 computations (36.4% saved)

simplify67.0ms (0.2%)

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
051702467

prune244.0ms (0.9%)

Pruning

30 alts after pruning (30 fresh and 0 done)

PrunedKeptTotal
New1319140
Fresh52126
Picked101
Done000
Total13730167
Error
10.0b
Counts
167 → 30
Compiler

Compiled 6715 to 2678 computations (60.1% saved)

localize31.0ms (0.1%)

Local error

Found 4 expressions with local error:

5.8b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 l))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 l))))) (-.f64 1 (/.f64 (*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2))) l)))
6.2b
(/.f64 (*.f64 M D) (*.f64 2 d))
6.3b
(/.f64 (*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2))) l)
6.3b
(*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)))

rewrite349.0ms (1.3%)

Algorithm
rewrite-expression-head
Error
9.5b
Rules
104×add-exp-log_binary64_1480
55×prod-exp_binary64_1491
48×add-cbrt-cube_binary64_1478
24×pow1_binary64_1503
23×cbrt-unprod_binary64_1475
21×div-exp_binary64_1493
17×associate-*r/_binary64_1384
15×add-sqr-sqrt_binary64_1464 *-un-lft-identity_binary64_1442
14×pow-prod-down_binary64_1513 cancel-sign-sub-inv_binary64_1408
12×add-cube-cbrt_binary64_1477 sqrt-div_binary64_1459
10×pow-exp_binary64_1510 times-frac_binary64_1448
frac-times_binary64_1452
distribute-rgt-in_binary64_1392 distribute-lft-in_binary64_1391
associate-*r*_binary64_1382 cbrt-undiv_binary64_1476
associate-*l/_binary64_1385
add-log-exp_binary64_1481 associate-*l*_binary64_1383 div-inv_binary64_1439 associate-/r*_binary64_1386 flip3--_binary64_1446 flip--_binary64_1417
pow-to-exp_binary64_1511 *-commutative_binary64_1373 frac-2neg_binary64_1453 clear-num_binary64_1441 associate-/l*_binary64_1387 sub-neg_binary64_1435 difference-of-squares_binary64_1411
distribute-lft-out--_binary64_1394
Counts
4 → 130
Calls

4 calls:

32.0ms
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 l))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 l))))) (-.f64 1 (/.f64 (*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2))) l)))
10.0ms
(/.f64 (*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2))) l)
8.0ms
(*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)))
6.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))
Compiler

Compiled 8304 to 2673 computations (67.8% saved)

series3.4s (12.8%)

Error
9.9b
Counts
4 → 60
Calls

4 calls:

2.3s
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 l))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 l))))) (-.f64 1 (/.f64 (*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2))) l)))
536.0ms
(/.f64 (*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2))) l)
362.0ms
(*.f64 h (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)))
143.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))
Compiler

Compiled 8609 to 5644 computations (34.4% saved)

simplify126.0ms (0.5%)

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
049639026
149639026

prune315.0ms (1.2%)

Pruning

31 alts after pruning (31 fresh and 0 done)

PrunedKeptTotal
New1828190
Fresh62329
Picked101
Done000
Total18931220
Error
9.6b
Counts
220 → 31
Compiler

Compiled 9880 to 2781 computations (71.9% saved)

regimes4.2s (15.5%)

Accuracy

Total 5.6b remaining (40%)

Threshold costs 0b (0%)

Compiler

Compiled 65544 to 46013 computations (29.8% saved)

bsearch16.0ms (0.1%)

Compiler

Compiled 35 to 31 computations (11.4% saved)

simplify19.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0156195
1156195
Compiler

Compiled 246 to 144 computations (41.5% saved)

end0.0ms (0%)

sample10.0s (37.3%)

Algorithm
intervals
Results
1.1s8000×body128valid
1.1s8678×body128nan
670.0ms4854×body128invalid
Compiler

Compiled 8424 to 5907 computations (29.9% saved)

Profiling

Loading profile data...