Details

Time bar (total: 17.1s)

sample388.0ms

Algorithm
intervals
Results
220.0ms156×body80valid
73.0ms57×body1280valid
38.0ms44×body640valid
21.0ms27×body320valid
8.0ms49×body80nan
4.0ms10×body160valid

simplify46.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04315
19114
216914
337814
4110014
5500114

prune29.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.3b

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite131.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
expm1-log1p-u pow-neg cbrt-unprod log1p-expm1-u 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 → 163
Calls
4 calls:
2.0ms
(/ 1.0 (tan B))
9.0ms
(* x (/ 1.0 (tan B)))
86.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)))

series136.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(/ 1.0 (tan B))
24.0ms
(* x (/ 1.0 (tan B)))
61.0ms
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))
35.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify82.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
07841475
132451361
250011358

prune2.0s

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

rewrite186.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
expm1-log1p-u cbrt-unprod log1p-expm1-u 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 → 182
Calls
4 calls:
83.0ms
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B)))
9.0ms
(* x (/ 1.0 (tan B)))
60.0ms
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B))
26.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series156.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B)))
25.0ms
(* x (/ 1.0 (tan B)))
51.0ms
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B))
21.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify99.0ms

Algorithm
egg-herbie
Counts
194 → 194
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
08682139
138042002
250011988

prune2.3s

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite179.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 expm1-log1p-u log1p-expm1-u 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 → 171
Calls
4 calls:
4.0ms
(/ (* x 1.0) (tan B))
83.0ms
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B)))
62.0ms
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B))
24.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series155.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(/ (* x 1.0) (tan B))
58.0ms
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B)))
53.0ms
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B))
21.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify90.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
08212084
135621947
250021933

prune2.1s

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

rewrite186.0ms

Algorithm
rewrite-expression-head
Rules
66×add-sqr-sqrt times-frac
54×add-cube-cbrt *-un-lft-identity
30×pow-unpow
29×add-exp-log
28×associate-*r*
25×unpow-prod-down
20×add-cbrt-cube
13×distribute-lft-neg-in distribute-rgt-neg-in
10×associate-*l*
pow1 sqr-pow
div-exp prod-exp
associate-/l*
cbrt-unprod
div-inv unswap-sqr
cbrt-undiv expm1-log1p-u log1p-expm1-u add-log-exp
pow-to-exp pow-exp associate-/r*
neg-sub0 pow-neg pow-prod-down *-commutative associate-/l/ pow-sub
neg-mul-1 pow-pow frac-2neg associate-*r/ associate-*l/ clear-num
Counts
4 → 176
Calls
4 calls:
10.0ms
(* (/ (* x 1.0) (sin B)) (cos B))
83.0ms
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B)))
61.0ms
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B))
25.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series153.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(* (/ (* x 1.0) (sin B)) (cos B))
60.0ms
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B)))
51.0ms
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B))
24.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify96.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
08722179
137862019
250012005

prune2.2s

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

regimes510.0ms

Accuracy

98.2% (0.2b remaining)

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

bsearch250.0ms

Steps
ItersRangePoint
10
19876726218860.492
2.6295715500981446e+25
139199781315741.5
9
-8.970287449461733e+27
-1.2085412452189057e+23
-2.0168921937716552e+24

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06043
17043
27043

end0.0ms

sample5.5s

Algorithm
intervals
Results
2.2s1733×body1280valid
1.2s1377×body640valid
923.0ms4742×body80valid
422.0ms689×body320valid
264.0ms1678×body80nan
158.0ms365×body160valid