Details

Time bar (total: 8.7s)

sample365.0ms

Algorithm
intervals
Results
33.0ms38×body1280valid
24.0ms40×body640valid
20.0ms164×body80valid
10.0ms25×body320valid
6.0ms58×body80nan
4.0ms15×body160valid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04315
19114
216914
337814
4110014
5500114

prune25.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 14.3b

Counts
2 → 1

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.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*
tan-quot cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod unswap-sqr
neg-sub0 pow-to-exp pow-neg neg-mul-1 pow-pow frac-2neg associate-*r/ pow-prod-down pow-exp clear-num *-commutative fma-udef pow-sub sqr-pow
Counts
4 → 123
Calls
4 calls:
4.0ms
(/ 1.0 (tan B))
7.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)))))
12.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series519.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ 1.0 (tan B))
106.0ms
(* x (/ 1.0 (tan B)))
220.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* x (/ 1.0 (tan B)))))
156.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify68.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06281028
12518940
25001937

prune572.0ms

Filtered
135 candidates to 112 candidates (83.0%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New12213135
Fresh000
Picked101
Done000
Total12313136

Merged error: 0.0b

Counts
136 → 13

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.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
tan-quot neg-sub0 pow-to-exp pow-neg neg-mul-1 pow-pow pow-exp prod-exp associate-/r/ cbrt-unprod fma-udef pow-sub sqr-pow
Counts
4 → 111
Calls
4 calls:
3.0ms
(/ F (sin B))
5.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))))
10.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series508.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(/ F (sin B))
104.0ms
(/ (* x 1.0) (tan B))
212.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (/ (* x 1.0) (tan B))))
141.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify58.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0616964
12352876
25001873

prune456.0ms

Filtered
123 candidates to 99 candidates (80.5%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1203123
Fresh5712
Picked101
Done000
Total12610136

Merged error: 0.0b

Counts
136 → 10

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.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:
4.0ms
(/ F (sin B))
5.0ms
(/ (* x (cos B)) (sin B))
1.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* 1.0 (/ (* x (cos B)) (sin B)))))
10.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series493.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(/ F (sin B))
95.0ms
(/ (* x (cos B)) (sin B))
212.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* 1.0 (/ (* x (cos B)) (sin B)))))
140.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify57.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
06001011
12303913
25001910

prune446.0ms

Filtered
122 candidates to 98 candidates (80.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1220122
Fresh099
Picked011
Done000
Total12210132

Merged error: 0.0b

Counts
132 → 10

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

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

series479.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(/ (tan B) (* x 1.0))
82.0ms
(/ 1 (/ (tan B) (* x 1.0)))
213.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (/ 1 (/ (tan B) (* x 1.0)))))
136.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify74.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
07341253
131951115
250021068

prune435.0ms

Filtered
152 candidates to 103 candidates (67.8%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1511152
Fresh178
Picked011
Done011
Total15210162

Merged error: 0.0b

Counts
162 → 10

regimes173.0ms

Accuracy

98.5% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 14.1b

bsearch300.0ms

Steps
ItersRangePoint
10
860.9547529914067
6244423733497697.0
141103877.76016736
9
-2.300964657700246e+24
-4.351120538970112e+16
-4.1641400348628416e+17

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05142
15542
26142
36142

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.3s1579×body1280valid
726.0ms1358×body640valid
580.0ms4885×body80valid
259.0ms692×body320valid
146.0ms1684×body80nan
84.0ms337×body160valid