Details

Time bar (total: 5.7s)

sample106.0ms

Algorithm
intervals
Results
42.0ms87×body1280valid
18.0ms242×body80valid
17.0ms56×body640valid
4.0ms21×body320valid
4.0ms23×body160valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1507
2777
3967
41127
51277
61417
71417

prune15.0ms

Filtered
1 candidates to 1 candidates (0.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))

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

series46.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
16.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
5.0ms
(/ (cos th) (sqrt 2.0))
6.0ms
(/ (cos th) (sqrt 2.0))

simplify52.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
05041284
120091156
250011136

prune353.0ms

Filtered
116 candidates to 180 candidates (-55.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New16911180
Fresh101
Picked101
Done000
Total17111182

Merged error: 0.0b

Counts
182 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

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

series38.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
12.0ms
(* (/ (cos th) (sqrt 2.0)) a2)
5.0ms
(/ (cos th) (sqrt 2.0))
6.0ms
(/ (cos th) (sqrt 2.0))

simplify54.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04431207
118051104
250011084

prune297.0ms

Filtered
117 candidates to 177 candidates (-51.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1761177
Fresh2810
Picked011
Done000
Total17810188

Merged error: 0b

Counts
188 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

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

series42.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (cos th) (/ (pow a2 2) (sqrt 2.0)))
15.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
6.0ms
(/ (pow a2 2) (sqrt 2.0))
6.0ms
(/ (cos th) (sqrt 2.0))

simplify78.0ms

Algorithm
egg-herbie
Counts
252 → 252
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06931831
132021552
250011537

prune402.0ms

Filtered
142 candidates to 252 candidates (-77.5%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New2520252
Fresh088
Picked011
Done011
Total25210262

Merged error: 0b

Counts
262 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

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

series49.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(* (cos th) (* a1 a1))
15.0ms
(/ (* (cos th) (* a1 a1)) (sqrt 2.0))
15.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
9.0ms
(/ (cos th) (sqrt 2.0))

simplify52.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0501987
12139864
25001850

prune189.0ms

Filtered
91 candidates to 144 candidates (-58.2%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1422144
Fresh347
Picked011
Done022
Total1459154

Merged error: 0b

Counts
154 → 9

regimes586.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
01611
11611

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.1s2491×body1280valid
627.0ms2050×body640valid
577.0ms8173×body80valid
218.0ms1005×body320valid
78.0ms526×body160valid

Profiling

Loading profile data...