Details

Time bar (total: 7.2s)

sample1.9s

Algorithm
intervals
sampling

Space saved by range analysis: 99.986886%

Space saved by search: 99.993135%

Guaranteed chance to sample good point: 88.065532%

Results
19.0ms128×body320valid
9.0ms94×body160valid
8.0ms262×pre80true
4.0ms11×body640valid
1.0ms23×body80valid
0.0msbody80nan

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 54.2b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
0.1b
(- (* b b) (* (* 4.0 a) c))
0.1b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
24.8b
(+ (neg b) (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:
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(- (* b b) (* (* 4.0 a) c))
12.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
7.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series64.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0396773
11550683
25001673

prune123.0ms

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New80282
Fresh000
Picked101
Done000
Total81283

Merged error: 0.1b

Counts
83 → 2

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
0.1b
(- (* b b) (* (* 4.0 a) c))
0.3b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
0.3b
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

rewrite40.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
(sqrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(- (* b b) (* (* 4.0 a) c))
16.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)))))

series124.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
8.0ms
(- (* b b) (* (* 4.0 a) c))
43.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
59.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

simplify114.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
06372580
131912340
250012327

prune288.0ms

Filtered
106 candidates to 160 candidates (-50.9%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1546160
Fresh011
Picked101
Done000
Total1557162

Merged error: 0b

Counts
162 → 7

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
0.1b
(* a (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
0.1b
(- (* b b) (* (* 4.0 a) c))
0.3b
(/ (* 4.0 (* a c)) (* a (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))

rewrite32.0ms

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

series92.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
26.0ms
(* a (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
10.0ms
(- (* b b) (* (* 4.0 a) c))
42.0ms
(/ (* 4.0 (* a c)) (* a (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))

simplify88.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
04971020
13234803
25002795

prune141.0ms

Filtered
62 candidates to 94 candidates (-51.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New93194
Fresh156
Picked101
Done000
Total956101

Merged error: 0b

Counts
101 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
0.1b
(/ (* 1 (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) c)
0.1b
(- (* b b) (* (* 4.0 a) c))
0.3b
(/ 4.0 (/ (* 1 (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) c))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
24×add-sqr-sqrt
23×add-exp-log add-cube-cbrt *-un-lft-identity
18×add-cbrt-cube
10×div-exp associate-/r*
cbrt-undiv
div-inv add-log-exp
pow1
prod-exp associate-/l*
flip3-- sqrt-prod flip--
frac-2neg sqrt-div 1-exp associate-*r/ clear-num cbrt-unprod associate-/l/
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-/r/
Counts
4 → 100
Calls
4 calls:
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
11.0ms
(/ (* 1 (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) c)
3.0ms
(- (* b b) (* (* 4.0 a) c))
11.0ms
(/ 4.0 (/ (* 1 (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) c))

series73.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
18.0ms
(/ (* 1 (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) c)
9.0ms
(- (* b b) (* (* 4.0 a) c))
33.0ms
(/ 4.0 (/ (* 1 (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) c))

simplify72.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05641277
124181123
250011122

prune178.0ms

Filtered
85 candidates to 112 candidates (-31.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1102112
Fresh235
Picked101
Done000
Total1135118

Merged error: 0b

Counts
118 → 5

regimes163.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02311
12311

end0.0ms

sample3.6s

Algorithm
intervals
sampling

Space saved by range analysis: 99.986886%

Space saved by search: 99.993135%

Guaranteed chance to sample good point: 88.065532%

Results
529.0ms3551×body320valid
296.0ms2977×body160valid
251.0ms8439×pre80true
103.0ms515×body640valid
50.0ms957×body80valid
24.0ms439×body80nan

Profiling

Loading profile data...