Details

Time bar (total: 4.9s)

sample79.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 99.998264%

Space saved by search: 99.998264%

Guaranteed chance to sample good point: 0%

Results
17.0ms298×body80nan
16.0ms554×pre80true
15.0ms156×body160valid
7.0ms47×body320valid
3.0ms53×body80valid

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

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))
40.3b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

rewrite33.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)
14.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)
26.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
15.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

prune126.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New80585
Fresh000
Picked101
Done000
Total81586

Merged error: 0.3b

Counts
86 → 5

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

rewrite47.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)
13.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))

series112.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* (* 3.0 a) c)
58.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))

simplify114.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (93.0ms)

IterNodesCost
06282481
133222152
250022149

prune294.0ms

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

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New15910169
Fresh314
Picked101
Done000
Total16311174

Merged error: 0b

Counts
174 → 11

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite113.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)
62.0ms
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))

series93.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(/ 3.0 (/ 3.0 (* a c)))
3.0ms
(* (* 3.0 a) c)
36.0ms
(/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
50.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 (32.0ms)

IterNodesCost
015265405
150014609

prune834.0ms

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

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New3672369
Fresh3710
Picked101
Done000
Total3719380

Merged error: 0b

Counts
380 → 9

localize13.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
(/ (/ (* 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
53×add-sqr-sqrt *-un-lft-identity
29×add-cube-cbrt
23×add-exp-log add-cbrt-cube
14×associate-/l*
12×distribute-lft-out-- difference-of-squares
10×associate-/r* associate-/r/
pow1
cbrt-undiv div-exp
flip3-- distribute-rgt-neg-in sqrt-prod flip-- div-inv add-log-exp
prod-exp cbrt-unprod
associate-*r* pow-prod-down
frac-2neg clear-num
sub-neg diff-log associate-*l* *-commutative associate-/l/
Counts
4 → 133
Calls
4 calls:
3.0ms
(- (* b b) (* (* 3.0 a) c))
7.0ms
(* (* 3.0 a) c)
14.0ms
(/ (/ (* a c) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
11.0ms
(/ (* a c) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))

series112.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
06121894
131561677
250011661

prune188.0ms

Filtered
95 candidates to 145 candidates (-52.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1450145
Fresh088
Picked011
Done000
Total1459154

Merged error: 0b

Counts
154 → 9

regimes211.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
01710
11710

end0.0ms

sample2.1s

Algorithm
intervals
sampling

Space saved by range analysis: 99.998264%

Space saved by search: 99.998264%

Guaranteed chance to sample good point: 0%

Results
481.0ms4936×body160valid
471.0ms16253×pre80true
396.0ms8253×body80nan
200.0ms1367×body320valid
86.0ms1697×body80valid

Profiling

Loading profile data...