Details

Time bar (total: 17.6s)

sample6.9s

Algorithm
intervals
sampling

Space saved by range analysis: 0.925829%

Space saved by search: 0.243902%

Guaranteed chance to sample good point: 0%

Results
27.0ms250×body80valid
3.0msbody1280valid
2.0msbody1280invalid
1.0msbody80invalid
1.0msbody320invalid
0.0msbody640invalid
0.0msbody640valid
0.0msbody320valid
0.0msbody160invalid

simplify61.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune31.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 15.2b

Counts
2 → 2

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
17×add-sqr-sqrt
14×add-log-exp
add-cube-cbrt
pow1 add-exp-log distribute-lft-out--
unpow-prod-down diff-log add-cbrt-cube
associate-*r*
sub-neg pow-unpow associate-*l* difference-of-squares
cos-sum distribute-rgt-neg-in associate-*r/ neg-log associate--r+
associate--l- neg-sub0 distribute-rgt-in cos-diff pow-to-exp flip3-- pow-pow distribute-lft-in flip3-+ times-frac pow-prod-down pow-exp prod-exp *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out associate--r- unswap-sqr sqr-pow
Counts
4 → 77
Calls
4 calls:
21.0ms
(- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
6.0ms
(* K (+ m n))
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
8.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series116.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
6.0ms
(* K (+ m n))
41.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
24.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify44.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0465677
11514631
25002627

prune174.0ms

Filtered
60 candidates to 89 candidates (-48.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New85489
Fresh101
Picked101
Done000
Total87491

Merged error: 1.2b

Counts
91 → 4

localize15.0ms

Local error

Found 3 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
15×add-log-exp
14×add-sqr-sqrt
distribute-lft-out--
diff-log
unpow-prod-down
add-cube-cbrt
pow1 add-exp-log difference-of-squares
sub-neg pow-unpow add-cbrt-cube
flip3-- distribute-rgt-neg-in neg-log flip-- associate--r+
associate--l- neg-sub0 pow-to-exp pow-pow times-frac pow-exp associate--r- sqr-pow
Counts
3 → 58
Calls
3 calls:
3.0ms
(- l (fabs (- m n)))
20.0ms
(- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series87.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(- l (fabs (- m n)))
40.0ms
(- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
42.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify90.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0347567
1942542
23728530
35001527

prune118.0ms

Filtered
45 candidates to 67 candidates (-48.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New66167
Fresh033
Picked011
Done000
Total66571

Merged error: 1.2b

Counts
71 → 5

localize28.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (+ m n))
0.5b
(cbrt (+ m n))
0.5b
(cbrt (+ m n))
36.3b
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt
cbrt-div
pow1 add-exp-log add-cbrt-cube add-log-exp
flip3-+ pow1/3 flip-+ distribute-lft-out
cos-sum
cos-diff sub-neg
Counts
4 → 52
Calls
4 calls:
3.0ms
(cbrt (+ m n))
3.0ms
(cbrt (+ m n))
3.0ms
(cbrt (+ m n))
16.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

series124.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(cbrt (+ m n))
31.0ms
(cbrt (+ m n))
34.0ms
(cbrt (+ m n))
28.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

simplify164.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 3 (34.0ms)

IterNodesCost
0207539
1429499
21164478
34632454
45001454

prune154.0ms

Filtered
52 candidates to 64 candidates (-23.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New60464
Fresh303
Picked101
Done011
Total64569

Merged error: 1.1b

Counts
69 → 5

localize36.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (+ m n))
0.5b
(cbrt (+ m n))
0.5b
(cbrt (cbrt (+ m n)))
36.4b
(cos (- (/ (* (* K (* (cbrt (+ m n)) (* (cbrt (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (cbrt (+ m n)))))) (cbrt (+ m n))) 2.0) M))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
19×cbrt-prod
14×*-un-lft-identity
add-sqr-sqrt add-cube-cbrt cbrt-div
pow1 add-exp-log add-cbrt-cube add-log-exp
flip3-+ pow1/3 flip-+ distribute-lft-out
cos-sum
cos-diff sub-neg
Counts
4 → 55
Calls
4 calls:
3.0ms
(cbrt (+ m n))
3.0ms
(cbrt (+ m n))
4.0ms
(cbrt (cbrt (+ m n)))
18.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (* (cbrt (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (cbrt (+ m n)))))) (cbrt (+ m n))) 2.0) M))

series131.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(cbrt (+ m n))
31.0ms
(cbrt (+ m n))
41.0ms
(cbrt (cbrt (+ m n)))
28.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (* (cbrt (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (cbrt (+ m n)))))) (cbrt (+ m n))) 2.0) M))

simplify60.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 3 (51.0ms)

IterNodesCost
0296714
1651656
22004633
35001610

prune143.0ms

Filtered
54 candidates to 67 candidates (-24.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New64367
Fresh213
Picked101
Done011
Total67572

Merged error: 1.1b

Counts
72 → 5

regimes397.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

sample8.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0.925829%

Space saved by search: 0.243902%

Guaranteed chance to sample good point: 0%

Results
887.0ms7832×body80valid
52.0ms78×body1280invalid
42.0ms97×body640invalid
28.0ms62×body640valid
26.0ms41×body1280valid
25.0ms230×body80invalid
21.0ms68×body320invalid
14.0ms42×body320valid
6.0ms27×body160invalid
5.0ms23×body160valid
4.0msbody2560invalid

Profiling

Loading profile data...