Details

Time bar (total: 43.1s)

sample274.0ms

Algorithm
intervals
Results
133.0ms59×body2560valid
79.0ms74×body1280valid
28.0ms60×body640valid
13.0ms36×body320valid
3.0ms12×body160valid
2.0ms15×body80valid

simplify31.0ms

Counts
1 → 1
Iterations
IterNodes
done16
316
214
111
06

prune12.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.3b

localize107.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ (- 1.0 (cos x)) (sin x))
1.8b
(- 1.0 (cos x))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt *-un-lft-identity
19×add-cube-cbrt
15×times-frac
prod-diff
associate-/l* distribute-lft-out-- difference-of-squares
add-cbrt-cube add-exp-log add-log-exp
associate-/r* fma-neg
expm1-log1p-u pow1 flip3-- insert-posit16 log1p-expm1-u flip-- associate-/l/
cbrt-undiv clear-num sub-neg frac-2neg diff-log div-sub div-exp div-inv
Counts
2 → 70
Calls
2 calls:
43.0ms
(/ (- 1.0 (cos x)) (sin x))
29.0ms
(- 1.0 (cos x))

series104.0ms

Counts
2 → 6
Calls
2 calls:
73.0ms
(/ (- 1.0 (cos x)) (sin x))
31.0ms
(- 1.0 (cos x))

simplify4.6s

Counts
76 → 76
Iterations
IterNodes
done5000
32324
2768
1310
0136

prune908.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.2b

localize59.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 1/240 (pow x 5) (* x (fma (* x 1/24) x 1/2)))
0.0b
(fma (* x 1/24) x 1/2)
0.1b
(* x (fma (* x 1/24) x 1/2))
0.4b
(* x 1/24)

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt
associate-*r* associate-*l*
expm1-log1p-u fma-udef insert-posit16 log1p-expm1-u add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
distribute-rgt-in distribute-lft-in
Counts
4 → 66
Calls
4 calls:
3.0ms
(fma 1/240 (pow x 5) (* x (fma (* x 1/24) x 1/2)))
3.0ms
(fma (* x 1/24) x 1/2)
20.0ms
(* x (fma (* x 1/24) x 1/2))
15.0ms
(* x 1/24)

series403.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(fma 1/240 (pow x 5) (* x (fma (* x 1/24) x 1/2)))
117.0ms
(fma (* x 1/24) x 1/2)
125.0ms
(* x (fma (* x 1/24) x 1/2))
33.0ms
(* x 1/24)

simplify5.6s

Counts
78 → 78
Iterations
IterNodes
done5028
32024
2471
1191
094

prune872.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.2b

localize149.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 1/240 (pow x 5) (+ (* x (* (* x 1/24) x)) (* x 1/2)))
0.1b
(* (* x 1/24) x)
0.1b
(* x (* (* x 1/24) x))
0.4b
(* x 1/24)

rewrite242.0ms

Algorithm
rewrite-expression-head
Rules
20×pow1 add-cbrt-cube add-exp-log
10×add-sqr-sqrt pow-prod-down prod-exp cbrt-unprod
*-un-lft-identity add-cube-cbrt
associate-*r* associate-*l*
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp
*-commutative
fma-udef unswap-sqr
Counts
4 → 77
Calls
4 calls:
3.0ms
(fma 1/240 (pow x 5) (+ (* x (* (* x 1/24) x)) (* x 1/2)))
38.0ms
(* (* x 1/24) x)
156.0ms
(* x (* (* x 1/24) x))
37.0ms
(* x 1/24)

series215.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(fma 1/240 (pow x 5) (+ (* x (* (* x 1/24) x)) (* x 1/2)))
41.0ms
(* (* x 1/24) x)
55.0ms
(* x (* (* x 1/24) x))
25.0ms
(* x 1/24)

simplify11.0s

Counts
89 → 89
Iterations
IterNodes
done5001
34531
2806
1247
0100

prune921.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.2b

localize95.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- 1.0 (cos x)) (sin x))
0.2b
(exp (/ (- 1.0 (cos x)) (sin x)))
1.4b
(log (exp (/ (- 1.0 (cos x)) (sin x))))
1.8b
(- 1.0 (cos x))

rewrite207.0ms

Algorithm
rewrite-expression-head
Rules
62×add-sqr-sqrt *-un-lft-identity
45×times-frac
40×add-cube-cbrt
38×exp-prod
20×log-pow
11×distribute-lft-out-- difference-of-squares
prod-diff
add-log-exp
add-cbrt-cube add-exp-log
pow1 associate-/l*
expm1-log1p-u insert-posit16 log1p-expm1-u
log-prod associate-/r* fma-neg div-sub div-inv
flip3-- exp-diff flip-- associate-/l/
cbrt-undiv log-div clear-num sub-neg frac-2neg diff-log div-exp rem-log-exp rem-exp-log
Counts
4 → 136
Calls
4 calls:
46.0ms
(/ (- 1.0 (cos x)) (sin x))
55.0ms
(exp (/ (- 1.0 (cos x)) (sin x)))
70.0ms
(log (exp (/ (- 1.0 (cos x)) (sin x))))
19.0ms
(- 1.0 (cos x))

series370.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(/ (- 1.0 (cos x)) (sin x))
124.0ms
(exp (/ (- 1.0 (cos x)) (sin x)))
109.0ms
(log (exp (/ (- 1.0 (cos x)) (sin x))))
43.0ms
(- 1.0 (cos x))

simplify4.9s

Counts
148 → 148
Iterations
IterNodes
done5005
32528
2884
1392
0199

prune1.3s

Pruning

18 alts after pruning (17 fresh and 1 done)

Merged error: 0.1b

regimes778.0ms

Accuracy

98.5% (0.5b remaining)

Error of 0.7b against oracle of 0.2b and baseline of 32.5b

bsearch5.0ms

simplify25.0ms

Iterations
IterNodes
done31
131
026

end0.0ms

sample9.7s

Algorithm
intervals
Results
4.0s2750×body1280valid
3.8s1531×body2560valid
1.2s1947×body640valid
369.0ms906×body320valid
124.0ms498×body160valid
51.0ms364×body80valid
14.0msbody5120valid