Details

Time bar (total: 6.2s)

sample829.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 20.645142%

Guaranteed chance to sample good point: 86.566935%

Results
9.0ms32×body2560valid
8.0ms182×body80valid
7.0ms31×body1280valid
3.0ms19×body640valid
2.0msbody5120valid
1.0msbody320valid
1.0ms14×body80nan
0.0msbody160valid

simplify366.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1327
2417
3447
4447

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.0b

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
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
1.0b
(- (* b_2 b_2) (* a c))
20.9b
(sqrt (- (* b_2 b_2) (* a c)))

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

series75.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
14.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
7.0ms
(- (* b_2 b_2) (* a c))
37.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

prune152.0ms

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

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New9211103
Fresh000
Picked101
Done000
Total9311104

Merged error: 4.9b

Counts
104 → 11

localize10.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b_2 b_2) (* a c))
4.4b
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
8.7b
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
20.9b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
162×times-frac
146×add-sqr-sqrt
113×*-un-lft-identity
81×add-cube-cbrt
32×difference-of-squares
27×associate-/l*
19×sqrt-prod
16×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 → 184
Calls
4 calls:
3.0ms
(- (* b_2 b_2) (* a c))
14.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
10.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
3.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series119.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- (* b_2 b_2) (* a c))
42.0ms
(/ (/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
54.0ms
(/ (+ 0 (* a c)) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
16.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify104.0ms

Algorithm
egg-herbie
Counts
196 → 196
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
07042894
131122747
250012727

prune234.0ms

Filtered
144 candidates to 196 candidates (-36.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1933196
Fresh4610
Picked101
Done000
Total1989207

Merged error: 4.8b

Counts
207 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b_2 b_2) (* a c))
2.6b
(/ (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) a) c)
4.4b
(/ (/ 1 (/ (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) a) c)) a)
20.9b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite193.0ms

Algorithm
rewrite-expression-head
Rules
3063×times-frac
1685×add-sqr-sqrt
1444×*-un-lft-identity
1204×add-cube-cbrt
240×difference-of-squares
237×associate-/l*
123×sqrt-prod
120×distribute-lft-out--
58×div-inv
41×add-exp-log
28×div-exp
23×add-cbrt-cube
13×cbrt-undiv
associate-/r* add-log-exp
pow1
associate-/r/
rec-exp 1-exp
flip3-- frac-2neg sqrt-div div-sub clear-num flip-- associate-/l/
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 1022
Calls
4 calls:
8.0ms
(- (* b_2 b_2) (* a c))
11.0ms
(/ (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) a) c)
53.0ms
(/ (/ 1 (/ (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) a) c)) a)
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series70.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- (* b_2 b_2) (* a c))
19.0ms
(/ (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) a) c)
23.0ms
(/ (/ 1 (/ (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) a) c)) a)
20.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify248.0ms

Algorithm
egg-herbie
Counts
1034 → 1034
Iterations

Useful iterations: 1 (71.0ms)

IterNodesCost
0420720994
1500120405

prune940.0ms

Filtered
572 candidates to 1034 candidates (-80.8%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New103311034
Fresh088
Picked011
Done000
Total1033101043

Merged error: 4.8b

Counts
1043 → 10

localize10.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
1.0b
(- (* b_2 b_2) (* a c))
14.5b
(* (* a c) (/ (/ 1 (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a))
20.9b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
126×times-frac
101×add-sqr-sqrt
80×*-un-lft-identity
76×associate-*r*
60×add-cube-cbrt
39×add-exp-log
25×add-cbrt-cube
20×difference-of-squares
15×prod-exp
13×sqrt-prod
12×div-exp
10×pow1 distribute-lft-out--
cbrt-unprod
add-log-exp
cbrt-undiv flip3-- associate-/r/ flip--
div-inv
pow-prod-down
sub-neg rec-exp sqrt-div diff-log 1-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ associate-*l* *-commutative
Counts
4 → 146
Calls
4 calls:
7.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
3.0ms
(- (* b_2 b_2) (* a c))
23.0ms
(* (* a c) (/ (/ 1 (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series75.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
7.0ms
(- (* b_2 b_2) (* a c))
40.0ms
(* (* a c) (/ (/ 1 (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a))
15.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify111.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
08951587
149941371
250011371

prune137.0ms

Filtered
103 candidates to 158 candidates (-53.4%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1580158
Fresh088
Picked011
Done011
Total15810168

Merged error: 4.8b

Counts
168 → 10

regimes443.0ms

Accuracy

89% (3.0b remaining)

Error of 8.7b against oracle of 5.7b and baseline of 32.7b

bsearch82.0ms

Steps
ItersRangePoint
11
1.4124388747746146e+74
4.780152256637718e+102
1.9796318503870474e+101
10
-2.1226190201697567e-246
-4.0041773931369285e-258
-9.653169828473534e-258
3
-4.072722608680232e-37
-3.304864140519196e-37
-3.99618659303816e-37

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04224
14224

end0.0ms

sample1.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 20.645142%

Guaranteed chance to sample good point: 86.566935%

Results
286.0ms1121×body2560valid
269.0ms5868×body80valid
187.0ms881×body1280valid
78.0ms456×body640valid
31.0ms102×body5120valid
28.0ms222×body320valid
23.0ms537×body80nan
9.0ms112×body160valid

Profiling

Loading profile data...