Details

Time bar (total: 20.9s)

sample208.0ms

Algorithm
intervals
Results
63.0ms77×body80valid
45.0ms79×body1280valid
26.0ms67×body640valid
5.0ms22×body320valid
2.0ms11×body160valid

simplify18.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
089
1129
2169
3199
4209
done209

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.2b

localize25.0ms

Local error

Found 3 expressions with local error:

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

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
10×add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
expm1-log1p-u times-frac associate-*r* associate-*l* associate-/r* log1p-expm1-u 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 → 53
Calls
3 calls:
31.0ms
(* r (sin b))
16.0ms
(/ (* r (sin b)) (cos (+ a b)))
23.0ms
(cos (+ a b))

series262.0ms

Counts
3 → 9
Calls
3 calls:
49.0ms
(* r (sin b))
179.0ms
(/ (* r (sin b)) (cos (+ a b)))
33.0ms
(cos (+ a b))

simplify2.7s

Counts
62 → 62
Iterations

Useful iterations: done (2.7s)

IterNodesCost
096575
1207562
2572484
32172482
done5000480

prune289.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.2b

localize30.0ms

Local error

Found 4 expressions with local error:

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

rewrite99.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
expm1-log1p-u associate-/r/ cos-mult log1p-expm1-u
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 fma-neg diff-log prod-diff clear-num div-inv associate-/l*
Counts
4 → 86
Calls
4 calls:
11.0ms
(* r (sin b))
22.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
13.0ms
(* (sin a) (sin b))
48.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

series663.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(* r (sin b))
142.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
75.0ms
(* (sin a) (sin b))
395.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

simplify3.7s

Counts
98 → 98
Iterations

Useful iterations: done (3.7s)

IterNodesCost
01521364
13701324
211621174
341931081
done50001078

prune548.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize35.0ms

Local error

Found 4 expressions with local error:

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

rewrite62.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*
expm1-log1p-u log1p-expm1-u add-log-exp
times-frac prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp pow-prod-down *-commutative unswap-sqr
frac-2neg clear-num fma-udef div-inv sin-mult associate-/l*
Counts
4 → 74
Calls
4 calls:
17.0ms
(* r (sin b))
1.0ms
(fma (cos a) (cos b) (- (* (sin a) (sin b))))
28.0ms
(* (sin a) (sin b))
13.0ms
(/ (* r (sin b)) (fma (cos a) (cos b) (- (* (sin a) (sin b)))))

series644.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(* r (sin b))
138.0ms
(fma (cos a) (cos b) (- (* (sin a) (sin b))))
81.0ms
(* (sin a) (sin b))
356.0ms
(/ (* r (sin b)) (fma (cos a) (cos b) (- (* (sin a) (sin b)))))

simplify2.2s

Counts
86 → 86
Iterations

Useful iterations: done (2.2s)

IterNodesCost
01271087
12731071
2775921
32734915
done5000912

prune439.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize45.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin b) (sin a))
0.2b
(/ (* r (sin b)) (- (* (cos a) (cos b)) (cbrt (pow (* (sin b) (sin a)) 3))))
0.3b
(pow (* (sin b) (sin a)) 3)
26.7b
(cbrt (pow (* (sin b) (sin a)) 3))

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
14×add-exp-log add-cbrt-cube
12×add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity
pow1
cbrt-prod
expm1-log1p-u log1p-expm1-u sin-mult add-log-exp
cube-div pow-unpow times-frac associate-*r* associate-*l* prod-exp associate-/r* associate-/r/ cbrt-unprod
cbrt-undiv cube-mult unpow-prod-down cbrt-div pow-pow unpow3 cube-prod div-exp pow-prod-down pow-exp rem-cube-cbrt sqr-pow
pow-to-exp flip3-- frac-2neg pow1/3 clear-num cos-mult *-commutative frac-sub flip-- rem-cbrt-cube div-inv associate-/l* unswap-sqr
Counts
4 → 92
Calls
4 calls:
13.0ms
(* (sin b) (sin a))
76.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (cbrt (pow (* (sin b) (sin a)) 3))))
18.0ms
(pow (* (sin b) (sin a)) 3)
9.0ms
(cbrt (pow (* (sin b) (sin a)) 3))

series590.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(* (sin b) (sin a))
345.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (cbrt (pow (* (sin b) (sin a)) 3))))
104.0ms
(pow (* (sin b) (sin a)) 3)
65.0ms
(cbrt (pow (* (sin b) (sin a)) 3))

simplify1.6s

Counts
104 → 104
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01751493
14061226
215311096
done50001039

prune543.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.0b

regimes211.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01216
11816
22016
done2016

end0.0ms

sample5.7s

Algorithm
intervals
Results
3.4s2908×body1280valid
1.0s1810×body640valid
352.0ms766×body320valid
334.0ms2127×body80valid
151.0ms392×body160valid