Details

Time bar (total: 32.1s)

sample672.0ms

Algorithm
intervals
Results
327.0ms74×body10240exit
204.0ms84×body1280valid
43.0ms43×body640valid
14.0ms85×body80valid
11.0ms23×body320valid
7.0ms21×body160valid

simplify12.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0810
done810

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.2b

localize24.0ms

Local error

Found 4 expressions with local error:

0.0b
(expm1 (sin (expm1 a)))
0.0b
(atan2 (expm1 (sin (expm1 a))) (atan a))
0.3b
(sin (expm1 a))
38.9b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

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

series107.0ms

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

simplify2.1s

Counts
40 → 40
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
035339
139339
244293
355293
484293
5217293
6519293
71209293
84017293
done5001293

prune273.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 32.9b

localize24.0ms

Local error

Found 4 expressions with local error:

0.3b
(sin (expm1 a))
38.9b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
38.9b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
38.9b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite5.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:
3.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)
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series118.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(sin (expm1 a))
5.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)

simplify1.6s

Counts
40 → 40
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
021430
123430
226370
333370
448370
5115370
6275370
7652370
82140370
done5001370

prune358.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 32.6b

localize74.0ms

Local error

Found 4 expressions with local error:

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

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

series12.0ms

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

simplify1.8s

Counts
40 → 40
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
014508
115508
217436
322436
430436
564436
6149436
7330436
81065436
done5000436

prune323.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 32.6b

localize25.0ms

Local error

Found 4 expressions with local error:

0.3b
(sin (expm1 a))
0.3b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
0.3b
(log (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))
38.9b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)

rewrite10.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
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
4.0ms
(log (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))
0.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)

series149.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(sin (expm1 a))
62.0ms
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
4.0ms
(log (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))
3.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)

simplify992.0ms

Counts
52 → 52
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
051562
167507
299446
3149446
4255446
5534446
61471446
done5001446

prune200.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 32.4b

regimes428.0ms

Accuracy

0% (1.7b remaining)

Error of 33.8b against oracle of 32.1b and baseline of 33.8b

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01479
11679
done1679

end0.0ms

sample22.7s

Algorithm
intervals
Results
11.5s2546×body10240exit
6.8s2319×body1280valid
2.1s1660×body640valid
976.0ms819×body320valid
633.0ms2758×body80valid
169.0ms440×body160valid
23.0msbody5120valid
2.0msbody2560valid