Details

Time bar (total: 24.7s)

sample188.0ms

Algorithm
intervals
Results
95.0ms90×body1280valid
24.0ms63×body640valid
8.0ms27×body320valid
7.0ms66×body80valid
2.0ms10×body160valid

simplify37.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
089
1129
2169
3199
4209
done209

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 19.3b

localize14.0ms

Local error

Found 3 expressions with local error:

0.1b
(* r (sin b))
0.2b
(/ (* r (sin b)) (cos (+ a b)))
5.5b
(cos (+ a b))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
10×add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
expm1-log1p-u times-frac associate-*r* associate-*l* associate-/r* log1p-expm1-u add-log-exp
cbrt-undiv div-exp prod-exp cbrt-unprod
cos-sum frac-2neg pow-prod-down clear-num *-commutative div-inv associate-/l* unswap-sqr
Counts
3 → 53
Calls
3 calls:
26.0ms
(* r (sin b))
13.0ms
(/ (* r (sin b)) (cos (+ a b)))
11.0ms
(cos (+ a b))

series278.0ms

Counts
3 → 9
Calls
3 calls:
72.0ms
(* r (sin b))
180.0ms
(/ (* r (sin b)) (cos (+ a b)))
26.0ms
(cos (+ a b))

simplify3.2s

Counts
62 → 62
Iterations

Useful iterations: done (3.2s)

IterNodesCost
096575
1207562
2572484
32172482
done5000480

prune196.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.2b

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(* r (sin b))
0.2b
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
0.2b
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))
0.2b
(* (sin a) (sin b))

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
13×add-exp-log add-cbrt-cube
10×add-cube-cbrt *-un-lft-identity
pow1
associate-*r* associate-*l* add-log-exp
sin-mult
expm1-log1p-u associate-/r/ cos-mult log1p-expm1-u
times-frac prod-exp associate-/r* cbrt-unprod
cbrt-undiv flip3-- div-exp pow-prod-down *-commutative frac-sub flip-- sub-div unswap-sqr
sub-neg frac-2neg fma-neg diff-log prod-diff clear-num div-inv associate-/l*
Counts
4 → 86
Calls
4 calls:
22.0ms
(* r (sin b))
36.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
36.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))
19.0ms
(* (sin a) (sin b))

series575.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(* r (sin b))
116.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
322.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))
65.0ms
(* (sin a) (sin b))

simplify3.3s

Counts
98 → 98
Iterations

Useful iterations: done (3.3s)

IterNodesCost
01521364
13701324
211581196
341681081
done50001078

prune517.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(* r (sin b))
0.1b
(fma (cos a) (- (cos b)) (* (sin b) (sin a)))
0.2b
(/ (- (* r (sin b))) (fma (cos a) (- (cos b)) (* (sin b) (sin a))))
0.2b
(* (sin b) (sin a))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity
18×times-frac
10×add-exp-log add-cbrt-cube
pow1
associate-*r* associate-*l* associate-/l*
distribute-lft-neg-in expm1-log1p-u neg-mul-1 distribute-rgt-neg-in log1p-expm1-u add-log-exp
associate-/r*
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
cbrt-undiv neg-sub0 frac-2neg div-sub distribute-frac-neg div-exp clear-num fma-udef div-inv sin-mult
Counts
4 → 94
Calls
4 calls:
14.0ms
(* r (sin b))
0.0ms
(fma (cos a) (- (cos b)) (* (sin b) (sin a)))
9.0ms
(/ (- (* r (sin b))) (fma (cos a) (- (cos b)) (* (sin b) (sin a))))
12.0ms
(* (sin b) (sin a))

series595.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(* r (sin b))
139.0ms
(fma (cos a) (- (cos b)) (* (sin b) (sin a)))
352.0ms
(/ (- (* r (sin b))) (fma (cos a) (- (cos b)) (* (sin b) (sin a))))
51.0ms
(* (sin b) (sin a))

simplify3.9s

Counts
106 → 106
Iterations

Useful iterations: done (3.9s)

IterNodesCost
01701709
13391667
29631542
344011540
done50021537

prune501.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize31.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (cos a) (- (cos b)) (* (sin b) (sin a)))
0.2b
(* r (/ (- (sin b)) (fma (cos a) (- (cos b)) (* (sin b) (sin a)))))
0.2b
(/ (- (sin b)) (fma (cos a) (- (cos b)) (* (sin b) (sin a))))
0.2b
(* (sin b) (sin a))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
61×times-frac
57×add-sqr-sqrt
50×add-cube-cbrt *-un-lft-identity
37×associate-*r*
21×distribute-lft-neg-in distribute-rgt-neg-in
13×add-exp-log add-cbrt-cube
10×associate-/l*
pow1
neg-mul-1
associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
prod-exp associate-/r* cbrt-unprod unswap-sqr
cbrt-undiv distribute-frac-neg div-exp pow-prod-down *-commutative div-inv
neg-sub0 frac-2neg div-sub associate-*r/ clear-num distribute-rgt-neg-out fma-udef sin-mult
Counts
4 → 146
Calls
4 calls:
0.0ms
(fma (cos a) (- (cos b)) (* (sin b) (sin a)))
33.0ms
(* r (/ (- (sin b)) (fma (cos a) (- (cos b)) (* (sin b) (sin a)))))
9.0ms
(/ (- (sin b)) (fma (cos a) (- (cos b)) (* (sin b) (sin a))))
12.0ms
(* (sin b) (sin a))

series775.0ms

Counts
4 → 12
Calls
4 calls:
146.0ms
(fma (cos a) (- (cos b)) (* (sin b) (sin a)))
368.0ms
(* r (/ (- (sin b)) (fma (cos a) (- (cos b)) (* (sin b) (sin a)))))
195.0ms
(/ (- (sin b)) (fma (cos a) (- (cos b)) (* (sin b) (sin a))))
65.0ms
(* (sin b) (sin a))

simplify3.5s

Counts
158 → 158
Iterations

Useful iterations: done (3.5s)

IterNodesCost
02263187
14893091
213752884
347182880
done50002875

prune773.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

regimes253.0ms

Accuracy

0% (0.3b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 0.3b

bsearch0.0ms

simplify5.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01519
11919
22319
32619
done2619

end0.0ms

sample5.7s

Algorithm
intervals
Results
2.5s2814×body1280valid
1.7s1927×body640valid
903.0ms769×body320valid
249.0ms2165×body80valid
82.0ms327×body160valid