Details

Time bar (total: 54.9s)

analyze5.0s (9%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05334427
044
144
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%7
0%98.2%1.8%8
0%94.3%5.7%9
0.4%93%6.6%10
7.4%83.3%9.3%11
12.4%75.2%12.4%12
14.4%68.9%16.7%13
16.8%65.4%17.8%14
Compiler

Compiled 41 to 33 computations (19.5% saved)

sample311.0ms (0.6%)

Algorithm
intervals
Results
49.0ms180×body128valid
45.0ms25×body2048valid
40.0ms37×body1024nan
28.0ms25×body1024valid
27.0ms100×body128nan
23.0ms16×body2048nan
17.0ms21×body512nan
16.0ms19×body512valid
9.0ms17×body256nan
4.0msbody256valid
Compiler

Compiled 81 to 69 computations (14.8% saved)

simplify69.0ms (0.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
0561361

prune14.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112
Error
52.1b
Counts
2 → 1
Compiler

Compiled 80 to 59 computations (26.3% saved)

localize42.0ms (0.1%)

Local error

Found 4 expressions with local error:

5.1b
(*.f64 (*.f64 2 (*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)) (+.f64 (+.f64 A C) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2)))))
15.1b
(sqrt.f64 (*.f64 (*.f64 2 (*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)) (+.f64 (+.f64 A C) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2))))))
20.2b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (*.f64 2 (*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)) (+.f64 (+.f64 A C) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2))))))) (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)))
32.7b
(sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2)))

rewrite257.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
78×sqrt-div_binary64_3505
60×associate-*r/_binary64_3430
48×associate-*l/_binary64_3431
46×flip-+_binary64_3462 flip3-+_binary64_3491
43×*-un-lft-identity_binary64_3488
36×frac-add_binary64_3496 times-frac_binary64_3494 frac-times_binary64_3498
32×add-sqr-sqrt_binary64_3510
31×add-cube-cbrt_binary64_3523
24×pow1_binary64_3549
22×flip3--_binary64_3492 flip--_binary64_3463
20×associate-/l/_binary64_3435 distribute-neg-frac_binary64_3452
16×distribute-lft-neg-in_binary64_3445 distribute-rgt-neg-in_binary64_3446
15×add-cbrt-cube_binary64_3524 add-exp-log_binary64_3526 sqrt-prod_binary64_3504
12×associate-/l*_binary64_3433 pow-prod-down_binary64_3559
distribute-lft-out_binary64_3439 cbrt-unprod_binary64_3521 prod-exp_binary64_3537
associate-*r*_binary64_3428 sqrt-pow1_binary64_3506
unpow-prod-down_binary64_3567 add-log-exp_binary64_3527 neg-mul-1_binary64_3484
associate-/r*_binary64_3432
associate-/r/_binary64_3434 pow1/2_binary64_3568
distribute-lft-in_binary64_3437 clear-num_binary64_3487 distribute-rgt-in_binary64_3438 distribute-lft-out--_binary64_3440 associate-*l*_binary64_3429 frac-2neg_binary64_3499 *-commutative_binary64_3419 div-exp_binary64_3539 distribute-frac-neg_binary64_3451 cbrt-undiv_binary64_3522 neg-sub0_binary64_3483 div-sub_binary64_3493 div-inv_binary64_3485 rem-sqrt-square_binary64_3501
Counts
4 → 183
Calls

4 calls:

65.0ms
(*.f64 (*.f64 2 (*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)) (+.f64 (+.f64 A C) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2)))))
54.0ms
(sqrt.f64 (*.f64 (*.f64 2 (*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)) (+.f64 (+.f64 A C) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2))))))
32.0ms
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (*.f64 2 (*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)) (+.f64 (+.f64 A C) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2))))))) (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)))
23.0ms
(sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2)))

series16.9s (30.8%)

Counts
4 → 96
Calls

4 calls:

7.5s
(sqrt.f64 (*.f64 (*.f64 2 (*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)) (+.f64 (+.f64 A C) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2))))))
6.9s
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (*.f64 2 (*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)) (+.f64 (+.f64 A C) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2))))))) (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)))
2.0s
(*.f64 (*.f64 2 (*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)) (+.f64 (+.f64 A C) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2)))))
602.0ms
(sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2)))
Compiler

Compiled 19244 to 14632 computations (24% saved)

simplify501.0ms (0.9%)

Algorithm
egg-herbie
Counts
279 → 279
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
0511632104

prune2.7s (4.9%)

Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New25722279
Fresh000
Picked101
Done000
Total25822280
Error
25.8b
Counts
280 → 22
Compiler

Compiled 27309 to 13173 computations (51.8% saved)

localize16.0ms (0%)

Local error

Found 3 expressions with local error:

0.0b
(*.f64 -1/2 (/.f64 F A))
0.4b
(*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 -1/2 (/.f64 F A))))
13.8b
(sqrt.f64 (*.f64 -1/2 (/.f64 F A)))

rewrite46.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64_3510
17×associate-*r*_binary64_3428
15×pow1_binary64_3549
14×add-cube-cbrt_binary64_3523 *-un-lft-identity_binary64_3488
10×add-cbrt-cube_binary64_3524 add-exp-log_binary64_3526 times-frac_binary64_3494
associate-*l*_binary64_3429
pow-prod-down_binary64_3559
sqrt-pow1_binary64_3506 sqrt-prod_binary64_3504
unswap-sqr_binary64_3456 associate-*r/_binary64_3430
cbrt-unprod_binary64_3521 add-log-exp_binary64_3527 pow1/2_binary64_3568 prod-exp_binary64_3537
sqrt-div_binary64_3505 *-commutative_binary64_3419
div-exp_binary64_3539 cbrt-undiv_binary64_3522 div-inv_binary64_3485 sqrt-unprod_binary64_3508
Counts
3 → 72
Calls

3 calls:

17.0ms
(*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 -1/2 (/.f64 F A))))
13.0ms
(*.f64 -1/2 (/.f64 F A))
7.0ms
(sqrt.f64 (*.f64 -1/2 (/.f64 F A)))

series311.0ms (0.6%)

Counts
3 → 18
Calls

3 calls:

120.0ms
(*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 -1/2 (/.f64 F A))))
108.0ms
(*.f64 -1/2 (/.f64 F A))
82.0ms
(sqrt.f64 (*.f64 -1/2 (/.f64 F A)))
Compiler

Compiled 502 to 550 computations (-9.6% saved)

simplify159.0ms (0.3%)

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 0 (129.0ms)

IterNodesCost
049481045
149481045

prune265.0ms (0.5%)

Pruning

29 alts after pruning (29 fresh and 0 done)

PrunedKeptTotal
New81990
Fresh12021
Picked101
Done000
Total8329112
Error
25.7b
Counts
112 → 29
Compiler

Compiled 2282 to 1641 computations (28.1% saved)

localize24.0ms (0%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 -1/2 (/.f64 F A))
0.3b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))) (*.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F A))) (cbrt.f64 (sqrt.f64 2))))
0.3b
(*.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F A))) (cbrt.f64 (sqrt.f64 2)))
13.8b
(sqrt.f64 (*.f64 -1/2 (/.f64 F A)))

rewrite85.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt_binary64_3510
23×add-exp-log_binary64_3526 associate-*r*_binary64_3428 pow1_binary64_3549
16×add-cbrt-cube_binary64_3524 add-cube-cbrt_binary64_3523 *-un-lft-identity_binary64_3488
11×cbrt-unprod_binary64_3521 pow-prod-down_binary64_3559 prod-exp_binary64_3537
10×times-frac_binary64_3494
cbrt-prod_binary64_3519 associate-*l*_binary64_3429
sqrt-prod_binary64_3504
unswap-sqr_binary64_3456 associate-*r/_binary64_3430
add-log-exp_binary64_3527
sqrt-div_binary64_3505 *-commutative_binary64_3419
associate-*l/_binary64_3431 sqrt-pow1_binary64_3506
pow1/2_binary64_3568 div-exp_binary64_3539 cbrt-undiv_binary64_3522 div-inv_binary64_3485
Counts
4 → 95
Calls

4 calls:

29.0ms
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))) (*.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F A))) (cbrt.f64 (sqrt.f64 2))))
19.0ms
(*.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F A))) (cbrt.f64 (sqrt.f64 2)))
13.0ms
(*.f64 -1/2 (/.f64 F A))
7.0ms
(sqrt.f64 (*.f64 -1/2 (/.f64 F A)))

series502.0ms (0.9%)

Counts
4 → 24
Calls

4 calls:

168.0ms
(*.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F A))) (cbrt.f64 (sqrt.f64 2)))
126.0ms
(*.f64 -1/2 (/.f64 F A))
116.0ms
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))) (*.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F A))) (cbrt.f64 (sqrt.f64 2))))
91.0ms
(sqrt.f64 (*.f64 -1/2 (/.f64 F A)))
Compiler

Compiled 1050 to 1110 computations (-5.7% saved)

simplify128.0ms (0.2%)

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 0 (90.0ms)

IterNodesCost
053971618

prune392.0ms (0.7%)

Pruning

31 alts after pruning (30 fresh and 1 done)

PrunedKeptTotal
New1136119
Fresh42428
Picked011
Done000
Total11731148
Error
25.7b
Counts
148 → 31
Compiler

Compiled 3621 to 2878 computations (20.5% saved)

localize21.0ms (0%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 -1/2 (/.f64 F A))
0.2b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F A))) (sqrt.f64 (sqrt.f64 2))))
0.3b
(*.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F A))) (sqrt.f64 (sqrt.f64 2)))
13.8b
(sqrt.f64 (*.f64 -1/2 (/.f64 F A)))

rewrite83.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt_binary64_3510
28×pow1_binary64_3549
23×associate-*r*_binary64_3428 sqrt-prod_binary64_3504
19×add-cube-cbrt_binary64_3523 *-un-lft-identity_binary64_3488
17×pow-prod-down_binary64_3559
16×add-cbrt-cube_binary64_3524 add-exp-log_binary64_3526 associate-*l*_binary64_3429
12×sqrt-pow1_binary64_3506
10×times-frac_binary64_3494
cbrt-unprod_binary64_3521 pow1/2_binary64_3568 prod-exp_binary64_3537
unswap-sqr_binary64_3456 associate-*r/_binary64_3430
add-log-exp_binary64_3527
sqrt-div_binary64_3505 *-commutative_binary64_3419 sqrt-unprod_binary64_3508
associate-*l/_binary64_3431
div-exp_binary64_3539 cbrt-undiv_binary64_3522 div-inv_binary64_3485
Counts
4 → 105
Calls

4 calls:

27.0ms
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F A))) (sqrt.f64 (sqrt.f64 2))))
19.0ms
(*.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F A))) (sqrt.f64 (sqrt.f64 2)))
13.0ms
(*.f64 -1/2 (/.f64 F A))
7.0ms
(sqrt.f64 (*.f64 -1/2 (/.f64 F A)))

series449.0ms (0.8%)

Counts
4 → 24
Calls

4 calls:

138.0ms
(*.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F A))) (sqrt.f64 (sqrt.f64 2)))
116.0ms
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F A))) (sqrt.f64 (sqrt.f64 2))))
106.0ms
(*.f64 -1/2 (/.f64 F A))
88.0ms
(sqrt.f64 (*.f64 -1/2 (/.f64 F A)))
Compiler

Compiled 886 to 946 computations (-6.8% saved)

simplify170.0ms (0.3%)

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 0 (126.0ms)

IterNodesCost
048871763
148871763

prune292.0ms (0.5%)

Pruning

32 alts after pruning (30 fresh and 2 done)

PrunedKeptTotal
New1254129
Fresh32629
Picked011
Done011
Total12832160
Error
25.7b
Counts
160 → 32
Compiler

Compiled 2289 to 1785 computations (22% saved)

regimes8.7s (15.9%)

Accuracy

Total 8.2b remaining (23.2%)

Threshold costs 0b (0%)

Compiler

Compiled 31492 to 23120 computations (26.6% saved)

bsearch20.0ms (0%)

Compiler

Compiled 40 to 32 computations (20% saved)

simplify61.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
0264434
1264434
Compiler

Compiled 562 to 390 computations (30.6% saved)

end0.0ms (0%)

sample17.4s (31.7%)

Algorithm
intervals
Results
1.5s5562×body128valid
1.0s912×body1024valid
961.0ms842×body1024nan
948.0ms631×body2048valid
871.0ms589×body2048nan
823.0ms2967×body128nan
478.0ms557×body512nan
455.0ms555×body512valid
199.0ms339×body256valid
189.0ms342×body256nan
2.0msbody4096valid
Compiler

Compiled 5350 to 3871 computations (27.6% saved)

Profiling

Loading profile data...