Details

Time bar (total: 4.0s)

sample471.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 5.867544%

Guaranteed chance to sample good point: 42.569946%

Results
12.0ms26×body2560valid
10.0ms193×body80valid
6.0ms31×body1280valid
4.0ms84×body80nan
3.0ms17×body640valid
2.0msbody5120valid
0.0msbody320valid
0.0msbody160valid

simplify402.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1327
2417
3447
4447

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.7b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.6b
(- (* b_2 b_2) (* a c))
0.7b
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
23.7b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
37×*-un-lft-identity
21×times-frac
17×add-cube-cbrt
10×distribute-lft-out-- add-log-exp difference-of-squares
sqrt-prod
associate-/l*
add-exp-log add-cbrt-cube
pow1 distribute-rgt-neg-in
flip3-- flip--
diff-log associate-/r*
sub-neg sqrt-div associate-/l/
cbrt-undiv associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub div-exp neg-log clear-num div-inv
Counts
4 → 91
Calls
4 calls:
10.0ms
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
3.0ms
(- (* b_2 b_2) (* a c))
8.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series69.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
15.0ms
(- (* b_2 b_2) (* a c))
14.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
22.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify42.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0360964
11233910
25002901

prune142.0ms

Filtered
72 candidates to 103 candidates (-43.1%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New949103
Fresh000
Picked011
Done000
Total9410104

Merged error: 6.7b

Counts
104 → 10

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
0.6b
(- (* b_2 b_2) (* a c))
0.7b
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
23.7b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
22×*-un-lft-identity
13×add-exp-log add-cube-cbrt associate-*r*
11×times-frac
10×add-log-exp
add-cbrt-cube
pow1 associate-*l*
flip3-- sqrt-prod flip--
prod-exp distribute-lft-out-- difference-of-squares
diff-log unswap-sqr
frac-times sub-neg distribute-rgt-neg-in sqrt-div div-exp associate-*l/ cbrt-unprod
cbrt-undiv associate--l- neg-sub0 rem-sqrt-square rec-exp sqrt-pow1 pow1/2 1-exp associate-*r/ pow-prod-down neg-log un-div-inv *-commutative div-inv
Counts
4 → 89
Calls
4 calls:
13.0ms
(* (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
3.0ms
(- (* b_2 b_2) (* a c))
10.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series49.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(* (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
7.0ms
(- (* b_2 b_2) (* a c))
13.0ms
(- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify51.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0420880
11816791
25002772

prune115.0ms

Filtered
70 candidates to 101 candidates (-44.3%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New983101
Fresh448
Picked011
Done011
Total1029111

Merged error: 6.7b

Counts
111 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* b_2 b_2) (* a c))
0.6b
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
13.9b
(* (/ 1 a) (* a c))
23.7b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
26×add-exp-log
16×*-un-lft-identity add-cbrt-cube
13×add-sqr-sqrt associate-*l*
12×add-cube-cbrt prod-exp
10×pow1 add-log-exp
times-frac
cbrt-unprod
div-exp
pow-prod-down sqrt-prod
cbrt-undiv rec-exp flip3-- sqrt-div 1-exp sum-log flip-- distribute-lft-out
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 flip3-+ pow1/2 diff-log associate-*r* neg-log associate-*l/ *-commutative flip-+ div-inv
Counts
4 → 79
Calls
4 calls:
3.0ms
(- (* b_2 b_2) (* a c))
7.0ms
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
7.0ms
(* (/ 1 a) (* a c))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series34.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- (* b_2 b_2) (* a c))
13.0ms
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
2.0ms
(* (/ 1 a) (* a c))
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify59.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0411489
11948383
25001371

prune118.0ms

Filtered
63 candidates to 91 candidates (-44.4%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New89291
Fresh066
Picked011
Done022
Total8911100

Merged error: 6.6b

Counts
100 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (* (/ 1 a) 0) c) (+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))))
0.6b
(- (* b_2 b_2) (* a c))
0.6b
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
23.7b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
16×add-sqr-sqrt
15×add-cube-cbrt times-frac
10×distribute-lft-out add-log-exp
add-exp-log add-cbrt-cube
pow1 distribute-rgt-neg-in associate-/r*
flip3-+ sqrt-prod flip-+ associate-/l*
flip3-- sqrt-div sum-log associate-/r/ flip-- associate-/l/
cbrt-undiv +-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-exp neg-log clear-num div-inv
Counts
4 → 81
Calls
4 calls:
15.0ms
(/ (+ (* (/ 1 a) 0) c) (+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))))
3.0ms
(- (* b_2 b_2) (* a c))
7.0ms
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
3.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series74.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(/ (+ (* (/ 1 a) 0) c) (+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))))
7.0ms
(- (* b_2 b_2) (* a c))
13.0ms
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
12.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify53.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0386950
11549835
25001816

prune101.0ms

Filtered
71 candidates to 93 candidates (-31.0%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New91293
Fresh257
Picked101
Done033
Total9410104

Merged error: 6.6b

Counts
104 → 10

regimes433.0ms

Accuracy

87.1% (3.4b remaining)

Error of 9.1b against oracle of 5.6b and baseline of 32.4b

bsearch101.0ms

Steps
ItersRangePoint
8
1.5899226579934786e+86
1.772173797690106e+90
1.3169442448748477e+90
9
-1.143859957059715e-225
-4.892276994531256e-232
-3.604894168941212e-229
9
-4.614558500810685e+27
-1.5335959160462621e+22
-2.6514850106522654e+26

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04527
14527

end0.0ms

sample1.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 5.867544%

Guaranteed chance to sample good point: 42.569946%

Results
262.0ms5911×body80valid
260.0ms1036×body2560valid
184.0ms903×body1280valid
92.0ms2208×body80nan
77.0ms460×body640valid
31.0ms100×body5120valid
24.0ms202×body320valid
11.0ms129×body160valid

Profiling

Loading profile data...