Details

Time bar (total: 4.9s)

sample47.0ms

Algorithm
intervals
Results
25.0ms255×body80valid
2.0msbody640valid
2.0msbody320valid
1.0msbody1280valid
0.0msbody160valid

simplify53.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
05016
19516
221116
355315
4197415
5500115

prune14.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.0b

Counts
2 → 1

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

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
54×add-sqr-sqrt
53×*-un-lft-identity
51×prod-diff
42×add-cube-cbrt
23×cos-sum times-frac
12×unpow-prod-down
11×associate-+r+ add-log-exp
10×fma-def
fma-neg div-inv
pow1 add-exp-log difference-of-squares
expm1-log1p-u add-cbrt-cube log1p-expm1-u distribute-lft-out--
sub-neg pow-unpow
diff-log sum-log distribute-lft-out sqr-pow
+-commutative cos-diff pow-to-exp associate-+r- flip3-- pow-pow flip3-+ pow-exp flip-- flip-+
Counts
4 → 137
Calls
4 calls:
19.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
9.0ms
(- (/ (* K (+ m n)) 2.0) M)
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
11.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series559.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
06661925
118381487
250021476

prune497.0ms

Filtered
149 candidates to 92 candidates (61.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1436149
Fresh000
Picked101
Done000
Total1446150

Merged error: 1.4b

Counts
150 → 6

localize14.0ms

Local error

Found 2 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)

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

series447.0ms

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

simplify129.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0326528
1945464
24380448
35001448

prune224.0ms

Filtered
66 candidates to 50 candidates (75.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New66066
Fresh055
Picked011
Done000
Total66672

Merged error: 1.4b

Counts
72 → 6

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite6.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-sum fma-udef
Counts
4 → 49
Calls
4 calls:
1.0ms
(cbrt 2.0)
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)))

series202.0ms

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

simplify98.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 4 (27.0ms)

IterNodesCost
077281
1144253
2316247
3854247
43641244
55002244

prune269.0ms

Filtered
55 candidates to 45 candidates (81.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New52355
Fresh134
Picked101
Done011
Total54761

Merged error: 1.4b

Counts
61 → 7

localize29.0ms

Local error

Found 4 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
32×cbrt-prod
20×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
associate-*r*
pow1 add-exp-log unswap-sqr
expm1-log1p-u pow1/3 associate-*l* add-cbrt-cube log1p-expm1-u add-log-exp
pow-prod-down
cos-sum pow3 prod-exp *-commutative cbrt-unprod fma-udef
Counts
4 → 73
Calls
4 calls:
1.0ms
(cbrt 2.0)
6.0ms
(* (cbrt (* (cbrt 2.0) (cbrt 2.0))) (cbrt (cbrt 2.0)))
2.0ms
(cbrt (cbrt 2.0))
2.0ms
(cos (fma (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (* (cbrt (* (cbrt 2.0) (cbrt 2.0))) (cbrt (cbrt 2.0)))) (- M)))

series204.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 3 (35.0ms)

IterNodesCost
0156693
1422634
21481626
35002609

prune378.0ms

Filtered
79 candidates to 62 candidates (78.5%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New78179
Fresh055
Picked101
Done011
Total79786

Merged error: 1.4b

Counts
86 → 7

regimes246.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02010
12010

end0.0ms

sample1.3s

Algorithm
intervals
Results
799.0ms8073×body80valid
63.0ms153×body640valid
61.0ms100×body1280valid
36.0ms118×body320valid
11.0ms55×body160valid
4.0msbody2560valid