Details

Time bar (total: 7.6s)

sample72.0ms

Algorithm
intervals
Results
27.0ms84×body1280valid
12.0ms57×body640valid
12.0ms250×body80valid
4.0ms30×body320valid
2.0ms17×body160valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1507
2777
3967
41127
51277
61417
71417

prune12.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.5b

Counts
2 → 2

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

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

series342.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
115.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
56.0ms
(/ (cos th) (sqrt 2.0))
62.0ms
(/ (cos th) (sqrt 2.0))

simplify55.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
05041284
120091156
250021136

prune491.0ms

Filtered
180 candidates to 116 candidates (64.4%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New16812180
Fresh101
Picked101
Done000
Total17012182

Merged error: 0b

Counts
182 → 12

localize13.0ms

Local error

Found 4 expressions with local error:

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

series327.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0501987
12139864
25002850

prune336.0ms

Filtered
144 candidates to 91 candidates (63.2%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1431144
Fresh2911
Picked101
Done000
Total14610156

Merged error: 0b

Counts
156 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

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

series333.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05861372
124951242
250011224

prune444.0ms

Filtered
183 candidates to 121 candidates (66.1%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1821183
Fresh189
Picked011
Done000
Total18310193

Merged error: 0b

Counts
193 → 10

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite149.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:
50.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* a1 a1))
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))

series536.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* a1 a1))
97.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
265.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
57.0ms
(/ (cos th) (sqrt 2.0))

simplify119.0ms

Algorithm
egg-herbie
Counts
756 → 756
Iterations

Useful iterations: 1 (36.0ms)

IterNodesCost
015449868
150018666

prune1.6s

Filtered
756 candidates to 353 candidates (46.7%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New7560756
Fresh088
Picked011
Done011
Total75610766

Merged error: 0b

Counts
766 → 10

regimes337.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01511
11511

end0.0ms

sample2.2s

Algorithm
intervals
Results
803.0ms2491×body1280valid
457.0ms2075×body640valid
397.0ms8009×body80valid
163.0ms1063×body320valid
52.0ms505×body160valid