Details

Time bar (total: 57.3s)

sample1.2s

Algorithm
intervals
Results
575.0ms99×body10240exit
208.0ms66×body1280valid
195.0ms99×body80valid
95.0ms62×body640valid
12.0ms17×body320valid
5.0ms12×body160valid

simplify12.0ms

Counts
1 → 1
Iterations
IterNodes
done8
08

prune14.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.4b

localize105.0ms

Local error

Found 4 expressions with local error:

0.0b
(expm1 a)
0.0b
(expm1 (sin (expm1 a)))
0.5b
(sin (expm1 a))
35.9b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite14.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 → 41
Calls
4 calls:
1.0ms
(expm1 a)
1.0ms
(expm1 (sin (expm1 a)))
8.0ms
(sin (expm1 a))
1.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series374.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(expm1 a)
182.0ms
(expm1 (sin (expm1 a)))
147.0ms
(sin (expm1 a))
16.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify4.7s

Counts
53 → 53
Iterations
IterNodes
done5000
53918
41687
3638
2252
1131
073

prune599.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 30.7b

localize132.0ms

Local error

Found 4 expressions with local error:

0.5b
(sin (expm1 a))
35.9b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
35.9b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
35.9b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube log1p-expm1-u add-log-exp
sin-diff expm1-udef
Counts
4 → 37
Calls
4 calls:
5.0ms
(sin (expm1 a))
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
1.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series148.0ms

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

simplify6.4s

Counts
49 → 49
Iterations
IterNodes
done5001
73240
61914
5957
4458
3216
2106
171
044

prune771.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 30.5b

localize170.0ms

Local error

Found 4 expressions with local error:

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

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube log1p-expm1-u add-log-exp
Counts
4 → 36
Calls
4 calls:
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
1.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series21.0ms

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

simplify5.7s

Counts
48 → 48
Iterations
IterNodes
done5000
91146
8356
7152
681
551
432
324
219
117
016

prune701.0ms

Pruning

19 alts after pruning (18 fresh and 1 done)

Merged error: 30.5b

localize228.0ms

Local error

Found 4 expressions with local error:

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

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube log1p-expm1-u add-log-exp
Counts
4 → 36
Calls
4 calls:
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
1.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series23.0ms

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

simplify6.1s

Counts
48 → 48
Iterations
IterNodes
done5000
91146
8356
7152
681
551
432
324
219
117
016

prune550.0ms

Pruning

20 alts after pruning (18 fresh and 2 done)

Merged error: 30.5b

regimes617.0ms

Accuracy

0% (1.1b remaining)

Error of 33.6b against oracle of 32.5b and baseline of 33.6b

bsearch0.0ms

simplify8.0ms

Iterations
IterNodes
done17
117
014

end0.0ms

sample28.7s

Algorithm
intervals
Results
14.9s2650×body10240exit
8.9s2305×body1280valid
2.6s1602×body640valid
787.0ms850×body320valid
622.0ms2781×body80valid
210.0ms458×body160valid
18.0msbody5120valid
7.0msbody2560valid