Details

Time bar (total: 18.3s)

sample5.7s

Algorithm
intervals
sampling

Space saved by range analysis: 19.289486%

Space saved by search: 0.146413%

Guaranteed chance to sample good point: 0%

Results
51.0ms54×body1280valid
38.0ms57×body640valid
16.0ms114×body80valid
9.0ms20×body320valid
3.0ms11×body160valid
2.0ms11×body80invalid
0.0msbody80nan

simplify378.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04215
18314
215114
335614
4106314
5500214

prune13.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: 13.3b

Counts
2 → 1

localize34.0ms

Local error

Found 4 expressions with local error:

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

rewrite43.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)))
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:
11.0ms
(/ 1.0 (tan B))
25.0ms
(* x (/ 1.0 (tan B)))
65.0ms
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
32.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

simplify84.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
08171480
133361390
250011389

prune407.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: 1.2b

Counts
168 → 15

localize23.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))
16.2b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

rewrite50.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:
16.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)))

series156.0ms

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

simplify96.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
08922150
138302033
250022033

prune448.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: 1.1b

Counts
201 → 15

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
66×times-frac
63×add-sqr-sqrt
53×add-cube-cbrt *-un-lft-identity
30×pow-unpow
25×add-exp-log unpow-prod-down associate-*r*
16×add-cbrt-cube
13×distribute-lft-neg-in distribute-rgt-neg-in
sqr-pow
div-exp associate-/l*
pow1
associate-/r*
prod-exp div-inv
cbrt-undiv add-log-exp unswap-sqr
pow-to-exp associate-*l* pow-exp cbrt-unprod
neg-sub0 pow-neg frac-2neg clear-num associate-/l/ pow-sub
tan-quot neg-mul-1 pow-pow associate-*r/ pow-prod-down associate-/r/ *-commutative
Counts
4 → 163
Calls
4 calls:
6.0ms
(/ (* x 1.0) (tan B))
14.0ms
(* F (/ (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))) (sin B))
10.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

series154.0ms

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

simplify90.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
08452095
135891978
250021978

prune424.0ms

Filtered
136 candidates to 175 candidates (-28.7%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New1750175
Fresh01414
Picked011
Done000
Total17515190

Merged error: 1.1b

Counts
190 → 15

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
0.3b
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
0.3b
(* x (/ 1.0 (tan B)))
16.1b
(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
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
10.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
7.0ms
(* x (/ 1.0 (tan B)))
8.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

series205.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
07031170
130861048
250021048

prune208.0ms

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

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1173120
Fresh31013
Picked101
Done011
Total12114135

Merged error: 1.1b

Counts
135 → 14

regimes343.0ms

Accuracy

97.7% (0.2b remaining)

Error of 1.4b against oracle of 1.1b and baseline of 10.8b

bsearch207.0ms

Steps
ItersRangePoint
7
3.737686754119719e+154
7.161829482047898e+155
3.782470750276415e+154
11
-5.179076556487416e+156
-6.517648682514206e+134
-1.3478733823933657e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07764
17764

end0.0ms

sample8.9s

Algorithm
intervals
sampling

Space saved by range analysis: 19.289486%

Space saved by search: 0.146413%

Guaranteed chance to sample good point: 0%

Results
1.5s1631×body1280valid
877.0ms1452×body640valid
552.0ms3902×body80valid
288.0ms686×body320valid
95.0ms329×body160valid
60.0ms421×body80invalid
10.0ms96×body80nan
2.0msbody640invalid

Profiling

Loading profile data...