Details

Time bar (total: 7.1s)

sample71.0ms

Algorithm
intervals
Results
30.0ms253×body80valid
4.0msbody1280valid
3.0msbody320valid
2.0msbody640valid
0.0msbody160valid

simplify56.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (14.0ms)

IterNodesCost
05016
19516
221116
355315
4197415
5500115

prune14.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 14.8b

localize21.0ms

Local error

Found 3 expressions with local error:

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

rewrite107.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
24×*-un-lft-identity
23×cos-sum
21×prod-diff
20×add-cube-cbrt
10×times-frac
pow1 add-exp-log unpow-prod-down
add-cbrt-cube
associate-*r*
expm1-log1p-u pow-unpow associate-*l* log1p-expm1-u div-inv add-log-exp
associate-*r/ difference-of-squares
distribute-rgt-in cos-diff pow-to-exp sub-neg pow-pow distribute-lft-in flip3-+ pow-prod-down pow-exp prod-exp *-commutative cbrt-unprod flip-+ distribute-lft-out distribute-lft-out-- unswap-sqr sqr-pow
Counts
3 → 80
Calls
3 calls:
19.0ms
(* K (+ m n))
52.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
33.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series307.0ms

Counts
3 → 9
Calls
3 calls:
22.0ms
(* K (+ m n))
236.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
48.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify49.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
05471188
11611963
25002962

prune335.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 1.3b

localize14.0ms

Local error

Found 1 expressions with local error:

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

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

series243.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 3 (39.0ms)

IterNodesCost
0159174
1445168
21492167
35001162

prune100.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 1.3b

localize17.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (pow (- (/ (+ m n) 2.0) M) 2.0)) (cbrt (pow (- (/ (+ m n) 2.0) M) 2.0)))
37.8b
(cbrt (pow (- (/ (+ m n) 2.0) M) 2.0))
37.8b
(cbrt (pow (- (/ (+ m n) 2.0) M) 2.0))
37.8b
(cbrt (pow (- (/ (+ m n) 2.0) M) 2.0))

rewrite499.0ms

Algorithm
rewrite-expression-head
Rules
98×cbrt-prod
81×add-sqr-sqrt
54×unpow-prod-down
42×*-un-lft-identity
22×add-cube-cbrt
16×unswap-sqr
15×swap-sqr sqr-pow
14×difference-of-squares
13×associate-*r* associate-*l*
11×pow1
pow1/3 distribute-lft-out--
times-frac
add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 137
Calls
4 calls:
359.0ms
(* (cbrt (pow (- (/ (+ m n) 2.0) M) 2.0)) (cbrt (pow (- (/ (+ m n) 2.0) M) 2.0)))
44.0ms
(cbrt (pow (- (/ (+ m n) 2.0) M) 2.0))
45.0ms
(cbrt (pow (- (/ (+ m n) 2.0) M) 2.0))
45.0ms
(cbrt (pow (- (/ (+ m n) 2.0) M) 2.0))

series1.1s

Counts
4 → 12
Calls
4 calls:
284.0ms
(* (cbrt (pow (- (/ (+ m n) 2.0) M) 2.0)) (cbrt (pow (- (/ (+ m n) 2.0) M) 2.0)))
289.0ms
(cbrt (pow (- (/ (+ m n) 2.0) M) 2.0))
289.0ms
(cbrt (pow (- (/ (+ m n) 2.0) M) 2.0))
283.0ms
(cbrt (pow (- (/ (+ m n) 2.0) M) 2.0))

simplify81.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 3 (63.0ms)

IterNodesCost
03311916
19951833
234741717
350011690

prune628.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 1.3b

localize23.0ms

Local error

Found 4 expressions with local error:

37.8b
(cbrt (pow (- (/ (+ m n) 2.0) M) 2.0))
37.8b
(cbrt (pow (- (/ (+ m n) 2.0) M) 2.0))
37.8b
(cbrt (pow (- (/ (+ m n) 2.0) M) 2.0))
37.8b
(cbrt (pow (- (/ (+ m n) 2.0) M) 2.0))

rewrite179.0ms

Algorithm
rewrite-expression-head
Rules
40×cbrt-prod
32×add-sqr-sqrt
24×unpow-prod-down
20×*-un-lft-identity
12×add-cube-cbrt
difference-of-squares
pow1 add-exp-log expm1-log1p-u times-frac pow1/3 add-cbrt-cube log1p-expm1-u distribute-lft-out-- add-log-exp sqr-pow
Counts
4 → 80
Calls
4 calls:
44.0ms
(cbrt (pow (- (/ (+ m n) 2.0) M) 2.0))
44.0ms
(cbrt (pow (- (/ (+ m n) 2.0) M) 2.0))
43.0ms
(cbrt (pow (- (/ (+ m n) 2.0) M) 2.0))
46.0ms
(cbrt (pow (- (/ (+ m n) 2.0) M) 2.0))

series1.2s

Counts
4 → 12
Calls
4 calls:
289.0ms
(cbrt (pow (- (/ (+ m n) 2.0) M) 2.0))
291.0ms
(cbrt (pow (- (/ (+ m n) 2.0) M) 2.0))
304.0ms
(cbrt (pow (- (/ (+ m n) 2.0) M) 2.0))
288.0ms
(cbrt (pow (- (/ (+ m n) 2.0) M) 2.0))

simplify130.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (30.0ms)

IterNodesCost
0177896
1384848
21114836
34362804
45001804

prune509.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 1.3b

regimes181.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04163
15763
25963
35963

end0.0ms

sample1.1s

Algorithm
intervals
Results
586.0ms8100×body80valid
57.0ms128×body1280valid
47.0ms144×body640valid
26.0ms106×body320valid
9.0ms60×body160valid
1.0msbody2560valid