Details

Time bar (total: 7.2s)

sample96.0ms

Algorithm
intervals
Results
55.0ms107×body1280valid
15.0ms56×body640valid
5.0ms68×body80valid
4.0ms21×body320valid
1.0msbody160valid

simplify9.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
089
1129
2169
3199
4209
done209

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 17.2b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
11×add-exp-log add-cbrt-cube
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
add-log-exp
times-frac associate-*r* associate-*l* associate-/r*
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
4 → 54
Calls
4 calls:
2.0ms
(sin b)
5.0ms
(* r (sin b))
6.0ms
(/ (* r (sin b)) (cos (+ a b)))
4.0ms
(cos (+ a b))

series46.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(sin b)
12.0ms
(* r (sin b))
26.0ms
(/ (* r (sin b)) (cos (+ a b)))
6.0ms
(cos (+ a b))

simplify664.0ms

Counts
66 → 66
Iterations

Useful iterations: 3 (232.0ms)

IterNodesCost
0101582
1227576
2671495
32549486
done5000486

prune102.0ms

Filtered
48 candidates to 66 candidates (-37.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New58866
Fresh000
Picked101
Done000
Total59867

Merged error: 0.2b

Counts
67 → 8

localize19.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.3b
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

rewrite27.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:
5.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
4.0ms
(* r (sin b))
5.0ms
(* (sin a) (sin b))
10.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

series94.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
8.0ms
(* r (sin b))
10.0ms
(* (sin a) (sin b))
55.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

simplify1.1s

Counts
88 → 88
Iterations

Useful iterations: 3 (400.0ms)

IterNodesCost
01401256
13551229
211921083
345311023
done50001023

prune155.0ms

Filtered
64 candidates to 88 candidates (-37.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New771188
Fresh617
Picked101
Done000
Total841296

Merged error: 0.0b

Counts
96 → 12

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(* r (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)))))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
34×add-exp-log
27×add-sqr-sqrt
23×add-cube-cbrt *-un-lft-identity associate-*r*
22×add-cbrt-cube
18×times-frac
14×pow1 prod-exp
associate-/r/ cbrt-unprod
associate-*l*
div-exp
pow-prod-down sin-mult
cos-mult add-log-exp
cbrt-undiv rec-exp 1-exp associate-/r* *-commutative associate-/l*
flip3-- frac-sub flip-- div-inv sub-div unswap-sqr
pow-flip frac-2neg associate-*r/ clear-num un-div-inv inv-pow
Counts
4 → 114
Calls
4 calls:
4.0ms
(* r (sin b))
8.0ms
(/ 1 (- (* (cos a) (cos b)) (* (sin a) (sin b))))
5.0ms
(* (sin a) (sin b))
14.0ms
(* (* r (sin b)) (/ 1 (- (* (cos a) (cos b)) (* (sin a) (sin b)))))

series103.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* r (sin b))
26.0ms
(/ 1 (- (* (cos a) (cos b)) (* (sin a) (sin b))))
10.0ms
(* (sin a) (sin b))
59.0ms
(* (* r (sin b)) (/ 1 (- (* (cos a) (cos b)) (* (sin a) (sin b)))))

simplify645.0ms

Counts
126 → 126
Iterations

Useful iterations: done (638.0ms)

IterNodesCost
01822093
14881968
218121679
done50001668

prune154.0ms

Filtered
81 candidates to 126 candidates (-55.6%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1260126
Fresh01111
Picked011
Done000
Total12612138

Merged error: 0.0b

Counts
138 → 12

localize20.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (sin a)) (cbrt (sin a)))
0.6b
(cbrt (sin a))
0.6b
(cbrt (sin a))
0.6b
(cbrt (sin a))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 73
Calls
4 calls:
7.0ms
(* (cbrt (sin a)) (cbrt (sin a)))
2.0ms
(cbrt (sin a))
2.0ms
(cbrt (sin a))
2.0ms
(cbrt (sin a))

series89.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (cbrt (sin a)) (cbrt (sin a)))
20.0ms
(cbrt (sin a))
23.0ms
(cbrt (sin a))
20.0ms
(cbrt (sin a))

simplify772.0ms

Counts
85 → 85
Iterations

Useful iterations: done (770.0ms)

IterNodesCost
076792
1164715
2507586
32000521
done5001515

prune83.0ms

Filtered
56 candidates to 85 candidates (-51.8%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New85085
Fresh01010
Picked011
Done011
Total851297

Merged error: 0.0b

Counts
97 → 12

regimes273.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01418
12018
done2018

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.3s2997×body1280valid
525.0ms1845×body640valid
153.0ms2116×body80valid
147.0ms720×body320valid
49.0ms327×body160valid

Profiling

Loading profile data...