Details

Time bar (total: 25.5s)

sample376.0ms

Algorithm
intervals
Results
152.0ms92×body1280valid
36.0ms53×body640valid
14.0ms72×body80valid
10.0ms25×body320valid
5.0ms15×body160valid

simplify38.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
089
1129
2169
3199
4209
done209

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.8b

localize31.0ms

Local error

Found 3 expressions with local error:

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

rewrite101.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:
43.0ms
(* r (sin b))
27.0ms
(/ (* r (sin b)) (cos (+ a b)))
25.0ms
(cos (+ a b))

series300.0ms

Counts
3 → 9
Calls
3 calls:
70.0ms
(* r (sin b))
180.0ms
(/ (* r (sin b)) (cos (+ a b)))
50.0ms
(cos (+ a b))

simplify3.6s

Counts
56 → 56
Iterations

Useful iterations: done (3.6s)

IterNodesCost
090535
1198525
2550447
32112443
done5001439

prune212.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.2b

localize34.0ms

Local error

Found 4 expressions with local error:

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

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
15×add-exp-log add-cbrt-cube
12×add-cube-cbrt *-un-lft-identity
10×pow1
associate-*r* associate-*l*
prod-exp associate-/r/ cbrt-unprod add-log-exp
times-frac pow-prod-down associate-/r* cos-mult *-commutative sin-mult unswap-sqr
cbrt-undiv div-exp
flip3-- frac-2neg clear-num frac-sub flip-- div-inv associate-/l* sub-div
Counts
4 → 81
Calls
4 calls:
12.0ms
(* (cos a) (cos b))
11.0ms
(* r (sin b))
38.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))
23.0ms
(* (sin a) (sin b))

series612.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(* (cos a) (cos b))
55.0ms
(* r (sin b))
403.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))
70.0ms
(* (sin a) (sin b))

simplify3.4s

Counts
93 → 93
Iterations

Useful iterations: 3 (1.9s)

IterNodesCost
01571121
13671083
21142949
33948880
done5000880

prune459.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize36.0ms

Local error

Found 4 expressions with local error:

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

rewrite117.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:
28.0ms
(- (/ (* (cos a) (cos b)) (sin b)) (sin a))
12.0ms
(* (cos a) (cos b))
42.0ms
(/ r (- (/ (* (cos a) (cos b)) (sin b)) (sin a)))
32.0ms
(/ (* (cos a) (cos b)) (sin b))

series625.0ms

Counts
4 → 12
Calls
4 calls:
139.0ms
(- (/ (* (cos a) (cos b)) (sin b)) (sin a))
62.0ms
(* (cos a) (cos b))
306.0ms
(/ r (- (/ (* (cos a) (cos b)) (sin b)) (sin a)))
118.0ms
(/ (* (cos a) (cos b)) (sin b))

simplify3.2s

Counts
104 → 104
Iterations

Useful iterations: 3 (1.6s)

IterNodesCost
01741613
13651564
210511436
340011430
done50001430

prune891.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize44.0ms

Local error

Found 4 expressions with local error:

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

rewrite206.0ms

Algorithm
rewrite-expression-head
Rules
34×add-exp-log
27×add-sqr-sqrt
23×add-cube-cbrt *-un-lft-identity associate-*r*
22×add-cbrt-cube
18×times-frac
14×pow1 prod-exp
associate-/r/ cbrt-unprod
associate-*l*
div-exp
pow-prod-down sin-mult
cos-mult add-log-exp
cbrt-undiv rec-exp 1-exp associate-/r* *-commutative associate-/l*
flip3-- frac-sub flip-- div-inv sub-div unswap-sqr
pow-flip frac-2neg associate-*r/ clear-num un-div-inv inv-pow
Counts
4 → 114
Calls
4 calls:
11.0ms
(* r (sin b))
53.0ms
(/ 1 (- (* (cos a) (cos b)) (* (sin a) (sin b))))
14.0ms
(* (sin a) (sin b))
123.0ms
(* (* r (sin b)) (/ 1 (- (* (cos a) (cos b)) (* (sin a) (sin b)))))

series664.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(* r (sin b))
188.0ms
(/ 1 (- (* (cos a) (cos b)) (* (sin a) (sin b))))
89.0ms
(* (sin a) (sin b))
335.0ms
(* (* r (sin b)) (/ 1 (- (* (cos a) (cos b)) (* (sin a) (sin b)))))

simplify3.9s

Counts
126 → 126
Iterations

Useful iterations: 3 (2.2s)

IterNodesCost
01822093
14511915
213731669
345971621
done50001621

prune459.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

regimes210.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01216
11516
done1516

end0.0ms

sample5.9s

Algorithm
intervals
Results
3.1s2929×body1280valid
1.6s1872×body640valid
393.0ms2086×body80valid
319.0ms788×body320valid
79.0ms328×body160valid