Details

Time bar (total: 1.4m)

sample2.8s

Algorithm
intervals
Results
1.2s66×body1280valid
790.0ms99×body10240exit
112.0ms62×body640valid
54.0ms99×body80valid
28.0ms17×body320valid
6.0ms12×body160valid

simplify121.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (12.0ms)

IterNodesCost
0810
done810

prune12.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.4b

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

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

series191.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(expm1 a)
4.0ms
(expm1 (sin (expm1 a)))
163.0ms
(sin (expm1 a))
21.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify5.8s

Counts
40 → 40
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
035274
139274
244238
355238
484238
5217238
6519238
71209238
84017238
done5001238

prune559.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 30.7b

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

rewrite10.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:
7.0ms
(sin (expm1 a))
1.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)

series303.0ms

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

simplify3.9s

Counts
40 → 40
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
021430
123430
226370
333370
448370
5115370
6275370
7652370
82140370
done5001370

prune541.0ms

Pruning

17 alts after pruning (16 fresh and 1 done)

Merged error: 30.5b

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

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

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

simplify4.1s

Counts
40 → 40
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
014508
115508
217436
322436
430436
564436
6149436
7330436
81065436
done5000436

prune579.0ms

Pruning

18 alts after pruning (16 fresh and 2 done)

Merged error: 30.5b

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

series208.0ms

Counts
4 → 12
Calls
4 calls:
184.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)

simplify4.9s

Counts
40 → 40
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
014508
115508
217436
322436
430436
564436
6149436
7330436
81065436
done5000436

prune627.0ms

Pruning

18 alts after pruning (16 fresh and 2 done)

Merged error: 30.5b

regimes1.1s

Accuracy

0% (1.0b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0810
done810

end0.0ms

sample58.1s

Algorithm
intervals
Results
29.1s2650×body10240exit
17.7s2305×body1280valid
7.3s1602×body640valid
1.3s850×body320valid
965.0ms2781×body80valid
326.0ms458×body160valid
33.0msbody5120valid
11.0msbody2560valid