Details

Time bar (total: 6.9s)

sample90.0ms

Algorithm
intervals
Results
33.0ms88×body1280valid
17.0ms69×body640valid
15.0ms260×body80valid
5.0ms29×body320valid
3.0ms23×body160valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1507
2777
3967
41127
51277
61417
71417

prune7.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

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
0.3b
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
0.7b
(/ (cos th) (sqrt 2.0))
0.7b
(/ (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)) (* a2 a2))
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
5.0ms
(/ (cos th) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

series355.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
119.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
57.0ms
(/ (cos th) (sqrt 2.0))
66.0ms
(/ (cos th) (sqrt 2.0))

simplify55.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
05041284
120091156
250021136

prune457.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.1b
(* (cos th) (* a2 a2))
0.3b
(/ (* (cos th) (* a2 a2)) (sqrt 2.0))
0.3b
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
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) (* a2 a2))
8.0ms
(/ (* (cos th) (* a2 a2)) (sqrt 2.0))
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
5.0ms
(/ (cos th) (sqrt 2.0))

series335.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(* (cos th) (* a2 a2))
113.0ms
(/ (* (cos th) (* a2 a2)) (sqrt 2.0))
111.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
63.0ms
(/ (cos th) (sqrt 2.0))

simplify54.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0501987
12125864
25002850

prune309.0ms

Filtered
144 candidates to 91 candidates (63.2%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1422144
Fresh4812
Picked011
Done000
Total14611157

Merged error: 0.0b

Counts
157 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
256×sqrt-prod
254×times-frac
125×add-sqr-sqrt
120×add-cube-cbrt *-un-lft-identity
41×add-exp-log add-cbrt-cube
24×associate-/r*
22×associate-*l*
17×associate-/l*
14×div-inv
13×cbrt-undiv div-exp
12×prod-exp cbrt-unprod
pow1
add-log-exp
frac-2neg pow-prod-down clear-num unswap-sqr
associate-*r* associate-*l/ *-commutative associate-/l/
Counts
4 → 277
Calls
4 calls:
9.0ms
(/ (* (cos th) (* a2 a2)) (sqrt (sqrt 2.0)))
15.0ms
(/ (/ (* (cos th) (* a2 a2)) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
5.0ms
(/ (cos th) (sqrt 2.0))

series463.0ms

Counts
4 → 12
Calls
4 calls:
172.0ms
(/ (* (cos th) (* a2 a2)) (sqrt (sqrt 2.0)))
121.0ms
(/ (/ (* (cos th) (* a2 a2)) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
112.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
58.0ms
(/ (cos th) (sqrt 2.0))

simplify102.0ms

Algorithm
egg-herbie
Counts
289 → 289
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
09143480
141492999
250012994

prune695.0ms

Filtered
289 candidates to 139 candidates (48.1%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New2890289
Fresh099
Picked011
Done011
Total28911300

Merged error: 0.0b

Counts
300 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

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

series342.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(* (cos th) (/ (pow a1 2) (sqrt 2.0)))
110.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
63.0ms
(/ (pow a1 2) (sqrt 2.0))
57.0ms
(/ (cos th) (sqrt 2.0))

simplify81.0ms

Algorithm
egg-herbie
Counts
252 → 252
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
06941786
130241552
250011540

prune466.0ms

Filtered
252 candidates to 142 candidates (56.3%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New2493252
Fresh448
Picked011
Done022
Total25310263

Merged error: 0b

Counts
263 → 10

regimes271.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

sample2.6s

Algorithm
intervals
Results
950.0ms2527×body1280valid
555.0ms2150×body640valid
503.0ms8184×body80valid
191.0ms1012×body320valid
64.0ms505×body160valid