Details

Time bar (total: 2.5m)

sample1.5m

Algorithm
intervals
Results
24.0ms360×body80valid
6.0ms149×body80nan

simplify101.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (4.0ms)

IterNodesCost
0247
1487
2966
32566
48916
539636
650026

prune10.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 2.8b

Counts
2 → 2

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* a (pow k m))
0.0b
(+ 1.0 (* 10.0 k))
0.0b
(+ (+ 1.0 (* 10.0 k)) (* k k))
2.8b
(/ (* a (pow k m)) (+ (+ 1.0 (* 10.0 k)) (* k k)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log
14×add-sqr-sqrt
11×add-cbrt-cube add-log-exp
add-cube-cbrt *-un-lft-identity
associate-*r*
prod-exp
pow1 unpow-prod-down div-exp sum-log
flip3-+ times-frac associate-*l* associate-/r* flip-+ unswap-sqr
cbrt-undiv +-commutative pow-to-exp pow-exp associate-/r/ cbrt-unprod sqr-pow
associate-+l+ frac-2neg clear-num *-commutative div-inv associate-/l*
Counts
4 → 74
Calls
4 calls:
5.0ms
(* a (pow k m))
2.0ms
(+ 1.0 (* 10.0 k))
4.0ms
(+ (+ 1.0 (* 10.0 k)) (* k k))
8.0ms
(/ (* a (pow k m)) (+ (+ 1.0 (* 10.0 k)) (* k k)))

series52.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(* a (pow k m))
3.0ms
(+ 1.0 (* 10.0 k))
3.0ms
(+ (+ 1.0 (* 10.0 k)) (* k k))
32.0ms
(/ (* a (pow k m)) (+ (+ 1.0 (* 10.0 k)) (* k k)))

simplify55.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0471611
12227545
25002538

prune100.0ms

Filtered
86 candidates to 63 candidates (26.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New85186
Fresh011
Picked101
Done000
Total86288

Merged error: 2.8b

Counts
88 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* k (+ 10.0 k)) 1.0)
0.0b
(* k (+ 10.0 k))
0.2b
(/ (pow k m) (+ (* k (+ 10.0 k)) 1.0))
2.7b
(* (/ (pow k m) (+ (* k (+ 10.0 k)) 1.0)) a)

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt
45×times-frac
39×*-un-lft-identity
37×add-cube-cbrt
30×associate-*l*
22×unpow-prod-down
21×add-exp-log
13×add-cbrt-cube
pow1 sqr-pow
associate-*r* associate-/l*
div-exp add-log-exp
prod-exp unswap-sqr
flip3-+ associate-/r/ flip-+
associate-/r* cbrt-unprod
cbrt-undiv distribute-rgt-in pow-to-exp associate-+l+ distribute-lft-in associate-*r/ pow-prod-down pow-exp *-commutative div-inv
+-commutative frac-2neg associate-*l/ clear-num sum-log distribute-lft-out
Counts
4 → 133
Calls
4 calls:
6.0ms
(+ (* k (+ 10.0 k)) 1.0)
5.0ms
(* k (+ 10.0 k))
10.0ms
(/ (pow k m) (+ (* k (+ 10.0 k)) 1.0))
13.0ms
(* (/ (pow k m) (+ (* k (+ 10.0 k)) 1.0)) a)

series51.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(+ (* k (+ 10.0 k)) 1.0)
4.0ms
(* k (+ 10.0 k))
15.0ms
(/ (pow k m) (+ (* k (+ 10.0 k)) 1.0))
28.0ms
(* (/ (pow k m) (+ (* k (+ 10.0 k)) 1.0)) a)

simplify70.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06371201
126511127
250011126

prune173.0ms

Filtered
145 candidates to 110 candidates (24.1%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1450145
Fresh011
Picked011
Done000
Total1452147

Merged error: 2.8b

Counts
147 → 2

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ 1.0 (* 10.0 k)) (* k k))
0.0b
(* (/ a (sqrt (+ (+ 1.0 (* 10.0 k)) (* k k)))) (/ (pow k m) (sqrt (+ (+ 1.0 (* 10.0 k)) (* k k)))))
17.8b
(sqrt (+ (+ 1.0 (* 10.0 k)) (* k k)))
17.8b
(sqrt (+ (+ 1.0 (* 10.0 k)) (* k k)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
116×add-sqr-sqrt
92×times-frac
52×sqrt-prod
48×associate-*r*
46×add-cube-cbrt *-un-lft-identity
28×add-exp-log
24×unpow-prod-down associate-*l*
21×unswap-sqr
16×add-cbrt-cube
12×sqr-pow
10×div-exp
add-log-exp
pow1 sqrt-div prod-exp
flip3-+ flip-+
cbrt-undiv associate-/r/ cbrt-unprod
sum-log
pow-to-exp rem-sqrt-square sqrt-pow1 pow1/2 pow-exp div-inv
+-commutative frac-times associate-+l+ associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
4 → 160
Calls
4 calls:
5.0ms
(+ (+ 1.0 (* 10.0 k)) (* k k))
37.0ms
(* (/ a (sqrt (+ (+ 1.0 (* 10.0 k)) (* k k)))) (/ (pow k m) (sqrt (+ (+ 1.0 (* 10.0 k)) (* k k)))))
4.0ms
(sqrt (+ (+ 1.0 (* 10.0 k)) (* k k)))
4.0ms
(sqrt (+ (+ 1.0 (* 10.0 k)) (* k k)))

series42.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(+ (+ 1.0 (* 10.0 k)) (* k k))
32.0ms
(* (/ a (sqrt (+ (+ 1.0 (* 10.0 k)) (* k k)))) (/ (pow k m) (sqrt (+ (+ 1.0 (* 10.0 k)) (* k k)))))
3.0ms
(sqrt (+ (+ 1.0 (* 10.0 k)) (* k k)))
4.0ms
(sqrt (+ (+ 1.0 (* 10.0 k)) (* k k)))

simplify90.0ms

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
08692737
139102557
250022443

prune272.0ms

Filtered
172 candidates to 112 candidates (34.9%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1720172
Fresh000
Picked011
Done011
Total1722174

Merged error: 2.8b

Counts
174 → 2

regimes120.0ms

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0156
1156

end0.0ms

sample58.2s

Algorithm
intervals
Results

Profiling

Loading profile data...