Details

Time bar (total: 6.8s)

sample1.6s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 23.873901%

Guaranteed chance to sample good point: 69.504911%

Results
13.0ms44×body2560valid
8.0ms152×body80valid
6.0ms25×body1280valid
3.0ms15×body640valid
2.0msbody5120valid
1.0msbody320valid
1.0ms17×body80nan
1.0ms14×body80invalid
1.0msbody160valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 36.3b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
1.0b
(- (* b b) (* (* 3.0 a) c))
1.5b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
26.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite26.0ms

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

series64.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
8.0ms
(- (* b b) (* (* 3.0 a) c))
15.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
14.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify45.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0391774
11518684
25001674

prune156.0ms

Filtered
63 candidates to 82 candidates (-30.2%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New74882
Fresh000
Picked011
Done000
Total74983

Merged error: 5.3b

Counts
83 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 3.0 a) c))
4.4b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
9.8b
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
26.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt
79×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
20×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
13×sqrt-prod
10×distribute-rgt-neg-in
associate-/r*
cbrt-undiv div-exp
associate-/r/ add-log-exp
pow1 flip3-- flip--
div-inv
associate-/l/
frac-2neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 diff-log flip-+
Counts
4 → 148
Calls
4 calls:
3.0ms
(- (* b b) (* (* 3.0 a) c))
16.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
12.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
3.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series119.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* b b) (* (* 3.0 a) c))
44.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
53.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
14.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify114.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
06342582
131552341
250022328

prune273.0ms

Filtered
106 candidates to 160 candidates (-50.9%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1582160
Fresh077
Picked011
Done011
Total15811169

Merged error: 5.2b

Counts
169 → 11

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.0b
(- (* b b) (* (* 3.0 a) c))
15.6b
(/ (* 3.0 (* a c)) (* a (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
26.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log add-cbrt-cube
10×add-sqr-sqrt add-log-exp
*-un-lft-identity prod-exp cbrt-unprod
cbrt-undiv div-exp
pow1 add-cube-cbrt
flip3-- sqrt-prod flip--
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 → 72
Calls
4 calls:
8.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
3.0ms
(- (* b b) (* (* 3.0 a) c))
16.0ms
(/ (* 3.0 (* a c)) (* a (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series83.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
11.0ms
(- (* b b) (* (* 3.0 a) c))
42.0ms
(/ (* 3.0 (* a c)) (* a (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
14.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify74.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
0486952
12894749
25002741

prune130.0ms

Filtered
58 candidates to 84 candidates (-44.8%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New83184
Fresh268
Picked101
Done022
Total86995

Merged error: 5.2b

Counts
95 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 3.0 (/ (* 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) c))
0.3b
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.0b
(- (* b b) (* (* 3.0 a) c))
26.1b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite32.0ms

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

series72.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ 3.0 (/ (* 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) c))
15.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
8.0ms
(- (* b b) (* (* 3.0 a) c))
14.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify65.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05481187
123351075
250011075

prune159.0ms

Filtered
80 candidates to 106 candidates (-32.5%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New1033106
Fresh156
Picked011
Done022
Total10411115

Merged error: 5.2b

Counts
115 → 11

regimes617.0ms

Accuracy

94.5% (1.3b remaining)

Error of 7.1b against oracle of 5.8b and baseline of 30.2b

bsearch121.0ms

Steps
ItersRangePoint
9
6.998369980341823e+52
3.884464804506573e+61
1.4025338698895464e+57
9
-7.853937664262267e-274
-3.1271971898085402e-279
-1.4555990037767983e-278
10
-3.2251985257956323e+159
-1.6184271943407125e+144
-7.892954506325459e+152

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04930
15130
25130

end0.0ms

sample2.9s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 23.873901%

Guaranteed chance to sample good point: 69.504911%

Results
336.0ms1076×body2560valid
287.0ms5154×body80valid
220.0ms877×body1280valid
92.0ms454×body640valid
41.0ms111×body5120valid
37.0ms232×body320valid
26.0ms479×body80invalid
23.0ms392×body80nan
10.0ms96×body160valid

Profiling

Loading profile data...