Details

Time bar (total: 6.5s)

sample76.0ms

Algorithm
intervals
Results
25.0ms76×body1280valid
16.0ms74×body640valid
13.0ms276×body80valid
3.0ms22×body320valid
2.0ms18×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

localize16.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.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)) (* 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))

series347.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
118.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
57.0ms
(/ (cos th) (sqrt 2.0))
63.0ms
(/ (cos th) (sqrt 2.0))

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

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.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:
16.0ms
(* (cos th) (/ (pow a1 2) (sqrt 2.0)))
6.0ms
(/ (pow a1 2) (sqrt 2.0))
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
5.0ms
(/ (cos th) (sqrt 2.0))

series355.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(* (cos th) (/ (pow a1 2) (sqrt 2.0)))
65.0ms
(/ (pow a1 2) (sqrt 2.0))
114.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
63.0ms
(/ (cos th) (sqrt 2.0))

simplify86.0ms

Algorithm
egg-herbie
Counts
252 → 252
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06941786
130241552
250011540

prune515.0ms

Filtered
252 candidates to 142 candidates (56.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New2484252
Fresh5813
Picked101
Done000
Total25412266

Merged error: 0b

Counts
266 → 12

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

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

series476.0ms

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

simplify94.0ms

Algorithm
egg-herbie
Counts
241 → 241
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
07211761
135201580
250011580

prune479.0ms

Filtered
241 candidates to 146 candidates (60.6%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New2410241
Fresh01111
Picked011
Done000
Total24112253

Merged error: 0b

Counts
253 → 12

localize13.0ms

Local error

Found 4 expressions with local error:

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

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

series321.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* (cos th) (* a2 a2))
109.0ms
(/ (* (cos th) (* a2 a2)) (sqrt 2.0))
111.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
58.0ms
(/ (cos th) (sqrt 2.0))

simplify54.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0501987
12125864
25002850

prune278.0ms

Filtered
144 candidates to 91 candidates (63.2%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1440144
Fresh01010
Picked011
Done011
Total14412156

Merged error: 0b

Counts
156 → 12

regimes367.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.3s

Algorithm
intervals
Results
831.0ms2517×body1280valid
471.0ms2069×body640valid
397.0ms7900×body80valid
169.0ms1080×body320valid
54.0ms499×body160valid