Details

Time bar (total: 2.5min)

sample1.6min

Algorithm
intervals
Results
25.0ms375×body80valid
5.0ms129×body80nan

simplify98.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (3.0ms)

IterNodesCost
0247
1487
2966
32566
48916
539636
650026

prune9.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: 1.7b

Counts
2 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.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:
2.0ms
(+ 1.0 (* 10.0 k))
4.0ms
(+ (+ 1.0 (* 10.0 k)) (* k k))
5.0ms
(* a (pow k m))
8.0ms
(/ (* a (pow k m)) (+ (+ 1.0 (* 10.0 k)) (* k k)))

series51.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0471611
12227545
25002538

prune105.0ms

Filtered
63 candidates to 86 candidates (-36.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New83386
Fresh101
Picked011
Done000
Total84488

Merged error: 1.7b

Counts
88 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (* k (+ 10.0 k)))
0.0b
(/ (/ (+ 1.0 (* k (+ 10.0 k))) a) (pow k m))
0.1b
(/ 1 (/ (/ (+ 1.0 (* k (+ 10.0 k))) a) (pow k m)))
3.8b
(/ (+ 1.0 (* k (+ 10.0 k))) a)

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
1073×times-frac
496×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
198×unpow-prod-down
105×associate-/r*
68×add-exp-log
66×sqr-pow
51×div-exp
43×div-inv
20×add-cbrt-cube
19×associate-/l*
10×cbrt-undiv
pow-to-exp pow-exp
rec-exp 1-exp
add-log-exp
pow1
frac-2neg clear-num associate-/l/
associate-+r+ flip3-+ flip-+
+-commutative distribute-rgt-in pow-flip distribute-lft-in sum-log associate-/r/ inv-pow
Counts
4 → 592
Calls
4 calls:
3.0ms
(+ 1.0 (* k (+ 10.0 k)))
9.0ms
(/ (/ (+ 1.0 (* k (+ 10.0 k))) a) (pow k m))
21.0ms
(/ 1 (/ (/ (+ 1.0 (* k (+ 10.0 k))) a) (pow k m)))
5.0ms
(/ (+ 1.0 (* k (+ 10.0 k))) a)

series66.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(+ 1.0 (* k (+ 10.0 k)))
31.0ms
(/ (/ (+ 1.0 (* k (+ 10.0 k))) a) (pow k m))
27.0ms
(/ 1 (/ (/ (+ 1.0 (* k (+ 10.0 k))) a) (pow k m)))
6.0ms
(/ (+ 1.0 (* k (+ 10.0 k))) a)

simplify117.0ms

Algorithm
egg-herbie
Counts
604 → 604
Iterations

Useful iterations: 1 (38.0ms)

IterNodesCost
021499179
150018748

prune948.0ms

Filtered
374 candidates to 604 candidates (-61.5%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New6022604
Fresh022
Picked011
Done011
Total6026608

Merged error: 1.7b

Counts
608 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
66×sqrt-prod
63×add-sqr-sqrt
56×add-cube-cbrt *-un-lft-identity
25×add-exp-log
20×sqrt-div
16×associate-/r/
15×add-cbrt-cube
12×associate-/l*
10×flip3-+ flip-+
div-exp
div-inv
associate-*r*
pow1 prod-exp associate-/r*
cbrt-undiv
unpow-prod-down add-log-exp
associate-*l* unswap-sqr
pow-to-exp rem-sqrt-square sqrt-pow1 pow1/2 pow-exp cbrt-unprod sqr-pow
frac-2neg clear-num *-commutative associate-/l/
Counts
4 → 166
Calls
4 calls:
5.0ms
(* a (pow k m))
14.0ms
(/ (/ (* a (pow k m)) (sqrt (+ (+ 1.0 (* 10.0 k)) (* k k)))) (sqrt (+ (+ 1.0 (* 10.0 k)) (* k k))))
4.0ms
(sqrt (+ (+ 1.0 (* 10.0 k)) (* k k)))
6.0ms
(sqrt (+ (+ 1.0 (* 10.0 k)) (* k k)))

series50.0ms

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

simplify96.0ms

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
07533143
137872820
250012820

prune277.0ms

Filtered
113 candidates to 178 candidates (-57.5%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1780178
Fresh033
Picked011
Done022
Total1786184

Merged error: 1.7b

Counts
184 → 6

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (sqrt (+ 1.0 (* k (+ 10.0 k)))) (/ (sqrt (+ 1.0 (* k (+ 10.0 k)))) a))
0.1b
(/ 1 (/ (* (sqrt (+ 1.0 (* k (+ 10.0 k)))) (/ (sqrt (+ 1.0 (* k (+ 10.0 k)))) a)) (pow k m)))
13.8b
(sqrt (+ 1.0 (* k (+ 10.0 k))))
13.8b
(sqrt (+ 1.0 (* k (+ 10.0 k))))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
94×add-exp-log
83×times-frac
63×add-sqr-sqrt
57×div-exp
45×add-cube-cbrt *-un-lft-identity
23×sqrt-prod add-cbrt-cube
22×associate-*r*
20×prod-exp
12×unpow-prod-down
11×associate-/r*
10×rec-exp 1-exp
pow1 cbrt-undiv pow-to-exp pow-exp
sqrt-div
associate-*l* div-inv unswap-sqr
flip3-+ cbrt-unprod flip-+ add-log-exp sqr-pow
associate-/l*
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*l/
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num associate-/r/ *-commutative inv-pow
Counts
4 → 176
Calls
4 calls:
14.0ms
(* (sqrt (+ 1.0 (* k (+ 10.0 k)))) (/ (sqrt (+ 1.0 (* k (+ 10.0 k)))) a))
12.0ms
(/ 1 (/ (* (sqrt (+ 1.0 (* k (+ 10.0 k)))) (/ (sqrt (+ 1.0 (* k (+ 10.0 k)))) a)) (pow k m)))
2.0ms
(sqrt (+ 1.0 (* k (+ 10.0 k))))
2.0ms
(sqrt (+ 1.0 (* k (+ 10.0 k))))

series40.0ms

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

simplify99.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
08422574
141692085
250022006

prune212.0ms

Filtered
98 candidates to 188 candidates (-91.8%)
Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New1880188
Fresh022
Picked011
Done033
Total1886194

Merged error: 1.7b

Counts
194 → 6

regimes212.0ms

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0167
1167

end0.0ms

sample53.0s

Algorithm
intervals
Results

Profiling

Loading profile data...