Details

Time bar (total: 4.8s)

analyze83.0ms (1.7%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%50%50%2
0%50%50%3
0%50%50%4
6.2%43.7%50%5
9.4%28.1%62.5%6
12.5%25%62.5%7
15.6%15.6%68.8%8
16.8%14.4%68.8%9
18.5%8.8%72.7%10
19.2%7.7%73.1%11
20.1%4.6%75.2%12
20.5%4%75.5%13
21%2.4%76.6%14
Compiler

Compiled 21 to 20 computations (4.8% saved)

sample24.0ms (0.5%)

Algorithm
intervals
Results
15.0ms256×body128valid
1.0ms10×body128nan
1.0msbody128invalid
Compiler

Compiled 41 to 41 computations (0% saved)

simplify220.0ms (4.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
0103021
1103021

prune6.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2
Compiler

Compiled 82 to 77 computations (6.1% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 (-.f64 a 1/3) 9)
0.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))))
0.3b
(/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))
0.4b
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))

rewrite46.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt_binary64_1477
23×*-un-lft-identity_binary64_1455
17×add-cube-cbrt_binary64_1490
12×times-frac_binary64_1461
11×pow1_binary64_1516
10×add-cbrt-cube_binary64_1491 associate-*l*_binary64_1396 add-exp-log_binary64_1493
associate-*l/_binary64_1398
associate-*r*_binary64_1395
flip--_binary64_1430 flip3--_binary64_1459
sqrt-prod_binary64_1471
sqrt-div_binary64_1472 associate-/r*_binary64_1399 add-log-exp_binary64_1494 frac-times_binary64_1465
flip-+_binary64_1429 associate-/l*_binary64_1400 flip3-+_binary64_1458 pow-prod-down_binary64_1526
prod-exp_binary64_1504 sqrt-pow1_binary64_1473 associate-*r/_binary64_1397 associate-/r/_binary64_1401 distribute-lft-out--_binary64_1407 difference-of-squares_binary64_1424 *-commutative_binary64_1386 cbrt-unprod_binary64_1488 unswap-sqr_binary64_1423
distribute-lft-out_binary64_1406 distribute-rgt-in_binary64_1405 div-exp_binary64_1506 clear-num_binary64_1454 cbrt-undiv_binary64_1489 frac-2neg_binary64_1466 distribute-lft-in_binary64_1404 pow1/2_binary64_1535 div-inv_binary64_1452
Counts
4 → 99
Calls

4 calls:

15.0ms
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))))
9.0ms
(/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))
8.0ms
(*.f64 (-.f64 a 1/3) 9)
5.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))

series284.0ms (5.9%)

Counts
4 → 12
Calls

4 calls:

122.0ms
(/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))
82.0ms
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))))
40.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))
39.0ms
(*.f64 (-.f64 a 1/3) 9)

simplify50.0ms (1%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
054782236

prune331.0ms (6.9%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1056111
Fresh101
Picked101
Done000
Total1076113

Merged error: 0.0b

Counts
113 → 6
Compiler

Compiled 5458 to 4606 computations (15.6% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 (-.f64 a 1/3) 9)
0.3b
(/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))
0.4b
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))
10.4b
(*.f64 (-.f64 a 1/3) (/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9))))

rewrite49.0ms (1%)

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt_binary64_1477
28×*-un-lft-identity_binary64_1455
25×times-frac_binary64_1461
24×add-cube-cbrt_binary64_1490
21×associate-*r*_binary64_1395
13×add-cbrt-cube_binary64_1491 add-exp-log_binary64_1493
11×pow1_binary64_1516
10×associate-*l*_binary64_1396 associate-*l/_binary64_1398
sqrt-prod_binary64_1471
sqrt-div_binary64_1472 flip--_binary64_1430 flip3--_binary64_1459
associate-/r/_binary64_1401 associate-/r*_binary64_1399 add-log-exp_binary64_1494
prod-exp_binary64_1504 associate-/l*_binary64_1400 cbrt-unprod_binary64_1488 pow-prod-down_binary64_1526 unswap-sqr_binary64_1423
sqrt-pow1_binary64_1473 distribute-lft-out--_binary64_1407 difference-of-squares_binary64_1424 div-exp_binary64_1506 frac-times_binary64_1465 *-commutative_binary64_1386 cbrt-undiv_binary64_1489 div-inv_binary64_1452
associate-*r/_binary64_1397 clear-num_binary64_1454 frac-2neg_binary64_1466 pow1/2_binary64_1535
Counts
4 → 111
Calls

4 calls:

17.0ms
(*.f64 (-.f64 a 1/3) (/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9))))
8.0ms
(/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))
8.0ms
(*.f64 (-.f64 a 1/3) 9)
6.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))

series307.0ms (6.4%)

Counts
4 → 12
Calls

4 calls:

120.0ms
(/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))
113.0ms
(*.f64 (-.f64 a 1/3) (/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9))))
41.0ms
(*.f64 (-.f64 a 1/3) 9)
34.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))

simplify69.0ms (1.4%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
050222404

prune221.0ms (4.6%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1212123
Fresh325
Picked011
Done000
Total1245129

Merged error: 0b

Counts
129 → 5
Compiler

Compiled 3926 to 3031 computations (22.8% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (-.f64 a 1/3))
0.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 (/.f64 rand (sqrt.f64 (-.f64 a 1/3))) (sqrt.f64 9))))
0.2b
(/.f64 rand (sqrt.f64 (-.f64 a 1/3)))
0.2b
(/.f64 (/.f64 rand (sqrt.f64 (-.f64 a 1/3))) (sqrt.f64 9))

rewrite138.0ms (2.9%)

Algorithm
rewrite-expression-head
Rules
372×times-frac_binary64_1461
248×add-sqr-sqrt_binary64_1477
247×*-un-lft-identity_binary64_1455
223×sqrt-prod_binary64_1471
191×add-cube-cbrt_binary64_1490
33×associate-/l*_binary64_1400
27×distribute-lft-out--_binary64_1407 difference-of-squares_binary64_1424
18×sqrt-div_binary64_1472
16×associate-/r/_binary64_1401
14×associate-/r*_binary64_1399
13×add-cbrt-cube_binary64_1491 add-exp-log_binary64_1493
12×flip--_binary64_1430 flip3--_binary64_1459
div-inv_binary64_1452
pow1_binary64_1516
associate-*l*_binary64_1396
associate-*r*_binary64_1395 div-exp_binary64_1506 add-log-exp_binary64_1494 frac-times_binary64_1465 cbrt-undiv_binary64_1489
flip-+_binary64_1429 flip3-+_binary64_1458
associate-*r/_binary64_1397 clear-num_binary64_1454 frac-2neg_binary64_1466 associate-*l/_binary64_1398
prod-exp_binary64_1504 sqrt-pow1_binary64_1473 distribute-lft-out_binary64_1406 distribute-rgt-in_binary64_1405 rem-sqrt-square_binary64_1468 associate-/l/_binary64_1402 *-commutative_binary64_1386 distribute-lft-in_binary64_1404 cbrt-unprod_binary64_1488 pow1/2_binary64_1535 pow-prod-down_binary64_1526 unswap-sqr_binary64_1423
Counts
4 → 328
Calls

4 calls:

60.0ms
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 (/.f64 rand (sqrt.f64 (-.f64 a 1/3))) (sqrt.f64 9))))
16.0ms
(/.f64 (/.f64 rand (sqrt.f64 (-.f64 a 1/3))) (sqrt.f64 9))
7.0ms
(/.f64 rand (sqrt.f64 (-.f64 a 1/3)))
4.0ms
(sqrt.f64 (-.f64 a 1/3))

series345.0ms (7.2%)

Counts
4 → 12
Calls

4 calls:

125.0ms
(/.f64 (/.f64 rand (sqrt.f64 (-.f64 a 1/3))) (sqrt.f64 9))
109.0ms
(/.f64 rand (sqrt.f64 (-.f64 a 1/3)))
83.0ms
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 (/.f64 rand (sqrt.f64 (-.f64 a 1/3))) (sqrt.f64 9))))
28.0ms
(sqrt.f64 (-.f64 a 1/3))

simplify134.0ms (2.8%)

Algorithm
egg-herbie
Counts
340 → 340
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049479006
149479006

prune605.0ms (12.6%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New3400340
Fresh033
Picked011
Done011
Total3405345

Merged error: 0b

Counts
345 → 5
Compiler

Compiled 9033 to 6852 computations (24.1% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.3b
(/.f64 (-.f64 a 1/3) (sqrt.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9))))
0.4b
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))
0.4b
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))
3.8b
(*.f64 (/.f64 (-.f64 a 1/3) (sqrt.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))) (/.f64 rand (sqrt.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))))

rewrite102.0ms (2.1%)

Algorithm
rewrite-expression-head
Rules
116×add-sqr-sqrt_binary64_1477
103×times-frac_binary64_1461
86×*-un-lft-identity_binary64_1455
78×sqrt-prod_binary64_1471
56×add-cube-cbrt_binary64_1490
41×associate-*l*_binary64_1396
27×associate-*r*_binary64_1395
18×add-cbrt-cube_binary64_1491 add-exp-log_binary64_1493
16×sqrt-div_binary64_1472
15×distribute-lft-out--_binary64_1407 difference-of-squares_binary64_1424
12×pow1_binary64_1516
11×associate-*l/_binary64_1398
unswap-sqr_binary64_1423
associate-/r*_binary64_1399
associate-/r/_binary64_1401 flip--_binary64_1430 flip3--_binary64_1459
div-exp_binary64_1506 cbrt-undiv_binary64_1489 associate-/l*_binary64_1400
prod-exp_binary64_1504 sqrt-pow1_binary64_1473 add-log-exp_binary64_1494 cbrt-unprod_binary64_1488
div-inv_binary64_1452 pow-prod-down_binary64_1526
associate-/l/_binary64_1402 pow1/2_binary64_1535
associate-*r/_binary64_1397 clear-num_binary64_1454 frac-times_binary64_1465 *-commutative_binary64_1386 frac-2neg_binary64_1466 div-sub_binary64_1460
Counts
4 → 187
Calls

4 calls:

45.0ms
(*.f64 (/.f64 (-.f64 a 1/3) (sqrt.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))) (/.f64 rand (sqrt.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))))
14.0ms
(/.f64 (-.f64 a 1/3) (sqrt.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9))))
6.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))
5.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))

series337.0ms (7%)

Counts
4 → 12
Calls

4 calls:

174.0ms
(*.f64 (/.f64 (-.f64 a 1/3) (sqrt.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))) (/.f64 rand (sqrt.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))))
96.0ms
(/.f64 (-.f64 a 1/3) (sqrt.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9))))
34.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))
33.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))

simplify102.0ms (2.1%)

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
050056062

prune477.0ms (9.9%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1990199
Fresh022
Picked011
Done022
Total1995204

Merged error: 0b

Counts
204 → 5
Compiler

Compiled 7004 to 5600 computations (20% saved)

regimes30.0ms (0.6%)

Compiler

Compiled 188 to 172 computations (8.5% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02424
12424

end0.0ms (0%)

sample807.0ms (16.8%)

Algorithm
intervals
Results
488.0ms8000×body128valid
15.0ms254×body128invalid
15.0ms266×body128nan
Compiler

Compiled 129 to 118 computations (8.5% saved)

Profiling

Loading profile data...