Details

Time bar (total: 4.0s)

sample282.0ms

Algorithm
intervals
Results
8.0ms40×body2560valid
7.0ms198×body80valid
5.0ms23×body1280valid
3.0ms103×body80nan
2.0ms16×body640valid
0.0msbody5120valid
0.0msbody160valid
0.0msbody320valid

simplify13.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: 34.2b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.2b
(- (* b_2 b_2) (* a c))
1.5b
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
23.0b
(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 b_2) (* a c))
4.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
7.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series276.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
32.0ms
(- (* b_2 b_2) (* a c))
71.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
81.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify86.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (81.0ms)

IterNodesCost
0258227
1862209
23117196
35001182

prune103.0ms

Filtered
36 candidates to 28 candidates (77.8%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New29736
Fresh000
Picked011
Done000
Total29837

Merged error: 6.1b

Counts
37 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
0.2b
(- (* b_2 b_2) (* a c))
1.5b
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
23.0b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite22.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:
7.0ms
(* (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
5.0ms
(- (* b_2 b_2) (* a c))
5.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
5.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series253.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(* (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
32.0ms
(- (* b_2 b_2) (* a c))
71.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
62.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

prune111.0ms

Filtered
45 candidates to 32 candidates (71.1%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New43245
Fresh336
Picked011
Done011
Total46753

Merged error: 6.1b

Counts
53 → 7

localize18.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.5b
(* (/ (+ 0 (* 1 (* a c))) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) (/ 1 a))
10.2b
(/ (+ 0 (* 1 (* a c))) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
23.0b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
15×frac-times
12×clear-num
11×frac-2neg
10×associate-/l/
flip3-+ associate-*l/ flip-+
flip3-- associate-/r/ flip--
associate-*r/ associate-*l* div-inv
sqrt-div un-div-inv
associate--l- neg-sub0 neg-mul-1 sub-neg pow1/2 fma-neg associate-*r* *-commutative
Counts
4 → 46
Calls
4 calls:
5.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
10.0ms
(* (/ (+ 0 (* 1 (* a c))) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) (/ 1 a))
8.0ms
(/ (+ 0 (* 1 (* a c))) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
5.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series435.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
140.0ms
(* (/ (+ 0 (* 1 (* a c))) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) (/ 1 a))
166.0ms
(/ (+ 0 (* 1 (* a c))) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
58.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify84.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
0434489
12244426
25003423

prune154.0ms

Filtered
58 candidates to 48 candidates (82.8%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New56258
Fresh134
Picked011
Done022
Total57865

Merged error: 6.0b

Counts
65 → 8

localize17.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
2.1b
(/ a (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) c))
4.5b
(/ (/ a (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) c)) (/ a 1))
23.0b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
18×associate-/r/
13×div-inv
10×associate-/l/
frac-2neg clear-num
times-frac associate-/l*
flip3-- flip--
associate-/r*
sqrt-div
associate--l- neg-sub0 neg-mul-1 sub-neg pow1/2 fma-neg
Counts
4 → 41
Calls
4 calls:
5.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
6.0ms
(/ a (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) c))
9.0ms
(/ (/ a (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) c)) (/ a 1))
5.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series454.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
177.0ms
(/ a (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) c))
149.0ms
(/ (/ a (/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) c)) (/ a 1))
61.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify44.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0385426
11566372
25001357

prune128.0ms

Filtered
53 candidates to 46 candidates (86.8%)
Pruning

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New52153
Fresh134
Picked011
Done033
Total53861

Merged error: 6.0b

Counts
61 → 8

regimes222.0ms

Accuracy

90.4% (2.7b remaining)

Error of 8.3b against oracle of 5.5b and baseline of 34.0b

bsearch88.0ms

Steps
ItersRangePoint
4
2.3845199923604579e-23
4.11746385148662e-23
4.055107544394889e-23
5
-7.993878766881022e-170
-2.689985920497121e-170
-2.8947243902888692e-170
8
-2.083222696695489e+156
-8.927571262924557e+151
-1.3324370156406744e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04124
14324
24324

end0.0ms

sample1.0s

Algorithm
intervals
Results
225.0ms1094×body2560valid
203.0ms5873×body80valid
140.0ms877×body1280valid
90.0ms2851×body80nan
66.0ms453×body640valid
31.0ms117×body5120valid
21.0ms221×body320valid
7.0ms113×body160valid