Details

Time bar (total: 6.6s)

sample95.0ms

Algorithm
intervals
Results
36.0ms93×body1280valid
19.0ms76×body640valid
14.0ms237×body80valid
6.0ms36×body320valid
3.0ms25×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)) (* 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))

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

series349.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
116.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
59.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
250011136

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

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

series333.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0501987
12139864
25002850

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

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

series530.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (cos th) (* a2 a2))
111.0ms
(/ (* (cos th) (* a2 a2)) (sqrt 2.0))
310.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
62.0ms
(/ (cos th) (sqrt 2.0))

simplify54.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0501987
12125864
25002850

prune295.0ms

Filtered
144 candidates to 91 candidates (63.2%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1413144
Fresh459
Picked101
Done011
Total1469155

Merged error: 0.0b

Counts
155 → 9

localize20.0ms

Local error

Found 4 expressions with local error:

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

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

series445.0ms

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

simplify106.0ms

Algorithm
egg-herbie
Counts
289 → 289
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
09143480
141532999
250022994

prune484.0ms

Filtered
289 candidates to 140 candidates (48.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2881289
Fresh167
Picked101
Done011
Total2908298

Merged error: 0b

Counts
298 → 8

regimes253.0ms

Accuracy

0% (0.4b remaining)

Error of 0.5b against oracle of 0.1b 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
932.0ms2498×body1280valid
520.0ms2036×body640valid
494.0ms8059×body80valid
192.0ms1055×body320valid
67.0ms538×body160valid

Profiling

Loading profile data...