Details

Time bar (total: 6.8s)

analyze811.0ms (11.9%)

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)

sample40.0ms (0.6%)

Algorithm
intervals
Results
10.0ms42×body2048valid
8.0ms157×body128valid
5.0ms26×body1024valid
3.0msbody4096valid
2.0ms16×body512valid
1.0ms20×body128nan
1.0msbody256valid
1.0ms10×body128invalid
Compiler

Compiled 35 to 32 computations (8.6% saved)

simplify329.0ms (4.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (323.0ms)

IterNodesCost
0183424
1183424

prune4.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 32.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.3b
(/.f64 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))) a)
0.7b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
0.8b
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
20.0b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

rewrite31.0ms (0.5%)

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)
7.0ms
(-.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
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

series231.0ms (3.4%)

Counts
4 → 12
Calls

4 calls:

75.0ms
(/.f64 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))) a)
62.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
61.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
31.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))

simplify94.0ms (1.4%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
049702025
149702025

prune123.0ms (1.8%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New77784
Fresh000
Picked011
Done000
Total77885

Merged error: 3.7b

Counts
85 → 8
Compiler

Compiled 2128 to 1151 computations (45.9% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

1.5b
(-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
5.0b
(/.f64 (/.f64 (*.f64 4 (*.f64 a c)) (-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))) a)
8.0b
(/.f64 (*.f64 4 (*.f64 a c)) (-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))))
20.0b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

rewrite52.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:

14.0ms
(/.f64 (/.f64 (*.f64 4 (*.f64 a c)) (-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))) a)
12.0ms
(/.f64 (*.f64 4 (*.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)))))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

series506.0ms (7.4%)

Counts
4 → 12
Calls

4 calls:

216.0ms
(/.f64 (*.f64 4 (*.f64 a c)) (-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))))
168.0ms
(/.f64 (/.f64 (*.f64 4 (*.f64 a c)) (-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))) a)
64.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
59.0ms
(-.f64 b (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 (63.0ms)

IterNodesCost
050115032

prune205.0ms (3%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1453148
Fresh336
Picked101
Done011
Total1497156

Merged error: 3.6b

Counts
156 → 7
Compiler

Compiled 4788 to 2542 computations (46.9% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(/.f64 c (-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))))
0.8b
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
1.5b
(-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
20.0b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

rewrite34.0ms (0.5%)

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

4 calls:

10.0ms
(/.f64 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)))))
4.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

series333.0ms (4.9%)

Counts
4 → 12
Calls

4 calls:

183.0ms
(/.f64 c (-.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))))
60.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))))
34.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))

simplify81.0ms (1.2%)

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
048822580
148822580

prune123.0ms (1.8%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1000100
Fresh055
Picked011
Done011
Total1007107

Merged error: 3.6b

Counts
107 → 7
Compiler

Compiled 2929 to 1732 computations (40.9% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.8b
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
0.8b
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
20.0b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
20.0b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

rewrite22.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64_458 add-sqr-sqrt_binary64_441
*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454 sqrt-prod_binary64_435 pow1_binary64_480
sqrt-div_binary64_436 flip3--_binary64_423 add-cbrt-cube_binary64_455 add-exp-log_binary64_457 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
Counts
4 → 54
Calls

4 calls:

5.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
4.0ms
(-.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))))

series179.0ms (2.6%)

Counts
4 → 12
Calls

4 calls:

60.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
55.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
33.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
31.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))

simplify58.0ms (0.9%)

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
049151236
149151236

prune97.0ms (1.4%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New66066
Fresh044
Picked011
Done022
Total66773

Merged error: 3.6b

Counts
73 → 7
Compiler

Compiled 2448 to 1315 computations (46.3% saved)

regimes992.0ms (14.6%)

Compiler

Compiled 5322 to 3818 computations (28.3% saved)

bsearch64.0ms (0.9%)

Steps
ItersRangePoint
4
2.38944338590728e+47
4.771398576646484e+47
4.65745276732901e+47
7
-3.4289192520051356e-240
-1.5893605367589336e-242
-1.8441922009769164e-242
4
-1.9544929856771155e+136
-1.0262434930020884e+136
-1.8546541145634366e+136
Compiler

Compiled 1 to 3 computations (-200% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
013197
113197

end0.0ms (0%)

sample2.2s (32.9%)

Algorithm
intervals
Results
281.0ms1147×body2048valid
271.0ms5170×body128valid
150.0ms756×body1024valid
116.0ms377×body4096valid
53.0ms375×body512valid
34.0ms700×body128nan
20.0ms394×body128invalid
17.0ms175×body256valid
Compiler

Compiled 1432 to 1020 computations (28.8% saved)

Profiling

Loading profile data...