Details

Time bar (total: 24.7s)

sample183.0ms

Algorithm
intervals
Results
89.0ms94×body1280valid
24.0ms60×body640valid
7.0ms30×body320valid
6.0ms65×body80valid
1.0msbody160valid

simplify19.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
089
1129
2169
3199
4209
done209

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 16.7b

localize15.0ms

Local error

Found 3 expressions with local error:

0.1b
(* r (sin b))
0.3b
(/ (* r (sin b)) (cos (+ a b)))
3.9b
(cos (+ a b))

rewrite59.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:
27.0ms
(* r (sin b))
16.0ms
(/ (* r (sin b)) (cos (+ a b)))
13.0ms
(cos (+ a b))

series192.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(* r (sin b))
116.0ms
(/ (* r (sin b)) (cos (+ a b)))
29.0ms
(cos (+ a b))

simplify3.5s

Counts
56 → 56
Iterations

Useful iterations: done (3.5s)

IterNodesCost
090535
1198525
2550447
32112443
done5001439

prune241.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.2b

localize40.0ms

Local error

Found 4 expressions with local error:

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

rewrite140.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
cos-mult sin-mult
associate-/r/
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 → 77
Calls
4 calls:
22.0ms
(* (cos a) (cos b))
38.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
36.0ms
(* (sin a) (sin b))
40.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

series642.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(* (cos a) (cos b))
137.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
57.0ms
(* (sin a) (sin b))
388.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

simplify3.4s

Counts
89 → 89
Iterations

Useful iterations: 3 (2.0s)

IterNodesCost
01551300
13721256
211921114
341141027
done50001027

prune505.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 0.0b

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

rewrite142.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:
12.0ms
(* (cos a) (cos b))
48.0ms
(- (/ (* (cos a) (cos b)) (sin b)) (sin a))
63.0ms
(/ r (- (/ (* (cos a) (cos b)) (sin b)) (sin a)))
16.0ms
(/ (* (cos a) (cos b)) (sin b))

series582.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(* (cos a) (cos b))
126.0ms
(- (/ (* (cos a) (cos b)) (sin b)) (sin a))
287.0ms
(/ r (- (/ (* (cos a) (cos b)) (sin b)) (sin a)))
105.0ms
(/ (* (cos a) (cos b)) (sin b))

simplify3.2s

Counts
104 → 104
Iterations

Useful iterations: 3 (1.5s)

IterNodesCost
01741613
13651564
210521436
340031430
done50001430

prune548.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize38.0ms

Local error

Found 4 expressions with local error:

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

rewrite208.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:
90.0ms
(- (/ (cos a) (/ (sin b) (cos b))) (sin a))
11.0ms
(/ (sin b) (cos b))
17.0ms
(/ (cos a) (/ (sin b) (cos b)))
77.0ms
(/ r (- (/ (cos a) (/ (sin b) (cos b))) (sin a)))

series579.0ms

Counts
4 → 12
Calls
4 calls:
135.0ms
(- (/ (cos a) (/ (sin b) (cos b))) (sin a))
36.0ms
(/ (sin b) (cos b))
105.0ms
(/ (cos a) (/ (sin b) (cos b)))
303.0ms
(/ r (- (/ (cos a) (/ (sin b) (cos b))) (sin a)))

simplify3.6s

Counts
171 → 171
Iterations

Useful iterations: 3 (1.8s)

IterNodesCost
02822980
15732867
215922729
346042721
done50002721

prune766.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

regimes293.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
0910
done910

end0.0ms

sample5.7s

Algorithm
intervals
Results
3.0s2916×body1280valid
1.0s1826×body640valid
764.0ms784×body320valid
295.0ms2134×body80valid
115.0ms341×body160valid