Details

Time bar (total: 11.9s)

sample439.0ms

Algorithm
intervals
Results
60.0ms51×body1280valid
48.0ms52×body640valid
30.0ms144×body80valid
10.0ms18×body320valid
6.0ms45×body80nan
5.0ms13×body160valid

simplify44.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04315
19114
216914
337814
4110014
5500114

prune13.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 13.9b

localize26.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ F (sin B))
0.3b
(* x (/ 1.0 (tan B)))
5.1b
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* x (/ 1.0 (tan B)))))
18.0b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
37×times-frac
36×add-cube-cbrt *-un-lft-identity
30×pow-unpow
14×associate-*r*
13×distribute-lft-neg-in distribute-rgt-neg-in
12×add-exp-log
11×add-cbrt-cube
pow1
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
unpow-prod-down associate-*l* associate-/r* associate-/l*
cbrt-undiv div-exp prod-exp cbrt-unprod unswap-sqr
tan-quot neg-sub0 pow-to-exp pow-neg neg-mul-1 pow-pow frac-2neg associate-*r/ pow-prod-down pow-exp clear-num associate-/r/ *-commutative fma-udef pow-sub sqr-pow
Counts
4 → 122
Calls
4 calls:
2.0ms
(/ F (sin B))
15.0ms
(* x (/ 1.0 (tan B)))
0.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* x (/ 1.0 (tan B)))))
25.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series558.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(/ F (sin B))
110.0ms
(* x (/ 1.0 (tan B)))
232.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* x (/ 1.0 (tan B)))))
160.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify66.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06661019
12629931
25001928

prune620.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ F (sin B))
0.2b
(/ (* x (cos B)) (sin B))
5.1b
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* 1.0 (/ (* x (cos B)) (sin B)))))
18.0b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt add-cube-cbrt pow-unpow *-un-lft-identity times-frac
13×distribute-lft-neg-in distribute-rgt-neg-in
12×add-exp-log
11×add-cbrt-cube
associate-/r*
pow1
expm1-log1p-u log1p-expm1-u div-inv associate-/l* add-log-exp
cbrt-undiv unpow-prod-down div-exp
frac-2neg clear-num
neg-sub0 pow-to-exp pow-neg neg-mul-1 pow-pow pow-exp prod-exp cbrt-unprod fma-udef pow-sub sqr-pow
Counts
4 → 110
Calls
4 calls:
2.0ms
(/ F (sin B))
4.0ms
(/ (* x (cos B)) (sin B))
0.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* 1.0 (/ (* x (cos B)) (sin B)))))
23.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series532.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(/ F (sin B))
100.0ms
(/ (* x (cos B)) (sin B))
224.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* 1.0 (/ (* x (cos B)) (sin B)))))
153.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify56.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
06001011
12303913
25001910

prune551.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (sin B) F))
0.3b
(* x (/ 1.0 (tan B)))
5.1b
(fma (/ 1 (/ (sin B) F)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* x (/ 1.0 (tan B)))))
18.0b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
103×times-frac
75×add-sqr-sqrt
70×add-cube-cbrt *-un-lft-identity
30×pow-unpow
21×add-exp-log
14×associate-*r* add-cbrt-cube
13×distribute-lft-neg-in distribute-rgt-neg-in associate-/r*
pow1 div-exp div-inv
cbrt-undiv expm1-log1p-u log1p-expm1-u add-log-exp
unpow-prod-down associate-*l* associate-/l*
rec-exp 1-exp prod-exp associate-/r/ cbrt-unprod unswap-sqr
tan-quot neg-sub0 pow-to-exp pow-neg neg-mul-1 pow-flip pow-pow frac-2neg associate-*r/ pow-prod-down pow-exp clear-num *-commutative fma-udef inv-pow pow-sub sqr-pow
Counts
4 → 171
Calls
4 calls:
5.0ms
(/ 1 (/ (sin B) F))
8.0ms
(* x (/ 1.0 (tan B)))
0.0ms
(fma (/ 1 (/ (sin B) F)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* x (/ 1.0 (tan B)))))
23.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series662.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(/ 1 (/ (sin B) F))
113.0ms
(* x (/ 1.0 (tan B)))
347.0ms
(fma (/ 1 (/ (sin B) F)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* x (/ 1.0 (tan B)))))
153.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify84.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
08841467
139351310
250011235

prune643.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite176.0ms

Algorithm
rewrite-expression-head
Rules
74×add-sqr-sqrt
73×times-frac
59×add-cube-cbrt *-un-lft-identity
30×pow-unpow
28×associate-*l*
25×add-exp-log unpow-prod-down
17×associate-*r*
16×add-cbrt-cube
13×distribute-lft-neg-in distribute-rgt-neg-in
pow1 sqr-pow
div-exp 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 pow-prod-down *-commutative associate-/l/ pow-sub
tan-quot neg-mul-1 pow-pow frac-2neg associate-*r/ associate-*l/ clear-num associate-/r/
Counts
4 → 182
Calls
4 calls:
80.0ms
(* (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B)) F)
8.0ms
(* x (/ 1.0 (tan B)))
58.0ms
(/ (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)))

series967.0ms

Counts
4 → 12
Calls
4 calls:
369.0ms
(* (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B)) F)
112.0ms
(* x (/ 1.0 (tan B)))
331.0ms
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B))
154.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify94.0ms

Algorithm
egg-herbie
Counts
194 → 194
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
08602130
135261993
250011979

prune765.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

regimes184.0ms

Accuracy

88.9% (1.2b remaining)

Error of 1.2b against oracle of 0.1b and baseline of 10.7b

bsearch186.0ms

Steps
ItersRangePoint
6
3.0649639386435413e-28
3.8002876174314565e-27
3.7079357237850274e-27
3
-4.016526982298196e+69
-2.8842780556144676e+69
-3.3620779431201207e+69

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06046
16446
26446

end0.0ms

sample5.1s

Algorithm
intervals
Results
2.0s1751×body1280valid
1.1s1401×body640valid
910.0ms4729×body80valid
360.0ms645×body320valid
216.0ms1530×body80nan
128.0ms340×body160valid