Details

Time bar (total: 5.7s)

sample75.0ms

Algorithm
intervals
Results
37.0ms91×body1280valid
14.0ms56×body640valid
5.0ms29×body320valid
4.0ms65×body80valid
2.0ms15×body160valid

simplify7.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1165
2195
3205
4205
done205

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 16.4b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite40.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:
14.0ms
(* r (sin b))
12.0ms
(/ (* r (sin b)) (cos (+ a b)))
11.0ms
(cos (+ a b))

series177.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(* r (sin b))
102.0ms
(/ (* r (sin b)) (cos (+ a b)))
36.0ms
(cos (+ a b))

simplify32.0ms

Counts
56 → 56
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0198305
1861257
25001256
done5001256

prune135.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.2b

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

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

series403.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* r (sin b))
88.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
49.0ms
(* (sin a) (sin b))
226.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

simplify46.0ms

Counts
88 → 88
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0344770
11513673
25001663
done5001663

prune284.0ms

Pruning

13 alts after pruning (13 fresh and 0 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.2b
(* (sin a) (sin b))
0.2b
(/ (- (* (cos a) (cos b)) (* (sin a) (sin b))) (sin b))
0.2b
(/ r (/ (- (* (cos a) (cos b)) (* (sin a) (sin b))) (sin b)))

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
58×add-sqr-sqrt
56×add-cube-cbrt *-un-lft-identity
16×associate-/r*
13×add-exp-log add-cbrt-cube
pow1 div-inv associate-/l* add-log-exp
sin-mult
cbrt-undiv div-exp cos-mult associate-/l/
associate-*r* associate-*l*
flip3-- frac-2neg clear-num frac-sub flip-- sub-div
sub-neg diff-log div-sub pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod unswap-sqr
Counts
4 → 135
Calls
4 calls:
17.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
12.0ms
(* (sin a) (sin b))
29.0ms
(/ (- (* (cos a) (cos b)) (* (sin a) (sin b))) (sin b))
15.0ms
(/ r (/ (- (* (cos a) (cos b)) (* (sin a) (sin b))) (sin b)))

series491.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
46.0ms
(* (sin a) (sin b))
120.0ms
(/ (- (* (cos a) (cos b)) (* (sin a) (sin b))) (sin b))
239.0ms
(/ r (/ (- (* (cos a) (cos b)) (* (sin a) (sin b))) (sin b)))

simplify71.0ms

Counts
147 → 147
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05702145
124532009
250011988
done50011988

prune497.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
11×add-exp-log add-cbrt-cube
10×add-cube-cbrt *-un-lft-identity
pow1
log-prod add-log-exp
times-frac associate-*r* associate-*l* associate-/r* log-pow associate--r+
cbrt-undiv flip3-- div-exp prod-exp associate-/r/ flip-- cbrt-unprod
sub-neg exp-prod exp-to-pow frac-2neg diff-log rem-log-exp pow-prod-down clear-num *-commutative div-inv sin-mult associate-/l* unswap-sqr
Counts
4 → 71
Calls
4 calls:
14.0ms
(- (* (cos a) (cos b)) (log (exp (* (sin a) (sin b)))))
14.0ms
(* (sin a) (sin b))
25.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (log (exp (* (sin a) (sin b))))))
4.0ms
(log (exp (* (sin a) (sin b))))

series413.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(- (* (cos a) (cos b)) (log (exp (* (sin a) (sin b)))))
45.0ms
(* (sin a) (sin b))
235.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (log (exp (* (sin a) (sin b))))))
47.0ms
(log (exp (* (sin a) (sin b))))

simplify36.0ms

Counts
83 → 83
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0322847
11257710
25002703
done5002703

prune264.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0b

regimes174.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01812
11812
done1812

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.2s2893×body1280valid
476.0ms1909×body640valid
136.0ms766×body320valid
118.0ms2141×body80valid
36.0ms292×body160valid