Details

Time bar (total: 7.7s)

analyze95.0ms (1.2%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04515
14515
011
111
Search
TrueOtherFalseIter
0%100%0%0
100%0%0%1
Compiler

Compiled 13 to 13 computations (0% saved)

sample40.0ms (0.5%)

Algorithm
intervals
Results
20.0ms64×body2048valid
6.0ms34×body1024valid
5.0ms135×body128valid
2.0ms18×body512valid
0.0msbody256valid
Compiler

Compiled 25 to 26 computations (-4% saved)

simplify8.0ms (0.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
04515
14515

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 15.4b

Counts
2 → 1
Compiler

Compiled 20 to 20 computations (0% saved)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite24.0ms (0.3%)

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

4 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))))
3.0ms
(/.f64 1/2 (hypot.f64 1 x))
1.0ms
(hypot.f64 1 x)

series327.0ms (4.2%)

Counts
4 → 12
Calls

4 calls:

249.0ms
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
55.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
21.0ms
(/.f64 1/2 (hypot.f64 1 x))
3.0ms
(hypot.f64 1 x)

simplify84.0ms (1.1%)

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
048211307
148211307

prune93.0ms (1.2%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New83487
Fresh000
Picked101
Done000
Total84488

Merged error: 14.9b

Counts
88 → 4
Compiler

Compiled 1393 to 1266 computations (9.1% saved)

localize9.0ms (0.1%)

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/2 (hypot.f64 1 x))
0.0b
(/.f64 1/2 (hypot.f64 1 x))
1.5b
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

rewrite28.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt_binary64_1464 *-un-lft-identity_binary64_1442
28×times-frac_binary64_1448
27×add-cube-cbrt_binary64_1477
13×cancel-sign-sub-inv_binary64_1408
add-cbrt-cube_binary64_1478 add-log-exp_binary64_1481 add-exp-log_binary64_1480
associate-/r*_binary64_1386 associate-/l*_binary64_1387
distribute-lft-out_binary64_1393 pow1_binary64_1503
div-inv_binary64_1439
cbrt-undiv_binary64_1476 clear-num_binary64_1441 frac-2neg_binary64_1453 sqrt-prod_binary64_1458 difference-of-squares_binary64_1411 div-exp_binary64_1493
sum-log_binary64_1533 sub-neg_binary64_1435 flip3--_binary64_1446 +-commutative_binary64_1372 flip--_binary64_1417 diff-log_binary64_1534 flip3-+_binary64_1445 flip-+_binary64_1416 distribute-lft-out--_binary64_1394
Counts
4 → 95
Calls

4 calls:

8.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)))
3.0ms
(/.f64 1/2 (hypot.f64 1 x))
3.0ms
(/.f64 1/2 (hypot.f64 1 x))

series146.0ms (1.9%)

Counts
4 → 12
Calls

4 calls:

56.0ms
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
45.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))
24.0ms
(/.f64 1/2 (hypot.f64 1 x))
21.0ms
(/.f64 1/2 (hypot.f64 1 x))

simplify74.0ms (1%)

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
049401445
149401445

prune151.0ms (2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1061107
Fresh123
Picked101
Done000
Total1083111

Merged error: 14.6b

Counts
111 → 3
Compiler

Compiled 2500 to 2240 computations (10.4% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (/.f64 1/2 (hypot.f64 1 x)) (+.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3/2))
0.0b
(/.f64 (-.f64 1 (pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3)) (+.f64 (/.f64 1/2 (hypot.f64 1 x)) (+.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3/2)))
0.5b
(pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3)
1.5b
(-.f64 1 (pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3))

rewrite108.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
191×*-un-lft-identity_binary64_1442
149×add-sqr-sqrt_binary64_1464
84×difference-of-squares_binary64_1411
80×times-frac_binary64_1448
58×distribute-lft-out_binary64_1393
44×sqrt-prod_binary64_1458
42×cube-prod_binary64_1470 unpow-prod-down_binary64_1521
37×add-cube-cbrt_binary64_1477
20×cancel-sign-sub-inv_binary64_1408
16×associate-/l*_binary64_1387 sqr-pow_binary64_1414
11×add-log-exp_binary64_1481
add-cbrt-cube_binary64_1478 add-exp-log_binary64_1480 distribute-lft-out--_binary64_1394
pow1_binary64_1503
associate-/r*_binary64_1386 flip3-+_binary64_1445 flip-+_binary64_1416
associate-/r/_binary64_1388 frac-add_binary64_1450
sum-log_binary64_1533 pow-unpow_binary64_1519 pow-pow_binary64_1514
cube-mult_binary64_1472 associate-/l/_binary64_1389 flip3--_binary64_1446 sqrt-div_binary64_1459 flip--_binary64_1417 unpow3_binary64_1508 cube-div_binary64_1471
sqrt-pow1_binary64_1460 cbrt-undiv_binary64_1476 pow-exp_binary64_1510 div-inv_binary64_1439 sub-neg_binary64_1435 clear-num_binary64_1441 +-commutative_binary64_1372 rem-cube-cbrt_binary64_1465 frac-2neg_binary64_1453 diff-log_binary64_1534 pow1/2_binary64_1522 div-sub_binary64_1447 sqrt-pow2_binary64_1461 associate-+r+_binary64_1374 div-exp_binary64_1493 pow-to-exp_binary64_1511
Counts
4 → 217
Calls

4 calls:

39.0ms
(/.f64 (-.f64 1 (pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3)) (+.f64 (/.f64 1/2 (hypot.f64 1 x)) (+.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3/2)))
16.0ms
(+.f64 (/.f64 1/2 (hypot.f64 1 x)) (+.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3/2))
14.0ms
(-.f64 1 (pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3))
8.0ms
(pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3)

series648.0ms (8.4%)

Counts
4 → 12
Calls

4 calls:

341.0ms
(/.f64 (-.f64 1 (pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3)) (+.f64 (/.f64 1/2 (hypot.f64 1 x)) (+.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3/2)))
141.0ms
(-.f64 1 (pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3))
84.0ms
(+.f64 (/.f64 1/2 (hypot.f64 1 x)) (+.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3/2))
82.0ms
(pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3)

simplify163.0ms (2.1%)

Algorithm
egg-herbie
Counts
229 → 229
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
0491810993
1491810993

prune984.0ms (12.7%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2281229
Fresh022
Picked101
Done000
Total2293232

Merged error: 14.6b

Counts
232 → 3
Compiler

Compiled 10020 to 9042 computations (9.8% saved)

localize17.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.5b
(*.f64 (+.f64 1 (sqrt.f64 (pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3))) (/.f64 (-.f64 1 (sqrt.f64 (pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3))) (+.f64 (/.f64 1/2 (hypot.f64 1 x)) (+.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3/2))))
0.5b
(pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3)
0.5b
(pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3)
1.5b
(-.f64 1 (sqrt.f64 (pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3)))

rewrite161.0ms (2.1%)

Algorithm
rewrite-expression-head
Rules
216×*-un-lft-identity_binary64_1442
172×add-sqr-sqrt_binary64_1464
147×sqrt-prod_binary64_1458
103×associate-*r*_binary64_1382
96×times-frac_binary64_1448
84×difference-of-squares_binary64_1411
65×distribute-lft-out_binary64_1393
46×add-cube-cbrt_binary64_1477
45×cube-prod_binary64_1470 unpow-prod-down_binary64_1521
23×cancel-sign-sub-inv_binary64_1408
15×sqr-pow_binary64_1414
12×distribute-lft-out--_binary64_1394
11×add-cbrt-cube_binary64_1478 add-exp-log_binary64_1480
10×pow1_binary64_1503
pow-unpow_binary64_1519 add-log-exp_binary64_1481 flip3-+_binary64_1445 flip-+_binary64_1416 pow-pow_binary64_1514
associate-*l*_binary64_1383
associate-/r/_binary64_1388 sqrt-div_binary64_1459 cube-div_binary64_1471
cube-mult_binary64_1472 unpow3_binary64_1508
sqrt-pow1_binary64_1460 cbrt-unprod_binary64_1475 pow-exp_binary64_1510 rem-cube-cbrt_binary64_1465 frac-times_binary64_1452 pow1/2_binary64_1522 prod-exp_binary64_1491 frac-add_binary64_1450 sqrt-pow2_binary64_1461 associate-*l/_binary64_1385 pow-to-exp_binary64_1511 unswap-sqr_binary64_1410
associate-*r/_binary64_1384 cbrt-undiv_binary64_1476 div-inv_binary64_1439 sub-neg_binary64_1435 flip3--_binary64_1446 pow-prod-down_binary64_1513 *-commutative_binary64_1373 flip--_binary64_1417 diff-log_binary64_1534 div-exp_binary64_1493
Counts
4 → 250
Calls

4 calls:

76.0ms
(*.f64 (+.f64 1 (sqrt.f64 (pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3))) (/.f64 (-.f64 1 (sqrt.f64 (pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3))) (+.f64 (/.f64 1/2 (hypot.f64 1 x)) (+.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3/2))))
16.0ms
(-.f64 1 (sqrt.f64 (pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3)))
8.0ms
(pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3)
8.0ms
(pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3)

series1.1s (13.8%)

Counts
4 → 12
Calls

4 calls:

673.0ms
(*.f64 (+.f64 1 (sqrt.f64 (pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3))) (/.f64 (-.f64 1 (sqrt.f64 (pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3))) (+.f64 (/.f64 1/2 (hypot.f64 1 x)) (+.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3/2))))
219.0ms
(-.f64 1 (sqrt.f64 (pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3)))
88.0ms
(pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3)
88.0ms
(pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))) 3)

simplify145.0ms (1.9%)

Algorithm
egg-herbie
Counts
262 → 262
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
0500711009

prune1.6s (20.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2611262
Fresh022
Picked101
Done000
Total2623265

Merged error: 14.6b

Counts
265 → 3
Compiler

Compiled 15402 to 14038 computations (8.9% saved)

regimes233.0ms (3%)

Compiler

Compiled 2936 to 2768 computations (5.7% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03027
13027

end0.0ms (0%)

sample1.5s (19.9%)

Algorithm
intervals
Results
503.0ms2033×body2048valid
178.0ms973×body1024valid
177.0ms4272×body128valid
61.0ms465×body512valid
21.0ms257×body256valid
Compiler

Compiled 437 to 413 computations (5.5% saved)

Profiling

Loading profile data...