Details

Time bar (total: 6.6s)

sample92.0ms

Algorithm
intervals
Results
33.0ms81×body1280valid
16.0ms265×body80valid
14.0ms56×body640valid
9.0ms51×body320valid
2.0ms16×body160valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1507
2777
3967
41127
51277
61417
71417

prune6.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.8b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
0.5b
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
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:
10.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
10.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
5.0ms
(/ (cos th) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

series540.0ms

Counts
4 → 12
Calls
4 calls:
308.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
110.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
64.0ms
(/ (cos th) (sqrt 2.0))
58.0ms
(/ (cos th) (sqrt 2.0))

simplify54.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
05041284
120091156
250021136

prune437.0ms

Filtered
180 candidates to 116 candidates (64.4%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New16713180
Fresh000
Picked101
Done000
Total16813181

Merged error: 0.0b

Counts
181 → 13

localize12.0ms

Local error

Found 4 expressions with local error:

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

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

series336.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04441207
118021104
250011084

prune392.0ms

Filtered
177 candidates to 117 candidates (66.1%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1761177
Fresh01212
Picked011
Done000
Total17614190

Merged error: 0b

Counts
190 → 14

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

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

series389.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05291048
12383921
25002908

prune322.0ms

Filtered
153 candidates to 98 candidates (64.1%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1521153
Fresh11112
Picked011
Done101
Total15413167

Merged error: 0b

Counts
167 → 13

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* (cos th) a1) (/ a1 (sqrt 2.0)))
0.2b
(* (/ (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
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
(* (* (cos th) 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))

series338.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(* (* (cos th) a1) (/ a1 (sqrt 2.0)))
110.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
58.0ms
(/ a1 (sqrt 2.0))
61.0ms
(/ (cos th) (sqrt 2.0))

simplify73.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
05891185
129561062
250011036

prune332.0ms

Filtered
177 candidates to 109 candidates (61.6%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1770177
Fresh01111
Picked011
Done011
Total17713190

Merged error: 0b

Counts
190 → 13

regimes396.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.6s

Algorithm
intervals
Results
953.0ms2540×body1280valid
552.0ms2117×body640valid
499.0ms8019×body80valid
189.0ms1013×body320valid
69.0ms543×body160valid

Profiling

Loading profile data...