Details

Time bar (total: 6.6s)

sample46.0ms

Algorithm
intervals
Results
24.0ms261×body80valid
2.0msbody640valid
2.0msbody1280valid
1.0msbody2560valid
1.0msbody160valid

simplify48.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
New011
Fresh101
Picked000
Done000
Total112

Merged error: 12.5b

Counts
2 → 1

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.0ms

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

series552.0ms

Counts
4 → 12
Calls
4 calls:
284.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
24.0ms
(* K (+ m n))
191.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
54.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify55.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0411566
11369528
25001523

prune272.0ms

Filtered
82 candidates to 58 candidates (70.7%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New77582
Fresh000
Picked101
Done000
Total78583

Merged error: 1.3b

Counts
83 → 5

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity
20×add-sqr-sqrt
15×add-cube-cbrt
13×times-frac
add-log-exp
unpow-prod-down pow-flip
pow1 add-exp-log exp-prod add-cbrt-cube
exp-sum associate-/r* distribute-lft-out
pow-unpow associate-/l* distribute-lft-out--
associate-+r- associate-+r+ div-exp sum-log difference-of-squares
cbrt-undiv +-commutative pow-to-exp sub-neg rec-exp pow-pow frac-2neg flip3-+ exp-diff diff-log 1-exp pow-exp clear-num associate-/r/ flip-+ div-inv inv-pow sqr-pow
Counts
3 → 78
Calls
3 calls:
21.0ms
(/ 1 (exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))))
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
16.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))

series585.0ms

Counts
3 → 9
Calls
3 calls:
155.0ms
(/ 1 (exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))))
258.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
172.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))

simplify48.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04121003
11570932
25002908

prune199.0ms

Filtered
87 candidates to 54 candidates (62.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New87087
Fresh044
Picked011
Done000
Total87592

Merged error: 1.3b

Counts
92 → 5

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
54×add-sqr-sqrt
44×cbrt-prod
34×*-un-lft-identity
16×add-cube-cbrt
14×cbrt-div
12×pow1 difference-of-squares
11×swap-sqr
unpow-prod-down associate-*r* associate-*l*
pow1/3 distribute-lft-out--
add-exp-log flip3-- flip--
times-frac
frac-times add-cbrt-cube add-log-exp unswap-sqr
pow-unpow
cos-sum pow-pow associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 cos-diff pow-to-exp sub-neg pow-plus pow-exp prod-exp *-commutative cbrt-unprod sqr-pow
Counts
4 → 109
Calls
4 calls:
8.0ms
(cbrt (- (/ (+ m n) 2.0) M))
10.0ms
(pow (cbrt (- (/ (+ m n) 2.0) M)) 2.0)
24.0ms
(* (cbrt (- (/ (+ m n) 2.0) M)) (cbrt (- (/ (+ m n) 2.0) M)))
8.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series843.0ms

Counts
4 → 12
Calls
4 calls:
252.0ms
(cbrt (- (/ (+ m n) 2.0) M))
303.0ms
(pow (cbrt (- (/ (+ m n) 2.0) M)) 2.0)
232.0ms
(* (cbrt (- (/ (+ m n) 2.0) M)) (cbrt (- (/ (+ m n) 2.0) M)))
56.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify53.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04931304
117301199
250021144

prune524.0ms

Filtered
121 candidates to 86 candidates (71.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1201121
Fresh033
Picked101
Done011
Total1215126

Merged error: 1.3b

Counts
126 → 5

localize37.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (- (/ (+ m n) 2.0) M))
0.6b
(pow (cbrt (- (/ (+ m n) 2.0) M)) 2.0)
0.9b
(pow (cbrt (cbrt (- (/ (+ m n) 2.0) M))) 4)
32.2b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
27×cbrt-prod add-sqr-sqrt
21×unpow-prod-down
18×*-un-lft-identity
12×add-cube-cbrt
pow1 add-exp-log pow-unpow difference-of-squares
pow-pow add-cbrt-cube add-log-exp
times-frac pow1/3 distribute-lft-out--
pow-to-exp cbrt-div cos-sum pow-exp sqr-pow
cos-diff sub-neg flip3-- flip--
Counts
4 → 77
Calls
4 calls:
8.0ms
(cbrt (- (/ (+ m n) 2.0) M))
10.0ms
(pow (cbrt (- (/ (+ m n) 2.0) M)) 2.0)
11.0ms
(pow (cbrt (cbrt (- (/ (+ m n) 2.0) M))) 4)
8.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series1.2s

Counts
4 → 12
Calls
4 calls:
285.0ms
(cbrt (- (/ (+ m n) 2.0) M))
300.0ms
(pow (cbrt (- (/ (+ m n) 2.0) M)) 2.0)
534.0ms
(pow (cbrt (cbrt (- (/ (+ m n) 2.0) M))) 4)
57.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify46.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0518829
11539785
25001760

prune457.0ms

Filtered
89 candidates to 68 candidates (76.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New88189
Fresh033
Picked101
Done011
Total89594

Merged error: 1.3b

Counts
94 → 5

regimes184.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02010
12010

end0.0ms

sample1.3s

Algorithm
intervals
Results
790.0ms8093×body80valid
67.0ms112×body1280valid
65.0ms155×body640valid
32.0ms110×body320valid
13.0ms66×body160valid
2.0msbody2560valid

Profiling

Loading profile data...