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
13.0ms47×body2560valid
8.0ms165×body80valid
4.0ms18×body1280valid
2.0ms11×body640valid
2.0msbody5120valid
1.0ms22×body80nan
1.0msbody320valid
0.0msbody80invalid
0.0msbody160valid

simplify363.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1327
2417
3447
4447

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.3b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.2b
(- (* b_2 b_2) (* a c))
1.1b
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
25.1b
(sqrt (- (* b_2 b_2) (* a c)))

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

series60.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0360964
11233910
25002901

prune144.0ms

Filtered
72 candidates to 103 candidates (-43.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New949103
Fresh000
Picked101
Done000
Total959104

Merged error: 5.2b

Counts
104 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
4.6b
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
8.5b
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
25.1b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
162×times-frac
150×add-sqr-sqrt
115×*-un-lft-identity
81×add-cube-cbrt
34×difference-of-squares
27×associate-/l*
20×sqrt-prod
17×distribute-lft-out--
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 → 187
Calls
4 calls:
7.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
14.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
11.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series126.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
42.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
55.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
15.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify106.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
07042957
130982807
250012787

prune236.0ms

Filtered
148 candidates to 199 candidates (-34.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1972199
Fresh268
Picked011
Done000
Total1999208

Merged error: 5.2b

Counts
208 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

4.6b
(/ (* (/ 1 (* (cbrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (cbrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))) (/ a (/ (cbrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) c))) a)
25.1b
(sqrt (- (* b_2 b_2) (* a c)))
25.1b
(sqrt (- (* b_2 b_2) (* a c)))
25.1b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
105×add-exp-log
55×div-exp
42×add-cbrt-cube
30×prod-exp
25×cbrt-undiv
12×add-sqr-sqrt cbrt-unprod
add-cube-cbrt *-un-lft-identity sqrt-prod
pow1
rec-exp sqrt-div 1-exp
add-log-exp
rem-sqrt-square flip3-- sqrt-pow1 times-frac pow1/2 associate-/r* flip-- associate-/l/
frac-times frac-2neg associate-*r/ associate-*l/ clear-num div-inv associate-/l*
Counts
4 → 97
Calls
4 calls:
36.0ms
(/ (* (/ 1 (* (cbrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (cbrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))) (/ a (/ (cbrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) c))) a)
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series64.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ (* (/ 1 (* (cbrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (cbrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))) (/ a (/ (cbrt (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) c))) a)
13.0ms
(sqrt (- (* b_2 b_2) (* a c)))
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))
13.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify72.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06341935
128871470
250011364

prune120.0ms

Filtered
67 candidates to 109 candidates (-62.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1081109
Fresh077
Picked101
Done011
Total1099118

Merged error: 5.2b

Counts
118 → 9

localize26.0ms

Local error

Found 4 expressions with local error:

25.1b
(sqrt (- (* b_2 b_2) (* a c)))
25.1b
(sqrt (- (* b_2 b_2) (* a c)))
25.1b
(sqrt (- (* b_2 b_2) (* a c)))
25.1b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log rem-sqrt-square flip3-- sqrt-pow1 pow1/2 add-cbrt-cube flip-- add-log-exp
Counts
4 → 60
Calls
4 calls:
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series50.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify47.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (40.0ms)

IterNodesCost
0120452
1399440
21280436
35001432

prune102.0ms

Filtered
60 candidates to 72 candidates (-20.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New71172
Fresh077
Picked101
Done011
Total72981

Merged error: 5.2b

Counts
81 → 9

regimes368.0ms

Accuracy

83.2% (4.5b remaining)

Error of 10.0b against oracle of 5.4b and baseline of 32.5b

bsearch75.0ms

Steps
ItersRangePoint
7
1.1579948223382339e+139
1.9869642291463526e+141
2.1178372893628633e+139
7
-5.105947952450567e-24
-7.037819008108055e-26
-7.1626607957578e-26

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02812
12812

end0.0ms

sample2.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
303.0ms1132×body2560valid
242.0ms5100×body80valid
198.0ms899×body1280valid
76.0ms436×body640valid
38.0ms118×body5120valid
28.0ms220×body320valid
23.0ms513×body80nan
10.0ms181×body80invalid
8.0ms95×body160valid

Profiling

Loading profile data...