Details

Time bar (total: 5.6s)

sample1.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.430298%

Guaranteed chance to sample good point: 74.712503%

Results
11.0ms162×body80valid
8.0ms32×body2560valid
7.0ms32×body1280valid
2.0ms12×body640valid
1.0msbody5120valid
1.0msbody320valid
1.0ms13×body80nan
0.0msbody160valid
0.0msbody80invalid

simplify350.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: 34.1b

Counts
2 → 1

localize24.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.8b
(- (* b_2 b_2) (* a c))
2.0b
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
21.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite29.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)
3.0ms
(- (* b_2 b_2) (* a c))
7.0ms
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series69.0ms

Counts
4 → 12
Calls
4 calls:
26.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)))

simplify139.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0338783
11216724
24971703
35001703

prune140.0ms

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

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New83992
Fresh000
Picked011
Done000
Total831093

Merged error: 6.8b

Counts
93 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
2.3b
(/ (/ (+ 0 (* a c)) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
10.4b
(/ (+ 0 (* a c)) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))))
21.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
186×times-frac
158×add-sqr-sqrt
157×*-un-lft-identity
89×add-cube-cbrt
34×distribute-lft-out-- difference-of-squares
30×associate-/l*
20×sqrt-prod
17×distribute-rgt-neg-in
11×add-exp-log add-cbrt-cube
10×associate-/r* associate-/r/
add-log-exp
flip3-- flip--
div-inv
pow1
cbrt-undiv div-exp
associate-/l/
frac-2neg sqrt-div diff-log clear-num
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 206
Calls
4 calls:
8.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
17.0ms
(/ (/ (+ 0 (* a c)) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
14.0ms
(/ (+ 0 (* a c)) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series121.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
42.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)))))
13.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify110.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
07163474
132373299
250023273

prune224.0ms

Filtered
147 candidates to 218 candidates (-48.3%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2162218
Fresh358
Picked011
Done011
Total2199228

Merged error: 6.7b

Counts
228 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b_2 b_2) (* a c))
1.1b
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
16.7b
(/ (* a c) (* a (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))))
21.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite29.0ms

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

series76.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0389714
11961576
25002565

prune93.0ms

Filtered
57 candidates to 80 candidates (-40.4%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New79180
Fresh156
Picked011
Done112
Total81889

Merged error: 6.7b

Counts
89 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ c (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))))
0.8b
(- (* b_2 b_2) (* a c))
1.1b
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
21.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite28.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-/r*
add-exp-log add-cbrt-cube
pow1 distribute-rgt-neg-in
flip3-- flip--
diff-log associate-/l*
sub-neg sqrt-div associate-/r/
cbrt-undiv associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp neg-log clear-num div-inv
Counts
4 → 90
Calls
4 calls:
9.0ms
(/ c (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))))
3.0ms
(- (* b_2 b_2) (* a c))
8.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series80.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(/ c (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))))
7.0ms
(- (* b_2 b_2) (* a c))
16.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify38.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0326944
11163883
25001870

prune86.0ms

Filtered
71 candidates to 102 candidates (-43.7%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1011102
Fresh145
Picked011
Done022
Total1028110

Merged error: 6.7b

Counts
110 → 8

regimes373.0ms

Accuracy

96% (1.0b remaining)

Error of 6.2b against oracle of 5.2b and baseline of 29.3b

bsearch145.0ms

Steps
ItersRangePoint
7
4.5708854742457556e+148
1.6394169134044562e+150
4.727151746833199e+148
11
-1.6406029728281883e-258
-4.8778983015564077e-296
-1.0382019606007427e-287
7
-3.440980885963543e+85
-1.3455550657257552e+84
-3.383650589817266e+85

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04223
14223

end0.0ms

sample2.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.430298%

Guaranteed chance to sample good point: 74.712503%

Results
288.0ms1084×body2560valid
238.0ms5042×body80valid
201.0ms954×body1280valid
71.0ms429×body640valid
42.0ms134×body5120valid
34.0ms239×body320valid
21.0ms496×body80nan
10.0ms118×body160valid
7.0ms155×body80invalid

Profiling

Loading profile data...