Details

Time bar (total: 5.1s)

sample890.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 99.986886%

Space saved by search: 99.993135%

Guaranteed chance to sample good point: 88.065532%

Results
15.0ms104×body320valid
10.0ms98×body160valid
8.0ms268×pre80true
4.0ms22×body640valid
2.0ms32×body80valid
1.0ms12×body80nan

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 51.7b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

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

series57.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* b b) (* (* 3.0 a) c))
28.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
4.0ms
(* (* 3.0 a) c)
16.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
25002602

prune121.0ms

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New82385
Fresh000
Picked011
Done000
Total82486

Merged error: 0.2b

Counts
86 → 4

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

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

prune283.0ms

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

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1627169
Fresh112
Picked101
Done101
Total1658173

Merged error: 0.0b

Counts
173 → 8

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

rewrite44.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)))))
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)
56.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))

simplify107.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
05712482
130602153
250032150

prune271.0ms

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

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1681169
Fresh167
Picked011
Done000
Total1698177

Merged error: 0.0b

Counts
177 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
157×add-exp-log
97×add-cbrt-cube
76×prod-exp
46×div-exp
44×cbrt-unprod
26×cbrt-undiv
15×add-sqr-sqrt
14×pow1
13×*-un-lft-identity
10×associate-*r*
add-cube-cbrt
rec-exp 1-exp
associate-*l*
times-frac pow-prod-down associate-/r/
frac-times flip3-- associate-*r/ flip-- associate-/l* add-log-exp
div-inv
distribute-rgt-in sub-neg pow-flip frac-2neg distribute-lft-in associate-*l/ clear-num associate-/r* *-commutative distribute-lft-out-- difference-of-squares
distribute-rgt-neg-in sqrt-prod inv-pow unswap-sqr
Counts
4 → 145
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
17.0ms
(* (/ (* 3.0 a) (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
17.0ms
(/ 1 (* (/ (* 3.0 a) (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
7.0ms
(/ (* 3.0 a) (* (* 3.0 a) c))

series79.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
07442045
150011212

prune146.0ms

Filtered
75 candidates to 157 candidates (-109.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1543157
Fresh336
Picked101
Done011
Total1587165

Merged error: 0b

Counts
165 → 7

regimes273.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0148
1148

end0.0ms

sample2.2s

Algorithm
intervals
sampling

Space saved by range analysis: 99.986886%

Space saved by search: 99.993135%

Guaranteed chance to sample good point: 88.065532%

Results
532.0ms3578×body320valid
288.0ms2927×body160valid
255.0ms8438×pre80true
105.0ms537×body640valid
50.0ms958×body80valid
21.0ms438×body80nan

Profiling

Loading profile data...