Details

Time bar (total: 9.9s)

sample359.0ms

Algorithm
intervals
Results
47.0ms57×body1280valid
19.0ms153×body80valid
19.0ms36×body640valid
10.0ms26×body320valid
5.0ms53×body80nan
3.0ms10×body160valid

simplify46.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04315
19114
216914
337814
4110014
5500114

prune30.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 11.6b

Counts
2 → 2

localize28.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1.0 (tan B))
0.2b
(* x (/ 1.0 (tan B)))
5.6b
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* x (/ 1.0 (tan B)))))
16.5b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

rewrite37.0ms

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

series565.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(/ 1.0 (tan B))
112.0ms
(* x (/ 1.0 (tan B)))
242.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* x (/ 1.0 (tan B)))))
175.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify69.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06421090
126051002
25001999

prune493.0ms

Filtered
151 candidates to 118 candidates (78.1%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New14011151
Fresh101
Picked101
Done000
Total14211153

Merged error: 0.0b

Counts
153 → 11

localize23.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ F (sin B))
0.1b
(/ x (/ (tan B) 1.0))
5.6b
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (/ x (/ (tan B) 1.0))))
16.5b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
102×times-frac
88×*-un-lft-identity
72×add-sqr-sqrt add-cube-cbrt
30×pow-unpow
19×associate-/r*
13×distribute-lft-neg-in distribute-rgt-neg-in
12×add-exp-log
11×add-cbrt-cube
10×associate-/r/ distribute-lft-out
unpow-prod-down associate-/l*
div-inv
pow1 associate-*l*
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
frac-2neg clear-num
tan-quot neg-sub0 pow-to-exp pow-neg neg-mul-1 pow-pow pow-exp fma-udef associate-/l/ pow-sub sqr-pow
Counts
4 → 174
Calls
4 calls:
3.0ms
(/ F (sin B))
7.0ms
(/ x (/ (tan B) 1.0))
1.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (/ x (/ (tan B) 1.0))))
16.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series544.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
08311479
134891384
250021381

prune582.0ms

Filtered
186 candidates to 146 candidates (78.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1833186
Fresh5510
Picked101
Done000
Total1898197

Merged error: 0.0b

Counts
197 → 8

localize23.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ x (/ (tan B) 1.0))
0.3b
(/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
5.6b
(fma (/ F (sin B)) (/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))) (- (/ x (/ (tan B) 1.0))))
16.4b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
165×*-un-lft-identity
132×times-frac
85×add-sqr-sqrt add-cube-cbrt
50×distribute-lft-out
45×unpow-prod-down
29×associate-/r*
26×pow-unpow
25×associate-*l*
19×add-exp-log
16×pow-flip
11×add-cbrt-cube
10×associate-/r/
div-exp associate-/l*
div-inv
pow1
sqr-pow
cbrt-undiv expm1-log1p-u pow-to-exp pow-exp log1p-expm1-u add-log-exp
rec-exp frac-2neg 1-exp clear-num
pow-pow
tan-quot fma-udef associate-/l/ inv-pow
Counts
4 → 220
Calls
4 calls:
7.0ms
(/ x (/ (tan B) 1.0))
20.0ms
(/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
1.0ms
(fma (/ F (sin B)) (/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))) (- (/ x (/ (tan B) 1.0))))
15.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

series1.2s

Counts
4 → 12
Calls
4 calls:
119.0ms
(/ x (/ (tan B) 1.0))
714.0ms
(/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
239.0ms
(fma (/ F (sin B)) (/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))) (- (/ x (/ (tan B) 1.0))))
138.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify95.0ms

Algorithm
egg-herbie
Counts
232 → 232
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
09212057
138011903
250011830

prune601.0ms

Filtered
232 candidates to 147 candidates (63.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2293232
Fresh347
Picked101
Done000
Total2337240

Merged error: 0.0b

Counts
240 → 7

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ 1.0 (sin B)) (cos B))
0.2b
(* x (* (/ 1.0 (sin B)) (cos B)))
5.6b
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* x (* (/ 1.0 (sin B)) (cos B)))))
16.5b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt
58×*-un-lft-identity
42×add-cube-cbrt
39×times-frac
34×associate-*l*
30×pow-unpow
29×associate-*r*
19×add-exp-log
18×associate-*l/ add-cbrt-cube
13×distribute-lft-neg-in distribute-rgt-neg-in
12×pow1
10×distribute-lft-out
unpow-prod-down associate-*r/ unswap-sqr
prod-exp cbrt-unprod
associate-/r* associate-/l*
expm1-log1p-u pow-prod-down log1p-expm1-u div-inv add-log-exp
*-commutative
cbrt-undiv frac-2neg div-exp clear-num
neg-sub0 pow-to-exp pow-neg neg-mul-1 pow-pow pow-exp fma-udef pow-sub sqr-pow
Counts
4 → 162
Calls
4 calls:
8.0ms
(* (/ 1.0 (sin B)) (cos B))
19.0ms
(* x (* (/ 1.0 (sin B)) (cos B)))
1.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* x (* (/ 1.0 (sin B)) (cos B)))))
16.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series545.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(* (/ 1.0 (sin B)) (cos B))
115.0ms
(* x (* (/ 1.0 (sin B)) (cos B)))
231.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* x (* (/ 1.0 (sin B)) (cos B)))))
161.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify96.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
07931383
137471251
250021248

prune516.0ms

Filtered
174 candidates to 132 candidates (75.9%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1731174
Fresh156
Picked011
Done000
Total1747181

Merged error: 0.0b

Counts
181 → 7

regimes143.0ms

Accuracy

97.8% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 13.9b

bsearch299.0ms

Steps
ItersRangePoint
9
6.0279012577515685e+54
7.154941822740013e+59
6.831721935628722e+54
10
-1556119314.230081
-0.16456746602421737
-195461829.27451754

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05542
16342
26442
36442

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.3s1579×body1280valid
736.0ms1357×body640valid
577.0ms4864×body80valid
266.0ms714×body320valid
138.0ms1606×body80nan
87.0ms349×body160valid