Details

Time bar (total: 2.8s)

analyze1.1s

Algorithm
search
sampling

Space saved by range analysis: 0.146413%

Space saved by search: 25.512052%

Guaranteed chance to sample good point: 74.774996%

sample43.0ms

Algorithm
intervals
Results
10.0ms32×body2560valid
9.0ms170×body80valid
7.0ms28×body1280valid
3.0ms15×body640valid
1.0msbody5120valid
1.0ms18×body80nan
1.0ms14×body80invalid
1.0msbody320valid
0.0msbody160valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.5b

Counts
2 → 1

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
1.2b
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
1.6b
(- (* b b) (* 4.0 (* a c)))
21.1b
(sqrt (- (* b b) (* 4.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) (* 4.0 (* a c))))) (* 2.0 a))
7.0ms
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
3.0ms
(- (* b b) (* 4.0 (* a c)))
3.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series64.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
15.0ms
(+ (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
8.0ms
(- (* b b) (* 4.0 (* a c)))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify44.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0394773
11501683
25002673

prune164.0ms

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

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New721082
Fresh000
Picked011
Done000
Total721183

Merged error: 6.7b

Counts
83 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (* b b) (* 4.0 (* a c)))
3.3b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))) (* 2.0 a))
11.5b
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))))
21.1b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite43.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) (* 4.0 (* a c)))
16.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))) (* 2.0 a))
12.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))))
3.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series124.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* b b) (* 4.0 (* a c)))
44.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))) (* 2.0 a))
56.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify99.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
06262580
129912341
250032328

prune266.0ms

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

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1573160
Fresh369
Picked101
Done011
Total16110171

Merged error: 6.6b

Counts
171 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
1.6b
(- (* b b) (* 4.0 (* a c)))
16.0b
(/ (* 2.0 a) (* 4.0 (* a c)))
21.1b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite24.0ms

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

series42.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
8.0ms
(- (* b b) (* 4.0 (* a c)))
2.0ms
(/ (* 2.0 a) (* 4.0 (* a c)))
16.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify56.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0410626
12230543
25001535

prune120.0ms

Filtered
55 candidates to 82 candidates (-49.1%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New81182
Fresh178
Picked101
Done011
Total83992

Merged error: 6.6b

Counts
92 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ 1 (* (/ 0.5 c) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
1.0b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
1.6b
(- (* b b) (* 4.0 (* a c)))
21.1b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log
13×add-cbrt-cube
12×add-sqr-sqrt
11×*-un-lft-identity
10×add-log-exp
div-exp
pow1
add-cube-cbrt
prod-exp
flip3-- associate-/r/ flip--
cbrt-undiv sqrt-prod
rec-exp times-frac diff-log 1-exp associate-/l*
frac-times sub-neg pow-flip sqrt-div associate-*r/ cbrt-unprod distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 rem-sqrt-square distribute-rgt-neg-in frac-2neg sqrt-pow1 pow1/2 pow-prod-down neg-log associate-*l/ clear-num associate-/r* div-inv inv-pow
Counts
4 → 82
Calls
4 calls:
13.0ms
(/ 1 (* (/ 0.5 c) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
8.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
3.0ms
(- (* b b) (* 4.0 (* a c)))
5.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series87.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(/ 1 (* (/ 0.5 c) (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
15.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
8.0ms
(- (* b b) (* 4.0 (* a c)))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify49.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0437925
11833796
25002783

prune104.0ms

Filtered
61 candidates to 94 candidates (-54.1%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New92294
Fresh347
Picked011
Done011
Total958103

Merged error: 6.6b

Counts
103 → 8

regimes328.0ms

bsearch0.0ms

Profiling

Loading profile data...