Details

Time bar (total: 25.4s)

sample234.0ms

Algorithm
intervals
Results
62.0ms22×body320valid
56.0ms79×body1280valid
25.0ms67×body640valid
9.0ms77×body80valid
2.0ms11×body160valid

simplify35.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
089
1129
2169
3209
4219
done219

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.1b

localize28.0ms

Local error

Found 3 expressions with local error:

0.2b
(* r (/ (sin b) (cos (+ a b))))
0.2b
(/ (sin b) (cos (+ a b)))
3.0b
(cos (+ a b))

rewrite116.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:
63.0ms
(* r (/ (sin b) (cos (+ a b))))
21.0ms
(/ (sin b) (cos (+ a b)))
25.0ms
(cos (+ a b))

series219.0ms

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

simplify5.4s

Counts
76 → 76
Iterations

Useful iterations: 4 (3.7s)

IterNodesCost
0116909
1249883
2638793
31727785
44912783
done5000783

prune329.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.2b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite271.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:
26.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
154.0ms
(* r (/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b)))))
64.0ms
(/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b))))
24.0ms
(* (sin a) (sin b))

series760.0ms

Counts
4 → 12
Calls
4 calls:
153.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
322.0ms
(* r (/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b)))))
215.0ms
(/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b))))
70.0ms
(* (sin a) (sin b))

simplify2.6s

Counts
112 → 112
Iterations

Useful iterations: 3 (1.2s)

IterNodesCost
01702072
14032024
211601838
333641715
done50001715

prune638.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize61.0ms

Local error

Found 4 expressions with local error:

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

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
16×add-cube-cbrt *-un-lft-identity
11×add-exp-log add-cbrt-cube
pow1 times-frac
cbrt-prod
sin-mult add-log-exp
cube-div pow-unpow associate-*r* associate-*l* associate-/r* associate-/r/ associate-/l*
cube-mult unpow-prod-down cbrt-div pow-pow unpow3 cube-prod pow-prod-down pow-exp prod-exp cbrt-unprod rem-cube-cbrt sqr-pow
cbrt-undiv pow-to-exp flip3-- frac-2neg pow1/3 div-exp clear-num cos-mult *-commutative frac-sub flip-- rem-cbrt-cube div-inv unswap-sqr
Counts
4 → 90
Calls
4 calls:
44.0ms
(/ (sin b) (- (* (cos a) (cos b)) (cbrt (pow (* (sin b) (sin a)) 3))))
23.0ms
(* (sin b) (sin a))
19.0ms
(pow (* (sin b) (sin a)) 3)
10.0ms
(cbrt (pow (* (sin b) (sin a)) 3))

series411.0ms

Counts
4 → 12
Calls
4 calls:
208.0ms
(/ (sin b) (- (* (cos a) (cos b)) (cbrt (pow (* (sin b) (sin a)) 3))))
64.0ms
(* (sin b) (sin a))
84.0ms
(pow (* (sin b) (sin a)) 3)
55.0ms
(cbrt (pow (* (sin b) (sin a)) 3))

simplify1.2s

Counts
102 → 102
Iterations

Useful iterations: done (1.2s)

IterNodesCost
01631550
13431265
211991175
done50011152

prune680.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite217.0ms

Algorithm
rewrite-expression-head
Rules
32×add-exp-log
23×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
20×associate-*r* add-cbrt-cube
18×times-frac
13×prod-exp
12×pow1
associate-/r/
cbrt-unprod sin-mult
div-exp cos-mult add-log-exp
associate-*l* pow-prod-down
cbrt-undiv rec-exp flip3-- 1-exp associate-/r* frac-sub flip-- associate-/l* sub-div
*-commutative div-inv
sub-neg pow-flip frac-2neg diff-log associate-*r/ clear-num un-div-inv inv-pow unswap-sqr
Counts
4 → 110
Calls
4 calls:
32.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
41.0ms
(/ 1 (- (* (cos a) (cos b)) (* (sin a) (sin b))))
13.0ms
(* (sin a) (sin b))
127.0ms
(* (* r (sin b)) (/ 1 (- (* (cos a) (cos b)) (* (sin a) (sin b)))))

series700.0ms

Counts
4 → 12
Calls
4 calls:
141.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
138.0ms
(/ 1 (- (* (cos a) (cos b)) (* (sin a) (sin b))))
58.0ms
(* (sin a) (sin b))
363.0ms
(* (* r (sin b)) (/ 1 (- (* (cos a) (cos b)) (* (sin a) (sin b)))))

simplify4.7s

Counts
122 → 122
Iterations

Useful iterations: 3 (2.6s)

IterNodesCost
01812272
14612088
214401834
349041768
done50011768

prune497.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.0b

regimes195.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01519
11819
done1819

end0.0ms

sample5.8s

Algorithm
intervals
Results
3.2s2908×body1280valid
1.3s1810×body640valid
389.0ms766×body320valid
339.0ms2127×body80valid
146.0ms392×body160valid