Details

Time bar (total: 10.2s)

sample84.0ms

Algorithm
intervals
Results
29.0ms80×body1280valid
17.0ms67×body640valid
15.0ms251×body80valid
5.0ms30×body320valid
1.0ms11×body160valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1507
2777
3967
41127
51277
61417
71417

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.6b

Counts
2 → 1

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
76×times-frac
70×add-sqr-sqrt
60×add-cube-cbrt *-un-lft-identity
44×associate-*l* sqrt-prod
32×add-exp-log add-cbrt-cube
14×pow1
12×prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp pow-prod-down associate-/l* unswap-sqr
div-inv add-log-exp
frac-2neg associate-*r* associate-*l/ clear-num *-commutative
Counts
4 → 168
Calls
4 calls:
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
4.0ms
(/ (cos th) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

series348.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
115.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
57.0ms
(/ (cos th) (sqrt 2.0))
65.0ms
(/ (cos th) (sqrt 2.0))

simplify54.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
05041284
120091156
250021136

prune456.0ms

Filtered
180 candidates to 116 candidates (64.4%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New16614180
Fresh000
Picked101
Done000
Total16714181

Merged error: 0b

Counts
181 → 14

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite135.0ms

Algorithm
rewrite-expression-head
Rules
1149×sqrt-prod
1137×times-frac
626×add-sqr-sqrt
592×add-cube-cbrt *-un-lft-identity
283×associate-*l*
37×associate-/l*
34×add-exp-log add-cbrt-cube
24×associate-/r*
23×div-inv
13×unswap-sqr
11×cbrt-undiv div-exp
pow1 prod-exp cbrt-unprod
add-log-exp
frac-2neg pow-prod-down clear-num
associate-*r* associate-*l/ *-commutative associate-/l/
Counts
4 → 744
Calls
4 calls:
48.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* a1 a1))
16.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
6.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
5.0ms
(/ (cos th) (sqrt 2.0))

series341.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* a1 a1))
65.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
98.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
65.0ms
(/ (cos th) (sqrt 2.0))

simplify119.0ms

Algorithm
egg-herbie
Counts
756 → 756
Iterations

Useful iterations: 1 (42.0ms)

IterNodesCost
015449868
150028666

prune1.7s

Filtered
756 candidates to 352 candidates (46.6%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New7551756
Fresh11213
Picked011
Done000
Total75614770

Merged error: 0b

Counts
770 → 14

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
616×sqrt-prod
614×times-frac
345×add-sqr-sqrt
340×add-cube-cbrt *-un-lft-identity
37×associate-/l*
25×add-exp-log add-cbrt-cube
24×associate-/r*
22×associate-*l*
14×div-inv
pow1
cbrt-undiv div-exp
prod-exp cbrt-unprod
add-log-exp
frac-2neg pow-prod-down clear-num unswap-sqr
associate-*r* associate-*l/ *-commutative associate-/l/
Counts
4 → 469
Calls
4 calls:
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
16.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
6.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
5.0ms
(/ (cos th) (sqrt 2.0))

series330.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
65.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
99.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
58.0ms
(/ (cos th) (sqrt 2.0))

simplify133.0ms

Algorithm
egg-herbie
Counts
481 → 481
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
011156666
145695845
250025839

prune726.0ms

Filtered
481 candidates to 189 candidates (39.3%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New4801481
Fresh11112
Picked011
Done011
Total48114495

Merged error: 0b

Counts
495 → 14

localize20.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
0.6b
(/ (/ 1 (/ (sqrt (sqrt 2.0)) (cos th))) (sqrt (sqrt 2.0)))
0.6b
(/ 1 (/ (sqrt (sqrt 2.0)) (cos th)))
0.7b
(/ (cos th) (sqrt 2.0))

rewrite195.0ms

Algorithm
rewrite-expression-head
Rules
2861×times-frac
1831×sqrt-prod
1332×add-sqr-sqrt
1327×add-cube-cbrt *-un-lft-identity
104×associate-/l*
48×add-exp-log div-inv
46×associate-/r*
32×add-cbrt-cube
24×div-exp
22×associate-*l*
12×cbrt-undiv
11×associate-/r/
10×pow1
prod-exp cbrt-unprod
rec-exp 1-exp add-log-exp
frac-2neg pow-prod-down clear-num unswap-sqr
pow-flip associate-*r* associate-*l/ *-commutative associate-/l/ inv-pow
Counts
4 → 1242
Calls
4 calls:
14.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
38.0ms
(/ (/ 1 (/ (sqrt (sqrt 2.0)) (cos th))) (sqrt (sqrt 2.0)))
10.0ms
(/ 1 (/ (sqrt (sqrt 2.0)) (cos th)))
5.0ms
(/ (cos th) (sqrt 2.0))

series345.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
59.0ms
(/ (/ 1 (/ (sqrt (sqrt 2.0)) (cos th))) (sqrt (sqrt 2.0)))
104.0ms
(/ 1 (/ (sqrt (sqrt 2.0)) (cos th)))
57.0ms
(/ (cos th) (sqrt 2.0))

simplify250.0ms

Algorithm
egg-herbie
Counts
1254 → 1254
Iterations

Useful iterations: 1 (63.0ms)

IterNodesCost
0301623114
1500220809

prune1.8s

Filtered
1254 candidates to 409 candidates (32.6%)
Pruning

14 alts after pruning (11 fresh and 3 done)

PrunedKeptTotal
New125401254
Fresh01111
Picked011
Done022
Total1254141268

Merged error: 0b

Counts
1268 → 14

regimes405.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01815
11815

end0.0ms

sample2.6s

Algorithm
intervals
Results
942.0ms2507×body1280valid
546.0ms2108×body640valid
494.0ms7898×body80valid
199.0ms1051×body320valid
71.0ms535×body160valid