Details

Time bar (total: 13.1s)

sample400.0ms

Algorithm
intervals
Results
36.0ms83×body1280valid
27.0ms66×body80valid
17.0ms74×body640valid
3.0ms20×body320valid
2.0ms13×body160valid

simplify19.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
089
1129
2169
3209
4219
done219

prune3.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.2b
(* r (/ (sin b) (cos (+ a b))))
0.2b
(/ (sin b) (cos (+ a b)))
2.1b
(cos (+ a b))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity times-frac
13×associate-*r*
10×add-exp-log add-cbrt-cube
pow1
associate-*l* associate-/r* associate-/l* add-log-exp
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv unswap-sqr
cos-sum frac-2neg associate-*r/ pow-prod-down clear-num *-commutative
Counts
3 → 67
Calls
3 calls:
25.0ms
(* r (/ (sin b) (cos (+ a b))))
10.0ms
(/ (sin b) (cos (+ a b)))
11.0ms
(cos (+ a b))

series162.0ms

Counts
3 → 9
Calls
3 calls:
98.0ms
(* r (/ (sin b) (cos (+ a b))))
39.0ms
(/ (sin b) (cos (+ a b)))
25.0ms
(cos (+ a b))

simplify3.2s

Counts
76 → 76
Iterations

Useful iterations: 4 (2.3s)

IterNodesCost
0116909
1249883
2638793
31727785
44912783
done5000783

prune187.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.1b

localize15.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:
17.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
12.0ms
(* (sin a) (sin b))
74.0ms
(* r (/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b)))))
29.0ms
(/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

series470.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
46.0ms
(* (sin a) (sin b))
223.0ms
(* r (/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b)))))
118.0ms
(/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

simplify1.5s

Counts
112 → 112
Iterations

Useful iterations: 3 (714.0ms)

IterNodesCost
01702072
14032024
211671862
333691715
done50011715

prune356.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

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

rewrite72.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:
17.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))))

series387.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
39.0ms
(* r (sin b))
44.0ms
(* (sin a) (sin b))
223.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

simplify1.8s

Counts
88 → 88
Iterations

Useful iterations: 3 (959.0ms)

IterNodesCost
01401256
13451224
210911076
33873989
done5000989

prune261.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize18.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)
29.3b
(cbrt (pow (* (sin b) (sin a)) 3))

rewrite66.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
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 → 84
Calls
4 calls:
12.0ms
(* (sin b) (sin a))
36.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (cbrt (pow (* (sin b) (sin a)) 3))))
11.0ms
(pow (* (sin b) (sin a)) 3)
5.0ms
(cbrt (pow (* (sin b) (sin a)) 3))

series378.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* (sin b) (sin a))
218.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (cbrt (pow (* (sin b) (sin a)) 3))))
66.0ms
(pow (* (sin b) (sin a)) 3)
48.0ms
(cbrt (pow (* (sin b) (sin a)) 3))

simplify874.0ms

Counts
96 → 96
Iterations

Useful iterations: done (872.0ms)

IterNodesCost
01671407
13891154
214861024
done5000973

prune296.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

regimes152.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01519
11819
done1819

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.2s2903×body1280valid
447.0ms1825×body640valid
145.0ms793×body320valid
114.0ms2124×body80valid
44.0ms358×body160valid