Details

Time bar (total: 20.1s)

sample8.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0.683594%

Guaranteed chance to sample good point: 29.20354%

Results
27.0ms251×body80valid
2.0msbody1280invalid
1.0msbody1280valid
1.0msbody640valid
1.0msbody80invalid
0.0msbody320valid
0.0msbody160invalid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune16.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: 15.7b

Counts
2 → 1

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (cos (- (/ (* K (+ m n)) 2.0) M)) (exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))))
0.0b
(* K (+ m n))
0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)
36.3b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
21×*-un-lft-identity
17×add-cube-cbrt
13×times-frac
add-exp-log add-cbrt-cube
pow1
unpow-prod-down
cos-sum associate-*r* exp-sum associate-/r* add-log-exp
pow-unpow associate-*l* associate-/l*
sub-neg div-sub associate-*r/ difference-of-squares
cbrt-undiv distribute-rgt-in cos-diff pow-to-exp associate-+r- pow-pow frac-2neg distribute-lft-in flip3-+ exp-diff div-exp pow-prod-down pow-exp prod-exp clear-num associate-/r/ *-commutative cbrt-unprod flip-+ div-inv distribute-lft-out distribute-lft-out-- unswap-sqr sqr-pow
Counts
4 → 87
Calls
4 calls:
25.0ms
(/ (cos (- (/ (* K (+ m n)) 2.0) M)) (exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))))
6.0ms
(* K (+ m n))
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
9.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series259.0ms

Counts
4 → 12
Calls
4 calls:
193.0ms
(/ (cos (- (/ (* K (+ m n)) 2.0) M)) (exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))))
6.0ms
(* K (+ m n))
38.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
22.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify55.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
05271267
118941177
250011177

prune224.0ms

Filtered
74 candidates to 99 candidates (-33.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New94599
Fresh000
Picked101
Done000
Total955100

Merged error: 1.1b

Counts
100 → 5

localize13.0ms

Local error

Found 1 expressions with local error:

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

rewrite10.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)

series41.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0170174
1470169
21593165
35002157

prune65.0ms

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

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New23023
Fresh044
Picked011
Done000
Total23528

Merged error: 1.1b

Counts
28 → 5

localize25.0ms

Local error

Found 4 expressions with local error:

16.5b
(cbrt (* K (+ m n)))
16.5b
(cbrt (* K (+ m n)))
16.5b
(cbrt (* K (+ m n)))
36.1b
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))

rewrite24.0ms

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

series104.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(cbrt (* K (+ m n)))
27.0ms
(cbrt (* K (+ m n)))
27.0ms
(cbrt (* K (+ m n)))
22.0ms
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))

simplify64.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 4 (58.0ms)

IterNodesCost
0186514
1386464
2918446
32313434
45001407

prune153.0ms

Filtered
49 candidates to 55 candidates (-12.2%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New49655
Fresh303
Picked101
Done011
Total53760

Merged error: 1.0b

Counts
60 → 7

localize32.0ms

Local error

Found 4 expressions with local error:

16.5b
(cbrt (* K (+ m n)))
16.5b
(cbrt (* K (+ m n)))
16.5b
(cbrt (* K (+ m n)))
36.1b
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))

rewrite24.0ms

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

series104.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(cbrt (* K (+ m n)))
30.0ms
(cbrt (* K (+ m n)))
27.0ms
(cbrt (* K (+ m n)))
20.0ms
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))

simplify65.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 4 (59.0ms)

IterNodesCost
0186514
1386464
2918446
32313434
45001407

prune136.0ms

Filtered
50 candidates to 55 candidates (-10.0%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New54155
Fresh145
Picked011
Done011
Total55762

Merged error: 1.0b

Counts
62 → 7

regimes484.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02010
12010

end0.0ms

sample9.9s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0.683594%

Guaranteed chance to sample good point: 29.20354%

Results
888.0ms7829×body80valid
53.0ms90×body1280invalid
39.0ms77×body640invalid
33.0ms72×body640valid
25.0ms39×body1280valid
23.0ms215×body80invalid
22.0ms69×body320invalid
13.0ms38×body320valid
8.0ms37×body160invalid
5.0ms22×body160valid

Profiling

Loading profile data...