Details

Time bar (total: 4.9s)

sample46.0ms

Algorithm
intervals
Results
24.0ms255×body80valid
2.0msbody640valid
1.0msbody320valid
1.0msbody1280valid
0.0msbody160valid

simplify48.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: 15.0b

Counts
2 → 1

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt
11×add-log-exp
add-cube-cbrt unpow-prod-down
pow1 add-exp-log
add-cbrt-cube
sub-neg pow-unpow distribute-lft-out-- difference-of-squares
cos-sum associate-+r+ diff-log sum-log distribute-lft-out
+-commutative cos-diff pow-to-exp associate-+r- flip3-- pow-pow flip3-+ times-frac pow-exp flip-- flip-+ sqr-pow
Counts
4 → 61
Calls
4 calls:
17.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
8.0ms
(- (/ (* K (+ m n)) 2.0) M)
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
11.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series542.0ms

Counts
4 → 12
Calls
4 calls:
175.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
56.0ms
(- (/ (* K (+ m n)) 2.0) M)
258.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
54.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify119.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0368603
11045563
24794552
35001552

prune269.0ms

Filtered
73 candidates to 54 candidates (74.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New67673
Fresh000
Picked101
Done000
Total68674

Merged error: 1.5b

Counts
74 → 6

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

rewrite29.0ms

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

series432.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0253368
1720351
22937346
35002343

prune136.0ms

Filtered
43 candidates to 31 candidates (72.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New43043
Fresh055
Picked011
Done000
Total43649

Merged error: 1.5b

Counts
49 → 6

localize26.0ms

Local error

Found 4 expressions with local error:

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

series303.0ms

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

simplify130.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 6 (122.0ms)

IterNodesCost
083464
1123418
2183416
3334416
41040416
53218416
65001397

prune269.0ms

Filtered
53 candidates to 44 candidates (83.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New51253
Fresh044
Picked101
Done011
Total52759

Merged error: 1.5b

Counts
59 → 7

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

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

series392.0ms

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

simplify127.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 6 (121.0ms)

IterNodesCost
083480
1123432
2183428
3334428
41040428
53218428
65001414

prune241.0ms

Filtered
54 candidates to 44 candidates (81.5%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New53154
Fresh055
Picked011
Done011
Total53861

Merged error: 1.5b

Counts
61 → 8

regimes257.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02010
12010

end0.0ms

sample1.3s

Algorithm
intervals
Results
818.0ms8073×body80valid
65.0ms153×body640valid
60.0ms100×body1280valid
36.0ms118×body320valid
15.0ms55×body160valid
5.0msbody2560valid