Details

Time bar (total: 12.4s)

sample4.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.402832%

Guaranteed chance to sample good point: 74.783178%

Results
12.0ms37×body2560valid
9.0ms35×body1280valid
9.0ms156×body80valid
3.0ms17×body640valid
2.0msbody5120valid
1.0msbody320valid
1.0ms14×body80nan
1.0ms12×body80invalid
0.0msbody160valid

simplify11.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: 35.2b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
1.0b
(- (* b b) (* (* 3.0 a) c))
1.0b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
22.9b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite30.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))
6.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)))

series60.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0391774
11518684
25001674

prune170.0ms

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

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New73982
Fresh000
Picked011
Done000
Total731083

Merged error: 6.9b

Counts
83 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 3.0 a) c))
4.3b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
11.3b
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
22.9b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite41.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)))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series121.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)))))
17.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify119.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
06342580
131612341
250012328

prune287.0ms

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

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1573160
Fresh268
Picked101
Done011
Total16010170

Merged error: 6.8b

Counts
170 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 3.0 a) c))
4.0b
(/ (/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) a)
11.3b
(/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
22.9b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
54×add-exp-log add-cbrt-cube
26×times-frac
19×cbrt-undiv div-exp
18×add-sqr-sqrt prod-exp cbrt-unprod
17×add-cube-cbrt *-un-lft-identity
10×associate-*r/ associate-/r/
associate-/l*
flip3-- flip--
div-inv add-log-exp
pow1
associate-/r*
sqrt-prod
frac-2neg sqrt-div clear-num
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-/l/
Counts
4 → 110
Calls
4 calls:
4.0ms
(- (* b b) (* (* 3.0 a) c))
15.0ms
(/ (/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) a)
16.0ms
(/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series120.0ms

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

simplify128.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (111.0ms)

IterNodesCost
06791938
144781484
250011443

prune192.0ms

Filtered
81 candidates to 122 candidates (-50.6%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1202122
Fresh178
Picked011
Done011
Total12111132

Merged error: 6.8b

Counts
132 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 3.0 a) c))
4.0b
(/ a (/ (* a c) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
11.3b
(/ (* a c) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
22.9b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
74×times-frac
54×add-sqr-sqrt
53×*-un-lft-identity
29×add-cube-cbrt
20×associate-/r*
18×add-exp-log add-cbrt-cube
12×distribute-lft-out-- difference-of-squares
11×associate-/r/
sqrt-prod
cbrt-undiv flip3-- div-exp flip--
distribute-rgt-neg-in div-inv add-log-exp
pow1
associate-/l*
frac-2neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 130
Calls
4 calls:
3.0ms
(- (* b b) (* (* 3.0 a) c))
12.0ms
(/ a (/ (* a c) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
10.0ms
(/ (* a c) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
3.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series96.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
05811944
128151719
250011702

prune216.0ms

Filtered
102 candidates to 142 candidates (-39.2%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1375142
Fresh448
Picked101
Done112
Total14310153

Merged error: 6.8b

Counts
153 → 10

regimes598.0ms

Accuracy

93.2% (1.6b remaining)

Error of 7.4b against oracle of 5.7b and baseline of 29.6b

bsearch162.0ms

Steps
ItersRangePoint
7
850397597643135.8
2.0562449637825846e+17
2.011680736595535e+17
9
1.993411614932605e-308
2.3241379522823025e-299
2.0587072932184825e-308
9
-3.755435299728511e+89
-6.102210304194282e+82
-3.5878147758804023e+89

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04326
14326

end0.0ms

sample5.6s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.402832%

Guaranteed chance to sample good point: 74.783178%

Results
321.0ms1022×body2560valid
287.0ms5148×body80valid
233.0ms893×body1280valid
94.0ms456×body640valid
45.0ms114×body5120valid
37.0ms244×body320valid
18.0ms352×body80nan
17.0ms304×body80invalid
13.0ms123×body160valid

Profiling

Loading profile data...