Details

Time bar (total: 6.8s)

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.5%)

Algorithm
intervals
Results
16.0ms68×body2048valid
6.0ms35×body1024valid
5.0ms133×body128valid
2.0ms15×body512valid
0.0msbody256valid
Compiler

Compiled 25 to 26 computations (-4% saved)

simplify162.0ms (2.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
04515
14515

prune7.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 16.5b

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

rewrite31.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity_binary64_1425
22×add-sqr-sqrt_binary64_1446
13×add-cube-cbrt_binary64_1457
times-frac_binary64_1431
sqrt-prod_binary64_1440 add-log-exp_binary64_1461
add-cbrt-cube_binary64_1458 add-exp-log_binary64_1460
pow1_binary64_1483
difference-of-squares_binary64_1394
associate-/r*_binary64_1371 distribute-lft-out--_binary64_1379 distribute-lft-out_binary64_1378 associate-/l*_binary64_1372
flip3-+_binary64_1428 sqrt-div_binary64_1441 flip-+_binary64_1399
flip--_binary64_1400 diff-log_binary64_1514 frac-2neg_binary64_1436 pow1/2_binary64_1502 sub-neg_binary64_1418 clear-num_binary64_1424 sqrt-pow1_binary64_1442 div-inv_binary64_1422 sum-log_binary64_1513 div-exp_binary64_1473 +-commutative_binary64_1357 rem-sqrt-square_binary64_1438 flip3--_binary64_1429 cbrt-undiv_binary64_1456
Counts
4 → 73
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))))
6.0ms
(+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))
3.0ms
(/.f64 1/2 (hypot.f64 1 x))

series327.0ms (4.8%)

Counts
4 → 12
Calls

4 calls:

117.0ms
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
108.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
60.0ms
(+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))
41.0ms
(/.f64 1/2 (hypot.f64 1 x))

simplify73.0ms (1.1%)

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049401355
149401355

prune100.0ms (1.5%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New81485
Fresh000
Picked101
Done000
Total82486

Merged error: 16.0b

Counts
86 → 4
Compiler

Compiled 1405 to 1276 computations (9.2% saved)

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

rewrite53.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
77×*-un-lft-identity_binary64_1425
76×add-sqr-sqrt_binary64_1446
44×times-frac_binary64_1431
33×distribute-lft-out_binary64_1378
20×sqrt-prod_binary64_1440
19×add-cube-cbrt_binary64_1457
16×difference-of-squares_binary64_1394
distribute-lft-out--_binary64_1379 add-log-exp_binary64_1461
associate-/r*_binary64_1371 add-cbrt-cube_binary64_1458 associate-/l*_binary64_1372 add-exp-log_binary64_1460
pow1_binary64_1483
flip3-+_binary64_1428 flip-+_binary64_1399
flip--_binary64_1400 sqrt-div_binary64_1441 associate-/r/_binary64_1373 associate-/l/_binary64_1374 flip3--_binary64_1429
diff-log_binary64_1514 frac-2neg_binary64_1436 pow1/2_binary64_1502 sub-neg_binary64_1418 clear-num_binary64_1424 div-sub_binary64_1430 sqrt-pow1_binary64_1442 div-inv_binary64_1422 sum-log_binary64_1513 div-exp_binary64_1473 +-commutative_binary64_1357 rem-sqrt-square_binary64_1438 cbrt-undiv_binary64_1456
Counts
4 → 109
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))))))
9.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)))
7.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))

series606.0ms (8.9%)

Counts
4 → 12
Calls

4 calls:

325.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))))))
106.0ms
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
105.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
70.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

simplify76.0ms (1.1%)

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049743605
149743605

prune233.0ms (3.4%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1165121
Fresh213
Picked101
Done000
Total1196125

Merged error: 16.0b

Counts
125 → 6
Compiler

Compiled 3507 to 3157 computations (10% saved)

localize18.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 (-.f64 1/8 (pow.f64 (/.f64 1/2 (hypot.f64 1 x)) 3)) (+.f64 1/4 (/.f64 (+.f64 1/4 (/.f64 1/4 (hypot.f64 1 x))) (hypot.f64 1 x))))
0.0b
(/.f64 (+.f64 1/4 (/.f64 1/4 (hypot.f64 1 x))) (hypot.f64 1 x))
0.1b
(pow.f64 (/.f64 1/2 (hypot.f64 1 x)) 3)
1.3b
(-.f64 1/8 (pow.f64 (/.f64 1/2 (hypot.f64 1 x)) 3))

rewrite83.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
122×add-sqr-sqrt_binary64_1446
86×*-un-lft-identity_binary64_1425
82×times-frac_binary64_1431
44×add-cube-cbrt_binary64_1457
36×difference-of-squares_binary64_1394
25×unpow-prod-down_binary64_1501 cube-prod_binary64_1450
15×distribute-lft-out_binary64_1378
14×associate-/l*_binary64_1372
11×add-cbrt-cube_binary64_1458 add-exp-log_binary64_1460
associate-/r*_binary64_1371 sqr-pow_binary64_1397
distribute-lft-out--_binary64_1379 add-log-exp_binary64_1461
pow1_binary64_1483
div-inv_binary64_1422 associate-/l/_binary64_1374
pow-unpow_binary64_1499 div-exp_binary64_1473 cbrt-undiv_binary64_1456
flip--_binary64_1400 frac-2neg_binary64_1436 flip3-+_binary64_1428 clear-num_binary64_1424 pow-exp_binary64_1490 rem-cube-cbrt_binary64_1447 associate-/r/_binary64_1373 flip-+_binary64_1399 flip3--_binary64_1429
diff-log_binary64_1514 pow-pow_binary64_1494 pow-to-exp_binary64_1491 sub-neg_binary64_1418 div-sub_binary64_1430 unpow3_binary64_1488 cube-div_binary64_1451 cube-mult_binary64_1452
Counts
4 → 168
Calls

4 calls:

31.0ms
(/.f64 (-.f64 1/8 (pow.f64 (/.f64 1/2 (hypot.f64 1 x)) 3)) (+.f64 1/4 (/.f64 (+.f64 1/4 (/.f64 1/4 (hypot.f64 1 x))) (hypot.f64 1 x))))
13.0ms
(-.f64 1/8 (pow.f64 (/.f64 1/2 (hypot.f64 1 x)) 3))
9.0ms
(/.f64 (+.f64 1/4 (/.f64 1/4 (hypot.f64 1 x))) (hypot.f64 1 x))
5.0ms
(pow.f64 (/.f64 1/2 (hypot.f64 1 x)) 3)

series994.0ms (14.7%)

Counts
4 → 12
Calls

4 calls:

619.0ms
(/.f64 (-.f64 1/8 (pow.f64 (/.f64 1/2 (hypot.f64 1 x)) 3)) (+.f64 1/4 (/.f64 (+.f64 1/4 (/.f64 1/4 (hypot.f64 1 x))) (hypot.f64 1 x))))
156.0ms
(-.f64 1/8 (pow.f64 (/.f64 1/2 (hypot.f64 1 x)) 3))
118.0ms
(/.f64 (+.f64 1/4 (/.f64 1/4 (hypot.f64 1 x))) (hypot.f64 1 x))
100.0ms
(pow.f64 (/.f64 1/2 (hypot.f64 1 x)) 3)

simplify99.0ms (1.5%)

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
053556100

prune700.0ms (10.3%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1773180
Fresh235
Picked101
Done000
Total1806186

Merged error: 15.7b

Counts
186 → 6
Compiler

Compiled 8432 to 7486 computations (11.2% saved)

localize18.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 (+.f64 1/8 (/.f64 -1/8 (pow.f64 (hypot.f64 1 x) 3))) (+.f64 1/4 (/.f64 (+.f64 1/4 (/.f64 1/4 (hypot.f64 1 x))) (hypot.f64 1 x))))
0.0b
(/.f64 (+.f64 1/4 (/.f64 1/4 (hypot.f64 1 x))) (hypot.f64 1 x))
0.2b
(/.f64 -1/8 (pow.f64 (hypot.f64 1 x) 3))
1.3b
(+.f64 1/8 (/.f64 -1/8 (pow.f64 (hypot.f64 1 x) 3)))

rewrite76.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
78×*-un-lft-identity_binary64_1425
64×times-frac_binary64_1431
48×add-cube-cbrt_binary64_1457 add-sqr-sqrt_binary64_1446
19×associate-/r*_binary64_1371
15×distribute-lft-out_binary64_1378
13×add-exp-log_binary64_1460
12×unpow-prod-down_binary64_1501 cube-prod_binary64_1450
11×associate-/l*_binary64_1372
10×add-cbrt-cube_binary64_1458
add-log-exp_binary64_1461
div-exp_binary64_1473
flip3-+_binary64_1428 unpow3_binary64_1488 cube-mult_binary64_1452 flip-+_binary64_1399 associate-/l/_binary64_1374 pow1_binary64_1483 sqr-pow_binary64_1397
frac-2neg_binary64_1436 clear-num_binary64_1424 div-inv_binary64_1422 cbrt-undiv_binary64_1456
associate-/r/_binary64_1373
pow-to-exp_binary64_1491 pow-exp_binary64_1490 sum-log_binary64_1513 +-commutative_binary64_1357
Counts
4 → 150
Calls

4 calls:

29.0ms
(/.f64 (+.f64 1/8 (/.f64 -1/8 (pow.f64 (hypot.f64 1 x) 3))) (+.f64 1/4 (/.f64 (+.f64 1/4 (/.f64 1/4 (hypot.f64 1 x))) (hypot.f64 1 x))))
13.0ms
(+.f64 1/8 (/.f64 -1/8 (pow.f64 (hypot.f64 1 x) 3)))
9.0ms
(/.f64 (+.f64 1/4 (/.f64 1/4 (hypot.f64 1 x))) (hypot.f64 1 x))
6.0ms
(/.f64 -1/8 (pow.f64 (hypot.f64 1 x) 3))

series969.0ms (14.3%)

Counts
4 → 12
Calls

4 calls:

591.0ms
(/.f64 (+.f64 1/8 (/.f64 -1/8 (pow.f64 (hypot.f64 1 x) 3))) (+.f64 1/4 (/.f64 (+.f64 1/4 (/.f64 1/4 (hypot.f64 1 x))) (hypot.f64 1 x))))
155.0ms
(+.f64 1/8 (/.f64 -1/8 (pow.f64 (hypot.f64 1 x) 3)))
119.0ms
(/.f64 (+.f64 1/4 (/.f64 1/4 (hypot.f64 1 x))) (hypot.f64 1 x))
104.0ms
(/.f64 -1/8 (pow.f64 (hypot.f64 1 x) 3))

simplify64.0ms (0.9%)

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
050894289

prune567.0ms (8.4%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1602162
Fresh145
Picked101
Done000
Total1626168

Merged error: 15.7b

Counts
168 → 6
Compiler

Compiled 6980 to 6183 computations (11.4% saved)

regimes59.0ms (0.9%)

Compiler

Compiled 488 to 448 computations (8.2% saved)

bsearch0.0ms (0%)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03970
13970

end0.0ms (0%)

sample1.4s (20.7%)

Algorithm
intervals
Results
519.0ms2159×body2048valid
182.0ms4108×body128valid
179.0ms985×body1024valid
68.0ms508×body512valid
19.0ms240×body256valid
Compiler

Compiled 299 to 276 computations (7.7% saved)

Profiling

Loading profile data...