Details

Time bar (total: 23.7s)

sample216.0ms

Algorithm
intervals
Results
70.0ms100×body1280valid
21.0ms51×body640valid
10.0ms28×body320valid
7.0ms68×body80valid
4.0msbody160valid

simplify96.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
089
1129
2169
3199
4209
done209

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.4b

localize28.0ms

Local error

Found 3 expressions with local error:

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

rewrite71.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:
19.0ms
(* r (sin b))
26.0ms
(/ (* r (sin b)) (cos (+ a b)))
22.0ms
(cos (+ a b))

series255.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(* r (sin b))
160.0ms
(/ (* r (sin b)) (cos (+ a b)))
46.0ms
(cos (+ a b))

simplify3.5s

Counts
56 → 56
Iterations

Useful iterations: done (3.5s)

IterNodesCost
090535
1198525
2550447
32112443
done5001439

prune202.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite156.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:
38.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
20.0ms
(* r (sin b))
34.0ms
(* (sin a) (sin b))
61.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

series678.0ms

Counts
4 → 12
Calls
4 calls:
147.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
59.0ms
(* r (sin b))
63.0ms
(* (sin a) (sin b))
408.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

simplify3.2s

Counts
88 → 88
Iterations

Useful iterations: 3 (1.5s)

IterNodesCost
01401256
13451224
210911076
33873989
done5000989

prune464.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize41.0ms

Local error

Found 4 expressions with local error:

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

rewrite183.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
20×associate-*r*
19×times-frac
13×add-exp-log add-cbrt-cube
pow1 associate-/r/
sin-mult
associate-*l* cos-mult add-log-exp
flip3-- prod-exp associate-/r* frac-sub flip-- cbrt-unprod associate-/l* sub-div unswap-sqr
cbrt-undiv div-exp pow-prod-down *-commutative div-inv
sub-neg frac-2neg diff-log associate-*r/ clear-num
Counts
4 → 100
Calls
4 calls:
21.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
38.0ms
(/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b))))
100.0ms
(* r (/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b)))))
17.0ms
(* (sin a) (sin b))

series731.0ms

Counts
4 → 12
Calls
4 calls:
126.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
189.0ms
(/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b))))
348.0ms
(* r (/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b)))))
68.0ms
(* (sin a) (sin b))

simplify2.3s

Counts
112 → 112
Iterations

Useful iterations: 3 (1.0s)

IterNodesCost
01702072
14032024
211671834
333731715
done50001715

prune639.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize38.0ms

Local error

Found 4 expressions with local error:

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

rewrite143.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 add-log-exp
associate-*r* associate-*l*
times-frac prod-exp associate-/r* associate-/r/ cbrt-unprod sin-mult
cbrt-undiv flip3-+ div-exp pow-prod-down frac-add sum-log cos-mult *-commutative flip-+ distribute-neg-frac unswap-sqr
+-commutative neg-sub0 associate-+r- frac-2neg unsub-neg neg-log clear-num div-inv associate-/l*
Counts
4 → 77
Calls
4 calls:
29.0ms
(+ (* (cos a) (cos b)) (- (* (sin a) (sin b))))
19.0ms
(* r (sin b))
25.0ms
(* (sin a) (sin b))
63.0ms
(/ (* r (sin b)) (+ (* (cos a) (cos b)) (- (* (sin a) (sin b)))))

series667.0ms

Counts
4 → 12
Calls
4 calls:
138.0ms
(+ (* (cos a) (cos b)) (- (* (sin a) (sin b))))
62.0ms
(* r (sin b))
72.0ms
(* (sin a) (sin b))
395.0ms
(/ (* r (sin b)) (+ (* (cos a) (cos b)) (- (* (sin a) (sin b)))))

simplify3.8s

Counts
89 → 89
Iterations

Useful iterations: 3 (1.8s)

IterNodesCost
01451277
13621203
212221042
346141033
done50021033

prune399.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0b

regimes296.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01519
11819
done1819

end0.0ms

sample5.6s

Algorithm
intervals
Results
3.2s2954×body1280valid
1.4s1762×body640valid
337.0ms843×body320valid
276.0ms2134×body80valid
73.0ms308×body160valid