Details

Time bar (total: 4.7s)

sample42.0ms

Algorithm
intervals
Results
22.0ms264×body80valid
2.0msbody1280valid
1.0msbody640valid
1.0msbody160valid
0.0msbody320valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.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: 14.3b

Counts
2 → 1

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite65.0ms

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

series409.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(* K (+ m n))
56.0ms
(- (/ (* K (+ m n)) 2.0) M)
271.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
54.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify40.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0383519
11254481
25001477

prune267.0ms

Filtered
83 candidates to 59 candidates (28.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New78583
Fresh000
Picked101
Done000
Total79584

Merged error: 1.1b

Counts
84 → 5

localize15.0ms

Local error

Found 3 expressions with local error:

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

rewrite46.0ms

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

series483.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(- (/ (+ m n) 2.0) M)
186.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
266.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify100.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (93.0ms)

IterNodesCost
0327577
1978545
24160531
35003528

prune175.0ms

Filtered
68 candidates to 47 candidates (30.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New68068
Fresh044
Picked011
Done000
Total68573

Merged error: 1.1b

Counts
73 → 5

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
18×add-sqr-sqrt
add-cube-cbrt associate-*l* distribute-lft-out add-log-exp
unpow-prod-down
pow1 add-exp-log
add-cbrt-cube difference-of-squares
pow-unpow
sub-neg cos-sum times-frac associate-*r* *-commutative distribute-lft-out--
+-commutative cos-diff pow-to-exp distribute-rgt-out flip3-- pow-pow flip3-+ diff-log pow-exp sum-log flip-- flip-+ sqr-pow
Counts
4 → 65
Calls
4 calls:
31.0ms
(- (/ (+ (* K m) (* K n)) 2.0) M)
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
12.0ms
(+ (* K m) (* K n))
28.0ms
(cos (- (/ (+ (* K m) (* K n)) 2.0) M))

series413.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(- (/ (+ (* K m) (* K n)) 2.0) M)
264.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
35.0ms
(+ (* K m) (* K n))
53.0ms
(cos (- (/ (+ (* K m) (* K n)) 2.0) M))

simplify101.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 3 (94.0ms)

IterNodesCost
0372540
11025496
23624487
35002480

prune262.0ms

Filtered
77 candidates to 56 candidates (27.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New74377
Fresh303
Picked011
Done011
Total77582

Merged error: 1.1b

Counts
82 → 5

localize29.0ms

Local error

Found 4 expressions with local error:

1.6b
(+ (* K m) (* K n))
32.9b
(cos (- (/ (+ (* K m) (* K n)) 2.0) M))
32.9b
(cos (- (/ (+ (* K m) (* K n)) 2.0) M))
32.9b
(cos (- (/ (+ (* K m) (* K n)) 2.0) M))

rewrite105.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
associate-*l* distribute-lft-out
add-sqr-sqrt add-cube-cbrt cos-sum add-log-exp
pow1 add-exp-log add-cbrt-cube
cos-diff sub-neg
associate-*r* *-commutative
+-commutative distribute-rgt-out flip3-+ sum-log flip-+
Counts
4 → 50
Calls
4 calls:
15.0ms
(+ (* K m) (* K n))
29.0ms
(cos (- (/ (+ (* K m) (* K n)) 2.0) M))
29.0ms
(cos (- (/ (+ (* K m) (* K n)) 2.0) M))
32.0ms
(cos (- (/ (+ (* K m) (* K n)) 2.0) M))

series200.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(+ (* K m) (* K n))
53.0ms
(cos (- (/ (+ (* K m) (* K n)) 2.0) M))
57.0ms
(cos (- (/ (+ (* K m) (* K n)) 2.0) M))
54.0ms
(cos (- (/ (+ (* K m) (* K n)) 2.0) M))

simplify135.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0157473
1425423
21321421
33843421
45001421

prune282.0ms

Filtered
62 candidates to 48 candidates (22.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New59362
Fresh112
Picked101
Done112
Total62567

Merged error: 1.1b

Counts
67 → 5

regimes211.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

sample1.1s

Algorithm
intervals
Results
673.0ms8116×body80valid
58.0ms154×body640valid
51.0ms101×body1280valid
30.0ms101×body320valid
9.0ms52×body160valid
2.0msbody2560valid