Details

Time bar (total: 5.9s)

sample49.0ms

Algorithm
intervals
Results
25.0ms261×body80valid
3.0msbody640valid
2.0msbody1280valid
1.0msbody2560valid
1.0msbody320valid

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

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 15.7b

Counts
2 → 1

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
40×*-un-lft-identity
30×prod-diff
29×add-cube-cbrt
23×cos-sum
12×unpow-prod-down
11×associate-+r+ times-frac
10×fma-def
add-log-exp
pow1 add-exp-log
add-cbrt-cube
expm1-log1p-u associate-*r* log1p-expm1-u difference-of-squares
pow-unpow associate-*l* div-inv distribute-lft-out distribute-lft-out--
sub-neg flip3-+ associate-*r/ sum-log flip-+ sqr-pow
+-commutative distribute-rgt-in cos-diff pow-to-exp associate-+r- pow-pow distribute-lft-in diff-log pow-prod-down pow-exp prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 118
Calls
4 calls:
6.0ms
(* K (+ m n))
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
18.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
12.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series524.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* K (+ m n))
265.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
177.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
57.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify64.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
07091542
121391259
250011252

prune441.0ms

Filtered
130 candidates to 88 candidates (67.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1264130
Fresh000
Picked101
Done000
Total1274131

Merged error: 0.8b

Counts
131 → 4

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
21×*-un-lft-identity
12×add-cube-cbrt unpow-prod-down
11×associate-+r+
10×fma-def
prod-diff
add-log-exp
difference-of-squares
pow1 add-exp-log pow-unpow distribute-lft-out--
expm1-log1p-u times-frac sum-log add-cbrt-cube log1p-expm1-u distribute-lft-out sqr-pow
+-commutative pow-to-exp associate-+r- sub-neg pow-pow flip3-+ diff-log pow-exp flip-+
Counts
2 → 60
Calls
2 calls:
15.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
18.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))

series445.0ms

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

simplify128.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0326528
1945464
24380448
35001448

prune212.0ms

Filtered
66 candidates to 50 candidates (75.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New66066
Fresh033
Picked011
Done000
Total66470

Merged error: 0.8b

Counts
70 → 4

localize39.0ms

Local error

Found 4 expressions with local error:

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

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
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
2.0ms
(sin (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))

series426.0ms

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

simplify117.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (26.0ms)

IterNodesCost
0162536
1394479
2986470
32961468
45003468

prune405.0ms

Filtered
54 candidates to 47 candidates (87.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New53154
Fresh022
Picked011
Done011
Total53558

Merged error: 0.8b

Counts
58 → 5

localize51.0ms

Local error

Found 4 expressions with local error:

32.8b
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
32.8b
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
32.8b
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
32.9b
(sin (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
cos-sum
sin-sum
Counts
4 → 40
Calls
4 calls:
2.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
2.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
2.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
2.0ms
(sin (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))

series837.0ms

Counts
4 → 12
Calls
4 calls:
209.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
211.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
206.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))
210.0ms
(sin (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0)) (- (* M 1))))

simplify57.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
0108754
1251653
2596652
31348652
45002652

prune443.0ms

Filtered
52 candidates to 48 candidates (92.3%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New52052
Fresh022
Picked011
Done022
Total52557

Merged error: 0.8b

Counts
57 → 5

regimes206.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02010
12010

end0.0ms

sample1.3s

Algorithm
intervals
Results
804.0ms8088×body80valid
69.0ms114×body1280valid
66.0ms158×body640valid
33.0ms112×body320valid
10.0ms49×body160valid
3.0msbody2560valid