Details

Time bar (total: 15.2s)

sample424.0ms

Algorithm
intervals
Results
226.0ms83×body10240exit
127.0ms76×body1280valid
39.0ms56×body640valid
9.0ms90×body80valid
5.0ms16×body320valid
4.0ms18×body160valid

simplify2.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
087

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.0b

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(atan2 (expm1 (sin (expm1 a))) (atan a))
0.0b
(expm1 (sin (expm1 a)))
37.9b
(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
3 → 21
Calls
3 calls:
1.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
1.0ms
(expm1 (sin (expm1 a)))
1.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series5.0ms

Counts
3 → 9
Calls
3 calls:
2.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
1.0ms
(expm1 (sin (expm1 a)))
3.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify111.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
031212
135181
243181
354181
491181
5185181
6781181
72678181
85001181

prune121.0ms

Filtered
30 candidates to 21 candidates (70.0%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New171330
Fresh000
Picked101
Done000
Total181331

Merged error: 31.8b

Counts
31 → 13

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.3b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
37.9b
(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 add-exp-log add-log-exp
log-pow add-cbrt-cube
log-prod
rem-log-exp
rem-exp-log
Counts
4 → 41
Calls
4 calls:
1.0ms
(expm1 (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)

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)

simplify98.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 7 (93.0ms)

IterNodesCost
063414
192353
2121353
3180353
4339353
5863353
63892353
75001349

prune191.0ms

Filtered
53 candidates to 33 candidates (62.3%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New421153
Fresh5712
Picked101
Done000
Total481866

Merged error: 31.6b

Counts
66 → 18

localize22.0ms

Local error

Found 4 expressions with local error:

0.3b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
37.9b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
37.9b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
37.9b
(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)

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

simplify74.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
039430
160361
278361
3118361
4218361
5534361
62578361
75001361

prune273.0ms

Filtered
44 candidates to 33 candidates (75.0%)
Pruning

26 alts after pruning (26 fresh and 0 done)

PrunedKeptTotal
New35944
Fresh01717
Picked101
Done000
Total362662

Merged error: 31.3b

Counts
62 → 26

localize38.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
37.9b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
37.9b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
37.9b
(fmod (log (pow (exp (* (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)

rewrite4.0ms

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

series129.0ms

Counts
4 → 12
Calls
4 calls:
118.0ms
(cbrt (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 (pow (exp (* (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)

simplify64.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 4 (58.0ms)

IterNodesCost
076637
1157539
2420415
31711415
45001414

prune212.0ms

Filtered
44 candidates to 33 candidates (75.0%)
Pruning

30 alts after pruning (29 fresh and 1 done)

PrunedKeptTotal
New40444
Fresh02525
Picked011
Done000
Total403070

Merged error: 31.2b

Counts
70 → 30

regimes406.0ms

Accuracy

0% (1.8b remaining)

Error of 33.9b against oracle of 32.1b and baseline of 33.9b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02145
12145

end0.0ms

sample12.9s

Algorithm
intervals
Results
7.0s2588×body10240exit
3.7s2213×body1280valid
1.2s1708×body640valid
296.0ms2731×body80valid
295.0ms881×body320valid
102.0ms459×body160valid
12.0msbody2560valid
9.0msbody5120valid