Details

Time bar (total: 15.9s)

sample97.0ms

Algorithm
intervals
Results
29.0ms77×body1280valid
18.0ms69×body640valid
17.0ms280×body80valid
6.0ms35×body320valid
2.0ms14×body160valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1507
2777
3967
41127
51277
61417
71417

prune18.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.7b

Counts
2 → 2

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.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))
4.0ms
(/ (cos th) (sqrt 2.0))

series44.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
05041284
120091156
250011136

prune907.0ms

Filtered
180 candidates to 116 candidates (35.6%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New16614180
Fresh101
Picked101
Done000
Total16814182

Merged error: 0b

Counts
182 → 14

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.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)) (* a2 a2))
7.0ms
(* (/ (cos th) (sqrt 2.0)) a1)
4.0ms
(/ (cos th) (sqrt 2.0))
4.0ms
(/ (cos th) (sqrt 2.0))

series39.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
11.0ms
(* (/ (cos th) (sqrt 2.0)) a1)
6.0ms
(/ (cos th) (sqrt 2.0))
8.0ms
(/ (cos th) (sqrt 2.0))

simplify50.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04441207
118021104
250011084

prune989.0ms

Filtered
177 candidates to 117 candidates (33.9%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1761177
Fresh11213
Picked101
Done000
Total17813191

Merged error: 0b

Counts
191 → 13

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
56×times-frac
53×add-sqr-sqrt
48×add-cube-cbrt *-un-lft-identity
34×sqrt-prod
29×add-exp-log add-cbrt-cube
23×associate-*l*
14×pow1
12×associate-/r*
11×prod-exp cbrt-unprod
pow-prod-down associate-/l*
cbrt-undiv div-exp
associate-*r* add-log-exp
div-inv unswap-sqr
frac-2neg associate-*l/ clear-num *-commutative
associate-*r/
Counts
4 → 144
Calls
4 calls:
8.0ms
(* (* (cos th) (/ a1 (sqrt 2.0))) a1)
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
4.0ms
(/ a1 (sqrt 2.0))
6.0ms
(/ (cos th) (sqrt 2.0))

series39.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
05131039
12270924
25001904

prune856.0ms

Filtered
156 candidates to 97 candidates (37.8%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1560156
Fresh01212
Picked011
Done000
Total15613169

Merged error: 0b

Counts
169 → 13

localize14.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (/ (/ (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.7b
(/ (cos th) (sqrt (sqrt 2.0)))
0.7b
(/ (cos th) (sqrt 2.0))

rewrite128.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:
43.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* a1 a1))
18.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
6.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
4.0ms
(/ (cos th) (sqrt 2.0))

series40.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* a1 a1))
12.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
8.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
5.0ms
(/ (cos th) (sqrt 2.0))

simplify112.0ms

Algorithm
egg-herbie
Counts
756 → 756
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
015449868
150028666

prune8.7s

Filtered
756 candidates to 351 candidates (53.6%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New7551756
Fresh2911
Picked011
Done011
Total75712769

Merged error: 0b

Counts
769 → 12

regimes760.0ms

Accuracy

0% (0.4b 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.9s

Algorithm
intervals
Results
972.0ms2557×body1280valid
565.0ms2176×body640valid
490.0ms8015×body80valid
213.0ms1105×body320valid
67.0ms521×body160valid

Profiling

Loading profile data...