Details

Time bar (total: 7.8s)

sample43.0ms

Algorithm
intervals
Results
19.0ms260×body80valid
2.0msbody1280valid
2.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19516
221116
355315
4197415
5500115

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 16.6b

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

rewrite1.2s

Algorithm
rewrite-expression-head
Rules
208×add-sqr-sqrt
180×*-un-lft-identity
171×prod-diff
94×add-cube-cbrt
72×unpow-prod-down
62×distribute-rgt-neg-in
60×distribute-lft-neg-in
50×difference-of-squares
43×distribute-lft-out--
33×times-frac
31×fma-neg
23×cos-sum
16×add-log-exp
12×sqr-pow
11×associate--r+
diff-log div-inv
pow1 add-exp-log neg-mul-1 add-cbrt-cube
expm1-log1p-u sub-neg associate-*r* log1p-expm1-u
associate-*l*
flip3-- associate-*r/ neg-log flip--
associate--l- neg-sub0 distribute-rgt-in cos-diff distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ distribute-lft-out associate--r- unswap-sqr
Counts
4 → 281
Calls
4 calls:
1.1s
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
23.0ms
(- (/ (* K (+ m n)) 2.0) M)
19.0ms
(* K (+ m n))
35.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series340.0ms

Counts
4 → 12
Calls
4 calls:
189.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
58.0ms
(- (/ (* K (+ m n)) 2.0) M)
32.0ms
(* K (+ m n))
61.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify109.0ms

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
09846370
128484545
250024468

prune738.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 1.2b

localize15.0ms

Local error

Found 2 expressions with local error:

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

rewrite1.2s

Algorithm
rewrite-expression-head
Rules
179×add-sqr-sqrt
148×*-un-lft-identity
129×prod-diff
78×unpow-prod-down
64×add-cube-cbrt
62×distribute-rgt-neg-in
60×distribute-lft-neg-in
51×difference-of-squares
43×distribute-lft-out--
24×fma-neg
13×times-frac sqr-pow
12×add-log-exp
11×associate--r+
neg-mul-1 diff-log
pow1 add-exp-log pow-unpow
expm1-log1p-u sub-neg neg-log add-cbrt-cube log1p-expm1-u
associate--l- neg-sub0 pow-to-exp flip3-- pow-pow pow-exp flip-- associate--r-
Counts
2 → 201
Calls
2 calls:
55.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
1.1s
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))

series471.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
207 → 207
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
06085050
116933609
250013001

prune542.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 1.2b

localize30.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
34.2b
(cos (+ (- (* (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0))) M) (fma (- M) 1 M)))

rewrite290.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
cos-diff associate-+l- cos-sum
Counts
4 → 50
Calls
4 calls:
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
287.0ms
(cos (+ (- (* (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0))) M) (fma (- M) 1 M)))

series220.0ms

Counts
4 → 6
Calls
4 calls:
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
220.0ms
(cos (+ (- (* (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0))) M) (fma (- M) 1 M)))

simplify55.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 4 (50.0ms)

IterNodesCost
0148424
1331388
2839382
32139379
45001357

prune364.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 1.2b

localize30.0ms

Local error

Found 4 expressions with local error:

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

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cos-sum
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3 prod-diff
cos-diff sub-neg
Counts
4 → 54
Calls
4 calls:
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
68.0ms
(cos (- (* (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0))) M))

series206.0ms

Counts
4 → 6
Calls
4 calls:
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
206.0ms
(cos (- (* (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0))) M))

simplify61.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 4 (51.0ms)

IterNodesCost
0180484
1364448
2844442
32059436
45002421

prune333.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 1.2b

regimes202.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
02110
12310
22310

end0.0ms

sample1.1s

Algorithm
intervals
Results
610.0ms8092×body80valid
59.0ms125×body1280valid
41.0ms129×body640valid
24.0ms92×body320valid
12.0ms55×body160valid
1.0msbody2560valid