Details

Time bar (total: 9.2s)

sample45.0ms

Algorithm
intervals
Results
25.0ms261×body80valid
2.0msbody1280valid
1.0msbody640valid
0.0msbody160valid
0.0msbody320valid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.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
New011
Fresh101
Picked000
Done000
Total112

Merged error: 17.3b

Counts
2 → 1

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
15×add-log-exp
add-sqr-sqrt
add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
exp-prod distribute-lft-out
associate-*r* sum-log
associate-*l* rem-exp-log
associate-+r- sub-neg cos-sum associate-+r+ flip3-+ diff-log associate-*r/ flip-+ distribute-lft-out--
+-commutative distribute-rgt-in cos-diff distribute-lft-in exp-diff exp-sum pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 67
Calls
4 calls:
18.0ms
(exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n)))))
17.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
6.0ms
(* K (+ m n))
13.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series363.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n)))))
175.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
24.0ms
(* K (+ m n))
55.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify41.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0370612
11331556
25001548

prune280.0ms

Filtered
79 candidates to 55 candidates (69.6%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New74579
Fresh000
Picked101
Done000
Total75580

Merged error: 1.2b

Counts
80 → 5

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity add-log-exp
exp-prod
sum-log distribute-lft-out
add-sqr-sqrt add-cube-cbrt rem-exp-log
pow1 add-exp-log associate-+r- associate-+r+ diff-log add-cbrt-cube distribute-lft-out--
+-commutative sub-neg flip3-+ exp-diff exp-sum flip-+
Counts
2 → 34
Calls
2 calls:
18.0ms
(exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n)))))
18.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))

series289.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
0213414
1691379
23418370
35002364

prune120.0ms

Filtered
40 candidates to 28 candidates (70.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New40040
Fresh044
Picked011
Done000
Total40545

Merged error: 1.2b

Counts
45 → 5

localize31.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.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)))
9.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
9.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
9.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series307.0ms

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

simplify130.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 6 (124.0ms)

IterNodesCost
083464
1123418
2183416
3334416
41040416
53218416
65001397

prune273.0ms

Filtered
53 candidates to 44 candidates (83.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New51253
Fresh033
Picked101
Done011
Total52658

Merged error: 1.2b

Counts
58 → 6

localize25.0ms

Local error

Found 4 expressions with local error:

0.0b
(* K (+ m n))
0.1b
(pow (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n)))) 3)
15.5b
(cbrt (pow (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n)))) 3))
38.2b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity
16×cbrt-prod
14×add-sqr-sqrt
12×add-cube-cbrt
10×unpow-prod-down cube-prod
distribute-lft-out
pow1 add-exp-log add-cbrt-cube
cube-div associate-*r* distribute-lft-out-- add-log-exp
pow-unpow flip3-+ associate-*l* flip-+
cube-mult cbrt-div cos-sum unpow3 associate-*r/ sqr-pow
distribute-rgt-in cos-diff pow-to-exp sub-neg pow-pow distribute-lft-in pow1/3 pow-prod-down pow-exp prod-exp *-commutative rem-cbrt-cube cbrt-unprod rem-cube-cbrt unswap-sqr
Counts
4 → 89
Calls
4 calls:
9.0ms
(* K (+ m n))
18.0ms
(pow (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n)))) 3)
18.0ms
(cbrt (pow (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n)))) 3))
8.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series5.0s

Counts
4 → 12
Calls
4 calls:
25.0ms
(* K (+ m n))
4.8s
(pow (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n)))) 3)
181.0ms
(cbrt (pow (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n)))) 3))
52.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify59.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04441040
11764957
25002951

prune310.0ms

Filtered
101 candidates to 58 candidates (57.4%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1001101
Fresh044
Picked101
Done011
Total1016107

Merged error: 1.2b

Counts
107 → 6

regimes228.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02010
12010

end0.0ms

sample1.3s

Algorithm
intervals
Results
816.0ms8136×body80valid
70.0ms121×body1280valid
58.0ms140×body640valid
31.0ms103×body320valid
11.0ms52×body160valid
3.0msbody2560valid