Details

Time bar (total: 20.1s)

sample371.0ms

Algorithm
intervals
Results
178.0ms70×body10240exit
128.0ms79×body1280valid
35.0ms57×body640valid
8.0ms87×body80valid
8.0ms25×body320valid
1.0msbody160valid

simplify2.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0810
done810

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.5b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(expm1 (sin (expm1 a)))
0.0b
(sin (expm1 a))
0.0b
(atan2 (expm1 (sin (expm1 a))) (atan a))
40.0b
(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
(expm1 (sin (expm1 a)))
1.0ms
(sin (expm1 a))
0.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series66.0ms

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

simplify1.6s

Counts
40 → 40
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
035339
139339
244293
355293
470293
5111293
6222293
7612293
82064293
done5001293

prune162.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 33.2b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (cbrt (fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)) (cbrt (fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)))
40.0b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
40.0b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
40.0b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite8.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:
5.0ms
(* (cbrt (fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)) (cbrt (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)

series151.0ms

Counts
4 → 12
Calls
4 calls:
145.0ms
(* (cbrt (fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)) (cbrt (fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)))
2.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
2.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
2.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify1.3s

Counts
73 → 73
Iterations

Useful iterations: 3 (166.0ms)

IterNodesCost
0531467
1891310
22431198
39761027
done50001027

prune285.0ms

Pruning

20 alts after pruning (19 fresh and 1 done)

Merged error: 33.2b

localize20.0ms

Local error

Found 4 expressions with local error:

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

series8.0ms

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

simplify1.5s

Counts
40 → 40
Iterations

Useful iterations: 2 (4.0ms)

IterNodesCost
014508
115508
217436
322436
428436
548436
6105436
7330436
81161436
done5000436

prune245.0ms

Pruning

21 alts after pruning (20 fresh and 1 done)

Merged error: 33.2b

localize24.0ms

Local error

Found 4 expressions with local error:

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

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

series8.0ms

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

simplify1.5s

Counts
40 → 40
Iterations

Useful iterations: 2 (4.0ms)

IterNodesCost
014508
115508
217436
322436
428436
548436
6105436
7330436
81161436
done5000436

prune180.0ms

Pruning

21 alts after pruning (20 fresh and 1 done)

Merged error: 33.2b

regimes233.0ms

Accuracy

0% (1.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01133
11233
done1233

end0.0ms

sample12.3s

Algorithm
intervals
Results
6.5s2596×body10240exit
3.9s2359×body1280valid
1.1s1645×body640valid
261.0ms814×body320valid
259.0ms2776×body80valid
86.0ms402×body160valid
9.0msbody5120valid
4.0msbody2560valid