Details

Time bar (total: 9.6s)

sample93.0ms

Algorithm
intervals
Results
27.0ms77×body1280valid
17.0ms69×body640valid
16.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

prune17.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.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))

rewrite33.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))

series337.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))
52.0ms
(/ (cos th) (sqrt 2.0))
58.0ms
(/ (cos th) (sqrt 2.0))

simplify52.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
05171294
120571166
250011146

prune717.0ms

Filtered
180 candidates to 116 candidates (64.4%)
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))

rewrite35.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))
8.0ms
(* (/ (cos th) (sqrt 2.0)) a1)
8.0ms
(/ (cos th) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

series332.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04571216
118371113
250011093

prune655.0ms

Filtered
177 candidates to 117 candidates (66.1%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1761177
Fresh11213
Picked101
Done000
Total17813191

Merged error: 0b

Counts
191 → 13

localize12.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))

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

series347.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(* (* (cos th) (/ a1 (sqrt 2.0))) a1)
115.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
60.0ms
(/ a1 (sqrt 2.0))
54.0ms
(/ (cos th) (sqrt 2.0))

simplify60.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05261050
12323935
25001915

prune551.0ms

Filtered
156 candidates to 97 candidates (62.2%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1560156
Fresh01212
Picked011
Done000
Total15613169

Merged error: 0b

Counts
169 → 13

localize15.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))

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

series336.0ms

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

simplify117.0ms

Algorithm
egg-herbie
Counts
756 → 756
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
015469871
150028669

prune2.1s

Filtered
756 candidates to 351 candidates (46.4%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New7551756
Fresh2911
Picked011
Done011
Total75712769

Merged error: 0b

Counts
769 → 12

regimes750.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.7s

Algorithm
intervals
Results
911.0ms2557×body1280valid
539.0ms2176×body640valid
458.0ms8015×body80valid
198.0ms1105×body320valid
63.0ms521×body160valid

Profiling

Loading profile data...