Details

Time bar (total: 15.2s)

sample419.0ms

Algorithm
intervals
Results
224.0ms83×body10240exit
127.0ms76×body1280valid
38.0ms56×body640valid
9.0ms90×body80valid
5.0ms16×body320valid
4.0ms18×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: 33.0b

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(atan2 (expm1 (sin (expm1 a))) (atan a))
0.0b
(expm1 (sin (expm1 a)))
37.9b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
log1p-expm1-u
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
expm1-log1p expm1-udef
Counts
3 → 29
Calls
3 calls:
1.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
1.0ms
(expm1 (sin (expm1 a)))
1.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series98.0ms

Counts
3 → 9
Calls
3 calls:
2.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
94.0ms
(expm1 (sin (expm1 a)))
2.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify50.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
072248
1141216
2393216
31200216
45001216

prune137.0ms

Filtered
38 candidates to 28 candidates (73.7%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New251338
Fresh000
Picked101
Done000
Total261339

Merged error: 31.8b

Counts
39 → 13

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(expm1 (sin (expm1 a)))
0.3b
(log (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))
0.3b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
37.9b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
exp-prod
pow1 add-exp-log log1p-expm1-u add-log-exp
expm1-log1p-u log-pow add-cbrt-cube
log-prod
rem-log-exp
expm1-log1p rem-exp-log expm1-udef
Counts
4 → 51
Calls
4 calls:
1.0ms
(expm1 (sin (expm1 a)))
2.0ms
(log (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))
2.0ms
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
1.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)

series125.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(expm1 (sin (expm1 a)))
2.0ms
(log (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))
29.0ms
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
2.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)

simplify57.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0103472
1199410
2488410
31460410
45001410

prune217.0ms

Filtered
63 candidates to 42 candidates (66.7%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New55863
Fresh3912
Picked101
Done000
Total591776

Merged error: 31.6b

Counts
76 → 17

localize22.0ms

Local error

Found 4 expressions with local error:

0.3b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
37.9b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
37.9b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
37.9b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
exp-prod
rem-exp-log
Counts
4 → 40
Calls
4 calls:
2.0ms
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
1.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
1.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
1.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)

series38.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
2.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
2.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
2.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)

simplify76.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
043498
164429
283429
3124429
4224429
5546429
62606429
75001429

prune308.0ms

Filtered
52 candidates to 41 candidates (78.8%)
Pruning

26 alts after pruning (26 fresh and 0 done)

PrunedKeptTotal
New421052
Fresh01616
Picked101
Done000
Total432669

Merged error: 31.3b

Counts
69 → 26

localize39.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
37.9b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
37.9b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
37.9b
(fmod (log (pow (exp (* (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a))))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a))))) a)

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-prod
pow1/3
Counts
4 → 40
Calls
4 calls:
1.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
1.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
1.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
1.0ms
(fmod (log (pow (exp (* (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a))))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a))))) a)

series128.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
2.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
2.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
6.0ms
(fmod (log (pow (exp (* (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a))))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a))))) a)

simplify67.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 4 (60.0ms)

IterNodesCost
082735
1163637
2426483
31722483
45002482

prune261.0ms

Filtered
52 candidates to 41 candidates (78.8%)
Pruning

30 alts after pruning (30 fresh and 0 done)

PrunedKeptTotal
New47552
Fresh02525
Picked101
Done000
Total483078

Merged error: 31.2b

Counts
78 → 30

regimes408.0ms

Accuracy

0% (1.8b remaining)

Error of 33.9b against oracle of 32.1b and baseline of 33.9b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02130
12330
22330

end0.0ms

sample12.7s

Algorithm
intervals
Results
7.0s2588×body10240exit
3.7s2213×body1280valid
1.2s1708×body640valid
290.0ms881×body320valid
278.0ms2731×body80valid
99.0ms459×body160valid
13.0msbody2560valid
9.0msbody5120valid