Details

Time bar (total: 15.4s)

sample351.0ms

Algorithm
intervals
Results
163.0ms59×body5120exit
120.0ms68×body1280valid
33.0ms46×body640valid
11.0ms30×body320valid
11.0ms97×body80valid
3.0ms15×body160valid

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

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

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

series67.0ms

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

simplify120.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
039248
144212
254212
368212
4114212
5228212
6919212
73184212
85001212

prune157.0ms

Filtered
40 candidates to 28 candidates (70.0%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New261440
Fresh000
Picked101
Done000
Total271441

Merged error: 30.8b

Counts
41 → 14

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.5b
(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)

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

simplify98.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 7 (93.0ms)

IterNodesCost
063401
192342
2121342
3180342
4339342
5863342
63913342
75001338

prune198.0ms

Filtered
52 candidates to 33 candidates (63.5%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New46652
Fresh21113
Picked101
Done000
Total491766

Merged error: 30.6b

Counts
66 → 17

localize21.0ms

Local error

Found 4 expressions with local error:

0.4b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
36.5b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
36.5b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
36.5b
(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:
31.0ms
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
3.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
62589361
75001361

prune270.0ms

Filtered
44 candidates to 33 candidates (75.0%)
Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New37744
Fresh11516
Picked101
Done000
Total392261

Merged error: 30.3b

Counts
61 → 22

localize35.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
36.5b
(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)
36.5b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
36.5b
(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
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 (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)
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)

series121.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 4 (59.0ms)

IterNodesCost
076637
1157539
2420415
31717415
45001414

prune228.0ms

Filtered
44 candidates to 33 candidates (75.0%)
Pruning

27 alts after pruning (27 fresh and 0 done)

PrunedKeptTotal
New38644
Fresh02121
Picked101
Done000
Total392766

Merged error: 30.2b

Counts
66 → 27

regimes370.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
02666
12666

end0.0ms

sample13.1s

Algorithm
intervals
Results
7.1s2570×body5120exit
3.8s2224×body1280valid
1.2s1666×body640valid
317.0ms862×body320valid
316.0ms2796×body80valid
102.0ms446×body160valid
19.0msbody5120valid
4.0msbody2560valid