Details

Time bar (total: 4.6s)

sample62.0ms

Algorithm
intervals
Results
25.0ms256×body80valid
4.0msbody1280valid
3.0msbody640valid
1.0msbody320valid

simplify49.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: 14.5b

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)
32.1b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite43.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:
19.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
6.0ms
(* K (+ m n))
9.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:
40.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
6.0ms
(* K (+ m n))
39.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
20.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify41.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0442577
11439539
25001530

prune560.0ms

Filtered
82 candidates to 58 candidates (29.3%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New76682
Fresh000
Picked101
Done000
Total77683

Merged error: 1.6b

Counts
83 → 6

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite33.0ms

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

series84.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(- l (fabs (- m n)))
41.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
39.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify82.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (76.0ms)

IterNodesCost
0325466
1873449
23345441
35001438

prune326.0ms

Filtered
60 candidates to 42 candidates (30.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New60060
Fresh055
Picked011
Done000
Total60666

Merged error: 1.6b

Counts
66 → 6

localize25.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt K)
0.6b
(cbrt K)
0.6b
(cbrt K)
32.1b
(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))

series91.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(cbrt K)
21.0ms
(cbrt K)
21.0ms
(cbrt K)
28.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 (38.0ms)

IterNodesCost
0130345
1254312
2456282
31079279
45001267

prune376.0ms

Filtered
55 candidates to 43 candidates (21.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New50555
Fresh314
Picked101
Done011
Total54761

Merged error: 1.5b

Counts
61 → 7

localize32.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.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 → 41
Calls
4 calls:
1.0ms
(cbrt K)
1.0ms
(cbrt K)
4.0ms
(cbrt (* (cbrt K) (cbrt K)))
15.0ms
(cos (- (/ (* (* (cbrt K) (cbrt K)) (* (* (cbrt (* (cbrt K) (cbrt K))) (cbrt (cbrt K))) (+ m n))) 2.0) M))

series105.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 3 (39.0ms)

IterNodesCost
0190468
1430417
21277385
35001375

prune463.0ms

Filtered
53 candidates to 42 candidates (20.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New51253
Fresh145
Picked101
Done011
Total53760

Merged error: 1.5b

Counts
60 → 7

regimes546.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.4s

Algorithm
intervals
Results
766.0ms8091×body80valid
81.0ms128×body1280valid
71.0ms166×body640valid
29.0ms96×body320valid
11.0ms58×body160valid
1.0msbody2560valid

Profiling

Loading profile data...