Details

Time bar (total: 6.1s)

sample1.1s

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.0ms40×body2560valid
8.0ms161×body80valid
5.0ms23×body1280valid
2.0ms11×body640valid
2.0msbody5120valid
1.0ms10×body320valid
1.0ms11×body80invalid
1.0ms13×body80nan
1.0msbody160valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.9b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.8b
(- (* b b) (* (* 3.0 a) c))
1.6b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
22.3b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite29.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:
12.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
3.0ms
(- (* b b) (* (* 3.0 a) c))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series69.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0391774
11518684
25001674

prune175.0ms

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

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New701282
Fresh000
Picked101
Done000
Total711283

Merged error: 7.5b

Counts
83 → 12

localize15.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.8b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
10.7b
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
22.3b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
84×add-sqr-sqrt
83×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
14×sqrt-prod
11×distribute-rgt-neg-in
associate-/r* add-log-exp
cbrt-undiv div-exp
associate-/r/
pow1 flip3-- flip--
div-inv
associate-/l/
frac-2neg sqrt-div diff-log prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 154
Calls
4 calls:
8.0ms
(- (neg b) (sqrt (- (* 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))
15.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series139.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
45.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
62.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
15.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify116.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
06442693
131432447
250012434

prune299.0ms

Filtered
111 candidates to 166 candidates (-49.5%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1624166
Fresh5611
Picked011
Done000
Total16711178

Merged error: 7.4b

Counts
178 → 11

localize19.0ms

Local error

Found 4 expressions with local error:

15.9b
(cbrt (+ 0 (* 3.0 (* a c))))
15.9b
(cbrt (+ 0 (* 3.0 (* a c))))
15.9b
(cbrt (+ 0 (* 3.0 (* a c))))
22.3b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
cbrt-div
pow1
add-exp-log add-cbrt-cube add-log-exp
flip3-+ pow1/3 sqrt-prod flip-+
sqrt-div
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
Counts
4 → 54
Calls
4 calls:
2.0ms
(cbrt (+ 0 (* 3.0 (* a c))))
2.0ms
(cbrt (+ 0 (* 3.0 (* a c))))
2.0ms
(cbrt (+ 0 (* 3.0 (* a c))))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series72.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(cbrt (+ 0 (* 3.0 (* a c))))
18.0ms
(cbrt (+ 0 (* 3.0 (* a c))))
19.0ms
(cbrt (+ 0 (* 3.0 (* a c))))
17.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify59.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0257548
11011508
25001492

prune210.0ms

Filtered
61 candidates to 66 candidates (-8.2%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New66066
Fresh099
Picked011
Done011
Total661177

Merged error: 7.4b

Counts
77 → 11

localize17.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b b) (* (* 3.0 a) c))
0.8b
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
17.6b
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))
22.3b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
188×times-frac
149×add-sqr-sqrt
122×*-un-lft-identity
94×add-exp-log
85×associate-*r*
80×add-cube-cbrt
58×add-cbrt-cube
49×div-exp
27×cbrt-undiv
26×associate-*l*
25×prod-exp
20×distribute-lft-out-- difference-of-squares
15×cbrt-unprod
13×sqrt-prod
10×distribute-rgt-neg-in add-log-exp
div-inv unswap-sqr
pow1 associate-/r/
flip3-- flip--
rec-exp 1-exp
diff-log
sub-neg sqrt-div
associate--l- neg-sub0 frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ pow-prod-down neg-log associate-*l/ *-commutative
Counts
4 → 208
Calls
4 calls:
4.0ms
(- (* b b) (* (* 3.0 a) c))
8.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
57.0ms
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series88.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
220 → 220
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
013283225
150012666

prune330.0ms

Filtered
136 candidates to 220 candidates (-61.8%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New2191220
Fresh178
Picked011
Done022
Total22011231

Merged error: 7.4b

Counts
231 → 11

regimes511.0ms

Accuracy

86.7% (3.6b remaining)

Error of 9.4b against oracle of 5.8b and baseline of 32.5b

bsearch133.0ms

Steps
ItersRangePoint
6
5.511026700313779e+49
5.28654188286082e+50
5.865579037149065e+49
9
-2.45803861803446e-264
-7.691951185057359e-273
-7.895563576474485e-273
8
-2.3921345205031928e+157
-2.3424649586159117e+153
-5.613837862850988e+153

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04729
14929
24929

end0.0ms

sample2.4s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.402832%

Guaranteed chance to sample good point: 74.783178%

Results
324.0ms1095×body2560valid
277.0ms5138×body80valid
212.0ms879×body1280valid
87.0ms428×body640valid
43.0ms115×body5120valid
33.0ms231×body320valid
22.0ms389×body80nan
16.0ms306×body80invalid
11.0ms114×body160valid

Profiling

Loading profile data...