Details

Time bar (total: 27.2s)

sample145.0ms

Algorithm
intervals
Results
41.0ms64×body1280valid
35.0ms79×body640valid
24.0ms245×body80valid
9.0ms27×body320valid
5.0ms21×body160valid

simplify213.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
01219
12513
24913
37613
49513
511113
612513
713913
done13913

prune11.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize23.0ms

Local error

Found 3 expressions with local error:

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

rewrite97.0ms

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

series407.0ms

Counts
3 → 9
Calls
3 calls:
55.0ms
(+ (* a1 a1) (* a2 a2))
264.0ms
(* (/ (cos th) (sqrt 2.0)) (+ (* a1 a1) (* a2 a2)))
88.0ms
(/ (cos th) (sqrt 2.0))

simplify2.1s

Counts
107 → 107
Iterations

Useful iterations: done (2.1s)

IterNodesCost
01581536
14801469
215991325
done50001322

prune414.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* a1 a1) (* a2 a2))
0.4b
(* (/ (/ (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)))

rewrite348.0ms

Algorithm
rewrite-expression-head
Rules
1137×sqrt-prod
1119×times-frac
625×add-sqr-sqrt
578×add-cube-cbrt *-un-lft-identity
283×associate-*l*
34×associate-/l*
22×div-inv
20×add-exp-log add-cbrt-cube
18×associate-/r*
13×unswap-sqr
cbrt-undiv div-exp
pow1 add-log-exp
flip3-+ associate-*r* prod-exp cbrt-unprod flip-+
frac-times frac-2neg associate-*r/ clear-num
+-commutative distribute-rgt-in distribute-lft-in pow-prod-down associate-*l/ sum-log *-commutative associate-/l/
Counts
4 → 717
Calls
4 calls:
8.0ms
(+ (* a1 a1) (* a2 a2))
156.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (+ (* a1 a1) (* a2 a2)))
59.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
12.0ms
(/ (cos th) (sqrt (sqrt 2.0)))

series657.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(+ (* a1 a1) (* a2 a2))
350.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (+ (* a1 a1) (* a2 a2)))
78.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
171.0ms
(/ (cos th) (sqrt (sqrt 2.0)))

simplify1.6s

Counts
729 → 729
Iterations

Useful iterations: done (1.5s)

IterNodesCost
055315882
1194614258
done500013265

prune2.4s

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite649.0ms

Algorithm
rewrite-expression-head
Rules
1434×sqrt-prod
969×times-frac
518×add-sqr-sqrt
507×add-cube-cbrt *-un-lft-identity
487×associate-*l*
71×add-exp-log
47×add-cbrt-cube
32×associate-*r*
27×prod-exp
25×div-exp
17×cbrt-unprod
15×div-inv
14×cbrt-undiv
11×pow1 frac-times
associate-/r*
associate-*r/
flip3-+ associate-*l/ flip-+
add-log-exp
pow-prod-down unswap-sqr
rec-exp 1-exp associate-/l*
*-commutative
+-commutative frac-2neg clear-num sum-log
Counts
4 → 648
Calls
4 calls:
8.0ms
(+ (* a2 a2) (* a1 a1))
64.0ms
(* (+ (* a2 a2) (* a1 a1)) (/ (cos th) (sqrt (sqrt 2.0))))
421.0ms
(* (/ (/ 1 (sqrt (sqrt (sqrt 2.0)))) (sqrt (sqrt (sqrt 2.0)))) (* (+ (* a2 a2) (* a1 a1)) (/ (cos th) (sqrt (sqrt 2.0)))))
24.0ms
(/ (cos th) (sqrt (sqrt 2.0)))

series807.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(+ (* a2 a2) (* a1 a1))
355.0ms
(* (+ (* a2 a2) (* a1 a1)) (/ (cos th) (sqrt (sqrt 2.0))))
278.0ms
(* (/ (/ 1 (sqrt (sqrt (sqrt 2.0)))) (sqrt (sqrt (sqrt 2.0)))) (* (+ (* a2 a2) (* a1 a1)) (/ (cos th) (sqrt (sqrt 2.0)))))
141.0ms
(/ (cos th) (sqrt (sqrt 2.0)))

simplify2.8s

Counts
660 → 660
Iterations

Useful iterations: done (2.8s)

IterNodesCost
053117479
1156716051
2471314217
done500013905

prune3.0s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize42.0ms

Local error

Found 4 expressions with local error:

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

rewrite198.0ms

Algorithm
rewrite-expression-head
Rules
600×sqrt-prod
576×times-frac
316×add-sqr-sqrt
314×add-cube-cbrt *-un-lft-identity
34×associate-/l*
18×associate-/r*
12×div-inv
11×add-exp-log add-cbrt-cube
pow1
cbrt-undiv sqrt-div div-exp add-log-exp
rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 clear-num flip-+
associate-/l/
Counts
4 → 415
Calls
4 calls:
60.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
37.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
16.0ms
(sqrt (+ (* a1 a1) (* a2 a2)))
17.0ms
(sqrt (+ (* a1 a1) (* a2 a2)))

series367.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
149.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
45.0ms
(sqrt (+ (* a1 a1) (* a2 a2)))
66.0ms
(sqrt (+ (* a1 a1) (* a2 a2)))

simplify2.9s

Counts
427 → 427
Iterations

Useful iterations: done (2.9s)

IterNodesCost
04289225
19457904
217527361
339907177
done50007114

prune1.2s

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes311.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 (0.0ms)

IterNodesCost
01726
12226
done2226

end0.0ms

sample6.4s

Algorithm
intervals
Results
2.2s2506×body1280valid
1.7s8018×body80valid
1.3s2078×body640valid
367.0ms1038×body320valid
131.0ms586×body160valid