Details

Time bar (total: 6.7s)

sample55.0ms

Algorithm
intervals
Results
10.0ms36×body2560valid
9.0ms183×body80valid
6.0ms28×body1280valid
4.0ms83×body80nan
3.0ms18×body640valid
1.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0289
1649
21149
31359
41449
51489
61489

prune5.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.0b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.2b
(- (* b b) (* 4.0 (* a c)))
0.8b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
21.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
19×*-un-lft-identity
10×add-log-exp
add-exp-log add-cbrt-cube
add-cube-cbrt times-frac associate-/l*
sqrt-prod distribute-lft-out-- difference-of-squares
pow1
flip3-- flip--
distribute-rgt-neg-in diff-log
cbrt-undiv sub-neg sqrt-div div-exp associate-/l/
associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 77
Calls
4 calls:
12.0ms
(/ (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
3.0ms
(- (* b b) (* 4.0 (* a c)))
8.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
7.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series365.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(/ (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
57.0ms
(- (* b b) (* 4.0 (* a c)))
96.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
90.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify47.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0398888
11466803
25001798

prune396.0ms

Filtered
89 candidates to 65 candidates (27.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New83689
Fresh000
Picked011
Done000
Total83790

Merged error: 6.3b

Counts
90 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (* 2.0 a) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
0.2b
(- (* b b) (* 4.0 (* a c)))
0.8b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
21.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
67×times-frac
48×add-sqr-sqrt
47×*-un-lft-identity
27×add-cube-cbrt
25×add-exp-log
13×associate-/r* add-cbrt-cube
12×div-exp
10×distribute-lft-out-- add-log-exp difference-of-squares
associate-/r/
sqrt-prod
flip3-- flip--
pow1
cbrt-undiv distribute-rgt-neg-in div-inv
rec-exp diff-log 1-exp prod-exp associate-/l*
sub-neg sqrt-div
associate--l- neg-sub0 rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 neg-log clear-num cbrt-unprod inv-pow
Counts
4 → 125
Calls
4 calls:
14.0ms
(/ 1 (/ (* 2.0 a) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
3.0ms
(- (* b b) (* 4.0 (* a c)))
8.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series426.0ms

Counts
4 → 12
Calls
4 calls:
182.0ms
(/ 1 (/ (* 2.0 a) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
57.0ms
(- (* b b) (* 4.0 (* a c)))
94.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
92.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify67.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05381801
125731602
250021528

prune491.0ms

Filtered
137 candidates to 73 candidates (46.7%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1343137
Fresh145
Picked011
Done011
Total1359144

Merged error: 6.2b

Counts
144 → 9

localize19.0ms

Local error

Found 4 expressions with local error:

4.0b
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) (* 2.0 a))
10.1b
(/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
16.3b
(- (pow b 2) (pow b 2))
21.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
101×add-sqr-sqrt
78×times-frac
68×*-un-lft-identity
44×add-cube-cbrt
36×difference-of-squares
27×associate-/l*
22×unpow-prod-down
18×add-exp-log add-cbrt-cube distribute-lft-out--
13×sqrt-prod
12×unpow2 sqr-pow
10×distribute-rgt-out--
cbrt-undiv div-exp associate-/r*
associate-/r/ add-log-exp
pow1 flip3-- flip--
div-inv
div-sub associate-/l/
associate-+l- frac-2neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 +-inverses diff-log flip-+
Counts
4 → 175
Calls
4 calls:
27.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) (* 2.0 a))
25.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
8.0ms
(- (pow b 2) (pow b 2))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series459.0ms

Counts
4 → 12
Calls
4 calls:
160.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) (* 2.0 a))
206.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
1.0ms
(- (pow b 2) (pow b 2))
92.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify193.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (163.0ms)

IterNodesCost
07602835
139142397
250022370

prune1.2s

Filtered
187 candidates to 124 candidates (33.7%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1852187
Fresh246
Picked101
Done022
Total1888196

Merged error: 6.2b

Counts
196 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* b b) (* 4.0 (* a c)))
1.4b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
15.2b
(/ (* 4.0 (* a c)) a)
21.6b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
13×add-exp-log add-cbrt-cube
12×add-sqr-sqrt
*-un-lft-identity
add-log-exp
add-cube-cbrt
pow1
sqrt-prod
cbrt-undiv flip3-- times-frac div-exp prod-exp associate-/r* flip-- cbrt-unprod
sub-neg sqrt-div diff-log difference-of-squares
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num div-inv associate-/l* distribute-lft-out--
Counts
4 → 65
Calls
4 calls:
4.0ms
(- (* b b) (* 4.0 (* a c)))
7.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
6.0ms
(/ (* 4.0 (* a c)) a)
7.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series259.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(- (* b b) (* 4.0 (* a c)))
99.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
12.0ms
(/ (* 4.0 (* a c)) a)
91.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify43.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0340517
11512468
25002450

prune352.0ms

Filtered
77 candidates to 54 candidates (29.9%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New76177
Fresh055
Picked101
Done022
Total77885

Merged error: 6.2b

Counts
85 → 8

regimes349.0ms

Accuracy

95.8% (1.0b remaining)

Error of 6.6b against oracle of 5.6b and baseline of 29.8b

bsearch198.0ms

Steps
ItersRangePoint
9
5.514542683406611e+77
2.3545344307669661e+86
1.5870501280763766e+84
2
3.778688962238916e-270
4.442120433279084e-270
3.855424616811019e-270
10
-1.5262535002821125e+142
-1.5364234610613206e+132
-6.152819208450137e+136

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04525
14525

end0.0ms

sample1.5s

Algorithm
intervals
Results
315.0ms1096×body2560valid
285.0ms5771×body80valid
203.0ms874×body1280valid
133.0ms2896×body80nan
89.0ms471×body640valid
40.0ms117×body5120valid
33.0ms243×body320valid
10.0ms109×body160valid

Profiling

Loading profile data...