Details

Time bar (total: 24.3s)

sample263.0ms

Algorithm
intervals
Results
146.0ms90×body1280valid
34.0ms63×body640valid
10.0ms66×body80valid
10.0ms27×body320valid
3.0ms10×body160valid

simplify69.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
089
1129
2169
3199
4209
done209

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 19.3b

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

rewrite152.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:
11.0ms
(* r (sin b))
24.0ms
(/ (* r (sin b)) (cos (+ a b)))
53.0ms
(cos (+ a b))

series290.0ms

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

simplify3.3s

Counts
56 → 56
Iterations

Useful iterations: done (3.3s)

IterNodesCost
090535
1198525
2550447
32112443
done5001439

prune286.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.2b

localize38.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
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:
19.0ms
(* r (sin b))
41.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
29.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))
24.0ms
(* (sin a) (sin b))

series1.0s

Counts
4 → 12
Calls
4 calls:
69.0ms
(* r (sin b))
154.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
760.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))
65.0ms
(* (sin a) (sin b))

simplify3.2s

Counts
88 → 88
Iterations

Useful iterations: 3 (1.7s)

IterNodesCost
01401256
13451224
210881098
33884989
done5001989

prune437.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite115.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
28×*-un-lft-identity
18×add-cube-cbrt times-frac
13×add-exp-log add-cbrt-cube
associate-/r*
pow1 add-log-exp
distribute-lft-out-- difference-of-squares
associate-/l*
cbrt-undiv div-exp associate-*r* associate-*l*
flip3-- frac-2neg prod-exp clear-num associate-/r/ cos-mult flip-- cbrt-unprod div-inv
sub-neg diff-log pow-prod-down *-commutative associate-/l/ unswap-sqr
Counts
4 → 92
Calls
4 calls:
11.0ms
(* (cos a) (cos b))
33.0ms
(- (/ (* (cos a) (cos b)) (sin b)) (sin a))
28.0ms
(/ (* (cos a) (cos b)) (sin b))
40.0ms
(/ r (- (/ (* (cos a) (cos b)) (sin b)) (sin a)))

series523.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(* (cos a) (cos b))
128.0ms
(- (/ (* (cos a) (cos b)) (sin b)) (sin a))
91.0ms
(/ (* (cos a) (cos b)) (sin b))
261.0ms
(/ r (- (/ (* (cos a) (cos b)) (sin b)) (sin a)))

simplify3.3s

Counts
104 → 104
Iterations

Useful iterations: 3 (1.5s)

IterNodesCost
01741613
13651564
210551436
340141430
done50001430

prune525.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite159.0ms

Algorithm
rewrite-expression-head
Rules
120×times-frac
111×add-sqr-sqrt
76×*-un-lft-identity
66×add-cube-cbrt
23×associate-/r*
15×difference-of-squares
13×add-exp-log add-cbrt-cube
associate-/l*
div-inv
add-log-exp
cbrt-undiv div-exp distribute-lft-out--
pow1
frac-2neg clear-num associate-/r/
flip3-- flip--
sub-neg quot-tan diff-log
Counts
4 → 159
Calls
4 calls:
57.0ms
(- (/ (cos a) (/ (sin b) (cos b))) (sin a))
9.0ms
(/ (sin b) (cos b))
14.0ms
(/ (cos a) (/ (sin b) (cos b)))
69.0ms
(/ r (- (/ (cos a) (/ (sin b) (cos b))) (sin a)))

series585.0ms

Counts
4 → 12
Calls
4 calls:
170.0ms
(- (/ (cos a) (/ (sin b) (cos b))) (sin a))
23.0ms
(/ (sin b) (cos b))
120.0ms
(/ (cos a) (/ (sin b) (cos b)))
272.0ms
(/ r (- (/ (cos a) (/ (sin b) (cos b))) (sin a)))

simplify3.1s

Counts
171 → 171
Iterations

Useful iterations: 3 (1.5s)

IterNodesCost
02822980
15732867
215922729
346042721
done50002721

prune806.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

regimes212.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01315
11515
done1515

end0.0ms

sample5.7s

Algorithm
intervals
Results
3.0s2814×body1280valid
1.1s1927×body640valid
801.0ms769×body320valid
442.0ms2165×body80valid
83.0ms327×body160valid