Details

Time bar (total: 7.4s)

sample1.8s

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
16.0ms168×body160valid
8.0ms273×pre80true
5.0ms37×body320valid
3.0ms51×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: 44.7b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (* 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))
39.6b
(+ (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))))

series53.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(- (* b b) (* (* 3.0 a) c))
3.0ms
(* (* 3.0 a) c)
24.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
14.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify52.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0417711
11922611
25001602

prune113.0ms

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New82385
Fresh000
Picked101
Done000
Total83386

Merged error: 0.2b

Counts
86 → 3

localize14.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
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))
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))

series104.0ms

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

simplify115.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
06282481
133222152
250022149

prune298.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1636169
Fresh112
Picked101
Done000
Total1657172

Merged error: 0.0b

Counts
172 → 7

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite99.0ms

Algorithm
rewrite-expression-head
Rules
386×times-frac
280×add-sqr-sqrt
254×*-un-lft-identity
168×add-cube-cbrt
117×add-exp-log
88×associate-*r*
77×add-cbrt-cube
60×div-exp
42×distribute-lft-out-- difference-of-squares
35×cbrt-undiv
30×associate-/l*
29×prod-exp
27×associate-*l*
21×distribute-rgt-neg-in sqrt-prod
19×cbrt-unprod
18×div-inv
16×associate-/r/
11×pow1
10×associate-/r*
unswap-sqr
flip3-- flip--
rec-exp 1-exp
pow-prod-down add-log-exp
frac-2neg clear-num *-commutative
frac-times associate-*r/ associate-*l/ associate-/l/
Counts
4 → 357
Calls
4 calls:
6.0ms
(/ 3.0 (/ 3.0 (* a c)))
5.0ms
(* (* 3.0 a) c)
16.0ms
(/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
51.0ms
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))

series87.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
369 → 369
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
015265405
150014609

prune660.0ms

Filtered
212 candidates to 369 candidates (-74.1%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New3672369
Fresh156
Picked011
Done000
Total3688376

Merged error: 0b

Counts
376 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.0ms

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

series113.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
3.0ms
(* (* 3.0 a) c)
39.0ms
(/ (/ (* a c) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
55.0ms
(/ (* a c) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))

simplify79.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06012012
129631782
250021766

prune188.0ms

Filtered
101 candidates to 151 candidates (-49.5%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1501151
Fresh156
Picked011
Done101
Total1527159

Merged error: 0b

Counts
159 → 7

regimes166.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02011
12211
22211

end0.0ms

sample3.2s

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
484.0ms4838×body160valid
250.0ms8473×pre80true
198.0ms1349×body320valid
94.0ms1813×body80valid
25.0ms473×body80nan

Profiling

Loading profile data...