Details

Time bar (total: 13.1s)

sample432.0ms

Algorithm
intervals
Results
50.0ms50×body640valid
40.0ms43×body1280valid
25.0ms168×body80valid
5.0ms12×body320valid
4.0ms39×body80nan
3.0ms11×body160valid

simplify43.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04215
18314
215114
335614
4106314
5500214

prune17.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: 15.9b

Counts
2 → 1

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

rewrite49.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)))
20.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)))

series128.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(/ 1.0 (tan B))
23.0ms
(* x (/ 1.0 (tan B)))
62.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 (69.0ms)

IterNodesCost
08171480
133361390
250011389

prune1.5s

Filtered
167 candidates to 128 candidates (23.4%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New15413167
Fresh000
Picked101
Done000
Total15513168

Merged error: 1.1b

Counts
168 → 13

localize24.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.2b
(* x (/ 1.0 (tan B)))
0.3b
(* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
16.6b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

rewrite40.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:
10.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
(* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
9.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

series133.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))
22.0ms
(* x (/ 1.0 (tan B)))
32.0ms
(* F (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)))

simplify83.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
07731380
132901264
250011264

prune1.3s

Filtered
145 candidates to 106 candidates (26.9%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1414145
Fresh4812
Picked101
Done000
Total14612158

Merged error: 1.1b

Counts
158 → 12

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

rewrite37.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)))) (sin B))
10.0ms
(* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
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))
53.0ms
(/ (* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))) (sin B))
32.0ms
(* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
21.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

simplify75.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
07261327
130501209
250011209

prune1.2s

Filtered
134 candidates to 102 candidates (23.9%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1313134
Fresh4711
Picked101
Done000
Total13610146

Merged error: 1.1b

Counts
146 → 10

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
192×times-frac
112×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
51×unpow-prod-down
29×associate-/l*
25×add-exp-log
17×sqr-pow
16×add-cbrt-cube
13×pow-unpow associate-/r*
12×div-exp
div-inv
cbrt-undiv
pow1
add-log-exp
pow-to-exp frac-2neg pow-exp clear-num
tan-quot pow-pow prod-exp associate-/r/ cbrt-unprod associate-/l/
Counts
4 → 214
Calls
4 calls:
9.0ms
(/ F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
5.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))

series202.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
226 → 226
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
010533341
144193207
250013207

prune2.9s

Filtered
226 candidates to 181 candidates (19.9%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2215226
Fresh459
Picked101
Done000
Total22610236

Merged error: 1.1b

Counts
236 → 10

regimes309.0ms

Accuracy

98.1% (0.2b remaining)

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

bsearch274.0ms

Steps
ItersRangePoint
5
1.9941900793343876e+154
6.527560984919275e+154
2.0304285442231992e+154
10
-9.890537988017573e+164
-1.5954363105956547e+149
-1.3380089926747265e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07864
17864

end0.0ms

sample3.9s

Algorithm
intervals
Results
1.5s1694×body1280valid
835.0ms1446×body640valid
600.0ms4631×body80valid
285.0ms715×body320valid
151.0ms1664×body80nan
90.0ms340×body160valid

Profiling

Loading profile data...