Details

Time bar (total: 4.7s)

sample694.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 99.999783%

Space saved by search: 99.999887%

Guaranteed chance to sample good point: 88.012896%

Results
14.0ms147×body160valid
8.0ms270×pre80true
5.0ms109×body80valid
1.0ms14×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: 29.1b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.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:
5.0ms
(* (* 3.0 a) c)
3.0ms
(- (* b b) (* (* 3.0 a) c))
13.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
7.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series54.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (* 3.0 a) c)
9.0ms
(- (* b b) (* (* 3.0 a) c))
26.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
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
25001602

prune132.0ms

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

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New79685
Fresh000
Picked101
Done000
Total80686

Merged error: 0.5b

Counts
86 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (neg b) (sqrt (- (* b b) (* (* 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))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
83×add-sqr-sqrt *-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
23×add-exp-log add-cbrt-cube
22×distribute-lft-out-- difference-of-squares
11×distribute-rgt-neg-in sqrt-prod
pow1
associate-/r* add-log-exp
cbrt-undiv div-exp
associate-/r/
prod-exp cbrt-unprod
flip3-- flip-- div-inv
associate-*l* pow-prod-down associate-/l/
frac-2neg diff-log clear-num
associate--l- neg-sub0 sub-neg flip3-+ associate-*r* neg-log *-commutative flip-+
Counts
4 → 157
Calls
4 calls:
8.0ms
(- (neg b) (sqrt (- (* b b) (* (* 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))

series122.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(- (neg b) (sqrt (- (* b b) (* (* 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))
45.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify100.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
06322625
129362302
250032290

prune306.0ms

Filtered
107 candidates to 169 candidates (-57.9%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New15910169
Fresh505
Picked101
Done000
Total16510175

Merged error: 0.0b

Counts
175 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* b b) (* (* 3.0 a) c))
0.3b
(- (neg b) (sqrt (- (* b b) (* (* 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
82×add-sqr-sqrt *-un-lft-identity
38×add-cube-cbrt
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
11×distribute-rgt-neg-in sqrt-prod
10×add-log-exp
associate-/r*
cbrt-undiv div-exp
associate-/r/
flip3-- flip--
pow1 div-inv
diff-log associate-/l/
sub-neg frac-2neg prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 flip3-+ neg-log flip-+
Counts
4 → 151
Calls
4 calls:
3.0ms
(- (* b b) (* (* 3.0 a) c))
8.0ms
(- (neg b) (sqrt (- (* b b) (* (* 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))

series129.0ms

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

simplify108.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
06332666
130942409
250022397

prune298.0ms

Filtered
106 candidates to 163 candidates (-53.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1603163
Fresh459
Picked011
Done000
Total1649173

Merged error: 0.0b

Counts
173 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
152×add-exp-log
92×add-cbrt-cube
73×prod-exp
46×div-exp
41×cbrt-unprod
26×cbrt-undiv
18×add-sqr-sqrt
16×*-un-lft-identity
pow1
add-cube-cbrt rec-exp 1-exp add-log-exp
associate-*r*
flip3-- times-frac associate-*l* associate-/r/ flip--
frac-times associate-*r/ associate-/l* distribute-lft-out-- difference-of-squares
sub-neg div-inv
distribute-rgt-in pow-flip distribute-rgt-neg-in frac-2neg distribute-lft-in diff-log pow-prod-down associate-*l/ clear-num associate-/r* sqrt-prod
associate--l- neg-sub0 neg-log *-commutative inv-pow unswap-sqr
Counts
4 → 145
Calls
4 calls:
17.0ms
(/ 1 (* (/ (* 3.0 a) (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
8.0ms
(- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
7.0ms
(/ (* 3.0 a) (* (* 3.0 a) c))
17.0ms
(* (/ (* 3.0 a) (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))

series92.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
07742189
150011361

prune159.0ms

Filtered
78 candidates to 157 candidates (-101.3%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1570157
Fresh077
Picked011
Done011
Total1579166

Merged error: 0.0b

Counts
166 → 9

regimes312.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
01813
12013
22013

end0.0ms

sample1.9s

Algorithm
intervals
sampling

Space saved by range analysis: 99.999783%

Space saved by search: 99.999887%

Guaranteed chance to sample good point: 88.012896%

Results
448.0ms4557×body160valid
259.0ms8603×pre80true
176.0ms3442×body80valid
35.0ms603×body80nan
0.0msbody320valid

Profiling

Loading profile data...