Details

Time bar (total: 4.6s)

sample64.0ms

Algorithm
intervals
Results
30.0ms263×body80valid
3.0msbody1280valid
1.0msbody320valid
1.0msbody640valid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune15.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.8b

Counts
2 → 1

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
15×add-sqr-sqrt
add-log-exp
add-cube-cbrt
pow1 add-exp-log
unpow-prod-down add-cbrt-cube
associate-*r*
pow-unpow associate-*l* distribute-lft-out
sub-neg cos-sum associate-+r+ flip3-+ associate-*r/ sum-log flip-+ distribute-lft-out-- difference-of-squares
+-commutative distribute-rgt-in cos-diff pow-to-exp associate-+r- pow-pow distribute-lft-in times-frac diff-log pow-prod-down pow-exp prod-exp *-commutative cbrt-unprod unswap-sqr sqr-pow
Counts
4 → 70
Calls
4 calls:
16.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
8.0ms
(* K (+ m n))
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
8.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series104.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0442576
11444538
25002530

prune562.0ms

Filtered
82 candidates to 58 candidates (29.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New78482
Fresh000
Picked101
Done000
Total79483

Merged error: 1.0b

Counts
83 → 4

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

rewrite27.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))))
10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series78.0ms

Counts
2 → 6
Calls
2 calls:
37.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

prune202.0ms

Filtered
43 candidates to 31 candidates (27.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New43043
Fresh033
Picked011
Done000
Total43447

Merged error: 1.0b

Counts
47 → 4

localize28.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt K)
0.6b
(cbrt K)
0.6b
(cbrt K)
34.6b
(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)
14.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (cbrt K) (+ m n))) 2.0) M))

series93.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 4 (39.0ms)

IterNodesCost
0130345
1254312
2453282
31029279
45001267

prune363.0ms

Filtered
55 candidates to 43 candidates (21.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New52355
Fresh112
Picked101
Done011
Total54559

Merged error: 1.0b

Counts
59 → 5

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.0ms

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

series126.0ms

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

simplify136.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0198647
1586576
23195552
35001552

prune446.0ms

Filtered
67 candidates to 46 candidates (31.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New65267
Fresh123
Picked101
Done011
Total67572

Merged error: 1.0b

Counts
72 → 5

regimes462.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02010
12010

end0.0ms

sample1.5s

Algorithm
intervals
Results
783.0ms8108×body80valid
70.0ms119×body1280valid
65.0ms146×body640valid
32.0ms109×body320valid
10.0ms49×body160valid
2.0msbody2560valid

Profiling

Loading profile data...