Details

Time bar (total: 14.9s)

sample362.0ms

Algorithm
intervals
Results
173.0ms64×body10240exit
120.0ms66×body1280valid
39.0ms62×body640valid
10.0ms94×body80valid
7.0ms22×body320valid
3.0ms12×body160valid

simplify2.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
087

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.4b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(atan2 (expm1 (sin (expm1 a))) (atan a))
0.0b
(expm1 (sin (expm1 a)))
0.2b
(sin (expm1 a))
37.1b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
expm1-udef
sin-diff
Counts
4 → 2
Calls
4 calls:
1.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
1.0ms
(expm1 (sin (expm1 a)))
3.0ms
(sin (expm1 a))
1.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series160.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
85.0ms
(expm1 (sin (expm1 a)))
65.0ms
(sin (expm1 a))
9.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify94.0ms

Algorithm
egg-herbie
Counts
14 → 14
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
06964
116762
252862
3213062
4500162

prune26.0ms

Filtered
14 candidates to 4 candidates (28.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New11314
Fresh000
Picked011
Done000
Total11415

Merged error: 32.2b

Counts
15 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(atan2 (- (exp (sin (expm1 a))) 1) (atan a))
0.2b
(sin (expm1 a))
3.9b
(- (exp (sin (expm1 a))) 1)
20.7b
(fmod (atan2 (- (exp (sin (expm1 a))) 1) (atan a)) a)

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
sub-neg expm1-def flip3-- sin-diff flip-- expm1-udef
Counts
4 → 6
Calls
4 calls:
1.0ms
(atan2 (- (exp (sin (expm1 a))) 1) (atan a))
2.0ms
(sin (expm1 a))
4.0ms
(- (exp (sin (expm1 a))) 1)
1.0ms
(fmod (atan2 (- (exp (sin (expm1 a))) 1) (atan a)) a)

series152.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(atan2 (- (exp (sin (expm1 a))) 1) (atan a))
63.0ms
(sin (expm1 a))
84.0ms
(- (exp (sin (expm1 a))) 1)
2.0ms
(fmod (atan2 (- (exp (sin (expm1 a))) 1) (atan a)) a)

simplify40.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 3 (38.0ms)

IterNodesCost
010797
133793
2108891
3500289

prune33.0ms

Filtered
18 candidates to 5 candidates (27.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New17118
Fresh112
Picked011
Done101
Total19322

Merged error: 32.2b

Counts
22 → 3

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (expm1 (+ (* 2 (sin (expm1 a))) 0)) (+ (exp (sin (expm1 a))) 1))
0.2b
(sin (expm1 a))
0.2b
(sin (expm1 a))
37.1b
(fmod (atan2 (/ (expm1 (+ (* 2 (sin (expm1 a))) 0)) (+ (exp (sin (expm1 a))) 1)) (atan a)) a)

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
expm1-udef
associate-/r/ sin-diff
frac-2neg flip3-+ div-sub clear-num flip-+ div-inv
Counts
4 → 8
Calls
4 calls:
4.0ms
(/ (expm1 (+ (* 2 (sin (expm1 a))) 0)) (+ (exp (sin (expm1 a))) 1))
2.0ms
(sin (expm1 a))
2.0ms
(sin (expm1 a))
1.0ms
(fmod (atan2 (/ (expm1 (+ (* 2 (sin (expm1 a))) 0)) (+ (exp (sin (expm1 a))) 1)) (atan a)) a)

series319.0ms

Counts
4 → 12
Calls
4 calls:
197.0ms
(/ (expm1 (+ (* 2 (sin (expm1 a))) 0)) (+ (exp (sin (expm1 a))) 1))
56.0ms
(sin (expm1 a))
62.0ms
(sin (expm1 a))
4.0ms
(fmod (atan2 (/ (expm1 (+ (* 2 (sin (expm1 a))) 0)) (+ (exp (sin (expm1 a))) 1)) (atan a)) a)

simplify44.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
0121162
1350156
21188140
35001140

prune68.0ms

Filtered
20 candidates to 12 candidates (60.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New18220
Fresh101
Picked101
Done011
Total20323

Merged error: 32.2b

Counts
23 → 3

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(sin (expm1 a))
0.2b
(sin (expm1 a))
0.4b
(/ (+ (exp (sin (expm1 a))) 1) (expm1 (* 2 (sin (expm1 a)))))
37.1b
(fmod (atan2 (/ 1 (/ (+ (exp (sin (expm1 a))) 1) (expm1 (* 2 (sin (expm1 a)))))) (atan a)) a)

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
sin-diff associate-/l/ expm1-udef
frac-2neg flip3-+ clear-num flip-+ div-inv
Counts
4 → 7
Calls
4 calls:
2.0ms
(sin (expm1 a))
2.0ms
(sin (expm1 a))
5.0ms
(/ (+ (exp (sin (expm1 a))) 1) (expm1 (* 2 (sin (expm1 a)))))
1.0ms
(fmod (atan2 (/ 1 (/ (+ (exp (sin (expm1 a))) 1) (expm1 (* 2 (sin (expm1 a)))))) (atan a)) a)

series315.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(sin (expm1 a))
55.0ms
(sin (expm1 a))
195.0ms
(/ (+ (exp (sin (expm1 a))) 1) (expm1 (* 2 (sin (expm1 a)))))
4.0ms
(fmod (atan2 (/ 1 (/ (+ (exp (sin (expm1 a))) 1) (expm1 (* 2 (sin (expm1 a)))))) (atan a)) a)

simplify51.0ms

Algorithm
egg-herbie
Counts
19 → 19
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0112148
1343143
21361139
35001139

prune58.0ms

Filtered
19 candidates to 11 candidates (57.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New17219
Fresh011
Picked101
Done011
Total18422

Merged error: 31.9b

Counts
22 → 4

regimes33.0ms

Accuracy

0% (0.5b remaining)

Error of 33.8b against oracle of 33.3b and baseline of 33.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02825
13025
23025

end0.0ms

sample13.0s

Algorithm
intervals
Results
7.1s2622×body10240exit
3.8s2282×body1280valid
1.2s1672×body640valid
306.0ms2763×body80valid
285.0ms851×body320valid
93.0ms427×body160valid
8.0msbody2560valid
5.0msbody5120valid