Details

Time bar (total: 14.9s)

sample382.0ms

Algorithm
intervals
Results
209.0ms83×body10240exit
106.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

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.6b

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

series66.0ms

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

simplify119.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
039248
144212
254212
368212
4114212
5228212
6919212
73184212
85001212

prune164.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 31.4b

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

rewrite3.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:
0.0ms
(expm1 (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)

series38.0ms

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

simplify99.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 7 (95.0ms)

IterNodesCost
063414
192353
2121353
3180353
4339353
5863353
63913353
75001349

prune229.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 31.2b

localize22.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 add-cbrt-cube
exp-prod
rem-exp-log
Counts
4 → 32
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)

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

simplify75.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
039430
160361
278361
3118361
4218361
5534361
62589361
75001361

prune296.0ms

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 30.9b

localize31.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 log-pow add-cbrt-cube add-log-exp
log-prod exp-prod
rem-log-exp
Counts
4 → 36
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)

series40.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
060494
179411
2106411
3143411
4265411
5711411
63295411
75002411

prune227.0ms

Pruning

23 alts after pruning (23 fresh and 0 done)

Merged error: 30.9b

regimes327.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.8s2723×body10240exit
3.7s2243×body1280valid
1.2s1719×body640valid
273.0ms2795×body80valid
268.0ms819×body320valid
87.0ms421×body160valid
4.0msbody5120valid
4.0msbody2560valid