Details

Time bar (total: 39.0s)

sample1.1s

Algorithm
intervals
Results
521.0ms92×body10240exit
272.0ms72×body1280valid
93.0ms51×body640valid
81.0ms89×body80valid
35.0msbody2560valid
19.0ms30×body320valid
7.0ms13×body160valid

simplify7.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0810
done810

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.7b

localize18.0ms

Local error

Found 4 expressions with local error:

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

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

series81.0ms

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

simplify2.0s

Counts
40 → 40
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
035274
139274
244238
355238
484238
5217238
6519238
71209238
84017238
done5001238

prune226.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 32.9b

localize26.0ms

Local error

Found 4 expressions with local error:

0.3b
(sin (expm1 a))
38.5b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
38.5b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
38.5b
(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))
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)

series89.0ms

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

Counts
40 → 40
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
021430
123430
226370
333370
448370
5115370
6275370
7652370
82140370
done5001370

prune374.0ms

Pruning

17 alts after pruning (16 fresh and 1 done)

Merged error: 32.7b

localize72.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.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:
19.0ms
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
0.0ms
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (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)

series297.0ms

Counts
4 → 12
Calls
4 calls:
286.0ms
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
4.0ms
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (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)

simplify7.0s

Counts
73 → 73
Iterations

Useful iterations: done (7.0s)

IterNodesCost
0681007
1124934
2467760
33499691
done5000675

prune681.0ms

Pruning

28 alts after pruning (26 fresh and 2 done)

Merged error: 32.4b

localize107.0ms

Local error

Found 4 expressions with local error:

38.5b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
38.5b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
38.5b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
38.5b
(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.7s

Counts
40 → 40
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
014508
115508
217436
322436
430436
564436
6149436
7330436
81065436
done5000436

prune382.0ms

Pruning

28 alts after pruning (26 fresh and 2 done)

Merged error: 32.4b

regimes969.0ms

Accuracy

0% (1.3b remaining)

Error of 33.7b against oracle of 32.4b and baseline of 33.7b

bsearch0.0ms

simplify6.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02190
12490
done2490

end0.0ms

sample22.2s

Algorithm
intervals
Results
11.5s2608×body10240exit
6.2s2319×body1280valid
2.4s1671×body640valid
876.0ms2766×body80valid
508.0ms807×body320valid
151.0ms430×body160valid
20.0msbody5120valid
13.0msbody2560valid