Details

Time bar (total: 4.9s)

sample50.0ms

Algorithm
intervals
Results
10.0ms33×body2560valid
9.0ms172×body80valid
7.0ms31×body1280valid
4.0ms73×body80nan
3.0ms14×body640valid
2.0msbody5120valid
1.0msbody320valid
1.0ms11×body160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0289
1649
21149
31359
41449
51489
61489

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: 36.1b

Counts
2 → 1

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
1.4b
(- (* b b) (* 4.0 (* a c)))
2.2b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.2b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite31.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
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
4.0ms
(- (* b b) (* 4.0 (* a c)))
9.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series301.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
45.0ms
(- (* b b) (* 4.0 (* a c)))
81.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
75.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify46.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0404890
11481801
25001796

prune230.0ms

Filtered
89 candidates to 65 candidates (73.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New81889
Fresh000
Picked101
Done000
Total82890

Merged error: 5.5b

Counts
90 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

4.5b
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) (* 2.0 a))
10.2b
(/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
18.5b
(- (pow b 2) (pow b 2))
23.2b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite78.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:
29.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) (* 2.0 a))
29.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))))

series354.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) (* 2.0 a))
161.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))
77.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify179.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (154.0ms)

IterNodesCost
07612839
139052393
250022366

prune442.0ms

Filtered
187 candidates to 124 candidates (66.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1852187
Fresh257
Picked101
Done000
Total1887195

Merged error: 5.5b

Counts
195 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
1.4b
(- (* b b) (* 4.0 (* a c)))
14.8b
(/ (* 4.0 (* a c)) a)
23.2b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite22.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:
7.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
4.0ms
(- (* b b) (* 4.0 (* a c)))
6.0ms
(/ (* 4.0 (* a c)) a)
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series461.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
287.0ms
(- (* b b) (* 4.0 (* a c)))
10.0ms
(/ (* 4.0 (* a c)) a)
73.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify43.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0344518
11520468
25001450

prune175.0ms

Filtered
77 candidates to 54 candidates (70.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New76177
Fresh066
Picked101
Done000
Total77784

Merged error: 5.5b

Counts
84 → 7

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* 4.0 c) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
1.4b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
1.4b
(- (* b b) (* 4.0 (* a c)))
23.2b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite28.0ms

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

series396.0ms

Counts
4 → 12
Calls
4 calls:
194.0ms
(/ (* 4.0 c) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
83.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
45.0ms
(- (* b b) (* 4.0 (* a c)))
74.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify43.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0346764
11376681
25001678

prune181.0ms

Filtered
83 candidates to 61 candidates (73.5%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New82183
Fresh156
Picked011
Done000
Total83790

Merged error: 5.5b

Counts
90 → 7

regimes170.0ms

Accuracy

94.6% (1.3b remaining)

Error of 6.8b against oracle of 5.5b and baseline of 29.7b

bsearch200.0ms

Steps
ItersRangePoint
7
6.011887282010727e+43
5.675568733030414e+45
5.6015260252764486e+45
9
-1.3767648779983776e-304
9.315340853673907e-306
5.658228075089988e-307
8
-3.270551254255918e+118
-2.131753517190888e+115
-9.646585596466915e+117

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04726
14726

end0.0ms

sample1.4s

Algorithm
intervals
Results
327.0ms1062×body2560valid
301.0ms5799×body80valid
224.0ms927×body1280valid
147.0ms2900×body80nan
92.0ms463×body640valid
34.0ms238×body320valid
32.0ms90×body5120valid
12.0ms120×body160valid

Profiling

Loading profile data...