Details

Time bar (total: 5.8s)

sample639.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
16.0ms158×body160valid
8.0ms277×pre80true
7.0ms47×body320valid
3.0ms51×body80valid
1.0ms21×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: 44.9b

Counts
2 → 1

localize11.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.4b
(+ (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:
4.0ms
(- (* b b) (* (* 3.0 a) c))
5.0ms
(* (* 3.0 a) c)
12.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
10.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))))

simplify58.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0417711
11911611
25001602

prune125.0ms

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

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New80585
Fresh000
Picked011
Done000
Total80686

Merged error: 0.2b

Counts
86 → 6

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

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

series107.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)))))
44.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 (95.0ms)

IterNodesCost
06282481
133222152
250022149

prune286.0ms

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

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1618169
Fresh314
Picked101
Done101
Total1669175

Merged error: 0b

Counts
175 → 9

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 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))

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
356×times-frac
266×add-sqr-sqrt
240×*-un-lft-identity
154×add-cube-cbrt
113×add-exp-log
88×associate-*r*
73×add-cbrt-cube
57×div-exp
42×distribute-lft-out-- difference-of-squares
32×cbrt-undiv
30×associate-/l*
29×prod-exp
27×associate-*l*
21×distribute-rgt-neg-in sqrt-prod
19×cbrt-unprod
15×associate-/r/
14×div-inv
11×pow1
unswap-sqr
flip3-- flip--
rec-exp 1-exp
pow-prod-down associate-/r* add-log-exp
frac-2neg clear-num *-commutative
frac-times associate-*r/ associate-*l/ associate-/l/
Counts
4 → 330
Calls
4 calls:
4.0ms
(/ 3.0 (* a c))
5.0ms
(* (* 3.0 a) c)
15.0ms
(/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
59.0ms
(* (/ 3.0 (/ 3.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))

series90.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
342 → 342
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
014645263
150014574

prune544.0ms

Filtered
191 candidates to 342 candidates (-79.1%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New3420342
Fresh088
Picked011
Done000
Total3429351

Merged error: 0b

Counts
351 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite115.0ms

Algorithm
rewrite-expression-head
Rules
880×times-frac
381×add-sqr-sqrt *-un-lft-identity
237×add-cube-cbrt
203×add-exp-log
122×div-exp
120×associate-/l*
95×add-cbrt-cube
72×distribute-lft-out-- difference-of-squares
51×cbrt-undiv
39×prod-exp
36×distribute-rgt-neg-in sqrt-prod
31×associate-/r*
27×div-inv
17×cbrt-unprod
15×rec-exp 1-exp
10×pow1
add-log-exp
frac-2neg associate-*r* pow-prod-down clear-num associate-/r/
div-sub associate-/l/
pow-flip associate-*l* *-commutative inv-pow
Counts
4 → 481
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
19.0ms
(/ 1 (/ (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) 3.0) (* a c)))
18.0ms
(/ (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) 3.0) (* a c))
31.0ms
(/ (/ 1 (/ (/ (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) 3.0) (* a c))) (* 3.0 a))

series101.0ms

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

simplify113.0ms

Algorithm
egg-herbie
Counts
493 → 493
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
017368727
150017883

prune878.0ms

Filtered
243 candidates to 493 candidates (-102.9%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New4930493
Fresh077
Picked011
Done011
Total4939502

Merged error: 0b

Counts
502 → 9

regimes216.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02413
12413

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
514.0ms4877×body160valid
256.0ms8508×pre80true
215.0ms1378×body320valid
94.0ms1745×body80valid
26.0ms508×body80nan

Profiling

Loading profile data...