Details

Time bar (total: 7.4s)

analyze489.0ms (6.6%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0513296
033
133
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
0%0%100%2
0%0%100%3
0%0%100%4
0%0%100%5
0%0%100%6
0%0%100%7
0%0%100%8
0%0%100%9
0%0%100%10
0%0%100%11
0%0%100%12
0%0%100%13
0%0%100%14
Compiler

Compiled 30 to 24 computations (20% saved)

sample39.0ms (0.5%)

Algorithm
intervals
Results
10.0ms105×body256valid
9.0ms286×pre128true
8.0ms151×body128valid
1.0ms30×body128nan
Compiler

Compiled 47 to 41 computations (12.8% saved)

simplify315.0ms (4.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (309.0ms)

IterNodesCost
0183424
1183424

prune4.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112
Error
44.8b
Counts
2 → 1
Compiler

Compiled 32 to 26 computations (18.8% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
0.1b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
0.1b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
38.4b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)

rewrite40.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt_binary64_441
14×*-un-lft-identity_binary64_419
add-cbrt-cube_binary64_455 add-exp-log_binary64_457
add-log-exp_binary64_458 add-cube-cbrt_binary64_454
times-frac_binary64_425 difference-of-squares_binary64_388 sqrt-prod_binary64_435 associate-/l*_binary64_364
pow1_binary64_480
flip3--_binary64_423 flip--_binary64_394 cancel-sign-sub-inv_binary64_385
distribute-lft-out--_binary64_371
sqrt-div_binary64_436 sub-neg_binary64_412 diff-log_binary64_511 div-exp_binary64_470 cbrt-undiv_binary64_453 associate-/l/_binary64_366
clear-num_binary64_418 pow1/2_binary64_499 div-inv_binary64_416 prod-exp_binary64_468 cbrt-unprod_binary64_452 frac-2neg_binary64_430 sqrt-pow1_binary64_437 associate-/r*_binary64_363 rem-sqrt-square_binary64_432 div-sub_binary64_424
Counts
4 → 74
Calls

4 calls:

17.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
9.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
4.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))

series273.0ms (3.7%)

Counts
4 → 12
Calls

4 calls:

110.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
67.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
61.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
35.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify87.0ms (1.2%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
048991979
148991979

prune100.0ms (1.3%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New81586
Fresh000
Picked101
Done000
Total82587
Error
0.2b
Counts
87 → 5
Compiler

Compiled 2079 to 1234 computations (40.6% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
0.1b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
0.3b
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
0.3b
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))

rewrite48.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
45×add-cbrt-cube_binary64_455 add-exp-log_binary64_457
22×times-frac_binary64_425
19×*-un-lft-identity_binary64_419
17×div-exp_binary64_470 cbrt-undiv_binary64_453
13×prod-exp_binary64_468 cbrt-unprod_binary64_452
12×add-sqr-sqrt_binary64_441
11×add-cube-cbrt_binary64_454 associate-/l*_binary64_364
add-log-exp_binary64_458 associate-/r/_binary64_365
associate-/r*_binary64_363 pow1_binary64_480
div-inv_binary64_416 distribute-lft-out_binary64_370
flip3-+_binary64_422 flip-+_binary64_393 sqrt-prod_binary64_435
sqrt-div_binary64_436 clear-num_binary64_418 flip3--_binary64_423 frac-2neg_binary64_430 flip--_binary64_394
sub-neg_binary64_412 pow1/2_binary64_499 diff-log_binary64_511 sqrt-pow1_binary64_437 cancel-sign-sub-inv_binary64_385 rem-sqrt-square_binary64_432 associate-/l/_binary64_366
Counts
4 → 102
Calls

4 calls:

15.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
13.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
4.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

series460.0ms (6.2%)

Counts
4 → 12
Calls

4 calls:

207.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
160.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
58.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
35.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify64.0ms (0.9%)

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
049753059
149753059

prune162.0ms (2.2%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1086114
Fresh404
Picked101
Done000
Total1136119
Error
0b
Counts
119 → 6
Compiler

Compiled 3341 to 2054 computations (38.5% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
0.1b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))
0.1b
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
0.1b
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

rewrite29.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity_binary64_419
15×add-sqr-sqrt_binary64_441
14×add-cube-cbrt_binary64_454
12×times-frac_binary64_425
add-log-exp_binary64_458
add-cbrt-cube_binary64_455 add-exp-log_binary64_457
distribute-lft-out_binary64_370 pow1_binary64_480
associate-/r*_binary64_363
sqrt-prod_binary64_435 associate-/l*_binary64_364
flip3-+_binary64_422 sqrt-div_binary64_436 flip3--_binary64_423 associate-/r/_binary64_365 flip-+_binary64_393 flip--_binary64_394
clear-num_binary64_418 sub-neg_binary64_412 pow1/2_binary64_499 div-inv_binary64_416 sum-log_binary64_510 frac-2neg_binary64_430 diff-log_binary64_511 sqrt-pow1_binary64_437 cancel-sign-sub-inv_binary64_385 rem-sqrt-square_binary64_432 +-commutative_binary64_349 div-exp_binary64_470 cbrt-undiv_binary64_453
Counts
4 → 72
Calls

4 calls:

8.0ms
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
6.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
4.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))

series337.0ms (4.6%)

Counts
4 → 12
Calls

4 calls:

180.0ms
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
62.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
59.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))
36.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

simplify78.0ms (1.1%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049051972
149051972

prune110.0ms (1.5%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New83184
Fresh145
Picked011
Done000
Total84690
Error
0b
Counts
90 → 6
Compiler

Compiled 2344 to 1453 computations (38% saved)

localize27.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.3b
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 (pow.f64 b 3) (pow.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))) 3)))
0.4b
(pow.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))) 3)
0.4b
(*.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 (pow.f64 b 3) (pow.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))) 3))) (+.f64 (*.f64 b b) (-.f64 (*.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))))
38.7b
(-.f64 (*.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))

rewrite126.0ms (1.7%)

Algorithm
rewrite-expression-head
Rules
50×sqrt-div_binary64_436
44×*-un-lft-identity_binary64_419
28×associate-*r/_binary64_361 add-cbrt-cube_binary64_455 add-exp-log_binary64_457
26×flip3--_binary64_423 flip--_binary64_394
18×times-frac_binary64_425 unpow-prod-down_binary64_498 cube-prod_binary64_447
16×add-sqr-sqrt_binary64_441 frac-sub_binary64_428
15×distribute-lft-out_binary64_370 associate-*l*_binary64_360
14×add-cube-cbrt_binary64_454
10×frac-times_binary64_429 prod-exp_binary64_468 cbrt-unprod_binary64_452
associate-/r*_binary64_363
pow1_binary64_480
associate-*l/_binary64_362
add-log-exp_binary64_458 sqrt-prod_binary64_435 div-exp_binary64_470 cbrt-undiv_binary64_453
flip3-+_binary64_422 associate-/r/_binary64_365 flip-+_binary64_393 sub-div_binary64_426
associate-*r*_binary64_359 sum-cubes_binary64_420 pow-pow_binary64_491 pow-unpow_binary64_496
div-inv_binary64_416 cube-div_binary64_448
pow-prod-down_binary64_490 clear-num_binary64_418 distribute-rgt-out--_binary64_373 sub-neg_binary64_412 distribute-rgt-in_binary64_369 pow1/2_binary64_499 unpow3_binary64_485 cube-mult_binary64_449 rem-cube-cbrt_binary64_442 unswap-sqr_binary64_387 sqrt-pow2_binary64_438 pow-exp_binary64_487 sqr-pow_binary64_391 pow-to-exp_binary64_488 distribute-lft-in_binary64_368 *-commutative_binary64_350 frac-2neg_binary64_430 diff-log_binary64_511 sqrt-pow1_binary64_437 cancel-sign-sub-inv_binary64_385 associate-/l*_binary64_364
Counts
4 → 147
Calls

4 calls:

41.0ms
(*.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 (pow.f64 b 3) (pow.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))) 3))) (+.f64 (*.f64 b b) (-.f64 (*.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))))
22.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 (pow.f64 b 3) (pow.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))) 3)))
16.0ms
(-.f64 (*.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
6.0ms
(pow.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))) 3)

series1.3s (17.4%)

Counts
4 → 12
Calls

4 calls:

716.0ms
(*.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 (pow.f64 b 3) (pow.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))) 3))) (+.f64 (*.f64 b b) (-.f64 (*.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))))
429.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 (pow.f64 b 3) (pow.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))) 3)))
98.0ms
(-.f64 (*.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
45.0ms
(pow.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))) 3)

simplify138.0ms (1.9%)

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
050618413

prune626.0ms (8.5%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1590159
Fresh044
Picked011
Done011
Total1596165
Error
0b
Counts
165 → 6
Compiler

Compiled 12009 to 6978 computations (41.9% saved)

regimes377.0ms (5.1%)

Accuracy

Total 0.2b remaining (98.9%)

Threshold costs 0.2b (98.9%)

Compiler

Compiled 4812 to 3662 computations (23.9% saved)

bsearch0.0ms (0%)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06324
16324

end0.0ms (0%)

sample2.1s (28.9%)

Algorithm
intervals
Results
295.0ms2989×body256valid
277.0ms8933×pre128true
259.0ms5011×body128valid
46.0ms933×body128nan
Compiler

Compiled 1239 to 944 computations (23.8% saved)

Profiling

Loading profile data...