Details

Time bar (total: 8.5s)

sample100.0ms

Algorithm
intervals
Results
31.0ms83×body1280valid
22.0ms73×body640valid
13.0ms225×body80valid
6.0ms33×body320valid
2.0ms18×body160valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1507
2777
3967
41127
51277
61417
71417

prune10.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.5b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ (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))

rewrite38.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)) (* 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))

series319.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
105.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
58.0ms
(/ (cos th) (sqrt 2.0))
55.0ms
(/ (cos th) (sqrt 2.0))

simplify54.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
05041284
120091156
250011136

prune730.0ms

Filtered
180 candidates to 116 candidates (64.4%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New16812180
Fresh000
Picked101
Done000
Total16912181

Merged error: 0b

Counts
181 → 12

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cos th) (/ (pow a2 2) (sqrt 2.0)))
0.3b
(/ (pow a2 2) (sqrt 2.0))
0.3b
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
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 a2 2) (sqrt 2.0)))
6.0ms
(/ (pow a2 2) (sqrt 2.0))
10.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
5.0ms
(/ (cos th) (sqrt 2.0))

series323.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(* (cos th) (/ (pow a2 2) (sqrt 2.0)))
55.0ms
(/ (pow a2 2) (sqrt 2.0))
106.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
55.0ms
(/ (cos th) (sqrt 2.0))

simplify75.0ms

Algorithm
egg-herbie
Counts
252 → 252
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06931786
130171552
250011540

prune813.0ms

Filtered
252 candidates to 142 candidates (56.3%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2502252
Fresh3811
Picked011
Done000
Total25311264

Merged error: 0b

Counts
264 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

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

series308.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(* (* a2 (cos th)) (/ a2 (sqrt 2.0)))
106.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
51.0ms
(/ a2 (sqrt 2.0))
59.0ms
(/ (cos th) (sqrt 2.0))

simplify70.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05931186
129641063
250011037

prune609.0ms

Filtered
177 candidates to 109 candidates (61.6%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1770177
Fresh099
Picked011
Done011
Total17711188

Merged error: 0b

Counts
188 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
239×add-sqr-sqrt
233×times-frac
226×sqrt-prod
142×add-cube-cbrt *-un-lft-identity
53×associate-*l*
49×swap-sqr
32×add-exp-log associate-*r* add-cbrt-cube
19×unswap-sqr
16×pow1
15×associate-/r*
10×prod-exp cbrt-unprod
cbrt-undiv div-exp
div-inv
associate-/l*
pow-prod-down add-log-exp
frac-2neg associate-*l/ clear-num *-commutative
pow2 frac-times pow-plus associate-*r/ pow-sqr pow-prod-up
Counts
4 → 286
Calls
4 calls:
5.0ms
(/ a2 (sqrt (sqrt 2.0)))
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
28.0ms
(* (/ a2 (sqrt (sqrt 2.0))) (/ a2 (sqrt (sqrt 2.0))))
5.0ms
(/ (cos th) (sqrt 2.0))

series321.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(/ a2 (sqrt (sqrt 2.0)))
101.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
62.0ms
(* (/ a2 (sqrt (sqrt 2.0))) (/ a2 (sqrt (sqrt 2.0))))
56.0ms
(/ (cos th) (sqrt 2.0))

simplify100.0ms

Algorithm
egg-herbie
Counts
298 → 298
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
08733089
141392759
250012731

prune874.0ms

Filtered
298 candidates to 157 candidates (52.7%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New2980298
Fresh088
Picked011
Done022
Total29811309

Merged error: 0b

Counts
309 → 11

regimes777.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
01711
11711

end0.0ms

sample2.7s

Algorithm
intervals
Results
948.0ms2502×body1280valid
512.0ms1973×body640valid
476.0ms8004×body80valid
190.0ms1010×body320valid
67.0ms539×body160valid

Profiling

Loading profile data...