Details

Time bar (total: 7.3s)

sample1.6s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 23.306274%

Guaranteed chance to sample good point: 70.196172%

Results
12.0ms27×body2560valid
9.0ms160×body80valid
7.0ms29×body1280valid
5.0ms25×body640valid
1.0ms22×body80invalid
1.0msbody5120valid
1.0msbody320valid
1.0ms15×body80nan
1.0msbody160valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0289
1649
21149
31359
41449
51489
61489

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 36.6b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
1.4b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
1.6b
(- (* b b) (* 4.0 (* a c)))
24.9b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite30.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:
13.0ms
(/ (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
8.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
3.0ms
(- (* b b) (* 4.0 (* a c)))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series61.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(/ (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
15.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
11.0ms
(- (* b b) (* 4.0 (* a c)))
15.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify46.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0398888
11466803
25001798

prune303.0ms

Filtered
65 candidates to 89 candidates (-36.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New80989
Fresh000
Picked101
Done000
Total81990

Merged error: 4.7b

Counts
90 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

3.0b
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) (* 2.0 a))
10.8b
(/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
19.3b
(- (pow b 2) (pow b 2))
24.9b
(sqrt (- (* b b) (* 4.0 (* a c))))

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

series80.0ms

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

simplify210.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (182.0ms)

IterNodesCost
07602835
139142397
250022370

prune385.0ms

Filtered
124 candidates to 187 candidates (-50.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1834187
Fresh268
Picked101
Done000
Total18610196

Merged error: 4.7b

Counts
196 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (* b b) (* 4.0 (* a c)))
1.9b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
14.8b
(/ (* 4.0 (* a c)) a)
24.9b
(sqrt (- (* b b) (* 4.0 (* a c))))

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

series39.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* b b) (* 4.0 (* a c)))
15.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
2.0ms
(/ (* 4.0 (* a c)) a)
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify42.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0340517
11512468
25002450

prune126.0ms

Filtered
54 candidates to 77 candidates (-42.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New75277
Fresh279
Picked101
Done000
Total78987

Merged error: 4.6b

Counts
87 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (/ 4.0 (/ 1 c)) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
1.6b
(- (* b b) (* 4.0 (* a c)))
1.9b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
24.9b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
726×times-frac
480×add-sqr-sqrt
387×*-un-lft-identity
295×add-cube-cbrt
92×difference-of-squares
49×sqrt-prod
46×distribute-lft-out--
44×associate-/l*
29×div-inv
19×add-exp-log
13×add-cbrt-cube
11×div-exp
associate-/r/
add-log-exp
cbrt-undiv associate-/r*
pow1
flip3-- flip--
sub-neg sqrt-div diff-log
rem-sqrt-square rec-exp frac-2neg sqrt-pow1 pow1/2 1-exp clear-num associate-/l/
Counts
4 → 377
Calls
4 calls:
22.0ms
(/ (/ 4.0 (/ 1 c)) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
4.0ms
(- (* b b) (* 4.0 (* a c)))
7.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series94.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(/ (/ 4.0 (/ 1 c)) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
9.0ms
(- (* b b) (* 4.0 (* a c)))
15.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
15.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify97.0ms

Algorithm
egg-herbie
Counts
389 → 389
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
015317322
150016804

prune639.0ms

Filtered
206 candidates to 389 candidates (-88.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New3872389
Fresh268
Picked011
Done000
Total3899398

Merged error: 4.6b

Counts
398 → 9

regimes312.0ms

Accuracy

93.5% (1.6b remaining)

Error of 7.1b against oracle of 5.5b and baseline of 29.8b

bsearch87.0ms

Steps
ItersRangePoint
8
5.7509668250777875e+65
6.276869227824861e+69
5.2859986424752965e+67
9
3.4836605671798083e-256
1.1957858889591068e-246
5.566062849154005e-255
4
-7.283566220576807e+90
-4.015560400392505e+90
-6.347983209572217e+90

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04627
14627

end0.0ms

sample3.0s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 23.306274%

Guaranteed chance to sample good point: 70.196172%

Results
346.0ms1101×body2560valid
279.0ms5030×body80valid
232.0ms909×body1280valid
100.0ms494×body640valid
47.0ms122×body5120valid
37.0ms232×body320valid
34.0ms621×body80invalid
18.0ms358×body80nan
13.0ms112×body160valid

Profiling

Loading profile data...