Details

Time bar (total: 7.0s)

sample314.0ms

Algorithm
intervals
Results
206.0ms176×body80valid
45.0ms49×body1280valid
23.0ms38×body640valid
7.0ms51×body80nan
7.0ms16×body320valid
3.0ms11×body160valid

simplify43.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: 16.5b

Counts
2 → 1

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.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:
4.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))))
18.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

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

simplify83.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
08171480
133361390
250011389

prune381.0ms

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

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New15314167
Fresh000
Picked101
Done000
Total15414168

Merged error: 1.2b

Counts
168 → 14

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite43.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:
7.0ms
(* x (/ 1.0 (tan B)))
10.0ms
(* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
11.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)))

series131.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))))
57.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)))

simplify85.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
07731380
132901264
250011264

prune314.0ms

Filtered
107 candidates to 145 candidates (-35.5%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1405145
Fresh5813
Picked101
Done000
Total14613159

Merged error: 1.2b

Counts
159 → 13

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))))
0.6b
(/ (* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))) (sin B))
19.2b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

rewrite40.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))))
12.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)))

series128.0ms

Counts
4 → 12
Calls
4 calls:
22.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)))

simplify76.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
07261327
130501209
250011209

prune281.0ms

Filtered
102 candidates to 134 candidates (-31.4%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1322134
Fresh3912
Picked101
Done000
Total13611147

Merged error: 1.2b

Counts
147 → 11

localize23.0ms

Local error

Found 4 expressions with local error:

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

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

series195.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(/ (* x 1.0) (tan B))
94.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)))
21.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify67.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
06571115
12821993
25001993

prune188.0ms

Filtered
83 candidates to 109 candidates (-31.3%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1045109
Fresh4610
Picked101
Done000
Total10911120

Merged error: 1.2b

Counts
120 → 11

regimes291.0ms

Accuracy

97.7% (0.2b remaining)

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

bsearch173.0ms

Steps
ItersRangePoint
8
8.275602290102315e+152
1.0302376492306564e+157
1.3635132903112458e+154
10
-2.0831914422656074e+165
-1.037935820522919e+151
-1.3529976550439438e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07364
17364

end0.0ms

sample3.8s

Algorithm
intervals
Results
1.4s1646×body1280valid
809.0ms1363×body640valid
632.0ms4768×body80valid
266.0ms661×body320valid
161.0ms1599×body80nan
104.0ms386×body160valid

Profiling

Loading profile data...