Details

Time bar (total: 14.5s)

sample413.0ms

Algorithm
intervals
Results
203.0ms80×body10240exit
142.0ms77×body1280valid
37.0ms48×body640valid
9.0ms99×body80valid
7.0ms24×body320valid
2.0msbody160valid

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

localize12.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)

rewrite4.0ms

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

series63.0ms

Counts
4 → 12
Calls
4 calls:
1.0ms
(expm1 (sin (expm1 a)))
2.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
57.0ms
(sin (expm1 a))
3.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify121.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
039248
144212
254212
368212
4114212
5228212
6919212
73184212
85001212

prune156.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)

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
exp-prod
pow1 add-log-exp
add-exp-log log-pow add-cbrt-cube
log-prod
rem-log-exp rem-exp-log
Counts
4 → 40
Calls
4 calls:
2.0ms
(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)

series90.0ms

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

simplify100.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 7 (95.0ms)

IterNodesCost
063401
192342
2121342
3180342
4339342
5863342
63913342
75001338

prune206.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 30.5b

localize25.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)

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cbrt-cube
exp-prod
rem-exp-log
Counts
4 → 32
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)

series37.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
039430
160361
278361
3118361
4218361
5534361
62589361
75001361

prune275.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 30.3b

localize23.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)

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cbrt-cube
exp-prod
rem-exp-log
Counts
4 → 32
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 (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series35.0ms

Counts
4 → 12
Calls
4 calls:
28.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 (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify77.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
047370
163319
281319
3121319
4221319
5537319
62592319
75001319

prune207.0ms

Pruning

24 alts after pruning (24 fresh and 0 done)

Merged error: 30.2b

regimes302.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.3s

Algorithm
intervals
Results
6.6s2624×body10240exit
3.8s2299×body1280valid
1.1s1616×body640valid
265.0ms848×body320valid
265.0ms2813×body80valid
84.0ms416×body160valid
14.0msbody5120valid
9.0msbody2560valid