Details

Time bar (total: 15.1s)

sample421.0ms

Algorithm
intervals
Results
212.0ms80×body10240exit
145.0ms77×body1280valid
33.0ms48×body640valid
10.0ms99×body80valid
8.0ms24×body320valid
2.0msbody160valid

simplify3.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: 31.9b

localize13.0ms

Local error

Found 4 expressions with local error:

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

series160.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(expm1 (sin (expm1 a)))
2.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
65.0ms
(sin (expm1 a))
3.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
32933264
45001264

prune208.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 30.8b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(sin (expm1 a))
0.3b
(log (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))
0.4b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
36.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
(sin (expm1 a))
1.0ms
(log (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))
1.0ms
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
0.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)

series98.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(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)

simplify78.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0108467
1208407
2487407
31838407
45001407

prune265.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 30.5b

localize21.0ms

Local error

Found 4 expressions with local error:

0.4b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
36.8b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
36.8b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
36.8b
(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:
32.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
62617429
75001429

prune330.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 30.3b

localize24.0ms

Local error

Found 4 expressions with local error:

0.4b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
36.8b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
36.8b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
36.9b
(fmod (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 (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series37.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)
3.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
2.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify77.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
053426
169375
288375
3129375
4229375
5551375
62622375
75001375

prune268.0ms

Pruning

24 alts after pruning (24 fresh and 0 done)

Merged error: 30.2b

regimes312.0ms

Accuracy

0% (1.8b remaining)

Error of 33.4b against oracle of 31.6b and baseline of 33.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02330
12330

end0.0ms

sample12.5s

Algorithm
intervals
Results
6.6s2624×body10240exit
3.8s2299×body1280valid
1.1s1616×body640valid
282.0ms2813×body80valid
279.0ms848×body320valid
88.0ms416×body160valid
14.0msbody5120valid
10.0msbody2560valid