Details

Time bar (total: 3.6s)

sample54.0ms

Algorithm
intervals
Results
29.0ms260×body80valid
1.0msbody640valid
1.0msbody1280valid
1.0msbody160valid
1.0msbody320valid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune12.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 15.6b

Counts
2 → 1

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

rewrite36.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))
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
11.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series83.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(- (/ (* K (+ m n)) 2.0) M)
8.0ms
(* K (+ m n))
40.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
21.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify39.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0392495
11304457
25001450

prune174.0ms

Filtered
79 candidates to 56 candidates (29.1%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New75479
Fresh000
Picked101
Done000
Total76480

Merged error: 0.9b

Counts
80 → 4

localize16.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (neg (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
(- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series83.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 3 (78.0ms)

IterNodesCost
0307479
1865454
23603442
35001439

prune97.0ms

Filtered
50 candidates to 34 candidates (32.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New50050
Fresh033
Picked011
Done000
Total50454

Merged error: 0.9b

Counts
54 → 4

localize29.0ms

Local error

Found 4 expressions with local error:

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

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

series124.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
086463
1132417
2213415
3406415
41373415
55001415

prune197.0ms

Filtered
53 candidates to 44 candidates (17.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New52153
Fresh022
Picked101
Done011
Total53457

Merged error: 0.9b

Counts
57 → 4

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

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

series158.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
086478
1132430
2213426
3406426
41373426
55001426

prune170.0ms

Filtered
54 candidates to 44 candidates (18.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New52254
Fresh022
Picked101
Done011
Total53558

Merged error: 0.9b

Counts
58 → 5

regimes392.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

sample1.6s

Algorithm
intervals
Results
892.0ms8083×body80valid
74.0ms131×body1280valid
65.0ms160×body640valid
32.0ms108×body320valid
13.0ms64×body160valid
3.0msbody2560valid

Profiling

Loading profile data...