Details

Time bar (total: 12.9s)

sample79.0ms

Algorithm
intervals
Results
38.0ms83×body1280valid
18.0ms74×body640valid
5.0ms66×body80valid
3.0ms20×body320valid
2.0ms13×body160valid

simplify14.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
089
1129
2169
3199
4209
done209

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.2b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite42.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:
10.0ms
(* r (sin b))
18.0ms
(/ (* r (sin b)) (cos (+ a b)))
12.0ms
(cos (+ a b))

series172.0ms

Counts
3 → 9
Calls
3 calls:
40.0ms
(* r (sin b))
105.0ms
(/ (* r (sin b)) (cos (+ a b)))
27.0ms
(cos (+ a b))

simplify2.2s

Counts
56 → 56
Iterations

Useful iterations: done (2.2s)

IterNodesCost
090535
1198525
2550447
32112443
done5001439

prune131.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

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

rewrite74.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)))
9.0ms
(* r (sin b))
12.0ms
(* (sin a) (sin b))
31.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

series397.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
41.0ms
(* r (sin b))
46.0ms
(* (sin a) (sin b))
225.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

simplify1.9s

Counts
88 → 88
Iterations

Useful iterations: 3 (974.0ms)

IterNodesCost
01401256
13451224
210911076
33873989
done5000989

prune265.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

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)))))
0.2b
(/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

rewrite135.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:
18.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
12.0ms
(* (sin a) (sin b))
75.0ms
(* r (/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b)))))
27.0ms
(/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

series485.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
50.0ms
(* (sin a) (sin b))
228.0ms
(* r (/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b)))))
119.0ms
(/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

simplify1.6s

Counts
112 → 112
Iterations

Useful iterations: 3 (746.0ms)

IterNodesCost
01702072
14032024
211671862
333691715
done50011715

prune374.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

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

rewrite73.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:
18.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
10.0ms
(* r (sin b))
12.0ms
(* (sin a) (sin b))
31.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

series397.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
41.0ms
(* r (sin b))
45.0ms
(* (sin a) (sin b))
226.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

simplify1.8s

Counts
88 → 88
Iterations

Useful iterations: 3 (955.0ms)

IterNodesCost
01401256
13451224
210911076
33873989
done5000989

prune216.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes131.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

sample2.4s

Algorithm
intervals
Results
1.2s2903×body1280valid
618.0ms1825×body640valid
141.0ms793×body320valid
118.0ms2124×body80valid
45.0ms358×body160valid