Details

Time bar (total: 6.8s)

analyze830.0ms (12.2%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0481096
1481096
033
133
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
12.5%87.4%0.1%5
18.7%81.1%0.1%6
21.8%71.8%6.4%7
31.2%62.4%6.4%8
35.9%55.4%8.7%9
37.8%48.8%13.4%10
42.7%42.3%15%11
47.7%34.2%18.1%12
49.1%30.4%20.5%13
51.9%25.8%22.3%14
Compiler

Compiled 18 to 15 computations (16.7% saved)

sample41.0ms (0.6%)

Algorithm
intervals
Results
9.0ms171×body128valid
6.0ms24×body2048valid
5.0ms27×body1024valid
5.0ms10×body4096valid
2.0ms13×body512valid
1.0ms28×body128nan
1.0ms11×body256valid
1.0ms12×body128invalid
Compiler

Compiled 35 to 32 computations (8.6% saved)

simplify333.0ms (4.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (327.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
30.9b
Counts
2 → 1
Compiler

Compiled 32 to 26 computations (18.8% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite28.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-/l*_binary64_364
sqrt-prod_binary64_435 associate-/r*_binary64_363
flip3-+_binary64_422 sqrt-div_binary64_436 flip3--_binary64_423 flip-+_binary64_393 flip--_binary64_394 associate-/l/_binary64_366
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 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))) a)
6.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
4.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))

series246.0ms (3.6%)

Counts
4 → 12
Calls

4 calls:

80.0ms
(/.f64 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))) a)
72.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
62.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
33.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))

simplify89.0ms (1.3%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
049702025
149702025

prune116.0ms (1.7%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New78684
Fresh000
Picked011
Done000
Total78785
Error
5.2b
Counts
85 → 7
Compiler

Compiled 2102 to 1132 computations (46.1% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.9b
(-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
1.8b
(/.f64 (/.f64 (*.f64 4 (*.f64 a c)) (-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))) a)
9.6b
(/.f64 (*.f64 4 (*.f64 a c)) (-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))))
19.4b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

rewrite55.0ms (0.8%)

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

4 calls:

15.0ms
(/.f64 (*.f64 4 (*.f64 a c)) (-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))))
14.0ms
(/.f64 (/.f64 (*.f64 4 (*.f64 a c)) (-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))) a)
7.0ms
(-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

series528.0ms (7.8%)

Counts
4 → 12
Calls

4 calls:

226.0ms
(/.f64 (*.f64 4 (*.f64 a c)) (-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))))
167.0ms
(/.f64 (/.f64 (*.f64 4 (*.f64 a c)) (-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))) a)
71.0ms
(-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
64.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

simplify111.0ms (1.6%)

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
050115032

prune211.0ms (3.1%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1462148
Fresh055
Picked101
Done011
Total1478155
Error
5.1b
Counts
155 → 8
Compiler

Compiled 4797 to 2552 computations (46.8% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.9b
(-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
1.8b
(/.f64 (*.f64 4 (/.f64 (*.f64 a c) (-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))))) a)
9.4b
(/.f64 (*.f64 a c) (-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))))
19.4b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

rewrite44.0ms (0.6%)

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

4 calls:

13.0ms
(/.f64 (*.f64 4 (/.f64 (*.f64 a c) (-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))))) a)
10.0ms
(/.f64 (*.f64 a c) (-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))))
7.0ms
(-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
5.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

series488.0ms (7.2%)

Counts
4 → 12
Calls

4 calls:

201.0ms
(/.f64 (*.f64 a c) (-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))))
164.0ms
(/.f64 (*.f64 4 (/.f64 (*.f64 a c) (-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))))) a)
65.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
58.0ms
(-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))

simplify66.0ms (1%)

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
049502566
149502566

prune117.0ms (1.7%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1020102
Fresh066
Picked011
Done011
Total1028110
Error
5.1b
Counts
110 → 8
Compiler

Compiled 2886 to 1582 computations (45.2% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 1 (/.f64 a (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))))
0.4b
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
1.3b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
19.4b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

rewrite40.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
102×times-frac_binary64_425
82×*-un-lft-identity_binary64_419
57×add-sqr-sqrt_binary64_441
56×add-cube-cbrt_binary64_454
18×associate-/r*_binary64_363
15×add-exp-log_binary64_457
13×distribute-lft-out_binary64_370
associate-/r/_binary64_365 add-cbrt-cube_binary64_455
add-log-exp_binary64_458
div-exp_binary64_470
pow1_binary64_480
flip3-+_binary64_422 div-inv_binary64_416 flip-+_binary64_393
sqrt-prod_binary64_435 associate-/l*_binary64_364 cbrt-undiv_binary64_453
sqrt-div_binary64_436 1-exp_binary64_463 flip3--_binary64_423 rec-exp_binary64_469 flip--_binary64_394
clear-num_binary64_418 sub-neg_binary64_412 inv-pow_binary64_504 pow1/2_binary64_499 sum-log_binary64_510 frac-2neg_binary64_430 pow-flip_binary64_493 diff-log_binary64_511 sqrt-pow1_binary64_437 cancel-sign-sub-inv_binary64_385 rem-sqrt-square_binary64_432 +-commutative_binary64_349
Counts
4 → 135
Calls

4 calls:

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

series246.0ms (3.6%)

Counts
4 → 12
Calls

4 calls:

94.0ms
(/.f64 1 (/.f64 a (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))))
63.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
56.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
32.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))

simplify87.0ms (1.3%)

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049044499
149044499

prune180.0ms (2.7%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1470147
Fresh055
Picked011
Done022
Total1478155
Error
5.1b
Counts
155 → 8
Compiler

Compiled 4125 to 2264 computations (45.1% saved)

regimes605.0ms (8.9%)

Accuracy

Total 1.1b remaining (16.6%)

Threshold costs 0b (0%)

Compiler

Compiled 4402 to 3234 computations (26.5% saved)

bsearch113.0ms (1.7%)

Steps
ItersRangePoint
9
1.3757201747748946e+122
4.2744175307429915e+127
4.506449921036379e+122
8
-5.094737738097033e-276
-1.1972161547110289e-278
-1.2572184622052755e-278
9
-8.994821103457546e+83
-5.5446932295606685e+78
-6.936942472764157e+83
Compiler

Compiled 1 to 3 computations (-200% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
09889
19889

end0.0ms (0%)

sample2.2s (31.7%)

Algorithm
intervals
Results
294.0ms5280×body128valid
284.0ms1081×body2048valid
150.0ms716×body1024valid
130.0ms395×body4096valid
54.0ms341×body512valid
38.0ms656×body128nan
23.0ms419×body128invalid
19.0ms187×body256valid
Compiler

Compiled 1197 to 872 computations (27.2% saved)

Profiling

Loading profile data...