Details

Time bar (total: 13.4s)

sample400.0ms

Algorithm
intervals
Results
60.0ms59×body1280valid
26.0ms41×body640valid
22.0ms143×body80valid
12.0ms27×body320valid
6.0ms19×body160valid
4.0ms40×body80nan

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04215
18314
215114
335614
4106314
5500214

prune20.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.6b

localize27.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ F (sin B))
0.2b
(* x (/ 1.0 (tan B)))
6.3b
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))
18.5b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

rewrite130.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:
2.0ms
(/ F (sin B))
9.0ms
(* x (/ 1.0 (tan B)))
85.0ms
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))
27.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series604.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(/ F (sin B))
112.0ms
(* x (/ 1.0 (tan B)))
287.0ms
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))
157.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify85.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
07651418
132131329
250011328

prune628.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite183.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:
81.0ms
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B)))
8.0ms
(* x (/ 1.0 (tan B)))
58.0ms
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B))
27.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series925.0ms

Counts
4 → 12
Calls
4 calls:
351.0ms
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B)))
109.0ms
(* x (/ 1.0 (tan B)))
320.0ms
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B))
144.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify93.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
08482078
137421960
250011960

prune705.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize23.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)) (- (/ 1.0 2.0))) (sin B)))
0.3b
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B))
18.5b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

rewrite175.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:
4.0ms
(/ (* x 1.0) (tan B))
80.0ms
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B)))
58.0ms
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B))
27.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series908.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(/ (* x 1.0) (tan B))
345.0ms
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B)))
314.0ms
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B))
144.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify87.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
08012023
135001905
250021905

prune669.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite227.0ms

Algorithm
rewrite-expression-head
Rules
362×times-frac
217×add-sqr-sqrt
195×*-un-lft-identity
191×add-cube-cbrt
86×associate-*r*
80×unpow-prod-down
68×add-exp-log
37×div-exp
34×associate-/r*
30×pow-unpow
28×sqr-pow
20×add-cbrt-cube
18×associate-/r/
13×distribute-lft-neg-in distribute-rgt-neg-in prod-exp
12×div-inv
neg-sub0 pow-neg pow-sub unswap-sqr
pow1 pow-to-exp rec-exp 1-exp pow-exp
cbrt-undiv
associate-/l*
add-log-exp
associate-*l* cbrt-unprod
frac-2neg clear-num
neg-mul-1 pow-flip pow-pow associate-*r/ pow-prod-down un-div-inv *-commutative inv-pow
Counts
4 → 356
Calls
4 calls:
103.0ms
(* F (/ 1 (/ (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))))
41.0ms
(/ 1 (/ (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))))
38.0ms
(/ (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))
24.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series1.4s

Counts
4 → 12
Calls
4 calls:
289.0ms
(* F (/ 1 (/ (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))))
722.0ms
(/ 1 (/ (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))))
223.0ms
(/ (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))
150.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify78.0ms

Algorithm
egg-herbie
Counts
368 → 368
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
013445507
150015146

prune1.2s

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

regimes206.0ms

Accuracy

98.3% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 10.6b

bsearch343.0ms

Steps
ItersRangePoint
11
0.2287861600326909
4.253017872043058e+35
880497.3495401609
9
-3.634948470477859e+45
-3.596465999237397e+36
-3.6741442446631564e+36

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04839
14839

end0.0ms

sample4.2s

Algorithm
intervals
Results
1.8s1712×body1280valid
889.0ms1355×body640valid
695.0ms4802×body80valid
295.0ms669×body320valid
176.0ms1663×body80nan
104.0ms335×body160valid