Details

Time bar (total: 3.8s)

analyze1.1s

Algorithm
search
sampling

Space saved by range analysis: 0.146413%

Space saved by search: 25.539477%

Guaranteed chance to sample good point: 74.712503%

sample41.0ms

Algorithm
intervals
Results
8.0ms163×body80valid
8.0ms30×body2560valid
6.0ms30×body1280valid
2.0ms14×body640valid
2.0msbody5120valid
1.0msbody320valid
1.0msbody80nan
1.0msbody160valid
0.0msbody80invalid

simplify374.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1327
2417
3447
4447

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.9b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
1.2b
(- (* b_2 b_2) (* a c))
1.7b
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
24.8b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
37×*-un-lft-identity
21×times-frac
17×add-cube-cbrt
10×distribute-lft-out-- add-log-exp difference-of-squares
sqrt-prod
associate-/l*
add-exp-log add-cbrt-cube
pow1 distribute-rgt-neg-in
flip3-- flip--
diff-log associate-/r*
sub-neg sqrt-div associate-/l/
cbrt-undiv associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub div-exp neg-log clear-num div-inv
Counts
4 → 91
Calls
4 calls:
10.0ms
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
3.0ms
(- (* b_2 b_2) (* a c))
8.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series60.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
7.0ms
(- (* b_2 b_2) (* a c))
14.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
22.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify43.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0360964
11233910
25002901

prune138.0ms

Filtered
72 candidates to 103 candidates (-43.1%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New958103
Fresh000
Picked011
Done000
Total959104

Merged error: 5.8b

Counts
104 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
4.7b
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
9.0b
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
24.8b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
162×times-frac
150×add-sqr-sqrt
115×*-un-lft-identity
81×add-cube-cbrt
34×difference-of-squares
27×associate-/l*
20×sqrt-prod
17×distribute-lft-out--
11×add-exp-log add-cbrt-cube
10×associate-/r/
associate-/r*
flip3-- flip--
div-inv add-log-exp
pow1
cbrt-undiv div-exp
associate-/l/
frac-2neg sqrt-div clear-num
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 diff-log flip-+
Counts
4 → 187
Calls
4 calls:
7.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
14.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
11.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
3.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series125.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
41.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
58.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
13.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify102.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
07042957
130982807
250012787

prune216.0ms

Filtered
148 candidates to 199 candidates (-34.5%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1963199
Fresh437
Picked011
Done011
Total2008208

Merged error: 5.7b

Counts
208 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
1.4b
(/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
4.7b
(/ (/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) a)
24.8b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
831×times-frac
549×add-sqr-sqrt
450×*-un-lft-identity
352×add-cube-cbrt
98×difference-of-squares
74×associate-/l*
52×sqrt-prod
49×distribute-lft-out--
25×associate-/r*
22×div-inv
18×add-exp-log add-cbrt-cube
cbrt-undiv div-exp
add-log-exp
pow1 associate-/r/
flip3-- frac-2neg sqrt-div clear-num flip--
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-/l/
Counts
4 → 440
Calls
4 calls:
7.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
10.0ms
(/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
25.0ms
(/ (/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) a)
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series123.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
53.0ms
(/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
44.0ms
(/ (/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) a)
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify96.0ms

Algorithm
egg-herbie
Counts
452 → 452
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
015577387
150016822

prune289.0ms

Filtered
301 candidates to 452 candidates (-50.2%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New4502452
Fresh235
Picked011
Done112
Total4537460

Merged error: 5.7b

Counts
460 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (/ 1 (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (/ 1 c))
1.2b
(- (* b_2 b_2) (* a c))
1.2b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
24.8b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
789×times-frac
493×add-sqr-sqrt
406×*-un-lft-identity
320×add-cube-cbrt
86×difference-of-squares
46×sqrt-prod
44×add-exp-log
43×distribute-lft-out--
40×div-inv
32×div-exp
29×associate-/r/
24×associate-/l*
17×flip3-- flip--
16×add-cbrt-cube
13×associate-/r*
cbrt-undiv rec-exp 1-exp add-log-exp
pow1
sub-neg sqrt-div diff-log
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num associate-/l/
Counts
4 → 423
Calls
4 calls:
20.0ms
(/ (/ 1 (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (/ 1 c))
3.0ms
(- (* b_2 b_2) (* a c))
7.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series57.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ (/ 1 (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (/ 1 c))
7.0ms
(- (* b_2 b_2) (* a c))
14.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
13.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify101.0ms

Algorithm
egg-herbie
Counts
435 → 435
Iterations

Useful iterations: 1 (36.0ms)

IterNodesCost
017467647
150026938

prune270.0ms

Filtered
171 candidates to 435 candidates (-154.4%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New4341435
Fresh044
Picked011
Done022
Total4348442

Merged error: 5.7b

Counts
442 → 8

regimes358.0ms

bsearch2.0ms

Profiling

Loading profile data...