Details

Time bar (total: 5.9s)

sample79.0ms

Algorithm
intervals
Results
38.0ms88×body1280valid
19.0ms64×body640valid
5.0ms70×body80valid
3.0ms22×body320valid
1.0ms12×body160valid

simplify7.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1165
2195
3205
4205
done205

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.7b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
10×add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
times-frac associate-*r* associate-*l* associate-/r* 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 → 47
Calls
3 calls:
9.0ms
(* r (sin b))
12.0ms
(/ (* r (sin b)) (cos (+ a b)))
12.0ms
(cos (+ a b))

series164.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(* r (sin b))
101.0ms
(/ (* r (sin b)) (cos (+ a b)))
25.0ms
(cos (+ a b))

simplify32.0ms

Counts
56 → 56
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0198305
1861257
25001256
done5001256

prune136.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.2b

localize15.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
(* (sin a) (sin b))
0.3b
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

rewrite69.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
associate-/r/ cos-mult
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 diff-log clear-num div-inv associate-/l*
Counts
4 → 76
Calls
4 calls:
9.0ms
(* r (sin b))
19.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
12.0ms
(* (sin a) (sin b))
28.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

series396.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* r (sin b))
82.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
49.0ms
(* (sin a) (sin b))
223.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

simplify46.0ms

Counts
88 → 88
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0344770
11513673
25001663
done5001663

prune285.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
58×add-sqr-sqrt
56×add-cube-cbrt *-un-lft-identity
16×associate-/r*
13×add-exp-log add-cbrt-cube
pow1 div-inv associate-/l* add-log-exp
sin-mult
cbrt-undiv div-exp cos-mult associate-/l/
associate-*r* associate-*l*
flip3-- frac-2neg clear-num frac-sub flip-- sub-div
sub-neg diff-log div-sub pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod unswap-sqr
Counts
4 → 135
Calls
4 calls:
17.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
30.0ms
(/ (- (* (cos a) (cos b)) (* (sin a) (sin b))) (sin b))
15.0ms
(/ r (/ (- (* (cos a) (cos b)) (* (sin a) (sin b))) (sin b)))
12.0ms
(* (sin a) (sin b))

series491.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
120.0ms
(/ (- (* (cos a) (cos b)) (* (sin a) (sin b))) (sin b))
233.0ms
(/ r (/ (- (* (cos a) (cos b)) (* (sin a) (sin b))) (sin b)))
50.0ms
(* (sin a) (sin b))

simplify69.0ms

Counts
147 → 147
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05702147
124532011
250011990
done50011990

prune515.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
26×add-sqr-sqrt
25×add-exp-log
24×add-cube-cbrt *-un-lft-identity
20×add-cbrt-cube
10×div-exp associate-/r*
cbrt-undiv
pow1 div-inv add-log-exp
prod-exp sin-mult
associate-*r/ cos-mult associate-/l/ associate-/l*
associate-*r* associate-*l* cbrt-unprod
flip3-- frac-2neg 1-exp clear-num frac-sub flip-- sub-div
sub-neg diff-log pow-prod-down associate-/r/ *-commutative unswap-sqr
Counts
4 → 108
Calls
4 calls:
16.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
42.0ms
(/ (* 1 (- (* (cos a) (cos b)) (* (sin a) (sin b)))) (sin b))
14.0ms
(/ r (/ (* 1 (- (* (cos a) (cos b)) (* (sin a) (sin b)))) (sin b)))
12.0ms
(* (sin a) (sin b))

series490.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
126.0ms
(/ (* 1 (- (* (cos a) (cos b)) (* (sin a) (sin b)))) (sin b))
235.0ms
(/ r (/ (* 1 (- (* (cos a) (cos b)) (* (sin a) (sin b)))) (sin b)))
46.0ms
(* (sin a) (sin b))

simplify65.0ms

Counts
120 → 120
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05201470
121431289
250011283
done50011283

prune330.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

regimes174.0ms

Accuracy

0% (0.3b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01911
12111
22111
done2111

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.2s2976×body1280valid
427.0ms1808×body640valid
129.0ms767×body320valid
117.0ms2095×body80valid
42.0ms356×body160valid