Details

Time bar (total: 1.2m)

sample211.0ms

Algorithm
intervals
Results
76.0ms84×body1280valid
56.0ms225×body80valid
41.0ms66×body640valid
13.0ms30×body320valid
5.0ms15×body160valid

simplify220.0ms

Counts
1 → 1

prune25.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.4b

localize48.0ms

Local error

Found 4 expressions with local error:

0.7b
(/ (cos th) (sqrt 2))
0.7b
(/ (cos th) (sqrt 2))
0.3b
(* (/ (cos th) (sqrt 2)) (* a2 a2))
0.2b
(* (/ (cos th) (sqrt 2)) (* a1 a1))

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
76×times-frac
70×add-sqr-sqrt
60×*-un-lft-identity add-cube-cbrt
44×associate-*l* sqrt-prod
32×add-cbrt-cube add-exp-log
14×pow1
12×associate-/r* prod-exp cbrt-unprod
cbrt-undiv div-exp pow-prod-down associate-/l* unswap-sqr
expm1-log1p-u insert-posit16 log1p-expm1-u div-inv add-log-exp
clear-num frac-2neg associate-*r* associate-*l/ *-commutative
Counts
4 → 180
Calls
4 calls:
Slowest
27.0ms
(* (/ (cos th) (sqrt 2)) (* a1 a1))
21.0ms
(* (/ (cos th) (sqrt 2)) (* a2 a2))
13.0ms
(/ (cos th) (sqrt 2))
8.0ms
(/ (cos th) (sqrt 2))

series511.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
169.0ms
(* (/ (cos th) (sqrt 2)) (* a1 a1))
164.0ms
(* (/ (cos th) (sqrt 2)) (* a2 a2))
100.0ms
(/ (cos th) (sqrt 2))
77.0ms
(/ (cos th) (sqrt 2))

simplify663.0ms

Counts
234 → 192

prune2.3s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0b

localize49.0ms

Local error

Found 4 expressions with local error:

0.7b
(/ (cos th) (sqrt 2))
0.6b
(/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2)))
0.6b
(/ (cos th) (sqrt (sqrt 2)))
0.3b
(* (/ (cos th) (sqrt 2)) (* a2 a2))

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
616×sqrt-prod
614×times-frac
345×add-sqr-sqrt
340×*-un-lft-identity add-cube-cbrt
37×associate-/l*
25×add-cbrt-cube add-exp-log
24×associate-/r*
22×associate-*l*
14×div-inv
pow1
cbrt-undiv div-exp
prod-exp cbrt-unprod
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp
clear-num frac-2neg pow-prod-down unswap-sqr
associate-*r* associate-*l/ *-commutative associate-/l/
Counts
4 → 481
Calls
4 calls:
Slowest
24.0ms
(* (/ (cos th) (sqrt 2)) (* a2 a2))
15.0ms
(/ (cos th) (sqrt (sqrt 2)))
14.0ms
(/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2)))
8.0ms
(/ (cos th) (sqrt 2))

series471.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
178.0ms
(* (/ (cos th) (sqrt 2)) (* a2 a2))
128.0ms
(/ (cos th) (sqrt (sqrt 2)))
92.0ms
(/ (cos th) (sqrt 2))
73.0ms
(/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2)))

simplify878.0ms

Counts
822 → 493

prune7.5s

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0b

localize57.0ms

Local error

Found 4 expressions with local error:

0.6b
(/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2)))
0.6b
(/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2)))
0.6b
(/ (cos th) (sqrt (sqrt 2)))
0.6b
(/ (cos th) (sqrt (sqrt 2)))

rewrite110.0ms

Algorithm
rewrite-expression-head
Rules
1188×sqrt-prod
1152×times-frac
620×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
68×associate-/l*
36×associate-/r*
24×div-inv
18×add-cbrt-cube add-exp-log
cbrt-undiv div-exp
expm1-log1p-u pow1 clear-num frac-2neg insert-posit16 log1p-expm1-u add-log-exp
associate-/l/
Counts
4 → 782
Calls
4 calls:
Slowest
29.0ms
(/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2)))
27.0ms
(/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2)))
18.0ms
(/ (cos th) (sqrt (sqrt 2)))
9.0ms
(/ (cos th) (sqrt (sqrt 2)))

series424.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
125.0ms
(/ (cos th) (sqrt (sqrt 2)))
123.0ms
(/ (cos th) (sqrt (sqrt 2)))
97.0ms
(/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2)))
79.0ms
(/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2)))

simplify879.0ms

Counts
1410 → 794

prune11.7s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize39.0ms

Local error

Found 4 expressions with local error:

1.0b
(/ 1 (sqrt (sqrt 2)))
0.7b
(/ (cos th) (/ (sqrt (sqrt 2)) (/ 1 (sqrt (sqrt 2)))))
0.6b
(/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2)))
0.6b
(/ (cos th) (sqrt (sqrt 2)))

rewrite153.0ms

Algorithm
rewrite-expression-head
Rules
3543×times-frac
2718×sqrt-prod
1679×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
311×associate-/r*
54×div-inv
40×associate-/l*
30×add-exp-log
22×add-cbrt-cube
17×div-exp
11×cbrt-undiv
pow1
associate-/r/ pow-flip
expm1-log1p-u clear-num frac-2neg sqrt-pow1 insert-posit16 log1p-expm1-u add-log-exp
rec-exp pow1/2 1-exp
inv-pow associate-/l/
Counts
4 → 1614
Calls
4 calls:
Slowest
38.0ms
(/ (cos th) (/ (sqrt (sqrt 2)) (/ 1 (sqrt (sqrt 2)))))
15.0ms
(/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2)))
13.0ms
(/ 1 (sqrt (sqrt 2)))
9.0ms
(/ (cos th) (sqrt (sqrt 2)))

series322.0ms

Counts
4 → 10
Calls
4 calls:
Slowest
116.0ms
(/ (cos th) (sqrt (sqrt 2)))
112.0ms
(/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2)))
94.0ms
(/ (cos th) (/ (sqrt (sqrt 2)) (/ 1 (sqrt (sqrt 2)))))
0.0ms
(/ 1 (sqrt (sqrt 2)))

simplify7.9s

Counts
2812 → 1624

prune27.2s

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

regimes498.0ms

Accuracy

0% (0.4b remaining)

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

bsearch4.0ms

end0.0ms

sample8.5s

Algorithm
intervals
Results
3.3s2589×body1280valid
2.1s2071×body640valid
1.5s7921×body80valid
999.0ms1025×body320valid
264.0ms530×body160valid