Details

Time bar (total: 5.5s)

analyze2.3s

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

sample48.0ms

Algorithm
intervals
Results
26.0ms249×body80valid
2.0msbody640invalid
2.0msbody640valid
1.0msbody80invalid
1.0msbody320valid
1.0msbody320invalid
1.0msbody1280invalid
0.0msbody160valid
0.0msbody160invalid

simplify44.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
0498628
1498628

prune16.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 13.7b

Counts
2 → 1

localize19.0ms

Local error

Found 3 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
*-un-lft-identity
unpow-prod-down
add-cube-cbrt add-log-exp
pow1 add-exp-log
pow-unpow add-cbrt-cube
difference-of-squares
+-commutative cos-diff pow-to-exp sub-neg cos-sum pow-pow flip3-+ times-frac pow-exp sum-log flip-+ distribute-lft-out distribute-lft-out-- sqr-pow
Counts
3 → 41
Calls
3 calls:
13.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) l)
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
7.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))

series93.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) l)
40.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
19.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))

simplify52.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
04960668
14960668

prune128.0ms

Filtered
39 candidates to 50 candidates (-28.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New46450
Fresh000
Picked101
Done000
Total47451

Merged error: 1.6b

Counts
51 → 4

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
unpow-prod-down
add-cube-cbrt add-log-exp
pow1 add-exp-log pow-unpow
add-cbrt-cube difference-of-squares
+-commutative pow-to-exp pow-pow flip3-+ times-frac pow-exp sum-log flip-+ distribute-lft-out distribute-lft-out-- sqr-pow
Counts
2 → 32
Calls
2 calls:
13.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) l)
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series74.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) l)
39.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify73.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
04878512
14878512

prune80.0ms

Filtered
28 candidates to 38 candidates (-35.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New38038
Fresh033
Picked011
Done000
Total38442

Merged error: 1.6b

Counts
42 → 4

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

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:
2.0ms
(cbrt (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))
8.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))

series116.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(cbrt (cos (- (* K (/ (+ m n) 2.0)) M)))
19.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))
21.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))
20.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))

simplify57.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
04967618
14967618

prune196.0ms

Filtered
43 candidates to 50 candidates (-16.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New47350
Fresh022
Picked101
Done011
Total48654

Merged error: 1.6b

Counts
54 → 6

localize31.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (* (cos (* K (/ (+ m n) 2.0))) (cos M)) (* (sin (* K (/ (+ m n) 2.0))) (sin M)))
0.3b
(* (sin (* K (/ (+ m n) 2.0))) (sin M))
38.9b
(cos (* K (/ (+ m n) 2.0)))
39.1b
(sin (* K (/ (+ m n) 2.0)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*r* associate-*l*
sin-mult
+-commutative flip3-+ pow-prod-down frac-add prod-exp sum-log cos-mult *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
4 → 45
Calls
4 calls:
6.0ms
(+ (* (cos (* K (/ (+ m n) 2.0))) (cos M)) (* (sin (* K (/ (+ m n) 2.0))) (sin M)))
5.0ms
(* (sin (* K (/ (+ m n) 2.0))) (sin M))
2.0ms
(cos (* K (/ (+ m n) 2.0)))
2.0ms
(sin (* K (/ (+ m n) 2.0)))

series76.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(+ (* (cos (* K (/ (+ m n) 2.0))) (cos M)) (* (sin (* K (/ (+ m n) 2.0))) (sin M)))
18.0ms
(* (sin (* K (/ (+ m n) 2.0))) (sin M))
7.0ms
(cos (* K (/ (+ m n) 2.0)))
9.0ms
(sin (* K (/ (+ m n) 2.0)))

simplify57.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
05029897

prune126.0ms

Filtered
46 candidates to 57 candidates (-23.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New56157
Fresh044
Picked101
Done011
Total57663

Merged error: 1.6b

Counts
63 → 6

regimes431.0ms

Accuracy

0% (0.2b remaining)

Error of 1.5b against oracle of 1.3b and baseline of 1.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06117
16117

end0.0ms

sample1.4s

Algorithm
intervals
Results
855.0ms7802×body80valid
53.0ms88×body1280invalid
41.0ms84×body640valid
32.0ms52×body1280valid
31.0ms293×body80invalid
30.0ms71×body640invalid
21.0ms67×body320invalid
13.0ms42×body320valid
8.0ms39×body160invalid
5.0ms20×body160valid
1.0msbody2560invalid

Profiling

Loading profile data...