Details

Time bar (total: 16.1s)

sample467.0ms

Algorithm
intervals
Results
256.0ms92×body5120exit
142.0ms81×body1280valid
35.0ms49×body640valid
10.0ms89×body80valid
9.0ms26×body320valid
3.0ms11×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.3b

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.3b
(sin (expm1 a))
38.3b
(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)

series66.0ms

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

simplify118.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
039248
144212
254212
368212
4114212
5228212
6919212
73184212
85001212

prune154.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: 32.3b

Counts
41 → 14

localize16.0ms

Local error

Found 4 expressions with local error:

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

series65.0ms

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

simplify105.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
023300
126256
232256
340256
468256
5142256
6643256
72176256
85001256

prune206.0ms

Filtered
40 candidates to 28 candidates (70.0%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New33740
Fresh21113
Picked101
Done000
Total361854

Merged error: 32.1b

Counts
54 → 18

localize29.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
38.3b
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) a)
38.3b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
38.3b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
16×cbrt-prod
12×add-cube-cbrt *-un-lft-identity
11×pow1
add-exp-log pow1/3 swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 61
Calls
4 calls:
7.0ms
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
1.0ms
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) a)
1.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
1.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series192.0ms

Counts
4 → 12
Calls
4 calls:
185.0ms
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
3.0ms
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) a)
2.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
2.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify55.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0104703
1308616
21499509
35001499

prune427.0ms

Filtered
73 candidates to 45 candidates (61.6%)
Pruning

28 alts after pruning (28 fresh and 0 done)

PrunedKeptTotal
New591473
Fresh31417
Picked101
Done000
Total632891

Merged error: 31.8b

Counts
91 → 28

localize33.0ms

Local error

Found 4 expressions with local error:

38.3b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
38.3b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
38.3b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
38.3b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

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

series9.0ms

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

simplify97.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
015352
117300
221300
326300
445300
599300
6505300
71672300
85001300

prune196.0ms

Filtered
40 candidates to 28 candidates (70.0%)
Pruning

29 alts after pruning (29 fresh and 0 done)

PrunedKeptTotal
New38240
Fresh02727
Picked101
Done000
Total392968

Merged error: 31.8b

Counts
68 → 29

regimes424.0ms

Accuracy

0% (1.6b remaining)

Error of 33.5b against oracle of 31.9b and baseline of 33.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02467
12467

end0.0ms

sample13.4s

Algorithm
intervals
Results
7.3s2675×body5120exit
4.0s2313×body1280valid
1.2s1623×body640valid
312.0ms2790×body80valid
292.0ms839×body320valid
104.0ms433×body160valid
5.0msbody5120valid
2.0msbody2560valid

Profiling

Loading profile data...