Details

Time bar (total: 5.2s)

sample54.0ms

Algorithm
intervals
Results
32.0ms259×body80valid
2.0msbody640valid
1.0msbody1280valid
1.0msbody320valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune9.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: 13.5b

Counts
2 → 1

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
16×add-sqr-sqrt
15×add-log-exp
10×add-exp-log
add-cube-cbrt add-cbrt-cube
exp-prod
distribute-lft-out--
unpow-prod-down diff-log
pow1 rem-exp-log
times-frac
pow-unpow exp-sum associate-/r* difference-of-squares
cbrt-undiv sub-neg cos-sum distribute-rgt-neg-in associate-*r/ div-exp neg-log associate-/l/
cos-diff pow-to-exp pow-pow frac-2neg flip3-+ exp-diff pow-exp prod-exp clear-num cbrt-unprod flip-+ div-inv associate-/l* associate--r- sqr-pow
Counts
4 → 77
Calls
4 calls:
27.0ms
(exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
11.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
7.0ms
(/ (* K (+ m n)) 2.0)
9.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series506.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
279.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
48.0ms
(/ (* K (+ m n)) 2.0)
54.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify51.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0462652
11789592
25001588

prune354.0ms

Filtered
89 candidates to 65 candidates (73.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New84589
Fresh000
Picked101
Done000
Total85590

Merged error: 0.8b

Counts
90 → 5

localize16.0ms

Local error

Found 3 expressions with local error:

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)))))
0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)

rewrite63.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:
27.0ms
(- (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)))))
11.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series607.0ms

Counts
3 → 9
Calls
3 calls:
194.0ms
(- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
123.0ms
(exp (- (neg (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n)))))
290.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify40.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0356720
11112675
25002670

prune222.0ms

Filtered
77 candidates to 51 candidates (66.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New76177
Fresh134
Picked011
Done000
Total77582

Merged error: 0.8b

Counts
82 → 5

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
pow1/3
cos-sum
cos-diff sub-neg
Counts
4 → 43
Calls
4 calls:
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
14.0ms
(cos (- (* (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0))) M))

series215.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
082309
1139279
2219273
3308273
4458273
5812273
62301273
75001273

prune240.0ms

Filtered
49 candidates to 40 candidates (81.6%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New47249
Fresh123
Picked011
Done011
Total48654

Merged error: 0.8b

Counts
54 → 6

localize36.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
cos-sum
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
cbrt-prod cos-diff sub-neg
pow1/3
Counts
4 → 41
Calls
4 calls:
1.0ms
(cbrt 2.0)
17.0ms
(cos (- (* (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0))) M))
15.0ms
(cos (- (* (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0))) M))
14.0ms
(cos (- (* (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0))) M))

series639.0ms

Counts
4 → 10
Calls
4 calls:
0.0ms
(cbrt 2.0)
209.0ms
(cos (- (* (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0))) M))
211.0ms
(cos (- (* (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0))) M))
218.0ms
(cos (- (* (/ K (* (cbrt 2.0) (cbrt 2.0))) (/ (+ m n) (cbrt 2.0))) M))

simplify80.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
082642
1139576
2219574
3308574
4458574
5812574
62301574
75001574

prune297.0ms

Filtered
51 candidates to 43 candidates (84.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New49251
Fresh033
Picked101
Done112
Total51657

Merged error: 0.7b

Counts
57 → 6

regimes234.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
02110
12310
22310

end0.0ms

sample1.2s

Algorithm
intervals
Results
788.0ms8105×body80valid
58.0ms144×body640valid
55.0ms98×body1280valid
29.0ms98×body320valid
13.0ms65×body160valid

Profiling

Loading profile data...