Details

Time bar (total: 6.1s)

analyze685.0ms (11.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)

sample45.0ms (0.7%)

Algorithm
intervals
Results
9.0ms161×body128valid
8.0ms33×body2048valid
7.0ms14×body4096valid
5.0ms26×body1024valid
2.0ms12×body512valid
1.0ms25×body128nan
1.0ms10×body256valid
1.0ms10×body128invalid
Compiler

Compiled 35 to 32 computations (8.6% saved)

simplify337.0ms (5.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (332.0ms)

IterNodesCost
0183424
1183424

prune5.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112
Error
34.7b
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 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
0.4b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
1.3b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
20.9b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))

rewrite39.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt_binary64_2487
14×*-un-lft-identity_binary64_2465
add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501
add-log-exp_binary64_2504 add-cube-cbrt_binary64_2500
difference-of-squares_binary64_2434 times-frac_binary64_2471 sqrt-prod_binary64_2481 associate-/l*_binary64_2410
pow1_binary64_2526
flip--_binary64_2440 cancel-sign-sub-inv_binary64_2431 flip3--_binary64_2469
distribute-lft-out--_binary64_2417
associate-/l/_binary64_2412 cbrt-undiv_binary64_2499 sub-neg_binary64_2458 div-exp_binary64_2516 diff-log_binary64_2557 sqrt-div_binary64_2482
associate-/r*_binary64_2409 pow1/2_binary64_2545 clear-num_binary64_2464 div-sub_binary64_2470 div-inv_binary64_2462 rem-sqrt-square_binary64_2478 prod-exp_binary64_2514 frac-2neg_binary64_2476 sqrt-pow1_binary64_2483 cbrt-unprod_binary64_2498
Counts
4 → 74
Calls

4 calls:

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

series273.0ms (4.5%)

Counts
4 → 12
Calls

4 calls:

112.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
63.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
63.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
35.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify101.0ms (1.6%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (79.0ms)

IterNodesCost
048991979
148991979

prune115.0ms (1.9%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New79786
Fresh000
Picked101
Done000
Total80787
Error
4.3b
Counts
87 → 7
Compiler

Compiled 2086 to 1245 computations (40.3% saved)

localize17.0ms (0.3%)

Local error

Found 4 expressions with local error:

1.7b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
4.4b
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
8.0b
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
20.9b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))

rewrite49.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
45×add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501
22×times-frac_binary64_2471
21×*-un-lft-identity_binary64_2465
17×cbrt-undiv_binary64_2499 div-exp_binary64_2516
13×prod-exp_binary64_2514 cbrt-unprod_binary64_2498
12×add-sqr-sqrt_binary64_2487
11×add-cube-cbrt_binary64_2500 associate-/l*_binary64_2410
add-log-exp_binary64_2504 associate-/r/_binary64_2411
associate-/r*_binary64_2409 pow1_binary64_2526 distribute-lft-out_binary64_2416
flip3-+_binary64_2468 flip-+_binary64_2439 div-inv_binary64_2462
sqrt-prod_binary64_2481
clear-num_binary64_2464 frac-2neg_binary64_2476 sqrt-div_binary64_2482
+-commutative_binary64_2395 flip--_binary64_2440 sum-log_binary64_2556 pow1/2_binary64_2545 associate-/l/_binary64_2412 rem-sqrt-square_binary64_2478 flip3--_binary64_2469 sqrt-pow1_binary64_2483
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))
12.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
6.0ms
(+.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)))

series495.0ms (8.1%)

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)))))
162.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
68.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
59.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))

simplify107.0ms (1.7%)

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (75.0ms)

IterNodesCost
049563121
149563121

prune147.0ms (2.4%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1131114
Fresh066
Picked101
Done000
Total1147121
Error
4.2b
Counts
121 → 7
Compiler

Compiled 3228 to 1983 computations (38.6% 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 (*.f64 4 a) c)))))
0.4b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
1.7b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
20.9b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))

rewrite30.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity_binary64_2465
15×add-sqr-sqrt_binary64_2487
14×add-cube-cbrt_binary64_2500
12×times-frac_binary64_2471
add-log-exp_binary64_2504
add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501
pow1_binary64_2526 distribute-lft-out_binary64_2416
associate-/r*_binary64_2409
sqrt-prod_binary64_2481 associate-/l*_binary64_2410
flip3-+_binary64_2468 flip--_binary64_2440 flip-+_binary64_2439 associate-/r/_binary64_2411 sqrt-div_binary64_2482 flip3--_binary64_2469
+-commutative_binary64_2395 sum-log_binary64_2556 pow1/2_binary64_2545 clear-num_binary64_2464 cbrt-undiv_binary64_2499 sub-neg_binary64_2458 cancel-sign-sub-inv_binary64_2431 div-exp_binary64_2516 div-inv_binary64_2462 rem-sqrt-square_binary64_2478 diff-log_binary64_2557 frac-2neg_binary64_2476 sqrt-pow1_binary64_2483
Counts
4 → 72
Calls

4 calls:

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

series333.0ms (5.4%)

Counts
4 → 12
Calls

4 calls:

172.0ms
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
67.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
61.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
33.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify86.0ms (1.4%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
048911972
148911972

prune100.0ms (1.6%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New84084
Fresh066
Picked011
Done000
Total84791
Error
4.2b
Counts
91 → 7
Compiler

Compiled 2226 to 1380 computations (38% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.3b
(*.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (/.f64 1/2 a))
0.4b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
1.3b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
20.9b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))

rewrite43.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt_binary64_2487
18×*-un-lft-identity_binary64_2465
14×add-cube-cbrt_binary64_2500
13×associate-*r*_binary64_2405
10×times-frac_binary64_2471
add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501
add-log-exp_binary64_2504
pow1_binary64_2526
associate-*l*_binary64_2406
sqrt-prod_binary64_2481 flip--_binary64_2440 flip3--_binary64_2469
difference-of-squares_binary64_2434 cancel-sign-sub-inv_binary64_2431
associate-*l/_binary64_2408 frac-times_binary64_2475 distribute-lft-out--_binary64_2417 sub-neg_binary64_2458 unswap-sqr_binary64_2433 diff-log_binary64_2557 prod-exp_binary64_2514 sqrt-div_binary64_2482 cbrt-unprod_binary64_2498
*-commutative_binary64_2396 pow1/2_binary64_2545 associate-*r/_binary64_2407 cbrt-undiv_binary64_2499 div-exp_binary64_2516 div-inv_binary64_2462 rem-sqrt-square_binary64_2478 pow-prod-down_binary64_2536 sqrt-pow1_binary64_2483
Counts
4 → 83
Calls

4 calls:

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

series279.0ms (4.5%)

Counts
4 → 12
Calls

4 calls:

111.0ms
(*.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (/.f64 1/2 a))
66.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
63.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
38.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify100.0ms (1.6%)

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
053602202

prune101.0ms (1.6%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New95095
Fresh055
Picked011
Done011
Total957102
Error
4.2b
Counts
102 → 7
Compiler

Compiled 2191 to 1291 computations (41.1% saved)

regimes524.0ms (8.5%)

Accuracy

Total 1.0b remaining (14.8%)

Threshold costs 1.0b (14.8%)

Compiler

Compiled 3136 to 2504 computations (20.2% saved)

bsearch108.0ms (1.8%)

Steps
ItersRangePoint
7
1.8515760575460165e+108
7.079746839452132e+109
9.806096002062306e+108
9
3.471655958753961e-308
1.338164201957951e-301
7.151073671652035e-308
9
-3.203657050301464e+105
-6.409993448757428e+99
-3.161255245507665e+105
Compiler

Compiled 1 to 3 computations (-200% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
010582
110582

end0.0ms (0%)

sample2.0s (32.2%)

Algorithm
intervals
Results
295.0ms5228×body128valid
280.0ms1110×body2048valid
150.0ms748×body1024valid
128.0ms390×body4096valid
49.0ms332×body512valid
35.0ms639×body128nan
22.0ms192×body256valid
20.0ms359×body128invalid
Compiler

Compiled 876 to 684 computations (21.9% saved)

Profiling

Loading profile data...