Details

Time bar (total: 5.9s)

sample45.0ms

Algorithm
intervals
Results
22.0ms257×body80valid
3.0msbody640valid
1.0msbody320valid
1.0msbody160valid
1.0msbody1280valid

simplify53.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
05016
19516
221116
355315
4197415
5500115

prune10.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 15.5b

Counts
2 → 1

localize29.0ms

Local error

Found 4 expressions with local error:

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

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
198×add-sqr-sqrt
167×*-un-lft-identity
150×prod-diff
81×add-cube-cbrt
78×unpow-prod-down
62×distribute-rgt-neg-in
60×distribute-lft-neg-in
51×difference-of-squares
43×distribute-lft-out--
24×fma-neg
23×cos-sum
22×times-frac
14×add-log-exp
13×sqr-pow
11×associate--r+
pow1 add-exp-log
neg-mul-1 diff-log add-cbrt-cube
expm1-log1p-u associate-*r* log1p-expm1-u
sub-neg pow-unpow associate-*l* div-inv
associate-*r/ neg-log
associate--l- neg-sub0 distribute-rgt-in cos-diff pow-to-exp flip3-- pow-pow distribute-lft-in flip3-+ pow-prod-down pow-exp prod-exp *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out associate--r- unswap-sqr
Counts
4 → 259
Calls
4 calls:
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
6.0ms
(* K (+ m n))
26.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
11.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series523.0ms

Counts
4 → 12
Calls
4 calls:
264.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
27.0ms
(* K (+ m n))
179.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
53.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify113.0ms

Algorithm
egg-herbie
Counts
271 → 271
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
09916064
128834404
250014329

prune619.0ms

Filtered
271 candidates to 116 candidates (42.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New2665271
Fresh000
Picked101
Done000
Total2675272

Merged error: 1.0b

Counts
272 → 5

localize16.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))))

rewrite52.0ms

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

series448.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
207 → 207
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
06085050
116933609
250013001

prune307.0ms

Filtered
207 candidates to 71 candidates (34.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2070207
Fresh044
Picked011
Done000
Total2075212

Merged error: 1.0b

Counts
212 → 5

localize41.0ms

Local error

Found 4 expressions with local error:

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

rewrite10.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 fma-udef
cos-sum sin-sum
Counts
4 → 46
Calls
4 calls:
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
2.0ms
(sin (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
5.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))

series420.0ms

Counts
4 → 8
Calls
4 calls:
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
213.0ms
(sin (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
207.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))

simplify128.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (28.0ms)

IterNodesCost
0162538
1381481
2991472
33226466
45001466

prune430.0ms

Filtered
54 candidates to 47 candidates (87.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New53154
Fresh033
Picked101
Done011
Total54559

Merged error: 1.0b

Counts
59 → 5

localize51.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
33.9b
(sin (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
34.5b
(cos (fma (/ K (pow (cbrt 2.0) 2)) (/ (+ m n) (cbrt 2.0)) (* -1 M)))

rewrite7.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 fma-udef
cos-sum sin-sum
Counts
4 → 46
Calls
4 calls:
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
2.0ms
(sin (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
2.0ms
(cos (fma (/ K (pow (cbrt 2.0) 2)) (/ (+ m n) (cbrt 2.0)) (* -1 M)))

series426.0ms

Counts
4 → 8
Calls
4 calls:
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
219.0ms
(sin (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
207.0ms
(cos (fma (/ K (pow (cbrt 2.0) 2)) (/ (+ m n) (cbrt 2.0)) (* -1 M)))

simplify136.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (30.0ms)

IterNodesCost
0174492
1400459
21039450
33359444
45002444

prune481.0ms

Filtered
54 candidates to 46 candidates (85.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New53154
Fresh033
Picked101
Done011
Total54559

Merged error: 1.0b

Counts
59 → 5

regimes219.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

sample1.2s

Algorithm
intervals
Results
701.0ms8075×body80valid
63.0ms121×body1280valid
60.0ms150×body640valid
39.0ms133×body320valid
8.0ms43×body160valid
2.0msbody2560valid