Details

Time bar (total: 4.8s)

sample692.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 99.998264%

Space saved by search: 99.999091%

Guaranteed chance to sample good point: 88.065532%

Results
15.0ms151×body160valid
11.0ms271×pre80true
5.0ms37×body320valid
3.0ms68×body80valid
1.0ms15×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: 42.4b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.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))
7.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))
3.0ms
(* (* 3.0 a) c)
28.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
16.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify54.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0417711
11922611
25001602

prune114.0ms

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New83285
Fresh000
Picked011
Done000
Total83386

Merged error: 0.3b

Counts
86 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 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)))))
6.0ms
(* 3.0 (* a c))
16.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:
3.0ms
(* (* 3.0 a) c)
59.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
3.0ms
(* 3.0 (* a c))
44.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify119.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (97.0ms)

IterNodesCost
06282481
133222152
250022149

prune324.0ms

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

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New15811169
Fresh011
Picked101
Done101
Total16012172

Merged error: 0.0b

Counts
172 → 12

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3.0 a) c)
0.2b
(* (* 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))

rewrite46.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)
7.0ms
(* (* 3.0 a) c)
12.0ms
(/ (+ 0 (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
16.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:
3.0ms
(* (* 3.0 a) c)
3.0ms
(* (* 3.0 a) c)
59.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))

simplify105.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
05712482
130602153
250032150

prune273.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1654169
Fresh8311
Picked101
Done000
Total1747181

Merged error: 0b

Counts
181 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
55×add-exp-log add-cbrt-cube
34×times-frac
28×add-sqr-sqrt *-un-lft-identity
19×prod-exp cbrt-unprod
17×cbrt-undiv div-exp
14×pow1 associate-/l*
12×add-cube-cbrt
associate-/r* distribute-lft-out-- difference-of-squares
associate-*r* pow-prod-down associate-/r/
distribute-rgt-neg-in sqrt-prod div-inv add-log-exp
flip3-- flip--
frac-2neg associate-*l* clear-num *-commutative
associate-/l/
Counts
4 → 123
Calls
4 calls:
4.0ms
(* (* 3.0 a) c)
5.0ms
(* (* 3.0 a) c)
14.0ms
(/ (* (* 3.0 a) c) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
15.0ms
(/ (/ (* (* 3.0 a) c) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series110.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05251677
132721299
250011299

prune153.0ms

Filtered
76 candidates to 135 candidates (-77.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1350135
Fresh066
Picked011
Done000
Total1357142

Merged error: 0b

Counts
142 → 7

regimes266.0ms

Accuracy

0% (0.4b 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
01512
11512

end0.0ms

sample2.0s

Algorithm
intervals
sampling

Space saved by range analysis: 99.998264%

Space saved by search: 99.999091%

Guaranteed chance to sample good point: 88.065532%

Results
475.0ms4849×body160valid
262.0ms8469×pre80true
194.0ms1315×body320valid
94.0ms1836×body80valid
25.0ms469×body80nan

Profiling

Loading profile data...