Details

Time bar (total: 7.2s)

sample95.0ms

Algorithm
intervals
Results
37.0ms92×body1280valid
16.0ms64×body640valid
16.0ms253×body80valid
7.0ms36×body320valid
2.0ms14×body160valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0257
1507
2777
3967
41127
51277
61417
71417

prune8.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.4b

Counts
2 → 2

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.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:
15.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
10.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
5.0ms
(/ (cos th) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

series357.0ms

Counts
4 → 12
Calls
4 calls:
119.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
114.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
66.0ms
(/ (cos th) (sqrt 2.0))
58.0ms
(/ (cos th) (sqrt 2.0))

simplify57.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
05041284
120091156
250011136

prune451.0ms

Filtered
180 candidates to 116 candidates (64.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New17010180
Fresh101
Picked101
Done000
Total17210182

Merged error: 0.0b

Counts
182 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite73.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)) (* a2 a2))
21.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))

series531.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
62.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
295.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
66.0ms
(/ (cos th) (sqrt 2.0))

simplify125.0ms

Algorithm
egg-herbie
Counts
481 → 481
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
011156666
145685845
250015839

prune715.0ms

Filtered
481 candidates to 187 candidates (38.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New4810481
Fresh099
Picked011
Done000
Total48110491

Merged error: 0.0b

Counts
491 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
142×times-frac
121×add-sqr-sqrt
94×add-cube-cbrt *-un-lft-identity
77×sqrt-prod
53×associate-*r*
41×unpow-prod-down
33×add-exp-log
25×associate-*l* add-cbrt-cube
15×unpow2 sqr-pow
12×associate-/r* unswap-sqr
11×pow1 associate-/l*
10×prod-exp
div-exp
cbrt-unprod
cbrt-undiv
pow-prod-down div-inv add-log-exp
pow-to-exp frac-2neg pow-exp clear-num *-commutative
associate-*r/ associate-*l/
Counts
4 → 240
Calls
4 calls:
16.0ms
(* (cos th) (/ (pow a1 2) (sqrt 2.0)))
10.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
6.0ms
(/ (pow a1 2) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

series341.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(* (cos th) (/ (pow a1 2) (sqrt 2.0)))
110.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
62.0ms
(/ (pow a1 2) (sqrt 2.0))
56.0ms
(/ (cos th) (sqrt 2.0))

simplify83.0ms

Algorithm
egg-herbie
Counts
252 → 252
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06941786
130241552
250011540

prune495.0ms

Filtered
252 candidates to 142 candidates (56.3%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New2502252
Fresh268
Picked011
Done011
Total25210262

Merged error: 0.0b

Counts
262 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

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

series300.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(* a1 (/ a1 (sqrt 2.0)))
120.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
58.0ms
(/ a1 (sqrt 2.0))
63.0ms
(/ (cos th) (sqrt 2.0))

simplify69.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05031082
12105979
25001954

prune336.0ms

Filtered
177 candidates to 109 candidates (61.6%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1770177
Fresh077
Picked011
Done022
Total17710187

Merged error: 0.0b

Counts
187 → 10

regimes300.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01815
11815

end0.0ms

sample2.7s

Algorithm
intervals
Results
951.0ms2465×body1280valid
548.0ms2077×body640valid
501.0ms8047×body80valid
209.0ms1060×body320valid
80.0ms568×body160valid