Details

Time bar (total: 9.4s)

sample44.0ms

Algorithm
intervals
Results
20.0ms250×body80valid
3.0msbody640valid
2.0msbody320valid
2.0msbody1280valid
0.0msbody160valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
05016
19516
221116
355315
4197415
5500215

prune12.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: 16.9b

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

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
165×*-un-lft-identity
161×add-sqr-sqrt
147×prod-diff
133×add-cube-cbrt
131×cos-sum
119×times-frac
36×associate-*r*
27×associate-*l*
22×associate-+r+
15×add-log-exp
13×exp-sum distribute-lft-out
12×unpow-prod-down
10×fma-def
*-commutative unswap-sqr
pow1 add-exp-log exp-prod
expm1-log1p-u sum-log add-cbrt-cube log1p-expm1-u distribute-lft-out-- difference-of-squares
sub-neg pow-unpow div-inv rem-exp-log
+-commutative associate-+r- diff-log sqr-pow
cos-diff pow-to-exp pow-pow flip3-+ exp-diff pow-exp flip-+
Counts
4 → 232
Calls
4 calls:
18.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
22.0ms
(exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n)))))
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
38.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series614.0ms

Counts
4 → 12
Calls
4 calls:
176.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
116.0ms
(exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n)))))
262.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
60.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify125.0ms

Algorithm
egg-herbie
Counts
244 → 244
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
016206590
138165345
250015338

prune617.0ms

Filtered
244 candidates to 111 candidates (45.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2359244
Fresh000
Picked101
Done000
Total2369245

Merged error: 2.7b

Counts
245 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
86×*-un-lft-identity
77×add-sqr-sqrt
67×add-cube-cbrt
66×associate-+r+
65×exp-sum
54×prod-diff
50×times-frac
16×associate-/r*
15×add-log-exp
12×unpow-prod-down
10×add-exp-log exp-prod fma-def
pow1 +-commutative sub-neg pow-flip add-cbrt-cube distribute-lft-out
distribute-lft-out--
expm1-log1p-u div-exp sum-log log1p-expm1-u difference-of-squares
associate-+r- pow-unpow rem-exp-log associate-/l*
rec-exp exp-diff diff-log 1-exp sqr-pow
cbrt-undiv pow-to-exp pow-pow frac-2neg flip3-+ pow-exp clear-num associate-/r/ flip-+ div-inv inv-pow
Counts
4 → 185
Calls
4 calls:
25.0ms
(/ 1 (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))))
19.0ms
(exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n)))))
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series732.0ms

Counts
4 → 12
Calls
4 calls:
164.0ms
(/ 1 (exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))))
184.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
114.0ms
(exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n)))))
269.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify72.0ms

Algorithm
egg-herbie
Counts
197 → 197
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
06402902
123302321
250012134

prune437.0ms

Filtered
197 candidates to 107 candidates (54.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1961197
Fresh178
Picked011
Done000
Total1979206

Merged error: 2.7b

Counts
206 → 9

localize45.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (+ m n))
0.6b
(cbrt (+ m n))
33.2b
(sin (fma (/ (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (sqrt 2.0)) (/ (cbrt (+ m n)) (sqrt 2.0)) (- (* M 1))))
33.3b
(cos (fma (/ (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (sqrt 2.0)) (/ (cbrt (+ m n)) (sqrt 2.0)) (- (* M 1))))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity
cbrt-prod
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log expm1-log1p-u cbrt-div add-cbrt-cube log1p-expm1-u add-log-exp
flip3-+ pow1/3 flip-+ fma-udef distribute-lft-out
cos-sum sin-sum
Counts
4 → 52
Calls
4 calls:
3.0ms
(cbrt (+ m n))
3.0ms
(cbrt (+ m n))
2.0ms
(sin (fma (/ (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (sqrt 2.0)) (/ (cbrt (+ m n)) (sqrt 2.0)) (- (* M 1))))
2.0ms
(cos (fma (/ (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (sqrt 2.0)) (/ (cbrt (+ m n)) (sqrt 2.0)) (- (* M 1))))

series1.2s

Counts
4 → 12
Calls
4 calls:
132.0ms
(cbrt (+ m n))
134.0ms
(cbrt (+ m n))
454.0ms
(sin (fma (/ (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (sqrt 2.0)) (/ (cbrt (+ m n)) (sqrt 2.0)) (- (* M 1))))
455.0ms
(cos (fma (/ (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (sqrt 2.0)) (/ (cbrt (+ m n)) (sqrt 2.0)) (- (* M 1))))

simplify51.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
0218698
1538619
21754611
35002606

prune560.0ms

Filtered
64 candidates to 56 candidates (87.5%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New61364
Fresh077
Picked101
Done011
Total621173

Merged error: 2.7b

Counts
73 → 11

localize49.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (+ m n))
0.6b
(pow (cos (fma (/ (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (sqrt 2.0)) (/ (cbrt (+ m n)) (sqrt 2.0)) (- (* M 1)))) 3)
33.2b
(sin (fma (/ (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (sqrt 2.0)) (/ (cbrt (+ m n)) (sqrt 2.0)) (- (* M 1))))
33.3b
(cos (fma (/ (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (sqrt 2.0)) (/ (cbrt (+ m n)) (sqrt 2.0)) (- (* M 1))))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
cbrt-prod expm1-log1p-u log1p-expm1-u add-log-exp
unpow-prod-down pow-unpow
cbrt-div fma-udef
pow-to-exp cos-sum pow-pow flip3-+ sin-sum pow1/3 unpow3 pow-exp flip-+ distribute-lft-out rem-cube-cbrt sqr-pow
Counts
4 → 57
Calls
4 calls:
3.0ms
(cbrt (+ m n))
2.0ms
(pow (cos (fma (/ (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (sqrt 2.0)) (/ (cbrt (+ m n)) (sqrt 2.0)) (- (* M 1)))) 3)
2.0ms
(sin (fma (/ (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (sqrt 2.0)) (/ (cbrt (+ m n)) (sqrt 2.0)) (- (* M 1))))
2.0ms
(cos (fma (/ (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (sqrt 2.0)) (/ (cbrt (+ m n)) (sqrt 2.0)) (- (* M 1))))

series2.2s

Counts
4 → 12
Calls
4 calls:
141.0ms
(cbrt (+ m n))
1.1s
(pow (cos (fma (/ (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (sqrt 2.0)) (/ (cbrt (+ m n)) (sqrt 2.0)) (- (* M 1)))) 3)
460.0ms
(sin (fma (/ (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (sqrt 2.0)) (/ (cbrt (+ m n)) (sqrt 2.0)) (- (* M 1))))
487.0ms
(cos (fma (/ (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (sqrt 2.0)) (/ (cbrt (+ m n)) (sqrt 2.0)) (- (* M 1))))

simplify135.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 3 (125.0ms)

IterNodesCost
02791040
1859929
23885922
35001921

prune503.0ms

Filtered
69 candidates to 54 candidates (78.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New68169
Fresh279
Picked101
Done011
Total71980

Merged error: 2.7b

Counts
80 → 9

regimes418.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02010
12010

end0.0ms

sample1.3s

Algorithm
intervals
Results
897.0ms8068×body80valid
64.0ms119×body1280valid
56.0ms158×body640valid
29.0ms97×body320valid
7.0ms43×body160valid
2.0msbody2560valid