Details

Time bar (total: 16.3s)

sample441.0ms

Algorithm
intervals
Results
210.0ms77×body10240exit
139.0ms70×body1280valid
46.0ms55×body640valid
15.0ms83×body80valid
10.0ms23×body320valid
7.0ms24×body160valid
2.0msbody2560valid

simplify2.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
087

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.6b

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.7b
(sin (expm1 a))
38.8b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite2.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-udef
expm1-log1p sin-diff
Counts
4 → 39
Calls
4 calls:
0.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
0.0ms
(expm1 (sin (expm1 a)))
1.0ms
(sin (expm1 a))
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series149.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
83.0ms
(expm1 (sin (expm1 a)))
61.0ms
(sin (expm1 a))
2.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify120.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0108302
1242264
2720264
32933264
45001264

prune205.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 33.3b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite4.0ms

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

series90.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0108467
1208407
2487407
31838407
45001407

prune260.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 33.2b

localize20.0ms

Local error

Found 4 expressions with local error:

0.3b
(expm1 (log1p (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))))
0.3b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
0.7b
(sin (expm1 a))
38.8b
(fmod (log (expm1 (log1p (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))))) a)

rewrite3.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
expm1-udef
expm1-log1p sin-diff rem-exp-log
Counts
4 → 43
Calls
4 calls:
0.0ms
(expm1 (log1p (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))))
1.0ms
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
1.0ms
(sin (expm1 a))
0.0ms
(fmod (log (expm1 (log1p (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))))) a)

series225.0ms

Counts
4 → 12
Calls
4 calls:
136.0ms
(expm1 (log1p (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))))
28.0ms
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
58.0ms
(sin (expm1 a))
3.0ms
(fmod (log (expm1 (log1p (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))))) a)

simplify72.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0101443
1189392
2440392
31635392
45001392

prune280.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 33.1b

localize16.0ms

Local error

Found 4 expressions with local error:

0.7b
(sin (expm1 a))
0.7b
(sin (expm1 a))
0.7b
(sin (expm1 a))
38.8b
(fmod (* (* (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)

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube log1p-expm1-u add-log-exp
sin-diff expm1-udef
Counts
4 → 39
Calls
4 calls:
1.0ms
(sin (expm1 a))
1.0ms
(sin (expm1 a))
1.0ms
(sin (expm1 a))
0.0ms
(fmod (* (* (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)

series184.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(sin (expm1 a))
61.0ms
(sin (expm1 a))
60.0ms
(sin (expm1 a))
3.0ms
(fmod (* (* (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)

simplify65.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 3 (14.0ms)

IterNodesCost
072444
1144383
2368383
31409368
45001368

prune232.0ms

Pruning

27 alts after pruning (26 fresh and 1 done)

Merged error: 32.9b

regimes332.0ms

Accuracy

0% (1.8b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01222
11222

end0.0ms

sample13.4s

Algorithm
intervals
Results
6.8s2516×body10240exit
4.1s2277×body1280valid
1.3s1652×body640valid
501.0ms2768×body80valid
371.0ms868×body320valid
133.0ms432×body160valid
10.0msbody5120valid
2.0msbody2560valid