Details

Time bar (total: 24.7s)

sample145.0ms

Algorithm
intervals
Results
61.0ms84×body1280valid
22.0ms69×body640valid
19.0ms237×body80valid
9.0ms35×body320valid
4.0ms25×body160valid

simplify233.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
01219
12513
24913
37613
49513
511113
612513
713913
done13913

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.5b

localize12.0ms

Local error

Found 2 expressions with local error:

0.3b
(* (/ (cos th) (sqrt 2.0)) (+ (* a1 a1) (* a2 a2)))
0.7b
(/ (cos th) (sqrt 2.0))

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
38×times-frac
31×add-cube-cbrt *-un-lft-identity
22×associate-*l* sqrt-prod
add-exp-log add-cbrt-cube
associate-/r*
pow1
associate-*r* associate-/l* unswap-sqr
cbrt-undiv frac-times flip3-+ associate-*r/ div-exp prod-exp cbrt-unprod flip-+ div-inv add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down associate-*l/ clear-num *-commutative
Counts
2 → 87
Calls
2 calls:
57.0ms
(* (/ (cos th) (sqrt 2.0)) (+ (* a1 a1) (* a2 a2)))
22.0ms
(/ (cos th) (sqrt 2.0))

series384.0ms

Counts
2 → 6
Calls
2 calls:
307.0ms
(* (/ (cos th) (sqrt 2.0)) (+ (* a1 a1) (* a2 a2)))
77.0ms
(/ (cos th) (sqrt 2.0))

simplify1.7s

Counts
93 → 93
Iterations

Useful iterations: done (1.7s)

IterNodesCost
01531370
14711308
215921194
done50001191

prune394.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize20.0ms

Local error

Found 3 expressions with local error:

0.3b
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (+ (* a1 a1) (* a2 a2)))
0.6b
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
0.6b
(/ (cos th) (sqrt (sqrt 2.0)))

rewrite383.0ms

Algorithm
rewrite-expression-head
Rules
1137×sqrt-prod
1119×times-frac
624×add-sqr-sqrt
577×add-cube-cbrt *-un-lft-identity
283×associate-*l*
34×associate-/l*
22×div-inv
19×add-exp-log add-cbrt-cube
18×associate-/r*
13×unswap-sqr
cbrt-undiv div-exp
pow1
associate-*r* prod-exp cbrt-unprod add-log-exp
frac-times frac-2neg flip3-+ associate-*r/ clear-num flip-+
distribute-rgt-in distribute-lft-in pow-prod-down associate-*l/ *-commutative associate-/l/
Counts
3 → 706
Calls
3 calls:
210.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (+ (* a1 a1) (* a2 a2)))
70.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
25.0ms
(/ (cos th) (sqrt (sqrt 2.0)))

series624.0ms

Counts
3 → 9
Calls
3 calls:
357.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (+ (* a1 a1) (* a2 a2)))
115.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
151.0ms
(/ (cos th) (sqrt (sqrt 2.0)))

simplify1.5s

Counts
715 → 715
Iterations

Useful iterations: done (1.5s)

IterNodesCost
054815716
1193714097
done500113124

prune2.4s

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize33.0ms

Local error

Found 3 expressions with local error:

0.2b
(/ (cos th) (sqrt (sqrt (sqrt 2.0))))
0.2b
(/ (+ (* a2 a2) (* a1 a1)) (* (sqrt (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))))
0.3b
(* (/ (cos th) (sqrt (sqrt (sqrt 2.0)))) (/ (+ (* a2 a2) (* a1 a1)) (* (sqrt (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))))

rewrite267.0ms

Algorithm
rewrite-expression-head
Rules
132×sqrt-prod
82×times-frac
75×add-sqr-sqrt
61×add-cube-cbrt *-un-lft-identity
40×associate-*l*
31×add-exp-log add-cbrt-cube
13×associate-/r*
10×cbrt-undiv div-exp
prod-exp cbrt-unprod
associate-*r*
associate-/l*
pow1 unswap-sqr
div-inv
add-log-exp
frac-2neg clear-num associate-/l/
frac-times flip3-+ associate-*r/ pow-prod-down associate-*l/ *-commutative flip-+
Counts
3 → 162
Calls
3 calls:
15.0ms
(/ (cos th) (sqrt (sqrt (sqrt 2.0))))
56.0ms
(/ (+ (* a2 a2) (* a1 a1)) (* (sqrt (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))))
181.0ms
(* (/ (cos th) (sqrt (sqrt (sqrt 2.0)))) (/ (+ (* a2 a2) (* a1 a1)) (* (sqrt (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))))

series1.3s

Counts
3 → 9
Calls
3 calls:
344.0ms
(/ (cos th) (sqrt (sqrt (sqrt 2.0))))
618.0ms
(/ (+ (* a2 a2) (* a1 a1)) (* (sqrt (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))))
320.0ms
(* (/ (cos th) (sqrt (sqrt (sqrt 2.0)))) (/ (+ (* a2 a2) (* a1 a1)) (* (sqrt (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))))

simplify1.5s

Counts
171 → 171
Iterations

Useful iterations: done (1.5s)

IterNodesCost
02444018
15983786
223712946
done50002937

prune834.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize29.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sqrt (sqrt (sqrt 2.0))) (cos th))
0.2b
(/ 1 (/ (sqrt (sqrt (sqrt 2.0))) (cos th)))
0.2b
(/ (+ (* a2 a2) (* a1 a1)) (* (sqrt (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))))
0.3b
(* (/ 1 (/ (sqrt (sqrt (sqrt 2.0))) (cos th))) (/ (+ (* a2 a2) (* a1 a1)) (* (sqrt (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))))

rewrite328.0ms

Algorithm
rewrite-expression-head
Rules
552×times-frac
462×sqrt-prod
329×add-sqr-sqrt
299×*-un-lft-identity
294×add-cube-cbrt
125×associate-*l*
100×add-exp-log
52×add-cbrt-cube
45×div-exp
44×associate-/r*
29×prod-exp
21×cbrt-undiv
18×associate-/l*
13×cbrt-unprod
12×div-inv
11×unswap-sqr
rec-exp 1-exp
pow1 associate-*r*
add-log-exp
frac-2neg clear-num
associate-/r/ associate-/l/
frac-times pow-flip flip3-+ associate-*r/ pow-prod-down associate-*l/ *-commutative flip-+ inv-pow
Counts
4 → 455
Calls
4 calls:
17.0ms
(/ (sqrt (sqrt (sqrt 2.0))) (cos th))
43.0ms
(/ 1 (/ (sqrt (sqrt (sqrt 2.0))) (cos th)))
46.0ms
(/ (+ (* a2 a2) (* a1 a1)) (* (sqrt (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))))
180.0ms
(* (/ 1 (/ (sqrt (sqrt (sqrt 2.0))) (cos th))) (/ (+ (* a2 a2) (* a1 a1)) (* (sqrt (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))))

series1.6s

Counts
4 → 12
Calls
4 calls:
304.0ms
(/ (sqrt (sqrt (sqrt 2.0))) (cos th))
350.0ms
(/ 1 (/ (sqrt (sqrt (sqrt 2.0))) (cos th)))
616.0ms
(/ (+ (* a2 a2) (* a1 a1)) (* (sqrt (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))))
324.0ms
(* (/ 1 (/ (sqrt (sqrt (sqrt 2.0))) (cos th))) (/ (+ (* a2 a2) (* a1 a1)) (* (sqrt (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))))

simplify2.4s

Counts
467 → 467
Iterations

Useful iterations: done (2.3s)

IterNodesCost
049211365
112949858
238617949
done50007733

prune1.9s

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes321.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01726
12226
done2226

end0.0ms

sample6.4s

Algorithm
intervals
Results
1.9s2506×body1280valid
1.7s8004×body80valid
1.6s2088×body640valid
317.0ms1028×body320valid
114.0ms544×body160valid