Details

Time bar (total: 6.5s)

analyze2.4s (37.7%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%7
0%99.8%0.2%8
12.5%87.3%0.2%9
12.5%87.3%0.2%10
18.7%81.1%0.2%11
18.7%81.1%0.2%12
18.7%81.1%0.2%13
20.5%79.3%0.2%14

sample54.0ms (0.8%)

Algorithm
intervals
Results
28.0ms249×body80valid
4.0msbody1280invalid
2.0msbody640valid
1.0msbody640invalid
1.0msbody1280valid
1.0msbody320valid
0.0msbody80invalid
0.0msbody160invalid

simplify50.0ms (0.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
0498628
1498628

prune17.0ms (0.3%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 14.0b

Counts
2 → 1

localize23.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

rewrite34.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
14×*-un-lft-identity
add-cube-cbrt
pow1 add-exp-log
unpow-prod-down add-cbrt-cube add-log-exp
associate-*r*
pow-unpow associate-*l* difference-of-squares
sub-neg associate-*r/ distribute-lft-out--
distribute-rgt-in cos-diff pow-to-exp cos-sum flip3-- pow-pow distribute-lft-in flip3-+ times-frac diff-log pow-prod-down pow-exp prod-exp *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out unswap-sqr sqr-pow
Counts
4 → 65
Calls

4 calls:

11.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
8.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
8.0ms
(- (/ (* K (+ m n)) 2.0) M)
6.0ms
(* K (+ m n))

series84.0ms (1.3%)

Counts
4 → 12
Calls

4 calls:

43.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
22.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
13.0ms
(- (/ (* K (+ m n)) 2.0) M)
6.0ms
(* K (+ m n))

simplify65.0ms (1%)

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
04937829
14937829

prune218.0ms (3.4%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New71677
Fresh000
Picked101
Done000
Total72678

Merged error: 1.4b

Counts
78 → 6

localize14.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

rewrite42.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
12×add-sqr-sqrt
10×add-log-exp
unpow-prod-down
add-cube-cbrt
pow1 add-exp-log
pow-unpow add-cbrt-cube distribute-lft-out-- difference-of-squares
diff-log sum-log distribute-lft-out
+-commutative pow-to-exp sub-neg flip3-- pow-pow flip3-+ times-frac pow-exp flip-- flip-+ associate--r+ sqr-pow
Counts
3 → 48
Calls

3 calls:

17.0ms
(- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l))
13.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) l)
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series123.0ms (1.9%)

Counts
3 → 9
Calls

3 calls:

45.0ms
(- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l))
41.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
37.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) l)

simplify47.0ms (0.7%)

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
04929925
14929925

prune144.0ms (2.2%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New57057
Fresh055
Picked011
Done000
Total57663

Merged error: 1.4b

Counts
63 → 6

localize28.0ms (0.4%)

Local error

Found 4 expressions with local error:

12.5b
(cbrt (- (/ (* K (+ m n)) 2.0) M))
12.5b
(cbrt (- (/ (* K (+ m n)) 2.0) M))
12.5b
(cbrt (- (/ (* K (+ m n)) 2.0) M))
43.6b
(cos (* (* (cbrt (- (/ (* K (+ m n)) 2.0) M)) (cbrt (- (/ (* K (+ m n)) 2.0) M))) (cbrt (- (/ (* K (+ m n)) 2.0) M))))

rewrite30.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
15×cbrt-prod
13×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
cbrt-div
pow1 add-exp-log add-cbrt-cube add-log-exp
flip3-- pow1/3 flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 52
Calls

4 calls:

8.0ms
(cbrt (- (/ (* K (+ m n)) 2.0) M))
8.0ms
(cbrt (- (/ (* K (+ m n)) 2.0) M))
8.0ms
(cbrt (- (/ (* K (+ m n)) 2.0) M))
6.0ms
(cos (* (* (cbrt (- (/ (* K (+ m n)) 2.0) M)) (cbrt (- (/ (* K (+ m n)) 2.0) M))) (cbrt (- (/ (* K (+ m n)) 2.0) M))))

series199.0ms (3.1%)

Counts
4 → 12
Calls

4 calls:

59.0ms
(cbrt (- (/ (* K (+ m n)) 2.0) M))
58.0ms
(cbrt (- (/ (* K (+ m n)) 2.0) M))
57.0ms
(cbrt (- (/ (* K (+ m n)) 2.0) M))
25.0ms
(cos (* (* (cbrt (- (/ (* K (+ m n)) 2.0) M)) (cbrt (- (/ (* K (+ m n)) 2.0) M))) (cbrt (- (/ (* K (+ m n)) 2.0) M))))

simplify44.0ms (0.7%)

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
05420981

prune228.0ms (3.5%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New63164
Fresh134
Picked011
Done011
Total64670

Merged error: 1.4b

Counts
70 → 6

localize28.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.5b
(cbrt (cos (- (/ (* K (+ m n)) 2.0) M)))
35.2b
(cos (- (/ (* K (+ m n)) 2.0) M))
35.2b
(cos (- (/ (* K (+ m n)) 2.0) M))
35.2b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite28.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
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 cos-sum
pow1/3
Counts
4 → 38
Calls

4 calls:

9.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
8.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
8.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
2.0ms
(cbrt (cos (- (/ (* K (+ m n)) 2.0) M)))

series129.0ms (2%)

Counts
4 → 12
Calls

4 calls:

61.0ms
(cbrt (cos (- (/ (* K (+ m n)) 2.0) M)))
24.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
22.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
22.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify61.0ms (0.9%)

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
04970618
14970618

prune181.0ms (2.8%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New49150
Fresh033
Picked101
Done022
Total50656

Merged error: 1.4b

Counts
56 → 6

regimes455.0ms (7%)

Accuracy

Total 0.2b remaining (16.6%)

Threshold costs 0.2b (16.6%)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06117
16117

end0.0ms (0%)

sample1.7s (26.3%)

Algorithm
intervals
Results
891.0ms7824×body80valid
248.0ms59×body320invalid
46.0ms74×body1280invalid
45.0ms98×body640invalid
41.0ms80×body640valid
29.0ms37×body1280valid
29.0ms261×body80invalid
13.0ms38×body320valid
8.0ms35×body160invalid
5.0ms21×body160valid
4.0msbody2560invalid

Profiling

Loading profile data...