Details

Time bar (total: 23.1s)

sample147.0ms

Algorithm
intervals
Results
67.0ms85×body1280valid
22.0ms66×body640valid
20.0ms259×body80valid
10.0ms39×body320valid
2.0ms13×body160valid

simplify138.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
01219
12513
24913
37613
49513
511113
612513
713913
done13913

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

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

rewrite117.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:
21.0ms
(+ (* a1 a1) (* a2 a2))
74.0ms
(* (/ (cos th) (sqrt 2.0)) (+ (* a1 a1) (* a2 a2)))
17.0ms
(/ (cos th) (sqrt 2.0))

series406.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(+ (* a1 a1) (* a2 a2))
306.0ms
(* (/ (cos th) (sqrt 2.0)) (+ (* a1 a1) (* a2 a2)))
64.0ms
(/ (cos th) (sqrt 2.0))

simplify1.7s

Counts
107 → 107
Iterations

Useful iterations: done (1.7s)

IterNodesCost
01581536
14801469
215991325
done50001322

prune524.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize15.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.7b
(/ (cos th) (sqrt (sqrt 2.0)))
0.7b
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))

rewrite360.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:
9.0ms
(+ (* a1 a1) (* a2 a2))
216.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (+ (* a1 a1) (* a2 a2)))
12.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
51.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))

series590.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ (* a1 a1) (* a2 a2))
317.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (+ (* a1 a1) (* a2 a2)))
142.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
100.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))

simplify1.5s

Counts
729 → 729
Iterations

Useful iterations: done (1.4s)

IterNodesCost
055315882
1194614258
done500013265

prune2.3s

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (cos th) (sqrt (sqrt (sqrt 2.0))))
0.4b
(* (* (/ (cos th) (sqrt (sqrt (sqrt 2.0)))) (/ (/ 1 (sqrt (sqrt 2.0))) (sqrt (sqrt (sqrt 2.0))))) (+ (* a1 a1) (* a2 a2)))
0.7b
(* (/ (cos th) (sqrt (sqrt (sqrt 2.0)))) (/ (/ 1 (sqrt (sqrt 2.0))) (sqrt (sqrt (sqrt 2.0)))))
1.0b
(/ 1 (sqrt (sqrt 2.0)))

rewrite1.0s

Algorithm
rewrite-expression-head
Rules
1548×sqrt-prod
1171×times-frac
1040×add-sqr-sqrt
494×*-un-lft-identity
434×add-cube-cbrt
379×associate-*r*
145×unswap-sqr
92×add-exp-log
58×add-cbrt-cube
41×associate-*l*
37×div-exp
31×prod-exp
21×associate-/r*
20×cbrt-undiv
19×cbrt-unprod
16×div-inv
14×pow1
10×frac-times
associate-*l/
associate-*r/ associate-/l*
rec-exp pow-flip 1-exp
sqrt-pow1 flip3-+ pow-prod-down flip-+ add-log-exp
frac-2neg pow1/2 clear-num *-commutative
distribute-rgt-in distribute-lft-in inv-pow
Counts
4 → 756
Calls
4 calls:
14.0ms
(/ (cos th) (sqrt (sqrt (sqrt 2.0))))
382.0ms
(* (* (/ (cos th) (sqrt (sqrt (sqrt 2.0)))) (/ (/ 1 (sqrt (sqrt 2.0))) (sqrt (sqrt (sqrt 2.0))))) (+ (* a1 a1) (* a2 a2)))
458.0ms
(* (/ (cos th) (sqrt (sqrt (sqrt 2.0)))) (/ (/ 1 (sqrt (sqrt 2.0))) (sqrt (sqrt (sqrt 2.0)))))
18.0ms
(/ 1 (sqrt (sqrt 2.0)))

series899.0ms

Counts
4 → 10
Calls
4 calls:
425.0ms
(/ (cos th) (sqrt (sqrt (sqrt 2.0))))
354.0ms
(* (* (/ (cos th) (sqrt (sqrt (sqrt 2.0)))) (/ (/ 1 (sqrt (sqrt 2.0))) (sqrt (sqrt (sqrt 2.0))))) (+ (* a1 a1) (* a2 a2)))
120.0ms
(* (/ (cos th) (sqrt (sqrt (sqrt 2.0)))) (/ (/ 1 (sqrt (sqrt 2.0))) (sqrt (sqrt (sqrt 2.0)))))
0.0ms
(/ 1 (sqrt (sqrt 2.0)))

simplify1.8s

Counts
766 → 766
Iterations

Useful iterations: done (1.7s)

IterNodesCost
076719971
1240417023
done500015061

prune2.1s

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite101.0ms

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

series567.0ms

Counts
3 → 9
Calls
3 calls:
52.0ms
(+ (* a1 a1) (* a2 a2))
163.0ms
(* (cos th) (+ (* a1 a1) (* a2 a2)))
352.0ms
(/ (* (cos th) (+ (* a1 a1) (* a2 a2))) (sqrt 2.0))

simplify1.6s

Counts
71 → 71
Iterations

Useful iterations: 2 (276.0ms)

IterNodesCost
01151083
13031038
21190886
done5000886

prune243.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes273.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01726
12226
done2226

end0.0ms

sample6.8s

Algorithm
intervals
Results
2.8s2529×body1280valid
1.1s2128×body640valid
1.1s8050×body80valid
888.0ms1047×body320valid
99.0ms487×body160valid