Details

Time bar (total: 37.8s)

sample1.1s

Algorithm
intervals
Results
642.0ms84×body10240exit
218.0ms70×body1280valid
84.0ms58×body640valid
20.0ms29×body320valid
16.0ms79×body80valid
9.0ms20×body160valid

simplify10.0ms

Counts
1 → 1
Iterations
IterNodes
done8
08

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 35.5b

localize20.0ms

Local error

Found 3 expressions with local error:

0.0b
(atan2 (expm1 (sin (expm1 a))) (atan a))
0.0b
(expm1 (sin (expm1 a)))
40.7b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
log1p-expm1-u
add-sqr-sqrt expm1-log1p-u pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt add-log-exp
expm1-log1p expm1-udef
Counts
3 → 29
Calls
3 calls:
0.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
2.0ms
(expm1 (sin (expm1 a)))
1.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series210.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
161.0ms
(expm1 (sin (expm1 a)))
45.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify2.4s

Counts
38 → 38
Iterations
IterNodes
done5000
42832
3619
2191
177
049

prune378.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 34.3b

localize51.0ms

Local error

Found 4 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
exp-prod
pow1 log1p-expm1-u add-log-exp
expm1-log1p-u add-cbrt-cube add-exp-log log-pow
log-prod
expm1-log1p rem-log-exp expm1-udef rem-exp-log
Counts
4 → 50
Calls
4 calls:
1.0ms
(expm1 (sin (expm1 a)))
4.0ms
(log (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))
3.0ms
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
0.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)

series209.0ms

Counts
4 → 12
Calls
4 calls:
158.0ms
(expm1 (sin (expm1 a)))
5.0ms
(log (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))
41.0ms
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
5.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)

simplify3.0s

Counts
62 → 62
Iterations
IterNodes
done5000
43028
3706
2250
1112
073

prune507.0ms

Pruning

16 alts after pruning (15 fresh and 1 done)

Merged error: 34.0b

localize79.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
0.7b
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
0.7b
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
40.7b
(fmod (log (pow (pow (exp (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a))))) a)

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
expm1-log1p-u pow1 add-cbrt-cube add-exp-log log1p-expm1-u add-log-exp
pow1/3
Counts
4 → 48
Calls
4 calls:
1.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
1.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
1.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
8.0ms
(fmod (log (pow (pow (exp (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a))))) a)

series546.0ms

Counts
4 → 12
Calls
4 calls:
191.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
173.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
166.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
15.0ms
(fmod (log (pow (pow (exp (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a))))) a)

simplify4.4s

Counts
60 → 60
Iterations
IterNodes
done5000
43807
3582
2192
175
041

prune561.0ms

Pruning

17 alts after pruning (15 fresh and 2 done)

Merged error: 33.8b

localize50.0ms

Local error

Found 4 expressions with local error:

0.1b
(cbrt (fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a))
40.7b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
40.7b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
40.7b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
expm1-log1p-u pow1 add-cbrt-cube add-exp-log log1p-expm1-u add-log-exp
cbrt-prod
pow1/3
Counts
4 → 40
Calls
4 calls:
1.0ms
(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)

series171.0ms

Counts
4 → 12
Calls
4 calls:
158.0ms
(cbrt (fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a))
7.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.3s

Counts
52 → 52
Iterations
IterNodes
done5000
41143
3237
291
142
030

prune314.0ms

Pruning

20 alts after pruning (17 fresh and 3 done)

Merged error: 33.8b

regimes593.0ms

Accuracy

0% (1.7b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations
IterNodes
done10
010

end0.0ms

sample21.9s

Algorithm
intervals
Results
11.4s2619×body10240exit
6.6s2307×body1280valid
2.1s1666×body640valid
614.0ms2774×body80valid
482.0ms823×body320valid
220.0ms426×body160valid
16.0msbody5120valid
7.0msbody2560valid