Details

Time bar (total: 2.1m)

sample2.3s

Algorithm
intervals
Results
1.3s99×body10240exit
364.0ms66×body1280valid
207.0ms62×body640valid
60.0ms99×body80valid
37.0ms17×body320valid
5.0ms12×body160valid

simplify271.0ms

Counts
1 → 1
Iterations
IterNodes
done8
08

prune1.6s

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.4b

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

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

series1.6s

Counts
4 → 12
Calls
4 calls:
34.0ms
(expm1 a)
571.0ms
(expm1 (sin (expm1 a)))
642.0ms
(sin (expm1 a))
390.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify14.6s

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

prune813.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 30.7b

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

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

series558.0ms

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

simplify11.1s

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

prune1.4s

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 30.5b

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

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
Counts
4 → 36
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)

series38.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)
6.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
18.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify7.9s

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

prune778.0ms

Pruning

19 alts after pruning (18 fresh and 1 done)

Merged error: 30.5b

localize212.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:
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)

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

simplify12.9s

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

prune1.2s

Pruning

20 alts after pruning (18 fresh and 2 done)

Merged error: 30.5b

regimes760.0ms

Accuracy

0% (1.1b remaining)

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

bsearch0.0ms

simplify7.0ms

Iterations
IterNodes
done17
117
014

end0.0ms

sample1.1m

Algorithm
intervals
Results
36.2s2650×body10240exit
16.3s2305×body1280valid
5.7s1602×body640valid
3.4s850×body320valid
2.9s2781×body80valid
310.0ms458×body160valid
15.0msbody5120valid
14.0msbody2560valid