Details

Time bar (total: 4.7s)

sample590.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 99.999887%

Space saved by search: 99.999783%

Guaranteed chance to sample good point: 0%

Results
15.0ms142×body160valid
8.0ms273×pre80true
6.0ms114×body80valid
1.0ms17×body80nan

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.6b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.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:
3.0ms
(- (* b b) (* (* 3.0 a) c))
5.0ms
(* (* 3.0 a) c)
11.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series56.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0417711
11922611
25001602

prune125.0ms

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

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New79685
Fresh000
Picked101
Done000
Total80686

Merged error: 0.5b

Counts
86 → 6

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.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)
12.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
5.0ms
(* 3.0 (* a c))
17.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series110.0ms

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

simplify116.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
06282481
133222152
250022149

prune306.0ms

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

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New15613169
Fresh415
Picked101
Done000
Total16114175

Merged error: 0.0b

Counts
175 → 14

localize12.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.4b
(/ (/ (+ 0 (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

rewrite45.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
associate-*r* pow-prod-down associate-/r/
div-inv add-log-exp
flip3-- flip-- associate-/l/
frac-2neg associate-*l* clear-num *-commutative
flip3-+ flip-+
Counts
4 → 157
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
5.0ms
(* (* 3.0 a) c)
12.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))

series111.0ms

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

simplify105.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
05712482
130602153
250032150

prune285.0ms

Filtered
103 candidates to 169 candidates (-64.1%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1645169
Fresh6713
Picked101
Done000
Total17112183

Merged error: 0b

Counts
183 → 12

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
353×times-frac
268×add-sqr-sqrt
242×*-un-lft-identity
152×add-cube-cbrt
108×add-exp-log
88×associate-*r*
68×add-cbrt-cube
55×div-exp
44×distribute-lft-out-- difference-of-squares
30×cbrt-undiv
28×prod-exp
27×associate-*l* associate-/l*
22×distribute-rgt-neg-in sqrt-prod
18×cbrt-unprod
15×associate-/r/
13×div-inv
11×pow1
flip3-- flip-- add-log-exp unswap-sqr
rec-exp 1-exp
pow-prod-down
associate-/r*
diff-log *-commutative
associate--l- neg-sub0 frac-times sub-neg frac-2neg associate-*r/ neg-log associate-*l/ clear-num associate-/l/
Counts
4 → 327
Calls
4 calls:
15.0ms
(/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
11.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
5.0ms
(* (* 3.0 a) c)
55.0ms
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))

series103.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
16.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
3.0ms
(* (* 3.0 a) c)
49.0ms
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))

simplify78.0ms

Algorithm
egg-herbie
Counts
339 → 339
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
014945393
150014703

prune519.0ms

Filtered
190 candidates to 339 candidates (-78.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New3363339
Fresh4711
Picked101
Done000
Total34110351

Merged error: 0b

Counts
351 → 10

regimes255.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02715
12915
22915

end0.0ms

sample1.6s

Algorithm
intervals
sampling

Space saved by range analysis: 99.999887%

Space saved by search: 99.999783%

Guaranteed chance to sample good point: 0%

Results
416.0ms4451×body160valid
259.0ms8588×pre80true
179.0ms3549×body80valid
28.0ms588×body80nan

Profiling

Loading profile data...