Details

Time bar (total: 7.4s)

sample2.0s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.292969%

Guaranteed chance to sample good point: 62.826797%

Results
10.0ms165×body80valid
9.0ms27×body2560valid
8.0ms28×body1280valid
5.0ms22×body640valid
1.0msbody320valid
1.0msbody5120valid
1.0msbody160valid
0.0msbody80invalid
0.0msbody80nan

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0289
1649
21149
31359
41449
51489
61489

prune4.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.2b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
1.4b
(- (* b b) (* 4.0 (* a c)))
25.9b
(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))
10.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))))

series56.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0398888
11466803
25001798

prune169.0ms

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

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New81889
Fresh000
Picked011
Done000
Total81990

Merged error: 7.1b

Counts
90 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

2.6b
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) (* 2.0 a))
11.2b
(/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
20.0b
(- (pow b 2) (pow b 2))
25.9b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite69.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))
23.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 4.0 (* a c))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
7.0ms
(- (pow b 2) (pow b 2))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series77.0ms

Counts
4 → 12
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))
32.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))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify194.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (166.0ms)

IterNodesCost
07602835
139142397
250022370

prune374.0ms

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

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1852187
Fresh437
Picked101
Done011
Total1906196

Merged error: 7.1b

Counts
196 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

1.3b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
1.4b
(- (* b b) (* 4.0 (* a c)))
14.7b
(/ (* 4.0 (* a c)) a)
25.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:
6.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
3.0ms
(- (* b b) (* 4.0 (* a c)))
6.0ms
(/ (* 4.0 (* a c)) a)
3.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series39.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0340517
11512468
25002450

prune112.0ms

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

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New76177
Fresh044
Picked011
Done011
Total76783

Merged error: 7.0b

Counts
83 → 7

localize15.0ms

Local error

Found 4 expressions with local error:

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

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

series89.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0354766
11439683
25001679

prune111.0ms

Filtered
61 candidates to 83 candidates (-36.1%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New82183
Fresh134
Picked101
Done022
Total84690

Merged error: 7.0b

Counts
90 → 6

regimes293.0ms

Accuracy

89.3% (2.8b remaining)

Error of 8.5b against oracle of 5.7b and baseline of 32.1b

bsearch132.0ms

Steps
ItersRangePoint
9
4.880676122959305e+126
1.6874745041883248e+132
7.165775553570599e+126
9
-1.1410601569845324e-97
-3.11646147152481e-103
-1.9328404402975615e-100
9
-6.879391679013253e+106
-1.1315520404963029e+101
-4.139456257932803e+101

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04527
14527

end0.0ms

sample3.4s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.292969%

Guaranteed chance to sample good point: 62.826797%

Results
333.0ms1058×body2560valid
303.0ms5119×body80valid
241.0ms917×body1280valid
99.0ms463×body640valid
49.0ms124×body5120valid
41.0ms222×body320valid
18.0ms314×body80invalid
17.0ms321×body80nan
10.0ms97×body160valid

Profiling

Loading profile data...