Details

Time bar (total: 4.6s)

sample42.0ms

Algorithm
intervals
Results
20.0ms252×body80valid
3.0msbody640valid
1.0msbody320valid
1.0msbody1280valid
1.0msbody2560valid
0.0msbody160valid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
05016
19316
220016
351715
4189315
5500115

prune9.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 16.9b

Counts
2 → 1

localize26.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
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
38.0b
(cos (- (/ (* K (+ m n)) 2.0) M))

rewrite47.0ms

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

series504.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* K (+ m n))
252.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
174.0ms
(- (- (pow (- (/ (+ m n) 2.0) M) 2.0)) (- l (fabs (- m n))))
55.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify43.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0435667
11447621
25002620

prune308.0ms

Filtered
89 candidates to 60 candidates (67.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New83689
Fresh000
Picked101
Done000
Total84690

Merged error: 1.6b

Counts
90 → 6

localize17.0ms

Local error

Found 2 expressions with local error:

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

rewrite33.0ms

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

series434.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
0277469
1798444
23368435
35001432

prune146.0ms

Filtered
50 candidates to 34 candidates (68.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New50050
Fresh055
Picked011
Done000
Total50656

Merged error: 1.6b

Counts
56 → 6

localize28.0ms

Local error

Found 4 expressions with local error:

17.0b
(cbrt (* K (+ m n)))
17.0b
(cbrt (* K (+ m n)))
17.0b
(cbrt (* K (+ m n)))
38.2b
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (cbrt (* K (+ m n)))) 2.0) M))

rewrite24.0ms

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

series353.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 4 (46.0ms)

IterNodesCost
0186496
1357446
2740422
31608419
45001407

prune262.0ms

Filtered
55 candidates to 46 candidates (83.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New52355
Fresh224
Picked101
Done011
Total55661

Merged error: 1.5b

Counts
61 → 6

localize31.0ms

Local error

Found 4 expressions with local error:

17.0b
(cbrt (* K (+ m n)))
17.0b
(cbrt (* K (+ m n)))
17.0b
(cbrt (* K (+ m n)))
38.2b
(cos (- (/ (* (* (cbrt (* K (+ m n))) (cbrt (* K (+ m n)))) (* (* (cbrt (cbrt (* K (+ m n)))) (cbrt (cbrt (* K (+ m n))))) (cbrt (cbrt (* K (+ m n)))))) 2.0) M))

rewrite35.0ms

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

series357.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 4 (72.0ms)

IterNodesCost
0194672
1390600
2844576
32082573
45002564

prune321.0ms

Filtered
55 candidates to 49 candidates (89.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New53255
Fresh044
Picked101
Done011
Total54761

Merged error: 1.5b

Counts
61 → 7

regimes253.0ms

Accuracy

0% (0.2b remaining)

Error of 1.2b against oracle of 1.0b and baseline of 1.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

sample1.1s

Algorithm
intervals
Results
646.0ms8117×body80valid
54.0ms98×body1280valid
52.0ms152×body640valid
24.0ms99×body320valid
8.0ms47×body160valid
3.0msbody2560valid