Details

Time bar (total: 16.7s)

sample4.7s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 14.648438%

Guaranteed chance to sample good point: 44.300629%

Results
50.0ms53×body1280valid
38.0ms56×body640valid
15.0ms111×body80valid
11.0ms26×body320valid
4.0ms29×body80invalid
3.0ms10×body160valid
1.0msbody80nan

simplify399.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04215
18314
215114
335614
4106314
5500214

prune14.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 10.9b

Counts
2 → 1

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ F (sin B))
0.3b
(* x (/ 1.0 (tan B)))
5.0b
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
14.0b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
63×add-sqr-sqrt
49×times-frac
45×add-cube-cbrt *-un-lft-identity
30×pow-unpow
25×add-exp-log
21×associate-*r*
16×associate-*l* add-cbrt-cube
13×distribute-lft-neg-in distribute-rgt-neg-in
unpow-prod-down prod-exp unswap-sqr
pow1
div-exp div-inv
pow-neg cbrt-unprod add-log-exp sqr-pow
cbrt-undiv neg-sub0 pow-to-exp associate-*r/ pow-exp associate-/r* associate-/l* pow-sub
frac-times *-commutative
tan-quot neg-mul-1 pow-pow frac-2neg pow-prod-down associate-*l/ clear-num associate-/r/ un-div-inv
Counts
4 → 154
Calls
4 calls:
3.0ms
(/ F (sin B))
7.0ms
(* x (/ 1.0 (tan B)))
13.0ms
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
12.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

series134.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(/ F (sin B))
27.0ms
(* x (/ 1.0 (tan B)))
56.0ms
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
40.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

simplify83.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
08131470
133541381
250011380

prune378.0ms

Filtered
126 candidates to 166 candidates (-31.7%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New15115166
Fresh000
Picked101
Done000
Total15215167

Merged error: 0.8b

Counts
167 → 15

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))) (sin B)))
0.3b
(* x (/ 1.0 (tan B)))
0.4b
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))) (sin B))
14.0b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
74×add-sqr-sqrt
73×times-frac
59×add-cube-cbrt *-un-lft-identity
39×associate-*r*
30×pow-unpow
25×add-exp-log unpow-prod-down
16×add-cbrt-cube
13×distribute-lft-neg-in distribute-rgt-neg-in
pow1 sqr-pow
div-exp associate-/l*
associate-*l* prod-exp unswap-sqr
div-inv
cbrt-unprod add-log-exp
cbrt-undiv pow-to-exp pow-exp associate-/r*
neg-sub0 pow-neg associate-*r/ pow-prod-down *-commutative associate-/l/ pow-sub
tan-quot neg-mul-1 pow-pow frac-2neg clear-num associate-/r/
Counts
4 → 174
Calls
4 calls:
14.0ms
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))) (sin B)))
7.0ms
(* x (/ 1.0 (tan B)))
10.0ms
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))) (sin B))
10.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

series148.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))) (sin B)))
24.0ms
(* x (/ 1.0 (tan B)))
47.0ms
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))) (sin B))
22.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

simplify99.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
08922150
138302033
250012033

prune449.0ms

Filtered
142 candidates to 186 candidates (-31.0%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New1833186
Fresh21214
Picked101
Done000
Total18615201

Merged error: 0.8b

Counts
201 → 15

localize24.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 1 (/ (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))))
0.3b
(* x (/ 1.0 (tan B)))
0.3b
(/ (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
14.0b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
214×times-frac
133×add-sqr-sqrt
128×add-cube-cbrt *-un-lft-identity
51×unpow-prod-down
37×add-exp-log
34×associate-/r*
30×pow-unpow
21×div-exp
17×sqr-pow
16×add-cbrt-cube
14×associate-*r*
13×distribute-lft-neg-in distribute-rgt-neg-in
12×associate-/r/
div-inv
pow1
neg-sub0 pow-neg associate-/l* pow-sub
cbrt-undiv pow-to-exp pow-exp
rec-exp 1-exp add-log-exp
associate-*l*
frac-2neg prod-exp clear-num cbrt-unprod unswap-sqr
tan-quot neg-mul-1 pow-flip pow-pow associate-*r/ pow-prod-down *-commutative inv-pow
Counts
4 → 264
Calls
4 calls:
14.0ms
(/ 1 (/ (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))))
7.0ms
(* x (/ 1.0 (tan B)))
10.0ms
(/ (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
10.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

series172.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(/ 1 (/ (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))))
25.0ms
(* x (/ 1.0 (tan B)))
48.0ms
(/ (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
22.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

simplify63.0ms

Algorithm
egg-herbie
Counts
276 → 276
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
011664020
150013771

prune637.0ms

Filtered
183 candidates to 276 candidates (-50.8%)
Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New2742276
Fresh11314
Picked011
Done000
Total27516291

Merged error: 0.8b

Counts
291 → 16

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
0.3b
(* x (/ 1.0 (tan B)))
0.4b
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
13.9b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
25×add-exp-log add-cube-cbrt *-un-lft-identity
22×times-frac
21×associate-*r*
16×add-cbrt-cube
13×pow-unpow
prod-exp
pow1 unpow-prod-down
associate-*l*
div-exp unswap-sqr
cbrt-unprod add-log-exp
cbrt-undiv pow-to-exp pow-exp div-inv associate-/l* sqr-pow
*-commutative
tan-quot pow-pow frac-2neg associate-*r/ pow-prod-down clear-num associate-/r* associate-/r/
Counts
4 → 108
Calls
4 calls:
10.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
7.0ms
(* x (/ 1.0 (tan B)))
10.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
9.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

series199.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
24.0ms
(* x (/ 1.0 (tan B)))
57.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
24.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify75.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
07031170
130861048
250011048

prune205.0ms

Filtered
90 candidates to 120 candidates (-33.3%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New1164120
Fresh41014
Picked101
Done011
Total12115136

Merged error: 0.8b

Counts
136 → 15

regimes368.0ms

Accuracy

97.5% (0.2b remaining)

Error of 1.3b against oracle of 1.1b and baseline of 10.2b

bsearch120.0ms

Steps
ItersRangePoint
3
1.8123114175646434e+145
2.263645252707503e+145
2.235436888011074e+145
9
-1.9392463033970455e+160
-5.182736594717531e+151
-1.3370382420413004e+154

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07869
17869

end0.0ms

sample8.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 14.648438%

Guaranteed chance to sample good point: 44.300629%

Results
1.7s1674×body1280valid
806.0ms1376×body640valid
536.0ms3931×body80valid
285.0ms665×body320valid
129.0ms913×body80invalid
96.0ms354×body160valid
10.0ms97×body80nan

Profiling

Loading profile data...