Details

Time bar (total: 7.5s)

sample92.0ms

Algorithm
intervals
Results
36.0ms82×body1280valid
18.0ms67×body640valid
15.0ms246×body80valid
5.0ms25×body320valid
2.0ms13×body160valid

simplify16.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.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.8b
(/ (cos th) (sqrt 2.0))
0.8b
(/ (cos th) (sqrt 2.0))

rewrite34.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))
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
5.0ms
(/ (cos th) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

series370.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
118.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
69.0ms
(/ (cos th) (sqrt 2.0))
67.0ms
(/ (cos th) (sqrt 2.0))

simplify62.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
05041284
120091156
250011136

prune466.0ms

Filtered
180 candidates to 116 candidates (64.4%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New16614180
Fresh000
Picked101
Done000
Total16714181

Merged error: 0.0b

Counts
181 → 14

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
0.6b
(/ (cos th) (sqrt (sqrt 2.0)))
0.7b
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
0.8b
(/ (cos th) (sqrt 2.0))

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
616×sqrt-prod
614×times-frac
345×add-sqr-sqrt
340×add-cube-cbrt *-un-lft-identity
37×associate-/l*
25×add-exp-log add-cbrt-cube
24×associate-/r*
22×associate-*l*
14×div-inv
pow1
cbrt-undiv div-exp
prod-exp cbrt-unprod
add-log-exp
frac-2neg pow-prod-down clear-num unswap-sqr
associate-*r* associate-*l/ *-commutative associate-/l/
Counts
4 → 469
Calls
4 calls:
13.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
6.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
16.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
5.0ms
(/ (cos th) (sqrt 2.0))

series562.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
100.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
66.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
281.0ms
(/ (cos th) (sqrt 2.0))

simplify127.0ms

Algorithm
egg-herbie
Counts
481 → 481
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
011156666
145685845
250025838

prune729.0ms

Filtered
481 candidates to 188 candidates (39.1%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New4810481
Fresh01313
Picked011
Done000
Total48114495

Merged error: 0.0b

Counts
495 → 14

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cos th) (/ (pow a2 2) (sqrt 2.0)))
0.3b
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
0.3b
(/ (pow a2 2) (sqrt 2.0))
0.8b
(/ (cos th) (sqrt 2.0))

rewrite49.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:
19.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))

series366.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(* (cos th) (/ (pow a2 2) (sqrt 2.0)))
115.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
67.0ms
(/ (pow a2 2) (sqrt 2.0))
60.0ms
(/ (cos th) (sqrt 2.0))

simplify89.0ms

Algorithm
egg-herbie
Counts
252 → 252
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
06931786
130171552
250011540

prune527.0ms

Filtered
252 candidates to 142 candidates (56.3%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New2484252
Fresh3912
Picked101
Done011
Total25214266

Merged error: 0b

Counts
266 → 14

localize13.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.5b
(/ a2 (sqrt 2.0))
0.8b
(/ (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
(* (* a2 (cos th)) (/ a2 (sqrt 2.0)))
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
4.0ms
(/ a2 (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

series342.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
05931186
129641063
250011037

prune361.0ms

Filtered
177 candidates to 109 candidates (61.6%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1725177
Fresh5712
Picked101
Done011
Total17813191

Merged error: 0b

Counts
191 → 13

regimes371.0ms

Accuracy

0% (0.5b remaining)

Error of 0.5b against oracle of 0.1b and baseline of 0.5b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01815
11815

end0.0ms

sample2.7s

Algorithm
intervals
Results
976.0ms2541×body1280valid
569.0ms2128×body640valid
527.0ms8197×body80valid
193.0ms976×body320valid
73.0ms530×body160valid

Profiling

Loading profile data...