Details

Time bar (total: 9.6s)

sample2.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 19.042969%

Guaranteed chance to sample good point: 61.761158%

Results
31.0ms383×body80valid
1.0ms32×body80nan

simplify107.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (3.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: 1.1b

Counts
2 → 2

localize10.0ms

Local error

Found 4 expressions with local error:

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

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

series55.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0471611
12227545
25002538

prune109.0ms

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New83386
Fresh011
Picked101
Done000
Total84488

Merged error: 1.1b

Counts
88 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
45×times-frac
38×*-un-lft-identity
36×add-cube-cbrt
30×associate-*l*
22×unpow-prod-down
20×add-exp-log
12×add-cbrt-cube
sqr-pow
pow1 associate-*r* associate-/l*
div-exp
prod-exp unswap-sqr
associate-/r/
flip3-+ associate-/r* cbrt-unprod flip-+ add-log-exp
cbrt-undiv pow-to-exp associate-*r/ pow-prod-down pow-exp *-commutative div-inv
distribute-rgt-in frac-2neg distribute-lft-in associate-*l/ clear-num distribute-lft-out
Counts
3 → 120
Calls
3 calls:
6.0ms
(* k (+ 10.0 k))
11.0ms
(/ (pow k m) (+ (* k (+ 10.0 k)) 1.0))
13.0ms
(* (/ (pow k m) (+ (* k (+ 10.0 k)) 1.0)) a)

series47.0ms

Counts
3 → 9
Calls
3 calls:
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
129 → 129
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
06271119
125871052
250011052

prune163.0ms

Filtered
98 candidates to 129 candidates (-31.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1290129
Fresh033
Picked011
Done000
Total1294133

Merged error: 1.1b

Counts
133 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ 1.0 (* 10.0 k)) (* k k))
0.0b
(+ (+ 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)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
14×add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sum-log sqrt-prod
add-exp-log flip3-+ sqrt-div add-cbrt-cube flip-+
+-commutative rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2
Counts
4 → 56
Calls
4 calls:
5.0ms
(+ (+ 1.0 (* 10.0 k)) (* k k))
5.0ms
(+ (+ 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)))

series12.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(+ (+ 1.0 (* 10.0 k)) (* k k))
2.0ms
(+ (+ 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)))

simplify81.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
0187494
1715458
23083436
35003434

prune112.0ms

Filtered
52 candidates to 68 candidates (-30.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New68068
Fresh022
Picked011
Done011
Total68472

Merged error: 1.1b

Counts
72 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
1073×times-frac
500×add-sqr-sqrt *-un-lft-identity
498×add-cube-cbrt
198×unpow-prod-down
105×associate-/r*
70×add-exp-log
66×sqr-pow
51×div-exp
43×div-inv
22×add-cbrt-cube
19×associate-/l*
10×cbrt-undiv
pow-to-exp pow-exp
pow1 rec-exp 1-exp
associate-*r* add-log-exp
frac-2neg associate-*l* clear-num associate-/l/
flip3-+ associate-*r/ flip-+
distribute-rgt-in pow-flip distribute-lft-in pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod distribute-lft-out inv-pow unswap-sqr
Counts
4 → 602
Calls
4 calls:
9.0ms
(/ (/ (+ 1.0 (* k (+ 10.0 k))) a) (pow k m))
6.0ms
(* k (+ 10.0 k))
24.0ms
(/ 1 (/ (/ (+ 1.0 (* k (+ 10.0 k))) a) (pow k m)))
6.0ms
(/ (+ 1.0 (* k (+ 10.0 k))) a)

series68.0ms

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

simplify133.0ms

Algorithm
egg-herbie
Counts
614 → 614
Iterations

Useful iterations: 1 (43.0ms)

IterNodesCost
022039184
150018752

prune1.0s

Filtered
380 candidates to 614 candidates (-61.6%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New6140614
Fresh011
Picked011
Done022
Total6144618

Merged error: 1.1b

Counts
618 → 4

regimes141.0ms

Accuracy

0% (0.0b remaining)

Error of 2.1b against oracle of 2.0b and baseline of 2.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156
1156

end0.0ms

sample4.4s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 19.042969%

Guaranteed chance to sample good point: 61.761158%

Results
862.0ms12066×body80valid
53.0ms1141×body80nan

Profiling

Loading profile data...