Details

Time bar (total: 3.3s)

sample51.0ms

Algorithm
intervals
Results
26.0ms256×body80valid
4.0msbody640valid
2.0msbody1280valid
1.0msbody320valid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.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: 15.5b

Counts
2 → 1

localize27.0ms

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

series87.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0392495
11304457
25001450

prune196.0ms

Filtered
56 candidates to 79 candidates (-41.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New72779
Fresh000
Picked101
Done000
Total73780

Merged error: 1.6b

Counts
80 → 7

localize15.0ms

Local error

Found 2 expressions with local error:

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

rewrite29.0ms

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

series83.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
0284378
1795361
23218353
35001350

prune100.0ms

Filtered
31 candidates to 43 candidates (-38.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New43043
Fresh066
Picked011
Done000
Total43750

Merged error: 1.6b

Counts
50 → 7

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.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))

series94.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 4 (37.0ms)

IterNodesCost
0130345
1254312
2456282
31079279
45001267

prune133.0ms

Filtered
43 candidates to 55 candidates (-27.9%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New53255
Fresh055
Picked011
Done011
Total53962

Merged error: 1.6b

Counts
62 → 9

localize29.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.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))

series90.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 4 (38.0ms)

IterNodesCost
0130345
1254312
2456282
31079279
45001267

prune109.0ms

Filtered
44 candidates to 55 candidates (-25.0%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New55055
Fresh066
Picked011
Done022
Total55964

Merged error: 1.6b

Counts
64 → 9

regimes520.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02010
12010

end0.0ms

sample1.4s

Algorithm
intervals
Results
843.0ms8086×body80valid
81.0ms151×body640valid
68.0ms113×body1280valid
33.0ms108×body320valid
11.0ms54×body160valid
2.0msbody2560valid

Profiling

Loading profile data...