Details

Time bar (total: 10.6s)

analyze1.1s (10.2%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0513296
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)

sample47.0ms (0.4%)

Algorithm
intervals
Results
10.0ms38×body2048valid
8.0ms154×body128valid
6.0ms17×body4096valid
5.0ms23×body1024valid
2.0ms17×body512valid
1.0ms18×body128invalid
1.0ms15×body128nan
1.0msbody256valid
Compiler

Compiled 35 to 32 computations (8.6% saved)

simplify373.0ms (3.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (366.0ms)

IterNodesCost
0183424
1183424

prune4.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112
Error
37.0b
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
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
0.8b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
1.5b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
24.6b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))

rewrite174.0ms (1.6%)

Algorithm
rewrite-expression-head
Error
36.7b
Rules
21×add-sqr-sqrt_binary64_441
14×*-un-lft-identity_binary64_419
add-exp-log_binary64_457 add-cbrt-cube_binary64_455
add-log-exp_binary64_458 add-cube-cbrt_binary64_454
sqrt-prod_binary64_435 difference-of-squares_binary64_388 times-frac_binary64_425 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 diff-log_binary64_511 sub-neg_binary64_412 div-exp_binary64_470 cbrt-undiv_binary64_453 associate-/l/_binary64_366
pow1/2_binary64_499 sqrt-pow1_binary64_437 rem-sqrt-square_binary64_432 prod-exp_binary64_468 cbrt-unprod_binary64_452 frac-2neg_binary64_430 div-sub_binary64_424 clear-num_binary64_418 div-inv_binary64_416 associate-/r*_binary64_363
Counts
4 → 74
Calls

4 calls:

12.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
12.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
6.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
Compiler

Compiled 2100 to 1220 computations (41.9% saved)

series770.0ms (7.2%)

Error
5.8b
Counts
4 → 60
Calls

4 calls:

228.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
198.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
162.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
132.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
Compiler

Compiled 2557 to 1968 computations (23% saved)

simplify85.0ms (0.8%)

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
055092545

prune150.0ms (1.4%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1268134
Fresh000
Picked101
Done000
Total1278135
Error
5.7b
Counts
135 → 8
Compiler

Compiled 2727 to 1455 computations (46.6% saved)

localize4.0ms (0%)

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Error
5.7b
Counts
0 → 0
Compiler

Compiled 0 to 0 computations (0% saved)

series1.0ms (0%)

Error
5.7b
Counts
0 → 0
Compiler

Compiled 0 to 0 computations (0% saved)

simplify13.0ms (0.1%)

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
000

prune12.0ms (0.1%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New000
Fresh077
Picked011
Done000
Total088
Error
5.7b
Counts
8 → 8
Compiler

Compiled 142 to 101 computations (28.9% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (/.f64 1/2 a))
0.8b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
1.5b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
24.6b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))

rewrite180.0ms (1.7%)

Algorithm
rewrite-expression-head
Error
5.7b
Rules
28×add-sqr-sqrt_binary64_441
18×*-un-lft-identity_binary64_419
14×add-cube-cbrt_binary64_454
13×associate-*r*_binary64_359
10×times-frac_binary64_425
add-exp-log_binary64_457 add-cbrt-cube_binary64_455
add-log-exp_binary64_458
pow1_binary64_480
associate-*l*_binary64_360
flip3--_binary64_423 flip--_binary64_394 sqrt-prod_binary64_435
difference-of-squares_binary64_388 cancel-sign-sub-inv_binary64_385
sqrt-div_binary64_436 diff-log_binary64_511 sub-neg_binary64_412 distribute-lft-out--_binary64_371 prod-exp_binary64_468 cbrt-unprod_binary64_452 frac-times_binary64_429 unswap-sqr_binary64_387 associate-*l/_binary64_362
pow1/2_binary64_499 sqrt-pow1_binary64_437 rem-sqrt-square_binary64_432 pow-prod-down_binary64_490 div-exp_binary64_470 cbrt-undiv_binary64_453 associate-*r/_binary64_361 div-inv_binary64_416 *-commutative_binary64_350
Counts
4 → 83
Calls

4 calls:

31.0ms
(*.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (/.f64 1/2 a))
8.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
8.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
Compiler

Compiled 2366 to 1383 computations (41.5% saved)

series798.0ms (7.5%)

Error
5.7b
Counts
4 → 60
Calls

4 calls:

230.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
183.0ms
(*.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (/.f64 1/2 a))
158.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
157.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
Compiler

Compiled 2557 to 1968 computations (23% saved)

simplify82.0ms (0.8%)

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
050942791

prune169.0ms (1.6%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1430143
Fresh066
Picked011
Done011
Total1438151
Error
5.7b
Counts
151 → 8
Compiler

Compiled 2939 to 1568 computations (46.6% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

1.5b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
1.5b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
24.6b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
24.6b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

rewrite174.0ms (1.6%)

Algorithm
rewrite-expression-head
Error
5.7b
Rules
18×add-sqr-sqrt_binary64_441
12×*-un-lft-identity_binary64_419
add-log-exp_binary64_458 add-cube-cbrt_binary64_454 sqrt-prod_binary64_435
pow1_binary64_480 cancel-sign-sub-inv_binary64_385
add-exp-log_binary64_457 add-cbrt-cube_binary64_455 flip3--_binary64_423 sqrt-div_binary64_436 flip--_binary64_394 difference-of-squares_binary64_388
pow1/2_binary64_499 sqrt-pow1_binary64_437 rem-sqrt-square_binary64_432 diff-log_binary64_511 sub-neg_binary64_412 distribute-lft-out--_binary64_371
Counts
4 → 64
Calls

4 calls:

9.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
8.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
7.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
7.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
Compiler

Compiled 2732 to 1417 computations (48.1% saved)

series777.0ms (7.3%)

Error
5.7b
Counts
4 → 58
Calls

4 calls:

197.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
173.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
159.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
150.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
Compiler

Compiled 5074 to 3425 computations (32.5% saved)

simplify109.0ms (1%)

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (83.0ms)

IterNodesCost
049362116
149362116

prune193.0ms (1.8%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1220122
Fresh055
Picked011
Done022
Total1228130
Error
5.7b
Counts
130 → 8
Compiler

Compiled 4140 to 2124 computations (48.7% saved)

regimes1.6s (15.1%)

Accuracy

Total 5.2b remaining (47.8%)

Threshold costs 0b (0%)

Compiler

Compiled 7712 to 5782 computations (25% saved)

bsearch85.0ms (0.8%)

Steps
ItersRangePoint
8
1.838515329808274e-64
1.504646891257893e-60
9.908180707161701e-62
8
-7.239199173592704e-32
-3.8108211360075656e-36
-7.102439644234899e-32
Compiler

Compiled 1 to 3 computations (-200% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
08652
18652

end0.0ms (0%)

sample3.7s (34.8%)

Algorithm
intervals
Results
361.0ms1139×body2048valid
345.0ms5137×body128valid
201.0ms766×body1024valid
153.0ms397×body4096valid
66.0ms374×body512valid
40.0ms637×body128nan
27.0ms374×body128invalid
23.0ms187×body256valid
Compiler

Compiled 1971 to 1478 computations (25% saved)

Profiling

Loading profile data...