Details

Time bar (total: 3.2s)

analyze5.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%50%50%3
25%25%50%4
37.5%12.5%50%5
43.7%6.2%50%6
46.9%3.1%50%7
48.4%1.6%50%8
49.2%0.8%50%9
49.6%0.4%50%10
49.8%0.2%50%11
49.9%0.1%50%12
49.9%0%50.1%13
49.9%0%50.1%14
Compiler

Compiled 20 to 16 computations (20% saved)

sample18.0ms (0.6%)

Algorithm
intervals
Results
13.0ms256×body128valid
Compiler

Compiled 39 to 32 computations (17.9% saved)

simplify238.0ms (7.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
0511729

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1
Compiler

Compiled 38 to 30 computations (21.1% saved)

localize11.0ms (0.4%)

Local error

Found 3 expressions with local error:

0.0b
(*.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) (-.f64 1 (*.f64 v v)))
0.0b
(*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))))
0.2b
(*.f64 3 (*.f64 v v))

rewrite50.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt_binary64_1446
26×associate-*l*_binary64_1368
22×times-frac_binary64_1431 add-cbrt-cube_binary64_1458 add-exp-log_binary64_1460
21×*-un-lft-identity_binary64_1425
20×add-cube-cbrt_binary64_1457
18×frac-times_binary64_1435
17×sqrt-prod_binary64_1440
16×sqrt-div_binary64_1441
15×pow1_binary64_1483
14×flip--_binary64_1400 flip3--_binary64_1429
12×associate-*r*_binary64_1367
10×prod-exp_binary64_1471 cbrt-unprod_binary64_1455 associate-*r/_binary64_1369
associate-*l/_binary64_1370
unswap-sqr_binary64_1393 pow-prod-down_binary64_1493
add-log-exp_binary64_1461 *-commutative_binary64_1358
sub-neg_binary64_1418 difference-of-squares_binary64_1394 div-exp_binary64_1473 cbrt-undiv_binary64_1456
distribute-lft-in_binary64_1376 distribute-rgt-in_binary64_1377 div-inv_binary64_1422
Counts
3 → 112
Calls

3 calls:

16.0ms
(*.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) (-.f64 1 (*.f64 v v)))
14.0ms
(*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))))
7.0ms
(*.f64 3 (*.f64 v v))

series325.0ms (10.2%)

Counts
3 → 9
Calls

3 calls:

175.0ms
(*.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) (-.f64 1 (*.f64 v v)))
114.0ms
(*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))))
35.0ms
(*.f64 3 (*.f64 v v))

simplify93.0ms (2.9%)

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
048973268
148973268

prune191.0ms (6%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1192121
Fresh000
Picked101
Done000
Total1202122

Merged error: 0b

Counts
122 → 2
Compiler

Compiled 3390 to 2532 computations (25.3% saved)

localize11.0ms (0.3%)

Local error

Found 3 expressions with local error:

0.0b
(*.f64 (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))) (-.f64 1 (*.f64 v v)))
0.0b
(*.f64 (/.f64 (sqrt.f64 2) 4) (*.f64 (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))) (-.f64 1 (*.f64 v v))))
0.2b
(*.f64 3 (*.f64 v v))

rewrite49.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
31×associate-*l*_binary64_1368
26×add-sqr-sqrt_binary64_1446
22×add-cbrt-cube_binary64_1458 add-exp-log_binary64_1460
21×*-un-lft-identity_binary64_1425
20×add-cube-cbrt_binary64_1457 frac-times_binary64_1435
18×flip--_binary64_1400 times-frac_binary64_1431 sqrt-div_binary64_1441 flip3--_binary64_1429
15×pow1_binary64_1483
14×associate-*r/_binary64_1369
13×sqrt-prod_binary64_1440
10×prod-exp_binary64_1471 cbrt-unprod_binary64_1455
associate-*r*_binary64_1367 associate-*l/_binary64_1370 pow-prod-down_binary64_1493
sub-neg_binary64_1418
distribute-lft-in_binary64_1376 distribute-rgt-in_binary64_1377
unswap-sqr_binary64_1393 add-log-exp_binary64_1461 *-commutative_binary64_1358
difference-of-squares_binary64_1394 div-exp_binary64_1473 cbrt-undiv_binary64_1456
div-inv_binary64_1422
Counts
3 → 115
Calls

3 calls:

18.0ms
(*.f64 (/.f64 (sqrt.f64 2) 4) (*.f64 (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))) (-.f64 1 (*.f64 v v))))
11.0ms
(*.f64 (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))) (-.f64 1 (*.f64 v v)))
6.0ms
(*.f64 3 (*.f64 v v))

series280.0ms (8.8%)

Counts
3 → 9
Calls

3 calls:

156.0ms
(*.f64 (/.f64 (sqrt.f64 2) 4) (*.f64 (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))) (-.f64 1 (*.f64 v v))))
87.0ms
(*.f64 (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))) (-.f64 1 (*.f64 v v)))
37.0ms
(*.f64 3 (*.f64 v v))

simplify61.0ms (1.9%)

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
053753524

prune185.0ms (5.8%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1240124
Fresh011
Picked011
Done000
Total1242126

Merged error: 0b

Counts
126 → 2
Compiler

Compiled 3523 to 2599 computations (26.2% saved)

localize13.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 (cbrt.f64 (pow.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) 3)) (-.f64 1 (*.f64 v v)))
0.0b
(*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))))
0.2b
(*.f64 3 (*.f64 v v))
1.0b
(pow.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) 3)

rewrite67.0ms (2.1%)

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt_binary64_1446
36×associate-*l*_binary64_1368
25×*-un-lft-identity_binary64_1425
24×add-cube-cbrt_binary64_1457
22×times-frac_binary64_1431 add-exp-log_binary64_1460
21×add-cbrt-cube_binary64_1458
20×sqrt-div_binary64_1441 cube-div_binary64_1451 frac-times_binary64_1435
17×sqrt-prod_binary64_1440
16×flip--_binary64_1400 pow1_binary64_1483 flip3--_binary64_1429
15×cbrt-div_binary64_1454
12×associate-*r/_binary64_1369 associate-*r*_binary64_1367
10×unswap-sqr_binary64_1393 cbrt-prod_binary64_1453 associate-*l/_binary64_1370
prod-exp_binary64_1471 cbrt-unprod_binary64_1455
pow-prod-down_binary64_1493
add-log-exp_binary64_1461
pow-unpow_binary64_1499 pow-exp_binary64_1490 rem-cube-cbrt_binary64_1447 sqr-pow_binary64_1397 *-commutative_binary64_1358
pow-pow_binary64_1494 sub-neg_binary64_1418 unpow-prod-down_binary64_1501 unpow3_binary64_1488 cube-mult_binary64_1452 difference-of-squares_binary64_1394 cube-prod_binary64_1450 div-exp_binary64_1473 cbrt-undiv_binary64_1456
distribute-lft-in_binary64_1376 pow-to-exp_binary64_1491 distribute-rgt-in_binary64_1377 div-inv_binary64_1422
Counts
4 → 149
Calls

4 calls:

14.0ms
(*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))))
12.0ms
(pow.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) 3)
12.0ms
(*.f64 (cbrt.f64 (pow.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) 3)) (-.f64 1 (*.f64 v v)))
7.0ms
(*.f64 3 (*.f64 v v))

series508.0ms (16%)

Counts
4 → 12
Calls

4 calls:

217.0ms
(pow.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) 3)
156.0ms
(*.f64 (cbrt.f64 (pow.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) 3)) (-.f64 1 (*.f64 v v)))
102.0ms
(*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))))
33.0ms
(*.f64 3 (*.f64 v v))

simplify71.0ms (2.2%)

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
050034427

prune276.0ms (8.7%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1610161
Fresh000
Picked011
Done011
Total1612163

Merged error: 0b

Counts
163 → 2
Compiler

Compiled 4998 to 3813 computations (23.7% saved)

regimes52.0ms (1.6%)

Compiler

Compiled 478 to 386 computations (19.2% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05634
15634

end0.0ms (0%)

sample677.0ms (21.2%)

Algorithm
intervals
Results
406.0ms8000×body128valid
0.0msbody128nan
Compiler

Compiled 160 to 131 computations (18.1% saved)

Profiling

Loading profile data...