Details

Time bar (total: 8.6s)

sample40.0ms

Algorithm
intervals
Results
20.0ms257×body80valid
2.0msbody640valid
1.0msbody1280valid
0.0msbody160valid
0.0msbody320valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
05016
19516
221116
355315
4197415
5500115

prune9.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.5b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite1.2s

Algorithm
rewrite-expression-head
Rules
176×add-sqr-sqrt
151×*-un-lft-identity
141×prod-diff
123×exp-sum
71×add-cube-cbrt
66×unpow-prod-down
52×distribute-rgt-neg-in
50×distribute-lft-neg-in
47×difference-of-squares
41×distribute-lft-out--
23×cos-sum times-frac
15×add-log-exp
11×sqr-pow
10×add-exp-log
add-cbrt-cube
exp-prod
diff-log
pow1 neg-mul-1 rem-exp-log
expm1-log1p-u log1p-expm1-u div-inv
pow-unpow associate-/r*
cbrt-undiv sub-neg associate-*r/ div-exp neg-log associate-/l/
cos-diff pow-to-exp pow-pow frac-2neg flip3-+ exp-diff pow-exp prod-exp clear-num cbrt-unprod flip-+ associate-/l* associate--r-
Counts
4 → 226
Calls
4 calls:
6.0ms
(/ (* K (+ m n)) 2.0)
31.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
1.1s
(exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
23.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series484.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(/ (* K (+ m n)) 2.0)
265.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
119.0ms
(exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
56.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify105.0ms

Algorithm
egg-herbie
Counts
238 → 238
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
010306048
130344879
250014389

prune575.0ms

Filtered
238 candidates to 91 candidates (38.2%)
Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 1.2b

localize15.0ms

Local error

Found 3 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)
0.0b
(exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))

rewrite1.8s

Algorithm
rewrite-expression-head
Rules
330×add-sqr-sqrt
277×*-un-lft-identity
249×prod-diff
138×unpow-prod-down
123×exp-sum
115×add-cube-cbrt
114×distribute-rgt-neg-in
110×distribute-lft-neg-in
96×difference-of-squares
83×distribute-lft-out--
24×fma-neg add-log-exp
23×times-frac sqr-pow
12×diff-log
11×neg-mul-1 associate--r+
exp-prod
rem-exp-log
pow1 add-exp-log neg-log
expm1-log1p-u sub-neg pow-unpow add-cbrt-cube log1p-expm1-u
associate--r-
associate--l- neg-sub0 pow-to-exp flip3-- pow-pow exp-diff pow-exp flip--
Counts
3 → 347
Calls
3 calls:
671.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
34.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
1.1s
(exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))

series562.0ms

Counts
3 → 9
Calls
3 calls:
183.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
260.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
118.0ms
(exp (- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))

simplify117.0ms

Algorithm
egg-herbie
Counts
356 → 356
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
07839869
122277499
250015146

prune497.0ms

Filtered
356 candidates to 98 candidates (27.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 1.2b

localize26.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (cos (- (/ (* K (+ m n)) 2.0) M)))
34.2b
(cos (- (/ (* K (+ m n)) 2.0) M))
34.2b
(cos (- (/ (* K (+ m n)) 2.0) M))
34.2b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
69×cos-sum
63×prod-diff
44×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
27×times-frac
div-inv
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-prod cos-diff sub-neg
pow1/3
Counts
4 → 112
Calls
4 calls:
1.0ms
(cbrt (cos (- (/ (* K (+ m n)) 2.0) M)))
20.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
20.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
23.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series324.0ms

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

simplify87.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 4 (67.0ms)

IterNodesCost
03132908
15192268
211402266
332832085
450022049

prune430.0ms

Filtered
124 candidates to 58 candidates (46.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 1.2b

localize36.0ms

Local error

Found 4 expressions with local error:

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

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
92×cos-sum
84×prod-diff
56×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
36×times-frac
12×div-inv
pow1 add-exp-log cos-diff expm1-log1p-u sub-neg add-cbrt-cube log1p-expm1-u add-log-exp
Counts
4 → 132
Calls
4 calls:
23.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
20.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
20.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
20.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series220.0ms

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

simplify91.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 4 (63.0ms)

IterNodesCost
02943688
14952852
210952852
331212612
450022564

prune470.0ms

Filtered
144 candidates to 60 candidates (41.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 1.1b

regimes260.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

sample1.1s

Algorithm
intervals
Results
636.0ms8137×body80valid
57.0ms164×body640valid
53.0ms111×body1280valid
25.0ms104×body320valid
9.0ms55×body160valid
1.0msbody2560valid