Details

Time bar (total: 3.4s)

sample278.0ms

Algorithm
intervals
Results
8.0ms194×body80valid
7.0ms35×body2560valid
5.0ms33×body1280valid
3.0ms97×body80nan
1.0msbody640valid
1.0msbody320valid
0.0msbody5120valid
0.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0157
1237
2307
3327
4347
5347

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.0b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.9b
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
1.0b
(- (* b_2 b_2) (* a c))
24.1b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
prod-diff
neg-sub0 associate-+l- flip3-- flip3-+ fma-neg sqrt-div flip-- flip-+ associate-/l/
+-commutative neg-mul-1 sub-neg fma-def frac-2neg pow1/2 div-sub clear-num div-inv
Counts
4 → 24
Calls
4 calls:
6.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
4.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(- (* b_2 b_2) (* a c))
7.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series275.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
67.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
37.0ms
(- (* b_2 b_2) (* a c))
81.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify85.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (80.0ms)

IterNodesCost
0258227
1862209
23117196
35001182

prune109.0ms

Filtered
36 candidates to 28 candidates (77.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New30636
Fresh000
Picked011
Done000
Total30737

Merged error: 5.8b

Counts
37 → 7

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
0.9b
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
1.0b
(- (* b_2 b_2) (* a c))
24.1b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
frac-times *-commutative
flip3-+ flip-+
prod-diff clear-num
frac-2neg associate-*r/
flip3-- fma-neg sqrt-div associate-*l/ un-div-inv flip--
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg fma-def pow1/2 associate-*r* div-inv
Counts
4 → 33
Calls
4 calls:
9.0ms
(* (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
4.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(- (* b_2 b_2) (* a c))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series246.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(* (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
66.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
36.0ms
(- (* b_2 b_2) (* a c))
58.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify37.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0279358
11113309
25001280

prune115.0ms

Filtered
45 candidates to 32 candidates (71.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New43245
Fresh235
Picked101
Done011
Total46652

Merged error: 5.8b

Counts
52 → 6

localize16.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b_2 b_2) (* a c))
1.5b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
14.9b
(/ (+ 0 (* 2 (* a c))) (* a 2))
24.1b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
prod-diff
flip3-- fma-neg flip--
sub-neg sqrt-div associate-/r* associate-/l/
associate--l- neg-sub0 neg-mul-1 frac-2neg flip3-+ pow1/2 clear-num flip-+ div-inv
Counts
4 → 26
Calls
4 calls:
5.0ms
(- (* b_2 b_2) (* a c))
5.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
6.0ms
(/ (+ 0 (* 2 (* a c))) (* a 2))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series166.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- (* b_2 b_2) (* a c))
68.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
6.0ms
(/ (+ 0 (* 2 (* a c))) (* a 2))
57.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify44.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0247214
11056191
25001176

prune96.0ms

Filtered
38 candidates to 27 candidates (71.1%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New37138
Fresh134
Picked011
Done011
Total38644

Merged error: 5.7b

Counts
44 → 6

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ c (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
1.0b
(- (* b_2 b_2) (* a c))
1.5b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
24.1b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
flip3-- prod-diff flip--
fma-neg
sub-neg sqrt-div associate-/r/
associate--l- neg-sub0 neg-mul-1 frac-2neg pow1/2 clear-num div-inv
Counts
4 → 24
Calls
4 calls:
5.0ms
(/ c (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
5.0ms
(- (* b_2 b_2) (* a c))
7.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series320.0ms

Counts
4 → 12
Calls
4 calls:
163.0ms
(/ c (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
31.0ms
(- (* b_2 b_2) (* a c))
68.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
57.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify65.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (61.0ms)

IterNodesCost
0217234
1721221
22422202
35001192

prune79.0ms

Filtered
36 candidates to 27 candidates (75.0%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New36036
Fresh033
Picked011
Done022
Total36642

Merged error: 5.7b

Counts
42 → 6

regimes168.0ms

Accuracy

96.3% (0.9b remaining)

Error of 6.3b against oracle of 5.4b and baseline of 29.3b

bsearch149.0ms

Steps
ItersRangePoint
8
1.31764557419022e+108
4.7801703725873666e+111
5.8672354253329364e+110
10
-3.3872652091741538e-211
-3.093295365731255e-225
-8.781062788627254e-225
10
-3.0529494422842112e+156
-1.5054982703030158e+138
-2.7863758169125638e+138

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03521
13521

end0.0ms

sample999.0ms

Algorithm
intervals
Results
216.0ms1105×body2560valid
189.0ms5783×body80valid
137.0ms898×body1280valid
91.0ms2921×body80nan
58.0ms460×body640valid
25.0ms105×body5120valid
23.0ms226×body320valid
8.0ms124×body160valid