Details

Time bar (total: 20.5s)

sample371.0ms

Algorithm
intervals
Results
177.0ms70×body10240exit
129.0ms79×body1280valid
36.0ms57×body640valid
8.0ms87×body80valid
8.0ms25×body320valid
2.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

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

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

simplify3.3s

Counts
40 → 40
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
035339
139339
244293
355293
470293
5101293
6176293
7397293
81211293
94862293
done5000293

prune154.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 33.2b

localize18.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:
6.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)

series150.0ms

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

simplify993.0ms

Counts
73 → 73
Iterations

Useful iterations: 4 (309.0ms)

IterNodesCost
0531467
1891310
22111198
35331027
413701000
done50011000

prune287.0ms

Pruning

21 alts after pruning (20 fresh and 1 done)

Merged error: 33.2b

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

series9.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.0s

Counts
40 → 40
Iterations

Useful iterations: 2 (4.0ms)

IterNodesCost
014508
115508
217436
322436
428436
538436
659436
7119436
8326436
91241436
done5000436

prune239.0ms

Pruning

22 alts after pruning (21 fresh and 1 done)

Merged error: 33.2b

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

series9.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.0s

Counts
40 → 40
Iterations

Useful iterations: 2 (4.0ms)

IterNodesCost
014508
115508
217436
322436
428436
538436
659436
7119436
8326436
91241436
done5000436

prune171.0ms

Pruning

22 alts after pruning (21 fresh and 1 done)

Merged error: 33.2b

regimes235.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.4s

Algorithm
intervals
Results
6.5s2596×body10240exit
3.9s2359×body1280valid
1.1s1645×body640valid
273.0ms814×body320valid
272.0ms2776×body80valid
84.0ms402×body160valid
9.0msbody5120valid
4.0msbody2560valid