Details

Time bar (total: 5.3s)

sample838.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 20.645142%

Guaranteed chance to sample good point: 86.566935%

Results
10.0ms193×body80valid
8.0ms30×body2560valid
7.0ms20×body640valid
5.0ms21×body1280valid
1.0ms11×body320valid
1.0msbody5120valid
1.0ms14×body80nan
0.0msbody160valid

simplify374.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0147
1227
2257
3277
4297
5297

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.2b

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
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
1.0b
(- (* b_2 b_2) (* a c))
21.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite29.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-/l*
associate-/r* sqrt-prod
neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div sum-log flip-- flip-+ associate-/l/
cbrt-undiv +-commutative sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub div-exp neg-log clear-num div-inv
Counts
4 → 80
Calls
4 calls:
10.0ms
(/ (+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
7.0ms
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
3.0ms
(- (* b_2 b_2) (* a c))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series71.0ms

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

simplify137.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0338783
11216724
24971703
35001703

prune145.0ms

Filtered
69 candidates to 92 candidates (-33.3%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New811192
Fresh000
Picked101
Done000
Total821193

Merged error: 4.9b

Counts
93 → 11

localize12.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
(+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))
1.0b
(- (* b_2 b_2) (* a c))
21.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite29.0ms

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

series56.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0428816
11923721
25001680

prune123.0ms

Filtered
71 candidates to 96 candidates (-35.2%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New93396
Fresh4610
Picked011
Done000
Total9710107

Merged error: 4.9b

Counts
107 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b_2 b_2) (* a c))
1.9b
(/ (/ (+ 0 (* a c)) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
10.7b
(/ (+ 0 (* a c)) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))))
21.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
186×times-frac
154×add-sqr-sqrt
153×*-un-lft-identity
89×add-cube-cbrt
32×distribute-lft-out-- difference-of-squares
30×associate-/l*
19×sqrt-prod
16×distribute-rgt-neg-in
11×add-exp-log add-cbrt-cube
10×associate-/r* associate-/r/
flip3-- flip--
div-inv add-log-exp
pow1
cbrt-undiv div-exp
associate-/l/
frac-2neg sqrt-div clear-num
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 diff-log flip-+
Counts
4 → 200
Calls
4 calls:
3.0ms
(- (* b_2 b_2) (* a c))
16.0ms
(/ (/ (+ 0 (* a c)) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))) a)
11.0ms
(/ (+ 0 (* a c)) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series111.0ms

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

simplify106.0ms

Algorithm
egg-herbie
Counts
212 → 212
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
07083365
132313197
250013171

prune223.0ms

Filtered
141 candidates to 212 candidates (-50.4%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2102212
Fresh178
Picked101
Done011
Total21210222

Merged error: 4.9b

Counts
222 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b_2 b_2) (* a c))
1.7b
(/ a (/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) c))
1.9b
(/ (/ a (/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) c)) a)
21.6b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite86.0ms

Algorithm
rewrite-expression-head
Rules
951×times-frac
585×add-sqr-sqrt
584×*-un-lft-identity
392×add-cube-cbrt
96×distribute-lft-out-- difference-of-squares
83×associate-/l*
51×sqrt-prod
48×distribute-rgt-neg-in
28×associate-/r*
22×div-inv
18×add-exp-log add-cbrt-cube
cbrt-undiv div-exp
add-log-exp
pow1 associate-/r/
flip3-- frac-2neg sqrt-div clear-num flip--
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-/l/
Counts
4 → 485
Calls
4 calls:
4.0ms
(- (* b_2 b_2) (* a c))
13.0ms
(/ a (/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) c))
26.0ms
(/ (/ a (/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) c)) a)
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series111.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
497 → 497
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
015258627
150027984

prune282.0ms

Filtered
298 candidates to 497 candidates (-66.8%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New4952497
Fresh268
Picked011
Done011
Total49710507

Merged error: 4.9b

Counts
507 → 10

regimes387.0ms

Accuracy

95% (1.2b remaining)

Error of 6.8b against oracle of 5.6b and baseline of 29.8b

bsearch95.0ms

Steps
ItersRangePoint
8
1.4124388747746146e+74
5.427444901772608e+77
1.0805933203349935e+77
9
4.43786811160581e-304
1.1944347498966476e-295
1.0458040096969713e-301
7
-9.631271020185472e+143
-3.7800962504590556e+141
-4.065691323206844e+141

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04123
14123

end0.0ms

sample1.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 20.645142%

Guaranteed chance to sample good point: 86.566935%

Results
279.0ms1070×body2560valid
269.0ms5874×body80valid
180.0ms872×body1280valid
78.0ms455×body640valid
36.0ms118×body5120valid
28.0ms227×body320valid
23.0ms537×body80nan
10.0ms118×body160valid

Profiling

Loading profile data...