Details

Time bar (total: 5.0s)

sample51.0ms

Algorithm
intervals
Results
25.0ms259×body80valid
3.0msbody1280valid
2.0msbody640valid
1.0msbody320valid
1.0msbody160valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune13.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 16.9b

Counts
2 → 1

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

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

series401.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(- (/ (* K (+ m n)) 2.0) M)
25.0ms
(* K (+ m n))
261.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
57.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify43.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0378485
11267447
25002443

prune284.0ms

Filtered
79 candidates to 56 candidates (70.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New75479
Fresh000
Picked101
Done000
Total76480

Merged error: 1.2b

Counts
80 → 4

localize17.0ms

Local error

Found 2 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
19×add-sqr-sqrt
14×add-cube-cbrt
13×times-frac
unpow-prod-down pow-flip
exp-prod
pow1 add-exp-log exp-sum associate-/r* add-cbrt-cube
pow-unpow associate-/l*
div-exp distribute-lft-out distribute-lft-out-- add-log-exp difference-of-squares
cbrt-undiv pow-to-exp associate-+r- rec-exp pow-pow frac-2neg exp-diff 1-exp pow-exp clear-num associate-/r/ div-inv inv-pow sqr-pow
Counts
2 → 61
Calls
2 calls:
22.0ms
(/ 1 (exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))))
11.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series434.0ms

Counts
2 → 6
Calls
2 calls:
166.0ms
(/ 1 (exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))))
268.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify44.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0352801
11279742
25001721

prune171.0ms

Filtered
67 candidates to 41 candidates (61.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New66167
Fresh033
Picked101
Done000
Total67471

Merged error: 1.2b

Counts
71 → 4

localize15.0ms

Local error

Found 1 expressions with local error:

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

rewrite12.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:
11.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series268.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
0156164
1433159
21446158
35001155

prune79.0ms

Filtered
23 candidates to 17 candidates (73.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New23023
Fresh033
Picked011
Done000
Total23427

Merged error: 1.2b

Counts
27 → 4

localize29.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt K)
0.6b
(cbrt K)
0.6b
(cbrt K)
35.9b
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

rewrite20.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 K)
1.0ms
(cbrt K)
1.0ms
(cbrt K)
15.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

series634.0ms

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

simplify104.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
0111309
1265279
2681273
33070273
45001273

prune247.0ms

Filtered
55 candidates to 47 candidates (85.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New52355
Fresh022
Picked101
Done011
Total53659

Merged error: 1.2b

Counts
59 → 6

regimes222.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01910
12310
22310

end0.0ms

sample1.7s

Algorithm
intervals
Results
1.1s8111×body80valid
89.0ms164×body640valid
88.0ms109×body1280valid
40.0ms99×body320valid
17.0ms59×body160valid
3.0msbody2560valid