Details

Time bar (total: 5.2s)

sample52.0ms

Algorithm
intervals
Results
28.0ms261×body80valid
3.0msbody640valid
1.0msbody1280valid
1.0msbody320valid
0.0msbody160valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune9.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 16.0b

Counts
2 → 1

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (- (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)
34.6b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
17×add-sqr-sqrt
14×add-log-exp
add-cube-cbrt
pow1 add-exp-log distribute-lft-out--
unpow-prod-down diff-log add-cbrt-cube
associate-*r*
sub-neg pow-unpow associate-*l* difference-of-squares
cos-sum distribute-rgt-neg-in associate-*r/ neg-log associate--r+
associate--l- neg-sub0 distribute-rgt-in cos-diff pow-to-exp flip3-- pow-pow distribute-lft-in flip3-+ times-frac pow-prod-down pow-exp prod-exp *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out associate--r- unswap-sqr sqr-pow
Counts
4 → 77
Calls
4 calls:
25.0ms
(- (- (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)
8.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series538.0ms

Counts
4 → 12
Calls
4 calls:
186.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
30.0ms
(* K (+ m n))
268.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
53.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify46.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0435667
11447621
25001620

prune311.0ms

Filtered
89 candidates to 60 candidates (67.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New85489
Fresh000
Picked101
Done000
Total86490

Merged error: 1.1b

Counts
90 → 4

localize15.0ms

Local error

Found 2 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
12×add-log-exp
11×add-sqr-sqrt
distribute-lft-out--
unpow-prod-down diff-log
add-cube-cbrt
pow1 add-exp-log pow-unpow difference-of-squares
sub-neg distribute-rgt-neg-in neg-log add-cbrt-cube associate--r+
associate--l- neg-sub0 pow-to-exp flip3-- pow-pow times-frac pow-exp flip-- associate--r- sqr-pow
Counts
2 → 44
Calls
2 calls:
21.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
11.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series460.0ms

Counts
2 → 6
Calls
2 calls:
189.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
271.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify85.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 3 (79.0ms)

IterNodesCost
0277469
1798444
23368435
35001432

prune144.0ms

Filtered
50 candidates to 34 candidates (68.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New49150
Fresh033
Picked011
Done000
Total49554

Merged error: 1.1b

Counts
54 → 5

localize26.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (cos (- (/ (* K (+ m n)) 2.0) M)))
34.6b
(cos (- (/ (* K (+ m n)) 2.0) M))
34.6b
(cos (- (/ (* K (+ m n)) 2.0) M))
34.6b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite27.0ms

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

series302.0ms

Counts
4 → 12
Calls
4 calls:
141.0ms
(cbrt (cos (- (/ (* K (+ m n)) 2.0) M)))
55.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
51.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
55.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify125.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 6 (119.0ms)

IterNodesCost
083464
1123418
2183416
3334416
41040416
53218416
65001397

prune267.0ms

Filtered
53 candidates to 44 candidates (83.0%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New52153
Fresh033
Picked011
Done011
Total52658

Merged error: 1.1b

Counts
58 → 6

localize31.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt K)
0.5b
(cbrt K)
0.5b
(cbrt K)
34.7b
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

rewrite32.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:
2.0ms
(cbrt K)
2.0ms
(cbrt K)
2.0ms
(cbrt K)
24.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

series641.0ms

Counts
4 → 12
Calls
4 calls:
186.0ms
(cbrt K)
174.0ms
(cbrt K)
178.0ms
(cbrt K)
102.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

simplify96.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
0111309
1265279
2681273
33070273
45001273

prune232.0ms

Filtered
55 candidates to 46 candidates (83.6%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New55055
Fresh033
Picked011
Done022
Total55661

Merged error: 1.1b

Counts
61 → 6

regimes192.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

sample1.5s

Algorithm
intervals
Results
978.0ms8095×body80valid
72.0ms126×body1280valid
65.0ms160×body640valid
36.0ms112×body320valid
13.0ms61×body160valid
3.0msbody2560valid