Details

Time bar (total: 5.3s)

sample864.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 20.645142%

Guaranteed chance to sample good point: 86.566935%

Results
8.0ms168×body80valid
7.0ms30×body2560valid
4.0ms21×body1280valid
3.0ms20×body640valid
1.0ms11×body320valid
1.0ms25×body80invalid
1.0msbody5120valid
1.0ms14×body80nan
0.0msbody160valid

simplify377.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0147
1227
2257
3277
4297
5297

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.2b

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
16×add-sqr-sqrt
15×add-cube-cbrt times-frac
10×distribute-lft-out add-log-exp
add-exp-log add-cbrt-cube
pow1 distribute-rgt-neg-in associate-/l*
associate-/r* sqrt-prod
neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div sum-log flip-- flip-+ associate-/l/
cbrt-undiv +-commutative sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub div-exp neg-log clear-num div-inv
Counts
4 → 80
Calls
4 calls:
10.0ms
(/ (+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
18.0ms
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
3.0ms
(- (* b_2 b_2) (* a c))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series62.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(/ (+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
13.0ms
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
7.0ms
(- (* b_2 b_2) (* a c))
21.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify141.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0338783
11216724
24971703
35001703

prune146.0ms

Filtered
69 candidates to 92 candidates (-33.3%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New811192
Fresh000
Picked101
Done000
Total821193

Merged error: 4.9b

Counts
93 → 11

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
0.6b
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
1.0b
(- (* b_2 b_2) (* a c))
21.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
21×add-sqr-sqrt
13×add-exp-log add-cube-cbrt associate-*r*
11×times-frac
10×add-log-exp
add-cbrt-cube
pow1
associate-*l*
prod-exp distribute-lft-out
flip3-+ sqrt-prod flip-+ unswap-sqr
frac-times flip3-- distribute-rgt-neg-in sqrt-div div-exp associate-*l/ sum-log flip-- cbrt-unprod
cbrt-undiv +-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square rec-exp sqrt-pow1 pow1/2 diff-log 1-exp associate-*r/ pow-prod-down neg-log un-div-inv *-commutative div-inv
Counts
4 → 84
Calls
4 calls:
13.0ms
(* (+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
7.0ms
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
3.0ms
(- (* b_2 b_2) (* a c))
3.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series53.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
13.0ms
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
7.0ms
(- (* b_2 b_2) (* a c))
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify52.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0428816
11923721
25001680

prune118.0ms

Filtered
71 candidates to 96 candidates (-35.2%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New93396
Fresh4610
Picked011
Done000
Total9710107

Merged error: 4.9b

Counts
107 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b_2 b_2) (* a c))
1.9b
(/ (/ (+ 0 (* a c)) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
10.7b
(/ (+ 0 (* a c)) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))))
21.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
186×times-frac
154×add-sqr-sqrt
153×*-un-lft-identity
89×add-cube-cbrt
32×distribute-lft-out-- difference-of-squares
30×associate-/l*
19×sqrt-prod
16×distribute-rgt-neg-in
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 → 200
Calls
4 calls:
3.0ms
(- (* b_2 b_2) (* a c))
16.0ms
(/ (/ (+ 0 (* a c)) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
12.0ms
(/ (+ 0 (* a c)) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))))
5.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series113.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- (* b_2 b_2) (* a c))
40.0ms
(/ (/ (+ 0 (* a c)) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
53.0ms
(/ (+ 0 (* a c)) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))))
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify111.0ms

Algorithm
egg-herbie
Counts
212 → 212
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
07083365
132313197
250013171

prune226.0ms

Filtered
141 candidates to 212 candidates (-50.4%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2102212
Fresh178
Picked101
Done011
Total21210222

Merged error: 4.9b

Counts
222 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b_2 b_2) (* a c))
1.7b
(/ a (/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) c))
1.9b
(/ (/ a (/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) c)) a)
21.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
951×times-frac
585×add-sqr-sqrt
584×*-un-lft-identity
392×add-cube-cbrt
96×distribute-lft-out-- difference-of-squares
83×associate-/l*
51×sqrt-prod
48×distribute-rgt-neg-in
28×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 → 485
Calls
4 calls:
4.0ms
(- (* b_2 b_2) (* a c))
12.0ms
(/ a (/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) c))
24.0ms
(/ (/ a (/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) c)) a)
3.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series115.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- (* b_2 b_2) (* a c))
49.0ms
(/ a (/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) c))
46.0ms
(/ (/ a (/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) c)) a)
13.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify105.0ms

Algorithm
egg-herbie
Counts
497 → 497
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
015258627
150027984

prune281.0ms

Filtered
298 candidates to 497 candidates (-66.8%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New4952497
Fresh268
Picked011
Done011
Total49710507

Merged error: 4.9b

Counts
507 → 10

regimes385.0ms

Accuracy

95% (1.2b remaining)

Error of 6.8b against oracle of 5.6b and baseline of 29.8b

bsearch91.0ms

Steps
ItersRangePoint
8
1.4124388747746146e+74
5.427444901772608e+77
1.0805933203349935e+77
9
4.43786811160581e-304
1.1944347498966476e-295
1.0458040096969713e-301
7
-9.631271020185472e+143
-3.7800962504590556e+141
-4.065691323206844e+141

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04123
14123

end0.0ms

sample1.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 20.645142%

Guaranteed chance to sample good point: 86.566935%

Results
277.0ms1070×body2560valid
222.0ms5140×body80valid
173.0ms872×body1280valid
72.0ms455×body640valid
35.0ms118×body5120valid
32.0ms734×body80invalid
27.0ms227×body320valid
22.0ms537×body80nan
9.0ms118×body160valid

Profiling

Loading profile data...