Details

Time bar (total: 5.2s)

sample51.0ms

Algorithm
intervals
Results
26.0ms259×body80valid
3.0msbody1280valid
2.0msbody640valid
2.0msbody320valid
1.0msbody160valid

simplify54.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: 14.7b

Counts
2 → 1

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (* K (+ m n)) 2.0) M)
0.0b
(* K (+ m n))
0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)
33.3b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
45×add-sqr-sqrt
42×*-un-lft-identity prod-diff
36×add-cube-cbrt
23×cos-sum
22×times-frac
pow1 add-exp-log fma-neg div-inv
unpow-prod-down add-cbrt-cube add-log-exp
expm1-log1p-u associate-*r* log1p-expm1-u
pow-unpow associate-*l* difference-of-squares
sub-neg associate-*r/ distribute-lft-out--
distribute-rgt-in cos-diff pow-to-exp flip3-- pow-pow distribute-lft-in flip3-+ diff-log pow-prod-down pow-exp prod-exp *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out unswap-sqr sqr-pow
Counts
4 → 124
Calls
4 calls:
9.0ms
(- (/ (* K (+ m n)) 2.0) M)
6.0ms
(* K (+ m n))
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
11.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series404.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(- (/ (* K (+ m n)) 2.0) M)
25.0ms
(* K (+ m n))
265.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
57.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify64.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
06121660
119071270
250031268

prune412.0ms

Filtered
136 candidates to 82 candidates (60.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1315136
Fresh000
Picked101
Done000
Total1325137

Merged error: 1.1b

Counts
137 → 5

localize14.0ms

Local error

Found 1 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
unpow-prod-down
*-un-lft-identity
add-cube-cbrt pow-unpow
pow1 add-exp-log difference-of-squares
expm1-log1p-u pow-to-exp pow-pow times-frac pow-exp add-cbrt-cube log1p-expm1-u distribute-lft-out-- add-log-exp sqr-pow
Counts
1 → 22
Calls
1 calls:
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series264.0ms

Counts
1 → 3
Calls
1 calls:
264.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify46.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0159174
1445168
21492167
35001162

prune91.0ms

Filtered
25 candidates to 19 candidates (76.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New25025
Fresh044
Picked011
Done000
Total25530

Merged error: 1.1b

Counts
30 → 5

localize24.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (/ K (sqrt 2.0)) (/ (+ m n) (sqrt 2.0)) (- M))
0.4b
(/ K (sqrt 2.0))
0.4b
(/ (+ m n) (sqrt 2.0))
33.1b
(cos (fma (/ K (sqrt 2.0)) (/ (+ m n) (sqrt 2.0)) (- M)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
50×*-un-lft-identity
42×times-frac
36×add-sqr-sqrt add-cube-cbrt
27×sqrt-prod
12×associate-/r*
add-exp-log add-cbrt-cube
distribute-lft-out associate-/l*
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg div-exp clear-num fma-udef div-inv associate-/l/
cos-sum flip3-+ flip-+
Counts
4 → 111
Calls
4 calls:
1.0ms
(fma (/ K (sqrt 2.0)) (/ (+ m n) (sqrt 2.0)) (- M))
4.0ms
(/ K (sqrt 2.0))
6.0ms
(/ (+ m n) (sqrt 2.0))
2.0ms
(cos (fma (/ K (sqrt 2.0)) (/ (+ m n) (sqrt 2.0)) (- M)))

series579.0ms

Counts
4 → 12
Calls
4 calls:
223.0ms
(fma (/ K (sqrt 2.0)) (/ (+ m n) (sqrt 2.0)) (- M))
52.0ms
(/ K (sqrt 2.0))
91.0ms
(/ (+ m n) (sqrt 2.0))
213.0ms
(cos (fma (/ K (sqrt 2.0)) (/ (+ m n) (sqrt 2.0)) (- M)))

simplify95.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 3 (84.0ms)

IterNodesCost
0301846
1906777
23539748
35001739

prune438.0ms

Filtered
123 candidates to 81 candidates (65.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1221123
Fresh033
Picked101
Done011
Total1235128

Merged error: 1.1b

Counts
128 → 5

localize28.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ K (sqrt 2.0))
0.4b
(/ (+ m n) (sqrt 2.0))
0.7b
(log (exp (cos (fma (/ K (sqrt 2.0)) (/ (+ m n) (sqrt 2.0)) (- M)))))
33.1b
(cos (fma (/ K (sqrt 2.0)) (/ (+ m n) (sqrt 2.0)) (- M)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity
42×times-frac
38×add-sqr-sqrt add-cube-cbrt
27×sqrt-prod
12×associate-/r*
add-exp-log add-cbrt-cube
distribute-lft-out associate-/l*
pow1
expm1-log1p-u log-pow log1p-expm1-u add-log-exp
log-prod exp-prod
cbrt-undiv cos-sum frac-2neg div-exp clear-num fma-udef div-inv associate-/l/
log-div flip3-+ exp-diff rem-log-exp flip-+
Counts
4 → 119
Calls
4 calls:
4.0ms
(/ K (sqrt 2.0))
6.0ms
(/ (+ m n) (sqrt 2.0))
3.0ms
(log (exp (cos (fma (/ K (sqrt 2.0)) (/ (+ m n) (sqrt 2.0)) (- M)))))
2.0ms
(cos (fma (/ K (sqrt 2.0)) (/ (+ m n) (sqrt 2.0)) (- M)))

series567.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(/ K (sqrt 2.0))
95.0ms
(/ (+ m n) (sqrt 2.0))
203.0ms
(log (exp (cos (fma (/ K (sqrt 2.0)) (/ (+ m n) (sqrt 2.0)) (- M)))))
207.0ms
(cos (fma (/ K (sqrt 2.0)) (/ (+ m n) (sqrt 2.0)) (- M)))

simplify56.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0305957
1792887
21994865
35001865

prune475.0ms

Filtered
131 candidates to 86 candidates (65.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1301131
Fresh033
Picked101
Done011
Total1315136

Merged error: 1.1b

Counts
136 → 5

regimes181.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
02010
12010

end0.0ms

sample1.3s

Algorithm
intervals
Results
799.0ms8097×body80valid
69.0ms161×body640valid
67.0ms117×body1280valid
33.0ms100×body320valid
13.0ms63×body160valid
4.0msbody2560valid

Profiling

Loading profile data...