Details

Time bar (total: 25.4s)

sample356.0ms

Algorithm
intervals
Results
101.0ms63×body640valid
94.0ms90×body1280valid
13.0ms27×body320valid
12.0ms66×body80valid
3.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

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

rewrite100.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:
44.0ms
(* r (sin b))
27.0ms
(/ (* r (sin b)) (cos (+ a b)))
24.0ms
(cos (+ a b))

series208.0ms

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

simplify3.7s

Counts
56 → 56
Iterations

Useful iterations: done (3.7s)

IterNodesCost
090535
1198525
2550447
32112443
done5001439

prune194.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.2b

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

rewrite113.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:
11.0ms
(* r (sin b))
36.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
44.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))
20.0ms
(* (sin a) (sin b))

series1.0s

Counts
4 → 12
Calls
4 calls:
63.0ms
(* r (sin b))
110.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
757.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))
81.0ms
(* (sin a) (sin b))

simplify3.1s

Counts
88 → 88
Iterations

Useful iterations: 3 (1.6s)

IterNodesCost
01401256
13451224
210881098
33884989
done5001989

prune474.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

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

rewrite161.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:
19.0ms
(* (cos a) (cos b))
52.0ms
(- (/ (* (cos a) (cos b)) (sin b)) (sin a))
27.0ms
(/ (* (cos a) (cos b)) (sin b))
58.0ms
(/ r (- (/ (* (cos a) (cos b)) (sin b)) (sin a)))

series677.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(* (cos a) (cos b))
171.0ms
(- (/ (* (cos a) (cos b)) (sin b)) (sin a))
141.0ms
(/ (* (cos a) (cos b)) (sin b))
305.0ms
(/ r (- (/ (* (cos a) (cos b)) (sin b)) (sin a)))

simplify3.4s

Counts
104 → 104
Iterations

Useful iterations: 3 (1.5s)

IterNodesCost
01741613
13651564
210551436
340141430
done50001430

prune481.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

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

rewrite257.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:
110.0ms
(- (/ (cos a) (/ (sin b) (cos b))) (sin a))
24.0ms
(/ (sin b) (cos b))
32.0ms
(/ (cos a) (/ (sin b) (cos b)))
74.0ms
(/ r (- (/ (cos a) (/ (sin b) (cos b))) (sin a)))

series534.0ms

Counts
4 → 12
Calls
4 calls:
166.0ms
(- (/ (cos a) (/ (sin b) (cos b))) (sin a))
27.0ms
(/ (sin b) (cos b))
85.0ms
(/ (cos a) (/ (sin b) (cos b)))
256.0ms
(/ r (- (/ (cos a) (/ (sin b) (cos b))) (sin a)))

simplify3.4s

Counts
171 → 171
Iterations

Useful iterations: 3 (1.8s)

IterNodesCost
02822980
15732867
215922729
346042721
done50002721

prune1.0s

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

regimes293.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01315
11515
done1515

end0.0ms

sample5.9s

Algorithm
intervals
Results
2.4s2814×body1280valid
1.8s1927×body640valid
526.0ms327×body160valid
390.0ms2165×body80valid
254.0ms769×body320valid