Details

Time bar (total: 4.2s)

sample61.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 100%

Results
33.0ms263×body80valid
3.0msbody640valid
2.0msbody1280valid
1.0msbody320valid
0.0msbody160valid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune17.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.9b

Counts
2 → 2

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
29×*-un-lft-identity
25×add-log-exp
13×add-sqr-sqrt
12×diff-log distribute-lft-out--
exp-prod
add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
rem-exp-log
sub-neg distribute-rgt-neg-in associate-*r* neg-log
associate-*l* exp-sum
cos-sum associate-*r/ associate--r+ associate--r- difference-of-squares
associate--l- neg-sub0 distribute-rgt-in cos-diff flip3-- distribute-lft-in flip3-+ exp-diff pow-prod-down prod-exp *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out unswap-sqr
Counts
4 → 81
Calls
4 calls:
6.0ms
(* K (+ m n))
20.0ms
(- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
24.0ms
(exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
8.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series123.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* K (+ m n))
39.0ms
(- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
57.0ms
(exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
21.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify43.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0393762
11362694
25002690

prune186.0ms

Filtered
61 candidates to 93 candidates (-52.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New88593
Fresh101
Picked101
Done000
Total90595

Merged error: 1.2b

Counts
95 → 5

localize15.0ms

Local error

Found 3 expressions with local error:

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

rewrite56.0ms

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

series137.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0386730
11179685
25002677

prune160.0ms

Filtered
51 candidates to 77 candidates (-51.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New75277
Fresh044
Picked101
Done000
Total76682

Merged error: 1.2b

Counts
82 → 6

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
37×add-log-exp
24×exp-prod
18×diff-log distribute-lft-out--
15×rem-exp-log
14×add-sqr-sqrt
12×exp-sum
add-cube-cbrt
cbrt-prod distribute-rgt-neg-in neg-log
pow1 add-exp-log sub-neg exp-diff add-cbrt-cube associate--r-
difference-of-squares
cbrt-div pow1/3
Counts
4 → 87
Calls
4 calls:
20.0ms
(cbrt (exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))))
21.0ms
(exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
23.0ms
(exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
21.0ms
(exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))

series261.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(cbrt (exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))))
54.0ms
(exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
55.0ms
(exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
57.0ms
(exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))

simplify71.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
02251058
1625975
22674964
35001954

prune334.0ms

Filtered
71 candidates to 99 candidates (-39.4%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New99099
Fresh055
Picked011
Done000
Total996105

Merged error: 1.2b

Counts
105 → 6

localize28.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (+ m n))
0.6b
(cbrt (+ m n))
0.6b
(cbrt (+ m n))
33.7b
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

rewrite27.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))
18.0ms
(cos (- (/ (* (* K (* (cbrt (+ m n)) (cbrt (+ m n)))) (cbrt (+ m n))) 2.0) M))

series120.0ms

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

simplify161.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 3 (34.0ms)

IterNodesCost
0207539
1429499
21164478
34632454
45001454

prune135.0ms

Filtered
53 candidates to 64 candidates (-20.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New61364
Fresh134
Picked101
Done011
Total63770

Merged error: 1.1b

Counts
70 → 7

regimes503.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02535
12735
22735

end0.0ms

sample1.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 100%

Results
918.0ms8091×body80valid
82.0ms128×body1280valid
67.0ms141×body640valid
36.0ms97×body320valid
11.0ms51×body160valid
4.0msbody2560valid

Profiling

Loading profile data...