Details

Time bar (total: 15.2s)

sample382.0ms

Algorithm
intervals
Results
207.0ms83×body10240exit
110.0ms67×body1280valid
34.0ms56×body640valid
9.0ms94×body80valid
8.0ms25×body320valid
3.0ms14×body160valid

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: 32.6b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(atan2 (expm1 (sin (expm1 a))) (atan a))
0.0b
(sin (expm1 a))
0.0b
(expm1 (sin (expm1 a)))
37.5b
(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))
1.0ms
(sin (expm1 a))
0.0ms
(expm1 (sin (expm1 a)))
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series158.0ms

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

simplify122.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0108302
1242264
2720264
32934264
45001264

prune207.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 31.4b

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.4b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
37.5b
(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 log1p-expm1-u add-log-exp
add-exp-log expm1-log1p-u log-pow add-cbrt-cube
log-prod
expm1-log1p rem-log-exp rem-exp-log expm1-udef
Counts
4 → 50
Calls
4 calls:
0.0ms
(expm1 (sin (expm1 a)))
1.0ms
(log (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))
3.0ms
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
0.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)

series122.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0104472
1205410
2516410
31518410
45002410

prune266.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 31.2b

localize23.0ms

Local error

Found 4 expressions with local error:

0.4b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
37.5b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
37.5b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
37.5b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)

rewrite2.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:
1.0ms
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
0.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
0.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
0.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)

series40.0ms

Counts
4 → 12
Calls
4 calls:
33.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)

simplify78.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
043498
164429
283429
3124429
4224429
5546429
62617429
75001429

prune338.0ms

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 30.9b

localize32.0ms

Local error

Found 4 expressions with local error:

2.6b
(log (exp (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))))
37.5b
(fmod (log (log (exp (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))))) a)
37.5b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
37.5b
(fmod (log (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
pow1
add-exp-log expm1-log1p-u log-pow add-cbrt-cube log1p-expm1-u add-log-exp
log-prod exp-prod
rem-log-exp
Counts
4 → 44
Calls
4 calls:
2.0ms
(log (exp (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))))
0.0ms
(fmod (log (log (exp (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))))) a)
0.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
0.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)

series37.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(log (exp (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))))
2.0ms
(fmod (log (log (exp (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)

simplify91.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
066566
185483
2112483
3150483
4274483
5732483
63399483
75002483

prune279.0ms

Pruning

23 alts after pruning (23 fresh and 0 done)

Merged error: 30.9b

regimes317.0ms

Accuracy

0% (1.8b remaining)

Error of 33.5b against oracle of 31.7b and baseline of 33.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02230
12230

end0.0ms

sample12.6s

Algorithm
intervals
Results
6.9s2723×body10240exit
3.7s2243×body1280valid
1.2s1719×body640valid
270.0ms2795×body80valid
267.0ms819×body320valid
88.0ms421×body160valid
4.0msbody5120valid
4.0msbody2560valid