Details

Time bar (total: 12.7s)

sample75.0ms

Algorithm
intervals
Results
39.0ms96×body1280valid
16.0ms62×body640valid
4.0ms23×body320valid
3.0ms62×body80valid
2.0ms13×body160valid

simplify12.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
089
1129
2169
3199
4209
done209

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.7b

localize17.0ms

Local error

Found 3 expressions with local error:

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

rewrite16.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:
3.0ms
(* r (sin b))
4.0ms
(/ (* r (sin b)) (cos (+ a b)))
7.0ms
(cos (+ a b))

series162.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(* r (sin b))
99.0ms
(/ (* r (sin b)) (cos (+ a b)))
24.0ms
(cos (+ a b))

simplify1.8s

Counts
62 → 62
Iterations

Useful iterations: 3 (442.0ms)

IterNodesCost
096575
1208562
2577484
32292482
done5000482

prune159.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.2b

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

rewrite24.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:
3.0ms
(* r (sin b))
5.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
9.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))
4.0ms
(* (sin a) (sin b))

series380.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* r (sin b))
81.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
211.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))
47.0ms
(* (sin a) (sin b))

simplify2.2s

Counts
98 → 98
Iterations

Useful iterations: done (2.1s)

IterNodesCost
01521364
13661324
211641174
344031081
done50011080

prune328.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.1b

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(* r (sin b))
0.2b
(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))

rewrite15.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*
expm1-log1p-u log1p-expm1-u add-log-exp
times-frac prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp pow-prod-down *-commutative unswap-sqr
frac-2neg clear-num fma-udef div-inv sin-mult associate-/l*
Counts
4 → 74
Calls
4 calls:
3.0ms
(* r (sin b))
0.0ms
(fma (cos a) (cos b) (- (* (sin b) (sin a))))
6.0ms
(/ (* r (sin b)) (fma (cos a) (cos b) (- (* (sin b) (sin a)))))
4.0ms
(* (sin b) (sin a))

series382.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* r (sin b))
80.0ms
(fma (cos a) (cos b) (- (* (sin b) (sin a))))
219.0ms
(/ (* r (sin b)) (fma (cos a) (cos b) (- (* (sin b) (sin a)))))
44.0ms
(* (sin b) (sin a))

simplify1.7s

Counts
86 → 86
Iterations

Useful iterations: done (1.7s)

IterNodesCost
01281087
12741071
2833917
33390915
done5000914

prune307.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(fma (cos a) (cos b) (- (* (sin b) (sin a))))
0.2b
(/ (sin b) (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))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
19×times-frac
16×associate-*r*
13×add-exp-log add-cbrt-cube
pow1
associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
prod-exp associate-/r* cbrt-unprod associate-/l* unswap-sqr
cbrt-undiv div-exp pow-prod-down *-commutative div-inv
frac-2neg associate-*r/ clear-num fma-udef sin-mult
Counts
4 → 94
Calls
4 calls:
0.0ms
(fma (cos a) (cos b) (- (* (sin b) (sin a))))
3.0ms
(/ (sin b) (fma (cos a) (cos b) (- (* (sin b) (sin a)))))
7.0ms
(* r (/ (sin b) (fma (cos a) (cos b) (- (* (sin b) (sin a))))))
4.0ms
(* (sin b) (sin a))

series459.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(fma (cos a) (cos b) (- (* (sin b) (sin a))))
112.0ms
(/ (sin b) (fma (cos a) (cos b) (- (* (sin b) (sin a)))))
220.0ms
(* r (/ (sin b) (fma (cos a) (cos b) (- (* (sin b) (sin a))))))
44.0ms
(* (sin b) (sin a))

simplify1.8s

Counts
106 → 106
Iterations

Useful iterations: done (1.8s)

IterNodesCost
01541831
13301797
29391607
332971599
done50011598

prune331.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

regimes138.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01216
11416
done1416

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.3s2940×body1280valid
599.0ms1823×body640valid
143.0ms761×body320valid
117.0ms2119×body80valid
45.0ms359×body160valid