Details

Time bar (total: 3.0s)

analyze12.0ms (0.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%18.7%81.3%0
0%18.7%81.3%1
0%18.7%81.3%2
0%18.7%81.3%3
0%18.7%81.3%4
4.7%14%81.3%5
5.3%13.5%81.3%6
18.1%0.6%81.3%7
18.1%0.6%81.3%8
18.6%0.1%81.3%9
18.6%0.1%81.3%10
18.7%0%81.3%11
18.7%0%81.3%12
18.7%0%81.3%13
18.7%0%81.3%14
Compiler

Compiled 23 to 15 computations (34.8% saved)

sample21.0ms (0.7%)

Algorithm
intervals
Results
9.0ms256×body128valid
5.0ms256×pre128true
Compiler

Compiled 38 to 26 computations (31.6% saved)

simplify232.0ms (7.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (69.0ms)

IterNodesCost
0494622
1494622

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 21.6b

Counts
2 → 1
Compiler

Compiled 30 to 18 computations (40% saved)

localize9.0ms (0.3%)

Local error

Found 2 expressions with local error:

0.0b
(+.f64 (*.f64 x x) (*.f64 y y))
21.4b
(/.f64 (*.f64 (-.f64 x y) (+.f64 x y)) (+.f64 (*.f64 x x) (*.f64 y y)))

rewrite22.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
associate-/l/_binary64_1374
add-cbrt-cube_binary64_1458 add-exp-log_binary64_1460
flip3-+_binary64_1428 flip-+_binary64_1399
add-cube-cbrt_binary64_1457 add-sqr-sqrt_binary64_1446 add-log-exp_binary64_1461 *-un-lft-identity_binary64_1425 frac-times_binary64_1435
flip--_binary64_1400 times-frac_binary64_1431 associate-/r*_binary64_1371 flip3--_binary64_1429
associate-*r/_binary64_1369 associate-/r/_binary64_1373 div-exp_binary64_1473 pow1_binary64_1483 associate-*l/_binary64_1370 cbrt-undiv_binary64_1456
frac-2neg_binary64_1436 prod-exp_binary64_1471 cbrt-unprod_binary64_1455 clear-num_binary64_1424 div-inv_binary64_1422 sum-log_binary64_1513 associate-/l*_binary64_1372 +-commutative_binary64_1357
Counts
2 → 42
Calls

2 calls:

13.0ms
(/.f64 (*.f64 (-.f64 x y) (+.f64 x y)) (+.f64 (*.f64 x x) (*.f64 y y)))
4.0ms
(+.f64 (*.f64 x x) (*.f64 y y))

series122.0ms (4.1%)

Counts
2 → 6
Calls

2 calls:

85.0ms
(/.f64 (*.f64 (-.f64 x y) (+.f64 x y)) (+.f64 (*.f64 x x) (*.f64 y y)))
37.0ms
(+.f64 (*.f64 x x) (*.f64 y y))

simplify35.0ms (1.2%)

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
05025969

prune51.0ms (1.7%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New42648
Fresh000
Picked011
Done000
Total42749

Merged error: 0.2b

Counts
49 → 7
Compiler

Compiled 1162 to 244 computations (79% saved)

localize11.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 (-.f64 x y) (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))))
0.0b
(*.f64 (/.f64 (-.f64 x y) (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))) (/.f64 (+.f64 x y) (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))))
20.4b
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
20.4b
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))

rewrite85.0ms (2.9%)

Algorithm
rewrite-expression-head
Rules
115×add-sqr-sqrt_binary64_1446
96×times-frac_binary64_1431
95×*-un-lft-identity_binary64_1425
57×add-cube-cbrt_binary64_1457 sqrt-prod_binary64_1440
36×associate-*l*_binary64_1368
30×associate-*r*_binary64_1367
18×add-cbrt-cube_binary64_1458 add-exp-log_binary64_1460
13×distribute-lft-out--_binary64_1379 difference-of-squares_binary64_1394
10×sqrt-div_binary64_1441
unswap-sqr_binary64_1393
pow1_binary64_1483
associate-/r*_binary64_1371 distribute-lft-out_binary64_1378 associate-/r/_binary64_1373
flip3-+_binary64_1428 flip-+_binary64_1399 div-exp_binary64_1473 associate-/l*_binary64_1372 cbrt-undiv_binary64_1456
prod-exp_binary64_1471 cbrt-unprod_binary64_1455 add-log-exp_binary64_1461
div-inv_binary64_1422
pow1/2_binary64_1502 sqrt-pow1_binary64_1442 associate-/l/_binary64_1374 rem-sqrt-square_binary64_1438
flip--_binary64_1400 frac-2neg_binary64_1436 clear-num_binary64_1424 associate-*r/_binary64_1369 div-sub_binary64_1430 associate-*l/_binary64_1370 flip3--_binary64_1429 *-commutative_binary64_1358 frac-times_binary64_1435 pow-prod-down_binary64_1493
Counts
4 → 183
Calls

4 calls:

38.0ms
(*.f64 (/.f64 (-.f64 x y) (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))) (/.f64 (+.f64 x y) (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))))
10.0ms
(/.f64 (-.f64 x y) (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))))
4.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))

series299.0ms (10.1%)

Counts
4 → 12
Calls

4 calls:

114.0ms
(/.f64 (-.f64 x y) (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))))
94.0ms
(*.f64 (/.f64 (-.f64 x y) (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))) (/.f64 (+.f64 x y) (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))))
48.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
43.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))

simplify89.0ms (3%)

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
049675945
149675945

prune172.0ms (5.8%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1950195
Fresh055
Picked011
Done011
Total1957202

Merged error: 0.2b

Counts
202 → 7
Compiler

Compiled 6791 to 661 computations (90.3% saved)

localize11.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 (cbrt.f64 (/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 y y)))) (cbrt.f64 (/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 y y)))))
21.4b
(/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 y y)))
21.4b
(/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 y y)))
21.4b
(/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 y y)))

rewrite98.0ms (3.3%)

Algorithm
rewrite-expression-head
Rules
91×add-sqr-sqrt_binary64_1446
90×times-frac_binary64_1431
84×cbrt-prod_binary64_1453
67×add-cube-cbrt_binary64_1457 *-un-lft-identity_binary64_1425
24×difference-of-squares_binary64_1394
21×associate-*l*_binary64_1368 associate-*r*_binary64_1367 swap-sqr_binary64_1392
14×associate-/r/_binary64_1373
12×associate-/l*_binary64_1372 add-exp-log_binary64_1460
11×pow1_binary64_1483
10×add-cbrt-cube_binary64_1458
associate-/r*_binary64_1371 unswap-sqr_binary64_1393
flip3-+_binary64_1428 div-inv_binary64_1422 flip-+_binary64_1399
pow1/3_binary64_1504 associate-/l/_binary64_1374
cbrt-div_binary64_1454 add-log-exp_binary64_1461
flip--_binary64_1400 frac-2neg_binary64_1436 clear-num_binary64_1424 div-sub_binary64_1430 div-exp_binary64_1473 flip3--_binary64_1429 cbrt-undiv_binary64_1456
pow-sqr_binary64_1398 pow-prod-up_binary64_1492 pow-prod-down_binary64_1493
prod-exp_binary64_1471 pow-plus_binary64_1485 cbrt-unprod_binary64_1455 associate-*r/_binary64_1369 pow2_binary64_1503 associate-*l/_binary64_1370 *-commutative_binary64_1358 frac-times_binary64_1435
Counts
4 → 201
Calls

4 calls:

27.0ms
(*.f64 (cbrt.f64 (/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 y y)))) (cbrt.f64 (/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 y y)))))
9.0ms
(/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 y y)))
9.0ms
(/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 y y)))
9.0ms
(/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 y y)))

series425.0ms (14.3%)

Counts
4 → 12
Calls

4 calls:

230.0ms
(*.f64 (cbrt.f64 (/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 y y)))) (cbrt.f64 (/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 y y)))))
65.0ms
(/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 y y)))
65.0ms
(/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 y y)))
65.0ms
(/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (+.f64 (*.f64 x x) (*.f64 y y)))

simplify134.0ms (4.5%)

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
049258541
149258541

prune245.0ms (8.2%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New2130213
Fresh044
Picked011
Done022
Total2137220

Merged error: 0.2b

Counts
220 → 7
Compiler

Compiled 12965 to 972 computations (92.5% saved)

localize0.0ms (0%)

rewrite0.0ms (0%)

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms (0%)

Counts
0 → 0

simplify6.0ms (0.2%)

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune1.0ms (0%)

Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New000
Fresh033
Picked011
Done033
Total077

Merged error: 0.2b

Counts
7 → 7
Compiler

Compiled 0 to 0 computations (0% saved)

regimes85.0ms (2.8%)

Compiler

Compiled 472 to 236 computations (50% saved)

bsearch2.0ms (0.1%)

Compiler

Compiled 15 to 9 computations (40% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02750
12750

end0.0ms (0%)

sample799.0ms (26.9%)

Algorithm
intervals
Results
305.0ms8000×body128valid
159.0ms8000×pre128true
Compiler

Compiled 239 to 122 computations (49% saved)

Profiling

Loading profile data...