Details

Time bar (total: 8.5s)

analyze2.4s

Algorithm
search

sample57.0ms

Algorithm
intervals
Results
33.0ms253×body80valid
1.0msbody1280invalid
1.0msbody640invalid
1.0msbody640valid
1.0msbody80invalid
1.0msbody1280valid
0.0msbody160invalid
0.0msbody320invalid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune13.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 14.0b

Counts
2 → 1

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

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 cos-sum associate-*r/ distribute-lft-out--
distribute-rgt-in cos-diff pow-to-exp 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 → 67
Calls
4 calls:
3.0ms
(- l (fabs (- m n)))
11.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
10.0ms
(* K (+ m n))
8.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series73.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(- l (fabs (- m n)))
41.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
6.0ms
(* K (+ m n))
21.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify115.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0387467
11218434
24673430
35003430

prune181.0ms

Filtered
55 candidates to 79 candidates (-43.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New75479
Fresh000
Picked101
Done000
Total76480

Merged error: 0.6b

Counts
80 → 4

localize18.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
*-un-lft-identity
unpow-prod-down
add-cube-cbrt add-log-exp
pow1 add-exp-log pow-unpow difference-of-squares
add-cbrt-cube distribute-lft-out--
pow-to-exp sub-neg flip3-- pow-pow times-frac diff-log pow-exp flip-- sqr-pow
Counts
2 → 34
Calls
2 calls:
3.0ms
(- l (fabs (- m n)))
11.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series45.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(- l (fabs (- m n)))
40.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify53.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 3 (48.0ms)

IterNodesCost
0228270
1578258
21858253
35001245

prune91.0ms

Filtered
28 candidates to 40 candidates (-42.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New40040
Fresh033
Picked011
Done000
Total40444

Merged error: 0.6b

Counts
44 → 4

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt *-un-lft-identity
12×cbrt-prod add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
unpow-prod-down cube-prod
associate-*r* add-log-exp
pow-unpow associate-*l*
cube-mult cos-sum unpow3 associate-*r/ sqr-pow
distribute-rgt-in cos-diff pow-to-exp sub-neg pow-pow distribute-lft-in flip3-+ pow1/3 pow-prod-down pow-exp prod-exp *-commutative rem-cbrt-cube cbrt-unprod flip-+ distribute-lft-out rem-cube-cbrt unswap-sqr
Counts
4 → 77
Calls
4 calls:
6.0ms
(* K (+ m n))
3.0ms
(cbrt (pow (cos (- (/ (* K (+ m n)) 2.0) M)) 3))
3.0ms
(pow (cos (- (/ (* K (+ m n)) 2.0) M)) 3)
8.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series102.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* K (+ m n))
21.0ms
(cbrt (pow (cos (- (/ (* K (+ m n)) 2.0) M)) 3))
53.0ms
(pow (cos (- (/ (* K (+ m n)) 2.0) M)) 3)
21.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify40.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0256621
1995580
25001574

prune185.0ms

Filtered
52 candidates to 89 candidates (-71.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New88189
Fresh022
Picked101
Done011
Total89493

Merged error: 0.6b

Counts
93 → 4

localize36.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
cos-sum
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
pow1/3
Counts
4 → 41
Calls
4 calls:
2.0ms
(cbrt (cos (- (/ (* K (+ m n)) 2.0) M)))
9.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
9.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
9.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series121.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
086463
1132417
2213415
3406415
41373415
55001415

prune214.0ms

Filtered
44 candidates to 53 candidates (-20.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New51253
Fresh022
Picked101
Done011
Total52557

Merged error: 0.6b

Counts
57 → 5

regimes440.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

analyze2.6s

Algorithm
search

sample1.4s

Algorithm
intervals
Results
880.0ms7830×body80valid
58.0ms87×body1280invalid
46.0ms89×body640invalid
30.0ms64×body640valid
28.0ms262×body80invalid
27.0ms41×body1280valid
26.0ms69×body320invalid
14.0ms41×body320valid
9.0ms42×body160invalid
6.0ms24×body160valid
4.0msbody2560invalid

Profiling

Loading profile data...