Details

Time bar (total: 4.2s)

sample50.0ms

Algorithm
intervals
Results
11.0ms205×body80valid
8.0ms29×body2560valid
7.0ms28×body1280valid
5.0ms94×body80nan
2.0ms12×body640valid
1.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.0b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
0.6b
(- (* b b) (* (* 4.0 a) c))
0.8b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite36.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:
17.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
4.0ms
(- (* b b) (* (* 4.0 a) c))
9.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series372.0ms

Counts
4 → 12
Calls
4 calls:
131.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
57.0ms
(- (* b b) (* (* 4.0 a) c))
97.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
85.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify56.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0405779
11563685
25001674

prune252.0ms

Filtered
82 candidates to 63 candidates (76.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New74882
Fresh000
Picked011
Done000
Total74983

Merged error: 6.0b

Counts
83 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (* 2.0 a) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
0.6b
(- (* b b) (* (* 4.0 a) c))
0.8b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
53×times-frac
45×*-un-lft-identity
26×add-sqr-sqrt
25×add-exp-log add-cube-cbrt
13×add-cbrt-cube
12×div-exp
11×associate-/r*
10×distribute-lft-out add-log-exp
associate-/r/
pow1
cbrt-undiv distribute-rgt-neg-in flip3-+ flip-+ div-inv
rec-exp 1-exp prod-exp sqrt-prod associate-/l*
flip3-- sqrt-div sum-log flip--
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 diff-log neg-log clear-num cbrt-unprod inv-pow
Counts
4 → 114
Calls
4 calls:
15.0ms
(/ 1 (/ (* 2.0 a) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
4.0ms
(- (* b b) (* (* 4.0 a) c))
9.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series421.0ms

Counts
4 → 12
Calls
4 calls:
173.0ms
(/ 1 (/ (* 2.0 a) (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
59.0ms
(- (* b b) (* (* 4.0 a) c))
98.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
90.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify79.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05251586
125701373
250011306

prune267.0ms

Filtered
126 candidates to 71 candidates (56.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1233126
Fresh257
Picked011
Done101
Total1269135

Merged error: 5.9b

Counts
135 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.3b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
9.8b
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
84×add-sqr-sqrt
83×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
14×sqrt-prod
11×distribute-rgt-neg-in
associate-/r* add-log-exp
cbrt-undiv div-exp
associate-/r/
pow1 flip3-- flip--
div-inv
associate-/l/
frac-2neg sqrt-div diff-log prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 154
Calls
4 calls:
9.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
14.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series573.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
173.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
218.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
89.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify129.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (101.0ms)

IterNodesCost
06512692
131012439
250012426

prune434.0ms

Filtered
166 candidates to 110 candidates (66.3%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1642166
Fresh257
Picked011
Done011
Total1669175

Merged error: 5.9b

Counts
175 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.1b
(/ 2.0 (* a c))
16.5b
(* (/ 4.0 (/ 2.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) a))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
191×times-frac
151×add-sqr-sqrt
124×*-un-lft-identity
99×add-exp-log
85×associate-*r*
82×add-cube-cbrt
63×add-cbrt-cube
51×div-exp
29×cbrt-undiv
26×associate-*l* prod-exp
20×distribute-lft-out-- difference-of-squares
16×cbrt-unprod
13×sqrt-prod
10×distribute-rgt-neg-in
div-inv
add-log-exp unswap-sqr
pow1 associate-/r/
flip3-- flip--
rec-exp 1-exp
associate-/l*
sqrt-div diff-log
associate--l- neg-sub0 frac-times sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 associate-*r/ pow-prod-down neg-log associate-*l/ clear-num associate-/r* *-commutative
Counts
4 → 217
Calls
4 calls:
9.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
5.0ms
(/ 2.0 (* a c))
62.0ms
(* (/ 4.0 (/ 2.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) a))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series390.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
25.0ms
(/ 2.0 (* a c))
181.0ms
(* (/ 4.0 (/ 2.0 (* a c))) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) a))
88.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify63.0ms

Algorithm
egg-herbie
Counts
229 → 229
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
013333208
150012733

prune565.0ms

Filtered
229 candidates to 141 candidates (61.6%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New2290229
Fresh066
Picked011
Done022
Total2299238

Merged error: 5.9b

Counts
238 → 9

regimes213.0ms

bsearch4.0ms

Profiling

Loading profile data...