Details

Time bar (total: 4.9s)

sample332.0ms

Algorithm
intervals
Results
9.0ms167×body80valid
8.0ms32×body2560valid
7.0ms38×body1280valid
3.0ms89×body80nan
3.0ms20×body640valid
2.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1327
2417
3447
4447

prune28.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 36.1b

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)
0.6b
(- (* b_2 b_2) (* a c))
1.0b
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
23.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite34.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:
11.0ms
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
4.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)))

series268.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
36.0ms
(- (* b_2 b_2) (* a c))
70.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
78.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify43.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0368965
11241910
25001901

prune244.0ms

Filtered
103 candidates to 72 candidates (69.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New949103
Fresh000
Picked011
Done000
Total9410104

Merged error: 5.9b

Counts
104 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

0.9b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
3.2b
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
11.8b
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
23.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite46.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)
15.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))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series481.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
155.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
189.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
64.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify111.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
07302960
131632803
250022783

prune460.0ms

Filtered
199 candidates to 148 candidates (74.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1963199
Fresh448
Picked101
Done011
Total2018209

Merged error: 5.8b

Counts
209 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

0.9b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
1.8b
(/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
3.2b
(/ (/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) a)
23.6b
(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)
11.0ms
(/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
23.0ms
(/ (/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) a)
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series435.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
168.0ms
(/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
131.0ms
(/ (/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) a)
63.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify101.0ms

Algorithm
egg-herbie
Counts
452 → 452
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
015717389
150026821

prune970.0ms

Filtered
452 candidates to 302 candidates (66.8%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New4493452
Fresh246
Picked011
Done011
Total4519460

Merged error: 5.8b

Counts
460 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (/ 1 (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (/ 1 c))
0.6b
(- (* b_2 b_2) (* a c))
0.9b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
23.6b
(sqrt (- (* b_2 b_2) (* a c)))

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

series265.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(/ (/ 1 (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (/ 1 c))
37.0ms
(- (* b_2 b_2) (* a c))
73.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
58.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify105.0ms

Algorithm
egg-herbie
Counts
435 → 435
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
017647650
150016938

prune535.0ms

Filtered
435 candidates to 172 candidates (39.5%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New4341435
Fresh156
Picked011
Done022
Total4359444

Merged error: 5.8b

Counts
444 → 9

regimes215.0ms

bsearch4.0ms

Profiling

Loading profile data...