Details

Time bar (total: 7.1s)

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
9.0ms31×body2560valid
9.0ms163×body80valid
7.0ms28×body1280valid
4.0ms22×body640valid
1.0msbody5120valid
1.0msbody320valid
1.0ms10×body80invalid
0.0msbody80nan
0.0msbody160valid

simplify13.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: 37.2b

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.0b
(- (* b b) (* 4.0 (* a c)))
1.5b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
26.7b
(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:
11.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)))))
6.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series58.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0398888
11466803
25001798

prune181.0ms

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New791089
Fresh000
Picked101
Done000
Total801090

Merged error: 5.8b

Counts
90 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* 2.0 a)))
1.0b
(- (* b b) (* 4.0 (* a c)))
1.5b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
26.7b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
23×add-exp-log
19×add-sqr-sqrt
16×*-un-lft-identity
13×add-cbrt-cube
10×prod-exp add-log-exp
add-cube-cbrt
pow1 associate-*r* associate-*l*
flip3-- sqrt-prod flip--
div-exp cbrt-unprod distribute-lft-out-- difference-of-squares
times-frac diff-log
cbrt-undiv frac-times sub-neg rec-exp distribute-rgt-neg-in sqrt-div 1-exp associate-*l/
associate--l- neg-sub0 rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ pow-prod-down neg-log un-div-inv *-commutative div-inv unswap-sqr
Counts
4 → 85
Calls
4 calls:
15.0ms
(* (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (/ 1 (* 2.0 a)))
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))))

series60.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0463989
12033868
25001860

prune154.0ms

Filtered
65 candidates to 97 candidates (-49.2%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New93497
Fresh279
Picked011
Done000
Total9512107

Merged error: 5.8b

Counts
107 → 12

localize16.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* 4.0 (* a c)))
2.7b
(* (/ (+ 0 (* 1 (* 4.0 (* a c)))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) (/ 1 (* 2.0 a)))
9.4b
(/ (+ 0 (* 1 (* 4.0 (* a c)))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
26.7b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
72×add-sqr-sqrt
61×*-un-lft-identity
52×times-frac
51×add-exp-log
30×add-cube-cbrt associate-*l*
27×add-cbrt-cube
20×prod-exp
18×difference-of-squares
16×div-exp
13×distribute-lft-out
12×sqrt-prod
distribute-lft-out--
cbrt-undiv cbrt-unprod
pow1 associate-*r*
associate-/r* add-log-exp
rec-exp flip3-- 1-exp associate-/r/ flip-- associate-/l*
div-inv
sqrt-div associate-/l/ unswap-sqr
frac-times sub-neg rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 diff-log associate-*r/ pow-prod-down associate-*l/ clear-num un-div-inv *-commutative flip-+
Counts
4 → 149
Calls
4 calls:
4.0ms
(- (* b b) (* 4.0 (* a c)))
22.0ms
(* (/ (+ 0 (* 1 (* 4.0 (* a c)))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) (/ 1 (* 2.0 a)))
12.0ms
(/ (+ 0 (* 1 (* 4.0 (* a c)))) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series130.0ms

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

simplify123.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (99.0ms)

IterNodesCost
07582360
137522016
250011993

prune278.0ms

Filtered
102 candidates to 161 candidates (-57.8%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1574161
Fresh5510
Picked011
Done011
Total16211173

Merged error: 5.7b

Counts
173 → 11

localize12.0ms

Local error

Found 4 expressions with local error:

0.9b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
1.0b
(- (* b b) (* 4.0 (* a c)))
13.9b
(/ (* 4.0 (* a c)) (* 2.0 a))
26.7b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite26.0ms

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

series40.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0399575
12213498
25003498

prune93.0ms

Filtered
54 candidates to 79 candidates (-46.3%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New78179
Fresh178
Picked101
Done022
Total801090

Merged error: 5.7b

Counts
90 → 10

regimes266.0ms

Accuracy

94.8% (1.2b remaining)

Error of 7.0b against oracle of 5.8b and baseline of 29.5b

bsearch61.0ms

Steps
ItersRangePoint
5
3.703875216598587e+124
9.699084025794829e+124
6.220885410238159e+124
8
1.863517854338852e-268
1.2283424063058854e-264
2.8000549201992103e-266
1
-5.4791059007034924e+75
-5.0848415215816745e+75
-5.380539805923038e+75

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04424
14424

end0.0ms

sample3.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.292969%

Guaranteed chance to sample good point: 62.826797%

Results
327.0ms1069×body2560valid
269.0ms5035×body80valid
223.0ms901×body1280valid
97.0ms506×body640valid
46.0ms127×body5120valid
38.0ms247×body320valid
18.0ms366×body80nan
17.0ms319×body80invalid
13.0ms115×body160valid

Profiling

Loading profile data...