Details

Time bar (total: 18.0s)

sample5.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 23.321533%

Guaranteed chance to sample good point: 34.215554%

Results
57.0ms57×body1280valid
32.0ms50×body640valid
17.0ms117×body80valid
10.0ms23×body320valid
3.0ms20×body80invalid
3.0msbody160valid
0.0msbody80nan

simplify382.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (17.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.4b

Counts
2 → 1

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1.0 (tan B))
0.3b
(* x (/ 1.0 (tan B)))
4.8b
(* (/ 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)))

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

series134.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
08171480
133361390
250011389

prune404.0ms

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

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New15215167
Fresh000
Picked101
Done000
Total15315168

Merged error: 0.8b

Counts
168 → 15

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.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:
9.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)))
8.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

series202.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
22.0ms
(* x (/ 1.0 (tan B)))
61.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
22.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify74.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
07031170
130861048
250011048

prune285.0ms

Filtered
91 candidates to 120 candidates (-31.9%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New1128120
Fresh7714
Picked101
Done000
Total12015135

Merged error: 0.8b

Counts
135 → 15

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

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

series202.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(/ (* x 1.0) (tan B))
96.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
61.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
22.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify68.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
06571115
12821993
25001993

prune247.0ms

Filtered
82 candidates to 109 candidates (-32.9%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1081109
Fresh21214
Picked011
Done000
Total11014124

Merged error: 0.8b

Counts
124 → 14

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
45×times-frac
41×add-exp-log
38×add-sqr-sqrt
33×add-cube-cbrt *-un-lft-identity
20×add-cbrt-cube
16×div-exp
13×pow-unpow
prod-exp
associate-/r*
cbrt-undiv unpow-prod-down associate-*r* div-inv
pow1 associate-/l*
add-log-exp
pow-to-exp rec-exp 1-exp associate-*l* pow-exp cbrt-unprod unswap-sqr sqr-pow
frac-2neg clear-num
pow-flip pow-pow associate-/r/ *-commutative inv-pow
Counts
4 → 131
Calls
4 calls:
10.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
10.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
6.0ms
(/ 1 (/ (tan B) (* x 1.0)))
8.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

series196.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
58.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
19.0ms
(/ 1 (/ (tan B) (* x 1.0)))
23.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify87.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
07991396
137651237
250011195

prune208.0ms

Filtered
90 candidates to 143 candidates (-58.9%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New1430143
Fresh01212
Picked011
Done011
Total14314157

Merged error: 0.8b

Counts
157 → 14

regimes361.0ms

Accuracy

95.7% (0.3b remaining)

Error of 1.2b against oracle of 0.9b and baseline of 8.7b

bsearch197.0ms

Steps
ItersRangePoint
10
2.1485948544087414e+138
3.0940419388075774e+151
3.0381154039953365e+151
9
-2.378641256724455e+167
-9.381602401327605e+158
-9.621362044818768e+158

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07463
17463

end0.0ms

sample9.0s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 23.321533%

Guaranteed chance to sample good point: 34.215554%

Results
1.6s1815×body1280valid
931.0ms1545×body640valid
498.0ms3535×body80valid
312.0ms742×body320valid
106.0ms363×body160valid
90.0ms624×body80invalid
13.0ms127×body80nan
1.0msbody1280invalid

Profiling

Loading profile data...