Details

Time bar (total: 4.8s)

sample47.0ms

Algorithm
intervals
Results
25.0ms261×body80valid
2.0msbody1280valid
1.0msbody640valid
0.0msbody160valid
0.0msbody320valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
05016
19516
221116
355315
4197415
5500115

prune10.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 17.3b

Counts
2 → 1

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
35×add-sqr-sqrt
30×prod-diff
28×add-cube-cbrt
23×cos-sum
15×add-log-exp
11×associate-+r+
10×fma-def times-frac
pow1 add-exp-log unpow-prod-down add-cbrt-cube
exp-prod distribute-lft-out
expm1-log1p-u associate-*r* sum-log log1p-expm1-u
associate-*l* div-inv rem-exp-log distribute-lft-out--
associate-+r- sub-neg flip3-+ diff-log associate-*r/ flip-+ difference-of-squares
+-commutative distribute-rgt-in cos-diff distribute-lft-in exp-diff exp-sum pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr sqr-pow
Counts
4 → 115
Calls
4 calls:
17.0ms
(exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n)))))
18.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
6.0ms
(* K (+ m n))
11.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series377.0ms

Counts
4 → 12
Calls
4 calls:
118.0ms
(exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n)))))
177.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))
24.0ms
(* K (+ m n))
57.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify67.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06781591
120881291
250031283

prune424.0ms

Filtered
127 candidates to 85 candidates (66.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1234127
Fresh000
Picked101
Done000
Total1244128

Merged error: 1.2b

Counts
128 → 4

localize18.0ms

Local error

Found 2 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity
16×add-sqr-sqrt
13×add-log-exp
11×add-cube-cbrt associate-+r+
10×fma-def
prod-diff
unpow-prod-down
exp-prod
sum-log distribute-lft-out
rem-exp-log distribute-lft-out--
pow1 add-exp-log expm1-log1p-u associate-+r- diff-log add-cbrt-cube log1p-expm1-u difference-of-squares
+-commutative sub-neg flip3-+ times-frac exp-diff exp-sum flip-+ sqr-pow
Counts
2 → 57
Calls
2 calls:
17.0ms
(exp (+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n)))))
18.0ms
(+ (pow (- (/ (+ m n) 2.0) M) 2.0) (- l (fabs (- m n))))

series287.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0291577
1932496
25001475

prune207.0ms

Filtered
63 candidates to 47 candidates (74.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New63063
Fresh033
Picked011
Done000
Total63467

Merged error: 1.2b

Counts
67 → 4

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
69×cos-sum
63×prod-diff
44×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
27×times-frac
div-inv
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-prod cos-diff sub-neg
pow1/3
Counts
4 → 112
Calls
4 calls:
2.0ms
(cbrt (cos (- (/ (* K (+ m n)) 2.0) M)))
12.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
12.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
12.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series307.0ms

Counts
4 → 12
Calls
4 calls:
142.0ms
(cbrt (cos (- (/ (* K (+ m n)) 2.0) M)))
51.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
56.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
57.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify90.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 4 (69.0ms)

IterNodesCost
03132908
15192268
211402266
332832085
450022049

prune367.0ms

Filtered
124 candidates to 58 candidates (46.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1213124
Fresh112
Picked101
Done011
Total1235128

Merged error: 1.2b

Counts
128 → 5

localize31.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
69×cos-sum
63×prod-diff
44×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
27×times-frac
div-inv
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-prod cos-diff sub-neg
pow1/3
Counts
4 → 112
Calls
4 calls:
2.0ms
(cbrt (cos (- (/ (* K (+ m n)) 2.0) M)))
15.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
11.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
11.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

series294.0ms

Counts
4 → 12
Calls
4 calls:
137.0ms
(cbrt (cos (- (/ (* K (+ m n)) 2.0) M)))
50.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
56.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))
51.0ms
(cos (- (/ (* K (+ m n)) 2.0) M))

simplify90.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 4 (66.0ms)

IterNodesCost
03132908
15192268
211402266
332832085
450022049

prune372.0ms

Filtered
124 candidates to 58 candidates (46.8%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1231124
Fresh123
Picked011
Done011
Total1245129

Merged error: 1.2b

Counts
129 → 5

regimes229.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
02010
12010

end0.0ms

sample1.3s

Algorithm
intervals
Results
812.0ms8136×body80valid
73.0ms121×body1280valid
58.0ms140×body640valid
32.0ms103×body320valid
11.0ms52×body160valid
3.0msbody2560valid