Details

Time bar (total: 16.7s)

sample458.0ms

Algorithm
intervals
Results
242.0ms87×body10240exit
144.0ms87×body1280valid
35.0ms50×body640valid
14.0ms85×body80valid
9.0ms25×body320valid
2.0msbody160valid

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

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(sin (expm1 a))
0.0b
(expm1 (sin (expm1 a)))
0.0b
(atan2 (expm1 (sin (expm1 a))) (atan a))
40.0b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite5.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:
2.0ms
(sin (expm1 a))
1.0ms
(expm1 (sin (expm1 a)))
1.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
1.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series166.0ms

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

simplify127.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0108302
1242264
2720264
32934264
45001264

prune216.0ms

Filtered
51 candidates to 39 candidates (76.5%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New381351
Fresh000
Picked101
Done000
Total391352

Merged error: 33.4b

Counts
52 → 13

localize16.0ms

Local error

Found 4 expressions with local error:

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

series43.0ms

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

simplify103.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 7 (97.0ms)

IterNodesCost
067490
197429
2125429
3179429
4329429
5851429
63887429
75002425

prune253.0ms

Filtered
60 candidates to 41 candidates (68.3%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New52860
Fresh5712
Picked101
Done000
Total581573

Merged error: 33.1b

Counts
73 → 15

localize27.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
0.7b
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
0.7b
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
40.0b
(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)

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
Counts
4 → 48
Calls
4 calls:
1.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
1.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
1.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan 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)

series365.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
117.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
118.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
7.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)

simplify66.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 4 (59.0ms)

IterNodesCost
068771
1139685
2402679
31680679
45001676

prune357.0ms

Filtered
60 candidates to 46 candidates (76.7%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New53760
Fresh11314
Picked101
Done000
Total552075

Merged error: 33.1b

Counts
75 → 20

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
Counts
4 → 48
Calls
4 calls:
1.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
1.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
1.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
1.0ms
(fmod (log (pow (exp (* (log1p (expm1 (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)

series371.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
119.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
119.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
9.0ms
(fmod (log (pow (exp (* (log1p (expm1 (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)

simplify39.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
069819
1126729
2255723
3831723
45002723

prune301.0ms

Filtered
60 candidates to 46 candidates (76.7%)
Pruning

21 alts after pruning (20 fresh and 1 done)

PrunedKeptTotal
New56460
Fresh31619
Picked011
Done000
Total592180

Merged error: 33.1b

Counts
80 → 21

regimes313.0ms

Accuracy

0% (1.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01626
11626

end0.0ms

sample13.4s

Algorithm
intervals
Results
7.4s2710×body10240exit
3.9s2336×body1280valid
1.1s1636×body640valid
303.0ms2792×body80valid
270.0ms783×body320valid
96.0ms444×body160valid
24.0msbody5120valid
8.0msbody2560valid