Details

Time bar (total: 16.9s)

sample308.0ms

Algorithm
intervals
Results
97.0ms91×body1280valid
56.0ms48×body640valid
8.0ms85×body80valid
6.0ms23×body320valid
2.0msbody160valid

simplify114.0ms

Counts
1 → 1

prune47.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.9b

localize75.0ms

Local error

Found 3 expressions with local error:

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

rewrite127.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:
15.0ms
(* r (sin b))
72.0ms
(/ (* r (sin b)) (cos (+ a b)))
36.0ms
(cos (+ a b))

series574.0ms

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

simplify1.4s

Counts
56 → 56

prune232.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

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

rewrite98.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
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
10.0ms
(* r (sin b))
32.0ms
(* (sin a) (sin b))
33.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

series633.0ms

Counts
4 → 12
Calls
4 calls:
152.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
70.0ms
(* r (sin b))
65.0ms
(* (sin a) (sin b))
345.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

simplify807.0ms

Counts
88 → 88

prune477.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite216.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:
38.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
99.0ms
(* r (/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b)))))
25.0ms
(* (sin a) (sin b))
46.0ms
(/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

series675.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
317.0ms
(* r (/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b)))))
64.0ms
(* (sin a) (sin b))
171.0ms
(/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

simplify753.0ms

Counts
112 → 112

prune591.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0b

localize32.0ms

Local error

Found 4 expressions with local error:

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

rewrite101.0ms

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

series920.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(* r (sin b))
435.0ms
(/ 1 (/ (- (* (cos a) (cos b)) (* (sin a) (sin b))) (* r (sin b))))
63.0ms
(* (sin a) (sin b))
359.0ms
(/ (- (* (cos a) (cos b)) (* (sin a) (sin b))) (* r (sin b)))

simplify1.1s

Counts
131 → 131

prune605.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0b

regimes236.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify983.0ms

end0.0ms

sample5.8s

Algorithm
intervals
Results
3.0s2859×body1280valid
1.6s1880×body640valid
359.0ms752×body320valid
236.0ms2131×body80valid
96.0ms380×body160valid