Details

Time bar (total: 3.7s)

sample45.0ms

Algorithm
intervals
Results
12.0ms40×body2560valid
8.0ms198×body80valid
4.0ms22×body1280valid
4.0ms103×body80nan
2.0ms17×body640valid
1.0msbody5120valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0259
1469
2869
31139
41219
51219

prune3.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

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
0.2b
(- (* b b) (* (* 4.0 a) c))
1.5b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite26.0ms

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

series297.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
42.0ms
(- (* b b) (* (* 4.0 a) c))
77.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify132.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0322329
11151301
24762289
35001289

prune109.0ms

Filtered
42 candidates to 30 candidates (71.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New35742
Fresh000
Picked101
Done000
Total36743

Merged error: 6.1b

Counts
43 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
13×*-commutative
10×frac-times
prod-diff
flip3-+ flip-+
associate-/r*
associate-*r/
associate-*l* clear-num
frac-2neg
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 → 43
Calls
4 calls:
9.0ms
(* (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (/ 1 (* 2.0 a)))
6.0ms
(- (* b b) (* (* 4.0 a) c))
6.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
6.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series291.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(* (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (/ 1 (* 2.0 a)))
42.0ms
(- (* b b) (* (* 4.0 a) c))
76.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
68.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify44.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0361579
11500500
25001470

prune143.0ms

Filtered
55 candidates to 39 candidates (70.9%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New51455
Fresh336
Picked101
Done000
Total55762

Merged error: 6.1b

Counts
62 → 7

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (* 2.0 a))
0.2b
(- (* b b) (* (* 4.0 a) c))
1.5b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
10×*-commutative
prod-diff
flip3-- associate-*l* flip--
sub-neg fma-neg sqrt-div associate-/r* associate-/l/
frac-2neg pow1/2 div-sub clear-num div-inv
Counts
4 → 29
Calls
4 calls:
11.0ms
(/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (* 2.0 a))
6.0ms
(- (* b b) (* (* 4.0 a) c))
6.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
6.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series292.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (* 2.0 a))
47.0ms
(- (* b b) (* (* 4.0 a) c))
77.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
65.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify110.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0313308
11025291
24133282
35001282

prune96.0ms

Filtered
41 candidates to 25 candidates (61.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New41041
Fresh066
Picked011
Done000
Total41748

Merged error: 6.1b

Counts
48 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
13×*-commutative
10×frac-times
prod-diff
flip3-+ flip-+
associate-/r*
associate-*l* associate-*l/
+-commutative frac-2neg clear-num
distribute-rgt-in flip3-- distribute-lft-in fma-neg sqrt-div associate-*r/ flip--
neg-sub0 associate-+l- neg-mul-1 sub-neg fma-def pow1/2 div-inv
Counts
4 → 45
Calls
4 calls:
9.0ms
(* (/ 1 (* 2.0 a)) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
6.0ms
(- (* b b) (* (* 4.0 a) c))
5.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
6.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series329.0ms

Counts
4 → 12
Calls
4 calls:
139.0ms
(* (/ 1 (* 2.0 a)) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
42.0ms
(- (* b b) (* (* 4.0 a) c))
78.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
69.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify51.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0424623
11929540
25002511

prune127.0ms

Filtered
57 candidates to 38 candidates (66.7%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New55257
Fresh145
Picked011
Done011
Total56864

Merged error: 6.0b

Counts
64 → 8

regimes175.0ms

Accuracy

82.1% (5.1b remaining)

Error of 10.7b against oracle of 5.6b and baseline of 34.1b

bsearch103.0ms

Steps
ItersRangePoint
9
6.997117448607536e-159
6.9825357345617866e-152
6.8956779722136e-152
8
-2.083222696695489e+156
-8.927571262924557e+151
-1.3324370156406744e+154

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03114
13114

end0.0ms

sample1.2s

Algorithm
intervals
Results
247.0ms1092×body2560valid
239.0ms5871×body80valid
169.0ms874×body1280valid
106.0ms2855×body80nan
68.0ms452×body640valid
33.0ms117×body5120valid
25.0ms224×body320valid
8.0ms115×body160valid