Details

Time bar (total: 48.5s)

sample22.4s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0.683594%

Guaranteed chance to sample good point: 37.168142%

Results
29.0ms250×body80valid
1.0msbody1280valid
1.0msbody640valid
1.0msbody640invalid
1.0msbody320valid
1.0msbody320invalid
1.0msbody80invalid
0.0msbody160invalid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune12.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 17.5b

Counts
2 → 1

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (* K (+ m n)) 2.0) M)
0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)
0.2b
(/ (* K (+ m n)) 2.0)
36.6b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
12×*-un-lft-identity
10×add-exp-log
add-cbrt-cube
add-cube-cbrt
unpow-prod-down add-log-exp
pow1
times-frac
pow-unpow associate-/r* difference-of-squares
cbrt-undiv sub-neg cos-sum associate-*r/ div-exp associate-/l/ distribute-lft-out--
cos-diff pow-to-exp flip3-- pow-pow frac-2neg flip3-+ diff-log pow-exp prod-exp clear-num flip-- cbrt-unprod flip-+ div-inv associate-/l* sqr-pow
Counts
4 → 67
Calls
4 calls:
7.0ms
(- (/ (* K (+ m n)) 2.0) M)
9.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
6.0ms
(/ (* K (+ m n)) 2.0)
8.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series82.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(- (/ (* K (+ m n)) 2.0) M)
38.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
8.0ms
(/ (* K (+ m n)) 2.0)
23.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify43.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0413527
11574482
25003482

prune177.0ms

Filtered
59 candidates to 79 candidates (-33.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New75479
Fresh000
Picked101
Done000
Total76480

Merged error: 1.1b

Counts
80 → 4

localize14.0ms

Local error

Found 1 expressions with local error:

0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
unpow-prod-down
*-un-lft-identity
add-cube-cbrt pow-unpow
pow1 add-exp-log difference-of-squares
pow-to-exp pow-pow times-frac pow-exp add-cbrt-cube distribute-lft-out-- add-log-exp sqr-pow
Counts
1 → 20
Calls
1 calls:
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series40.0ms

Counts
1 → 3
Calls
1 calls:
40.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify46.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
0170174
1470169
21593165
35002157

prune59.0ms

Filtered
17 candidates to 23 candidates (-35.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New23023
Fresh033
Picked011
Done000
Total23427

Merged error: 1.1b

Counts
27 → 4

localize26.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
36.7b
(cos (- (* (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0))) M))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
pow1/3
cos-sum
cos-diff sub-neg
Counts
4 → 43
Calls
4 calls:
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
12.0ms
(cos (- (* (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0))) M))

series33.0ms

Counts
4 → 6
Calls
4 calls:
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
33.0ms
(cos (- (* (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0))) M))

simplify77.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
082309
1139279
2219273
3308273
4458273
5812273
62301273
75001273

prune155.0ms

Filtered
40 candidates to 49 candidates (-22.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New47249
Fresh022
Picked101
Done011
Total48553

Merged error: 1.1b

Counts
53 → 5

localize33.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
36.7b
(cos (- (* (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0))) M))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
pow1/3
cos-sum
cos-diff sub-neg
Counts
4 → 43
Calls
4 calls:
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
12.0ms
(cos (- (* (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0))) M))

series34.0ms

Counts
4 → 6
Calls
4 calls:
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
33.0ms
(cos (- (* (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0))) M))

simplify74.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
082321
1139291
2219285
3308285
4458285
5812285
62301285
75001285

prune147.0ms

Filtered
41 candidates to 49 candidates (-19.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New48149
Fresh123
Picked101
Done011
Total50454

Merged error: 1.1b

Counts
54 → 4

regimes375.0ms

Accuracy

0% (0.2b remaining)

Error of 1.4b against oracle of 1.2b and baseline of 1.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02010
12010

end0.0ms

sample24.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0.683594%

Guaranteed chance to sample good point: 37.168142%

Results
851.0ms7814×body80valid
41.0ms64×body1280valid
38.0ms88×body640invalid
30.0ms51×body1280invalid
29.0ms58×body640valid
23.0ms222×body80invalid
22.0ms71×body320invalid
15.0ms47×body320valid
7.0ms32×body160invalid
4.0ms17×body160valid
2.0msbody2560invalid

Profiling

Loading profile data...