Details

Time bar (total: 6.2s)

analyze497.0ms (8%)

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)

sample38.0ms (0.6%)

Algorithm
intervals
Results
9.0ms287×pre128true
9.0ms169×body128valid
8.0ms87×body256valid
1.0ms31×body128nan
Compiler

Compiled 47 to 41 computations (12.8% saved)

simplify323.0ms (5.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (317.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: 43.3b

Counts
2 → 1
Compiler

Compiled 32 to 26 computations (18.8% saved)

localize12.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.2b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
0.2b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
37.2b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)

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

series270.0ms (4.4%)

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

simplify91.0ms (1.5%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
048991979
148991979

prune98.0ms (1.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New83386
Fresh000
Picked011
Done000
Total83487

Merged error: 0.2b

Counts
87 → 4
Compiler

Compiled 2020 to 1194 computations (40.9% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
0.2b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
0.2b
(/.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)))))

rewrite52.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
45×add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501
22×times-frac_binary64_2471
20×*-un-lft-identity_binary64_2465
17×cbrt-undiv_binary64_2499 div-exp_binary64_2516
13×prod-exp_binary64_2514 cbrt-unprod_binary64_2498
11×associate-/l*_binary64_2410
10×add-cube-cbrt_binary64_2500 add-sqr-sqrt_binary64_2487
add-log-exp_binary64_2504
associate-/r/_binary64_2411
associate-/r*_binary64_2409 distribute-lft-out_binary64_2416
flip3-+_binary64_2468 flip-+_binary64_2439 div-inv_binary64_2462 pow1_binary64_2526
clear-num_binary64_2464 frac-2neg_binary64_2476
+-commutative_binary64_2395 flip--_binary64_2440 sum-log_binary64_2556 associate-/l/_binary64_2412 sub-neg_binary64_2458 cancel-sign-sub-inv_binary64_2431 diff-log_binary64_2557 flip3--_binary64_2469
Counts
4 → 99
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))
14.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
7.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))

series455.0ms (7.3%)

Counts
4 → 12
Calls

4 calls:

201.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
159.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
62.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))

simplify65.0ms (1%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
049823037
149823037

prune159.0ms (2.6%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1047111
Fresh202
Picked011
Done101
Total1078115

Merged error: 0.0b

Counts
115 → 8
Compiler

Compiled 3240 to 1997 computations (38.4% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

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:

9.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))))

series323.0ms (5.2%)

Counts
4 → 12
Calls

4 calls:

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

simplify77.0ms (1.2%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
049051972
149051972

prune111.0ms (1.8%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New83184
Fresh066
Picked011
Done011
Total83992

Merged error: 0b

Counts
92 → 9
Compiler

Compiled 2358 to 1472 computations (37.6% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite61.0ms (1%)

Algorithm
rewrite-expression-head
Rules
75×add-exp-log_binary64_2503
47×add-cbrt-cube_binary64_2501
41×prod-exp_binary64_2514
31×*-un-lft-identity_binary64_2465
23×cbrt-unprod_binary64_2498
21×times-frac_binary64_2471 add-cube-cbrt_binary64_2500 add-sqr-sqrt_binary64_2487
18×pow1_binary64_2526
14×div-exp_binary64_2516 associate-*l*_binary64_2406
pow-prod-down_binary64_2536
cbrt-undiv_binary64_2499
add-log-exp_binary64_2504
distribute-lft-out_binary64_2416
associate-*l/_binary64_2408 associate-/r*_binary64_2409 associate-*r/_binary64_2407 rec-exp_binary64_2515 associate-*r*_binary64_2405 1-exp_binary64_2509
associate-/l*_binary64_2410
flip3-+_binary64_2468 *-commutative_binary64_2396 flip-+_binary64_2439 div-inv_binary64_2462 associate-/r/_binary64_2411
+-commutative_binary64_2395 frac-times_binary64_2475 sum-log_binary64_2556 clear-num_binary64_2464 frac-2neg_binary64_2476
Counts
4 → 118
Calls

4 calls:

20.0ms
(*.f64 (/.f64 1 a) (*.f64 (*.f64 -2 (/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))) a))
13.0ms
(*.f64 (*.f64 -2 (/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))) a)
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)))))

series608.0ms (9.8%)

Counts
4 → 12
Calls

4 calls:

218.0ms
(*.f64 (*.f64 -2 (/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))) a)
165.0ms
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
164.0ms
(*.f64 (/.f64 1 a) (*.f64 (*.f64 -2 (/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))) a))
61.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))

simplify96.0ms (1.5%)

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
050553427

prune149.0ms (2.4%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1291130
Fresh156
Picked011
Done022
Total1309139

Merged error: 0b

Counts
139 → 9
Compiler

Compiled 3312 to 1991 computations (39.9% saved)

regimes401.0ms (6.5%)

Compiler

Compiled 5416 to 4070 computations (24.9% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06324
16324

end0.0ms (0%)

sample2.2s (35.5%)

Algorithm
intervals
Results
297.0ms2975×body256valid
295.0ms8939×pre128true
268.0ms5024×body128valid
46.0ms939×body128nan
0.0msbody512valid
Compiler

Compiled 1390 to 1046 computations (24.7% saved)

Profiling

Loading profile data...