Details

Time bar (total: 8.1s)

sample382.0ms

Algorithm
intervals
Results
232.0ms46×body640valid
57.0ms52×body1280valid
25.0ms145×body80valid
13.0ms25×body320valid
6.0ms52×body80nan
6.0ms18×body160valid

simplify306.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

Counts
2 → 1

localize27.0ms

Local error

Found 4 expressions with local error:

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

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

series135.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
08131470
133541381
250011380

prune379.0ms

Filtered
166 candidates to 126 candidates (24.1%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New15313166
Fresh000
Picked101
Done000
Total15413167

Merged error: 1.3b

Counts
167 → 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.3b
(* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
0.3b
(* x (/ 1.0 (tan B)))
22.1b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

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

series139.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(/ (* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))) (sin B))
34.0ms
(* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
24.0ms
(* x (/ 1.0 (tan B)))
24.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
250021264

prune312.0ms

Filtered
145 candidates to 107 candidates (26.2%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1414145
Fresh4812
Picked101
Done000
Total14612158

Merged error: 1.3b

Counts
158 → 12

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

series140.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
07261325
130451209
250011209

prune287.0ms

Filtered
134 candidates to 102 candidates (23.9%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1313134
Fresh3811
Picked101
Done000
Total13511146

Merged error: 1.3b

Counts
146 → 11

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

rewrite48.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:
5.0ms
(/ (* x 1.0) (tan B))
9.0ms
(/ F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
16.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))

series214.0ms

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

simplify113.0ms

Algorithm
egg-herbie
Counts
226 → 226
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
010533341
144193207
250013207

prune524.0ms

Filtered
226 candidates to 181 candidates (19.9%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New2242226
Fresh01010
Picked011
Done000
Total22413237

Merged error: 1.3b

Counts
237 → 13

regimes363.0ms

Accuracy

98.7% (0.1b remaining)

Error of 1.5b against oracle of 1.3b and baseline of 12.5b

bsearch195.0ms

Steps
ItersRangePoint
9
7.445930829423163e+152
1.3743068256281614e+158
1.33545010559267e+154
10
-7.462986351318234e+164
-2.743265733708822e+153
-1.3355631469912174e+154

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06962
16962

end0.0ms

sample4.1s

Algorithm
intervals
Results
1.5s1657×body1280valid
894.0ms1442×body640valid
647.0ms4752×body80valid
294.0ms672×body320valid
174.0ms1715×body80nan
101.0ms350×body160valid

Profiling

Loading profile data...