Details

Time bar (total: 3.4s)

analyze1.0s

Algorithm
search
sampling

Space saved by range analysis: 0.146413%

Space saved by search: 25.512052%

Guaranteed chance to sample good point: 74.783178%

sample45.0ms

Algorithm
intervals
Results
12.0ms32×body2560valid
8.0ms169×body80valid
7.0ms28×body1280valid
3.0ms15×body640valid
1.0msbody5120valid
1.0ms18×body80nan
1.0msbody320valid
1.0ms14×body80invalid
0.0msbody160valid

simplify9.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: 34.5b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
1.2b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.6b
(- (* b b) (* (* 3.0 a) c))
22.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
10×add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
distribute-lft-out
pow1 times-frac associate-/l*
distribute-rgt-neg-in sqrt-prod
cbrt-undiv neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div div-exp sum-log flip-- flip-+ associate-/l/
+-commutative sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 70
Calls
4 calls:
11.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
3.0ms
(- (* b b) (* (* 3.0 a) c))
3.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series67.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0391774
11518684
25001674

prune180.0ms

Filtered
63 candidates to 82 candidates (-30.2%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New701282
Fresh000
Picked101
Done000
Total711283

Merged error: 6.5b

Counts
83 → 12

localize14.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (* b b) (* (* 3.0 a) c))
3.3b
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))
11.3b
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
22.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt
79×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
20×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
13×sqrt-prod
10×distribute-rgt-neg-in
associate-/r*
cbrt-undiv div-exp
associate-/r/ add-log-exp
pow1 flip3-- flip--
div-inv
associate-/l/
frac-2neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 diff-log flip-+
Counts
4 → 148
Calls
4 calls:
3.0ms
(- (* 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))
12.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
3.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series128.0ms

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

simplify113.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
06342580
131612341
250012328

prune292.0ms

Filtered
106 candidates to 160 candidates (-50.9%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1564160
Fresh3811
Picked101
Done000
Total16012172

Merged error: 6.4b

Counts
172 → 12

localize17.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (* b b) (* (* 3.0 a) c))
3.3b
(/ (/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) a)
11.3b
(/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
22.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
54×add-exp-log add-cbrt-cube
26×times-frac
19×cbrt-undiv div-exp
18×add-sqr-sqrt prod-exp cbrt-unprod
17×add-cube-cbrt *-un-lft-identity
10×associate-*r/ associate-/r/
associate-/l*
flip3-- flip--
div-inv add-log-exp
pow1
associate-/r*
sqrt-prod
frac-2neg sqrt-div clear-num
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-/l/
Counts
4 → 110
Calls
4 calls:
3.0ms
(- (* b b) (* (* 3.0 a) c))
15.0ms
(/ (/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))) a)
13.0ms
(/ (* 3.0 (* a c)) (* 3.0 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
3.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series128.0ms

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

simplify123.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (107.0ms)

IterNodesCost
06791938
144781484
250011443

prune190.0ms

Filtered
81 candidates to 122 candidates (-50.6%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1202122
Fresh3811
Picked101
Done000
Total12410134

Merged error: 6.4b

Counts
134 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (* b b) (* (* 3.0 a) c))
3.3b
(/ (/ (* a c) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
11.0b
(/ (* a c) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
22.0b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
74×times-frac
54×add-sqr-sqrt
53×*-un-lft-identity
29×add-cube-cbrt
18×add-exp-log add-cbrt-cube
14×associate-/l*
12×distribute-lft-out-- difference-of-squares
10×associate-/r* associate-/r/
sqrt-prod
cbrt-undiv flip3-- div-exp flip--
distribute-rgt-neg-in div-inv add-log-exp
pow1
frac-2neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-/l/
Counts
4 → 130
Calls
4 calls:
3.0ms
(- (* b b) (* (* 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)))))
3.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series123.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
05911957
128961749
250011733

prune214.0ms

Filtered
98 candidates to 142 candidates (-44.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1411142
Fresh189
Picked101
Done000
Total1439152

Merged error: 6.4b

Counts
152 → 9

regimes442.0ms

bsearch2.0ms

Profiling

Loading profile data...