Details

Time bar (total: 4.6s)

sample639.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 99.999783%

Space saved by search: 99.999887%

Guaranteed chance to sample good point: 88.012896%

Results
17.0ms156×body160valid
8.0ms275×pre80true
5.0ms100×body80valid
1.0ms19×body80nan

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.1b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* b b) (* (* 3.0 a) c))
0.3b
(* (* 3.0 a) c)
0.3b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
30.0b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
14×add-exp-log add-cbrt-cube
10×add-log-exp
pow1
add-sqr-sqrt add-cube-cbrt
distribute-lft-out
times-frac associate-/l*
prod-exp cbrt-unprod
distribute-rgt-neg-in associate-*r* pow-prod-down
cbrt-undiv neg-sub0 associate-+l- flip3-+ div-exp sum-log flip-+ associate-/l/
+-commutative sub-neg flip3-- frac-2neg diff-log div-sub associate-*l* neg-log clear-num associate-/r* *-commutative flip-- div-inv
Counts
4 → 73
Calls
4 calls:
4.0ms
(- (* b b) (* (* 3.0 a) c))
5.0ms
(* (* 3.0 a) c)
13.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series53.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b b) (* (* 3.0 a) c))
4.0ms
(* (* 3.0 a) c)
25.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
15.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify55.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0417711
11922611
25001602

prune133.0ms

Filtered
59 candidates to 85 candidates (-44.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New79685
Fresh000
Picked011
Done000
Total79786

Merged error: 0.4b

Counts
86 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(* 3.0 (* a c))
0.3b
(* (* 3.0 a) c)
0.3b
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.3b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt *-un-lft-identity
40×add-cube-cbrt
30×associate-/l*
28×add-exp-log add-cbrt-cube
20×distribute-lft-out-- difference-of-squares
14×pow1
10×distribute-rgt-neg-in sqrt-prod
prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp
pow-prod-down associate-/r/
associate-*r* associate-*l* div-inv add-log-exp
flip3-- flip-- associate-/l/
frac-2neg clear-num *-commutative
flip3-+ flip-+
Counts
4 → 157
Calls
4 calls:
5.0ms
(* 3.0 (* a c))
5.0ms
(* (* 3.0 a) c)
15.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
17.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series109.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* 3.0 (* a c))
3.0ms
(* (* 3.0 a) c)
58.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
44.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify118.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
06282481
133222152
250022149

prune319.0ms

Filtered
104 candidates to 169 candidates (-62.5%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New15613169
Fresh505
Picked101
Done101
Total16313176

Merged error: 0.0b

Counts
176 → 13

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(* 3.0 (* a c))
0.3b
(* (* 3.0 a) c)
0.4b
(* (/ (* 3.0 a) (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.4b
(/ (* 3.0 a) (* 3.0 (* a c)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
64×add-exp-log add-cbrt-cube
31×prod-exp cbrt-unprod
16×pow1
14×add-sqr-sqrt
12×cbrt-undiv *-un-lft-identity div-exp
11×associate-*r*
associate-*l*
add-cube-cbrt
pow-prod-down
add-log-exp
*-commutative
distribute-rgt-in frac-times sub-neg flip3-- distribute-lft-in times-frac associate-*r/ flip-- div-inv distribute-lft-out-- difference-of-squares
distribute-rgt-neg-in frac-2neg associate-*l/ clear-num associate-/r* sqrt-prod associate-/l* unswap-sqr
Counts
4 → 106
Calls
4 calls:
5.0ms
(* 3.0 (* a c))
5.0ms
(* (* 3.0 a) c)
20.0ms
(* (/ (* 3.0 a) (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
7.0ms
(/ (* 3.0 a) (* 3.0 (* a c)))

series35.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* 3.0 (* a c))
3.0ms
(* (* 3.0 a) c)
26.0ms
(* (/ (* 3.0 a) (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
2.0ms
(/ (* 3.0 a) (* 3.0 (* a c)))

simplify114.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (103.0ms)

IterNodesCost
05541160
14000791
25002699

prune171.0ms

Filtered
65 candidates to 118 candidates (-81.5%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1162118
Fresh3912
Picked011
Done000
Total11912131

Merged error: 0b

Counts
131 → 12

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) c)
0.2b
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
0.3b
(/ 1 (pow (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) c) 1))
0.3b
(* (* 3.0 a) c)

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
192×times-frac
163×add-sqr-sqrt *-un-lft-identity
100×unpow-prod-down
95×add-cube-cbrt
34×distribute-lft-out-- difference-of-squares
32×associate-/r*
27×add-exp-log
17×distribute-rgt-neg-in sqrt-prod
13×add-cbrt-cube
12×div-exp
10×associate-/l*
pow1
add-log-exp
pow-exp div-inv
rec-exp 1-exp sqr-pow
pow-to-exp associate-*r* pow-prod-down prod-exp cbrt-unprod
cbrt-undiv flip3-- frac-2neg diff-log clear-num flip-- associate-/l/
associate--l- neg-sub0 sub-neg pow-flip div-sub associate-*l* neg-log *-commutative inv-pow
Counts
4 → 226
Calls
4 calls:
10.0ms
(/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) c)
8.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
17.0ms
(/ 1 (pow (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) c) 1))
5.0ms
(* (* 3.0 a) c)

series74.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) c)
15.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
37.0ms
(/ 1 (pow (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) c) 1))
4.0ms
(* (* 3.0 a) c)

simplify100.0ms

Algorithm
egg-herbie
Counts
238 → 238
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
07203519
133403048
250032914

prune236.0ms

Filtered
107 candidates to 238 candidates (-122.4%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2353238
Fresh3710
Picked101
Done011
Total23911250

Merged error: 0b

Counts
250 → 11

regimes337.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02211
12211

end0.0ms

sample1.8s

Algorithm
intervals
sampling

Space saved by range analysis: 99.999783%

Space saved by search: 99.999887%

Guaranteed chance to sample good point: 88.012896%

Results
475.0ms4556×body160valid
260.0ms8565×pre80true
195.0ms3444×body80valid
29.0ms565×body80nan

Profiling

Loading profile data...