Details

Time bar (total: 3.2s)

sample58.0ms

Algorithm
intervals
Results
25.0ms263×body80valid
3.0msbody1280valid
2.0msbody320valid
1.0msbody640valid
1.0msbody160valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

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

Counts
2 → 1

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.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:
6.0ms
(* K (+ m n))
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
7.0ms
(- (/ (* K (+ m n)) 2.0) M)
8.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series80.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* K (+ m n))
39.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
12.0ms
(- (/ (* K (+ m n)) 2.0) M)
23.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify40.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0392495
11304457
25001450

prune164.0ms

Filtered
79 candidates to 56 candidates (29.1%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New74579
Fresh000
Picked101
Done000
Total75580

Merged error: 1.0b

Counts
80 → 5

localize16.0ms

Local error

Found 2 expressions with local error:

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

rewrite20.0ms

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

series45.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
0230282
1676270
22402264
35001261

prune87.0ms

Filtered
41 candidates to 30 candidates (26.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New41041
Fresh044
Picked011
Done000
Total41546

Merged error: 1.0b

Counts
46 → 5

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
pow1/3
cos-sum
cos-diff sub-neg
Counts
4 → 43
Calls
4 calls:
1.0ms
(cbrt K)
1.0ms
(cbrt K)
1.0ms
(cbrt K)
13.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

series95.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 4 (40.0ms)

IterNodesCost
0130345
1254312
2456282
31079279
45001267

prune117.0ms

Filtered
55 candidates to 43 candidates (21.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New53255
Fresh123
Picked101
Done011
Total55560

Merged error: 1.0b

Counts
60 → 5

localize30.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
pow1/3
cos-sum
cos-diff sub-neg
Counts
4 → 43
Calls
4 calls:
1.0ms
(cbrt K)
1.0ms
(cbrt K)
1.0ms
(cbrt K)
16.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (* (cbrt (* (cbrt K) (cbrt K))) (cbrt (cbrt K))) (+ m n))) 2.0) M))

series93.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 4 (56.0ms)

IterNodesCost
0135441
1304396
2761366
32072363
45001354

prune105.0ms

Filtered
55 candidates to 43 candidates (21.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New52355
Fresh123
Picked101
Done011
Total54660

Merged error: 1.0b

Counts
60 → 6

regimes417.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02010
12010

end0.0ms

sample1.5s

Algorithm
intervals
Results
785.0ms8120×body80valid
71.0ms153×body640valid
69.0ms119×body1280valid
37.0ms126×body320valid
12.0ms55×body160valid
3.0msbody2560valid

Profiling

Loading profile data...