Details

Time bar (total: 18.8s)

sample5.7s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 17.346191%

Guaranteed chance to sample good point: 39.632255%

Results
45.0ms48×body1280valid
27.0ms43×body640valid
19.0ms129×body80valid
12.0ms25×body320valid
3.0ms11×body160valid
2.0ms15×body80invalid
0.0msbody80nan

simplify380.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: 12.8b

Counts
2 → 1

localize34.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1.0 (tan B))
0.2b
(* x (/ 1.0 (tan B)))
6.7b
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
14.8b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

rewrite40.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
tan-quot frac-times associate-/r/ *-commutative
neg-mul-1 pow-pow frac-2neg pow-prod-down associate-*l/ clear-num un-div-inv
Counts
4 → 155
Calls
4 calls:
3.0ms
(/ 1.0 (tan B))
7.0ms
(* x (/ 1.0 (tan B)))
12.0ms
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
11.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

series128.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(/ 1.0 (tan B))
24.0ms
(* x (/ 1.0 (tan B)))
62.0ms
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
31.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

simplify85.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
08171480
133361390
250011389

prune425.0ms

Filtered
128 candidates to 167 candidates (-30.5%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New15017167
Fresh000
Picked101
Done000
Total15117168

Merged error: 0.9b

Counts
168 → 17

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

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

series132.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* x (/ 1.0 (tan B)))
30.0ms
(* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
57.0ms
(/ (* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))) (sin B))
23.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

simplify83.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
07731380
132901264
250011264

prune321.0ms

Filtered
106 candidates to 145 candidates (-36.8%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1387145
Fresh10616
Picked101
Done000
Total14913162

Merged error: 0.9b

Counts
162 → 13

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.0ms

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

series130.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ (* x 1.0) (tan B))
29.0ms
(* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
56.0ms
(/ (* F (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)))

simplify74.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
07261325
130451209
250011209

prune296.0ms

Filtered
101 candidates to 134 candidates (-32.7%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1340134
Fresh01212
Picked011
Done000
Total13413147

Merged error: 0.9b

Counts
147 → 13

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
199×times-frac
123×add-sqr-sqrt
118×add-cube-cbrt *-un-lft-identity
51×unpow-prod-down
28×associate-/l*
25×add-exp-log
17×sqr-pow
16×add-cbrt-cube
14×associate-*r*
13×pow-unpow
11×div-exp
10×associate-/r*
div-inv
pow1
cbrt-undiv
add-log-exp
pow-to-exp associate-*l* pow-exp
frac-2neg prod-exp clear-num cbrt-unprod unswap-sqr
tan-quot pow-pow associate-*r/ pow-prod-down associate-/r/ *-commutative associate-/l/
Counts
4 → 225
Calls
4 calls:
9.0ms
(/ F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
7.0ms
(* x (/ 1.0 (tan B)))
13.0ms
(/ (/ F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))) (sin B))
8.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

series204.0ms

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

simplify117.0ms

Algorithm
egg-herbie
Counts
237 → 237
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
010993396
146753262
250023262

prune556.0ms

Filtered
189 candidates to 237 candidates (-25.4%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New2334237
Fresh2911
Picked101
Done011
Total23614250

Merged error: 0.9b

Counts
250 → 14

regimes359.0ms

Accuracy

97.5% (0.2b remaining)

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

bsearch183.0ms

Steps
ItersRangePoint
9
9.82254552062057e+133
1.8955558796620343e+143
1.8661542578412227e+143
9
-3.8961554583776063e+157
-6.429788828976466e+150
-1.336905494778641e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07663
17663

end0.0ms

sample9.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 17.346191%

Guaranteed chance to sample good point: 39.632255%

Results
1.5s1630×body1280valid
858.0ms1388×body640valid
746.0ms3927×body80valid
308.0ms720×body320valid
98.0ms335×body160valid
90.0ms601×body80invalid
11.0ms102×body80nan
1.0msbody1280invalid
0.0msbody320invalid

Profiling

Loading profile data...