Details

Time bar (total: 5.5s)

analyze2.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
100%0%0%1
Compiler

Compiled 13 to 13 computations (0% saved)

sample36.0ms (0.7%)

Algorithm
intervals
Results
17.0ms68×body2048valid
6.0ms145×body128valid
4.0ms24×body1024valid
2.0ms15×body512valid
0.0msbody256valid
Compiler

Compiled 25 to 26 computations (-4% saved)

simplify102.0ms (1.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
04515
14515

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 20 to 20 computations (0% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.0b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
2.4b
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))

rewrite19.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity_binary64_1442
14×add-sqr-sqrt_binary64_1464
12×sqrt-prod_binary64_1458
cancel-sign-sub-inv_binary64_1408
add-cube-cbrt_binary64_1477
add-log-exp_binary64_1481 difference-of-squares_binary64_1411
distribute-lft-out_binary64_1393 pow1_binary64_1503 distribute-lft-out--_binary64_1394
add-cbrt-cube_binary64_1478 sqrt-div_binary64_1459 add-exp-log_binary64_1480
sqrt-pow1_binary64_1460 rem-sqrt-square_binary64_1455 sub-neg_binary64_1435 flip3--_binary64_1446 flip--_binary64_1417 diff-log_binary64_1534 flip3-+_binary64_1445 flip-+_binary64_1416 pow1/2_binary64_1522
Counts
2 → 41
Calls

2 calls:

10.0ms
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
6.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))

series120.0ms (2.2%)

Counts
2 → 6
Calls

2 calls:

63.0ms
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
57.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))

simplify61.0ms (1.1%)

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
04848861
14848861

prune58.0ms (1.1%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New42547
Fresh000
Picked101
Done000
Total43548
Error
12.2b
Counts
48 → 5
Compiler

Compiled 819 to 750 computations (8.4% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
0.0b
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
0.0b
(/.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
1.8b
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

rewrite56.0ms (1%)

Algorithm
rewrite-expression-head
Rules
84×*-un-lft-identity_binary64_1442
83×add-sqr-sqrt_binary64_1464
53×times-frac_binary64_1448
33×distribute-lft-out_binary64_1393
26×add-cube-cbrt_binary64_1477
20×sqrt-prod_binary64_1458
16×difference-of-squares_binary64_1411
13×cancel-sign-sub-inv_binary64_1408
add-log-exp_binary64_1481 distribute-lft-out--_binary64_1394
associate-/r*_binary64_1386 add-cbrt-cube_binary64_1478 associate-/l*_binary64_1387 add-exp-log_binary64_1480
pow1_binary64_1503
flip3-+_binary64_1445 flip-+_binary64_1416
associate-/l/_binary64_1389 div-inv_binary64_1439 associate-/r/_binary64_1388 flip3--_binary64_1446 sqrt-div_binary64_1459 flip--_binary64_1417
sqrt-pow1_binary64_1460 cbrt-undiv_binary64_1476 rem-sqrt-square_binary64_1455 sum-log_binary64_1533 sub-neg_binary64_1435 clear-num_binary64_1441 +-commutative_binary64_1372 frac-2neg_binary64_1453 diff-log_binary64_1534 pow1/2_binary64_1522 div-sub_binary64_1447 div-exp_binary64_1493
Counts
4 → 122
Calls

4 calls:

18.0ms
(/.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
11.0ms
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
7.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))
6.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))

series299.0ms (5.4%)

Counts
4 → 12
Calls

4 calls:

164.0ms
(/.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
52.0ms
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
48.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
34.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

simplify92.0ms (1.7%)

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
049773694
149773694

prune243.0ms (4.4%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1313134
Fresh314
Picked101
Done000
Total1354139
Error
12.1b
Counts
139 → 4
Compiler

Compiled 3650 to 3285 computations (10% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
0.0b
(/.f64 1 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
0.0b
(/.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
1.8b
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

rewrite110.0ms (2%)

Algorithm
rewrite-expression-head
Rules
347×times-frac_binary64_1448
344×add-sqr-sqrt_binary64_1464 *-un-lft-identity_binary64_1442
128×distribute-lft-out_binary64_1393
120×add-cube-cbrt_binary64_1477
64×sqrt-prod_binary64_1458 difference-of-squares_binary64_1411
48×associate-/r*_binary64_1386
32×distribute-lft-out--_binary64_1394
17×add-exp-log_binary64_1480
13×cancel-sign-sub-inv_binary64_1408
11×add-cbrt-cube_binary64_1478 associate-/r/_binary64_1388
associate-/l*_binary64_1387
add-log-exp_binary64_1481 div-exp_binary64_1493
div-inv_binary64_1439
flip3--_binary64_1446 flip--_binary64_1417
pow1_binary64_1503
cbrt-undiv_binary64_1476
associate-/l/_binary64_1389 clear-num_binary64_1441 1-exp_binary64_1486 rec-exp_binary64_1492 frac-2neg_binary64_1453 flip3-+_binary64_1445 flip-+_binary64_1416
inv-pow_binary64_1527 sum-log_binary64_1533 sub-neg_binary64_1435 +-commutative_binary64_1372 pow-flip_binary64_1516 diff-log_binary64_1534
Counts
4 → 297
Calls

4 calls:

24.0ms
(/.f64 1 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
17.0ms
(/.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
9.0ms
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
8.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

series386.0ms (7%)

Counts
4 → 12
Calls

4 calls:

162.0ms
(/.f64 1 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
139.0ms
(/.f64 (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
51.0ms
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
34.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

simplify150.0ms (2.7%)

Algorithm
egg-herbie
Counts
309 → 309
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
0493712224
1493712224

prune857.0ms (15.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New3090309
Fresh033
Picked011
Done000
Total3094313
Error
12.1b
Counts
313 → 4
Compiler

Compiled 10203 to 9252 computations (9.3% saved)

localize17.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.1b
(sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))
0.1b
(sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))
0.5b
(*.f64 (+.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))) (-.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))))
1.8b
(-.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x))))

rewrite66.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
85×sqrt-prod_binary64_1458
80×add-sqr-sqrt_binary64_1464
56×*-un-lft-identity_binary64_1442
51×times-frac_binary64_1448
48×cancel-sign-sub-inv_binary64_1408
44×add-cube-cbrt_binary64_1477
17×distribute-lft-in_binary64_1391 distribute-rgt-in_binary64_1392
12×difference-of-squares_binary64_1411
11×associate-*r*_binary64_1382
pow1_binary64_1503
add-cbrt-cube_binary64_1478 add-log-exp_binary64_1481 add-exp-log_binary64_1480
div-inv_binary64_1439 associate-*l*_binary64_1383
rem-sqrt-square_binary64_1455 flip3--_binary64_1446 flip--_binary64_1417 frac-times_binary64_1452 distribute-lft-out--_binary64_1394
sub-neg_binary64_1435 flip3-+_binary64_1445 flip-+_binary64_1416
sqrt-pow1_binary64_1460 associate-*r/_binary64_1384 sqrt-div_binary64_1459 distribute-lft-out_binary64_1393 pow1/2_binary64_1522 associate-*l/_binary64_1385
cbrt-unprod_binary64_1475 pow-prod-down_binary64_1513 *-commutative_binary64_1373 diff-log_binary64_1534 prod-exp_binary64_1491 unswap-sqr_binary64_1410
Counts
4 → 155
Calls

4 calls:

27.0ms
(*.f64 (+.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))) (-.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))))
12.0ms
(-.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x))))
3.0ms
(sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))
3.0ms
(sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))

series329.0ms (6%)

Counts
4 → 12
Calls

4 calls:

150.0ms
(*.f64 (+.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))) (-.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))))
79.0ms
(-.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x))))
50.0ms
(sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))
49.0ms
(sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))

simplify85.0ms (1.5%)

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
050514538

prune505.0ms (9.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1661167
Fresh112
Picked011
Done011
Total1674171
Error
12.1b
Counts
171 → 4
Compiler

Compiled 6393 to 5772 computations (9.7% saved)

regimes245.0ms (4.5%)

Accuracy

Total 0.0b remaining (0.2%)

Threshold costs 0.0b (0.2%)

Compiler

Compiled 2950 to 2796 computations (5.2% saved)

bsearch0.0ms (0%)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03451
13451

end0.0ms (0%)

sample1.6s (29.6%)

Algorithm
intervals
Results
541.0ms2157×body2048valid
193.0ms1006×body1024valid
177.0ms4083×body128valid
71.0ms513×body512valid
20.0ms241×body256valid
Compiler

Compiled 455 to 431 computations (5.3% saved)

Profiling

Loading profile data...