Details

Time bar (total: 4.8s)

sample788.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 21.887207%

Guaranteed chance to sample good point: 86.240038%

Results
11.0ms188×body80valid
8.0ms32×body1280valid
7.0ms23×body2560valid
3.0ms14×body640valid
2.0ms10×body320valid
1.0msbody5120valid
1.0msbody80nan
0.0msbody160valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.9b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
0.6b
(- (* b b) (* (* 4.0 a) c))
0.7b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
24.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
10×add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
distribute-lft-out
pow1 times-frac associate-/l*
distribute-rgt-neg-in sqrt-prod
cbrt-undiv neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div div-exp sum-log flip-- flip-+ associate-/l/
+-commutative sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 70
Calls
4 calls:
12.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))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series64.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0396773
11550683
25002673

prune156.0ms

Filtered
63 candidates to 82 candidates (-30.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New74882
Fresh000
Picked101
Done000
Total75883

Merged error: 6.3b

Counts
83 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (/ 1 (* 2.0 a)))
0.6b
(- (* b b) (* (* 4.0 a) c))
0.7b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
24.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
23×add-exp-log
16×*-un-lft-identity
13×add-cbrt-cube
11×add-sqr-sqrt
10×prod-exp add-log-exp
add-cube-cbrt
pow1 associate-*r*
associate-*l*
div-exp cbrt-unprod distribute-lft-out
flip3-+ times-frac sqrt-prod flip-+
cbrt-undiv frac-times rec-exp flip3-- distribute-rgt-neg-in sqrt-div 1-exp associate-*l/ sum-log flip--
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-*r/ pow-prod-down neg-log un-div-inv *-commutative div-inv unswap-sqr
Counts
4 → 80
Calls
4 calls:
14.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)))

series63.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0472914
12176788
25001776

prune139.0ms

Filtered
66 candidates to 92 candidates (-39.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New91192
Fresh167
Picked011
Done000
Total928100

Merged error: 6.2b

Counts
100 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (* 2.0 a) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
0.6b
(- (* b b) (* (* 4.0 a) c))
0.7b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
24.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
53×times-frac
45×*-un-lft-identity
26×add-sqr-sqrt
25×add-exp-log add-cube-cbrt
13×add-cbrt-cube
12×div-exp
11×associate-/r*
10×distribute-lft-out add-log-exp
associate-/r/
pow1
cbrt-undiv distribute-rgt-neg-in flip3-+ flip-+ div-inv
rec-exp 1-exp prod-exp sqrt-prod associate-/l*
flip3-- sqrt-div sum-log flip--
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 diff-log neg-log clear-num cbrt-unprod inv-pow
Counts
4 → 114
Calls
4 calls:
13.0ms
(/ 1 (/ (* 2.0 a) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
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)))

series70.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05281585
125961372
250011305

prune147.0ms

Filtered
72 candidates to 126 candidates (-75.0%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1242126
Fresh156
Picked011
Done011
Total1259134

Merged error: 6.2b

Counts
134 → 9

localize18.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* b b) (* (* 4.0 a) c))
3.1b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
10.4b
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
24.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt
79×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
20×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
13×sqrt-prod
10×distribute-rgt-neg-in
associate-/r*
cbrt-undiv div-exp
associate-/r/ add-log-exp
pow1 flip3-- flip--
div-inv
associate-/l/
frac-2neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 diff-log flip-+
Counts
4 → 148
Calls
4 calls:
3.0ms
(- (* b b) (* (* 4.0 a) c))
17.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
12.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series127.0ms

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

simplify112.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
06372580
131842341
250012328

prune243.0ms

Filtered
105 candidates to 160 candidates (-52.4%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1591160
Fresh156
Picked011
Done022
Total1609169

Merged error: 6.2b

Counts
169 → 9

regimes290.0ms

Accuracy

82.1% (5.1b remaining)

Error of 10.9b against oracle of 5.8b and baseline of 34.3b

bsearch67.0ms

Steps
ItersRangePoint
8
5.240988409583232e-06
0.002834971680837124
0.00011782405357240769
8
-5.768218291700969e+150
-9.419834664568275e+145
-2.3719932375833216e+148

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03816
13816

end0.0ms

sample2.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 21.887207%

Guaranteed chance to sample good point: 86.240038%

Results
345.0ms1048×body2560valid
341.0ms5887×body80valid
231.0ms856×body1280valid
93.0ms441×body640valid
46.0ms114×body5120valid
36.0ms232×body320valid
20.0ms362×body80nan
17.0ms126×body160valid

Profiling

Loading profile data...