Details

Time bar (total: 9.7s)

sample386.0ms

Algorithm
intervals
Results
48.0ms56×body1280valid
37.0ms60×body640valid
20.0ms144×body80valid
7.0ms17×body320valid
4.0ms41×body80nan
3.0ms11×body160valid

simplify48.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: 17.9b

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.6b
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* x (/ 1.0 (tan B)))))
18.3b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

rewrite28.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)))

series520.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06281028
12518940
25001937

prune577.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.2b
(/ (* x 1.0) (tan B))
6.6b
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (/ (* x 1.0) (tan B))))
18.3b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

rewrite22.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)))

series522.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(/ F (sin B))
112.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))))
143.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify57.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0616964
12352876
25001873

prune461.0ms

Filtered
123 candidates to 100 candidates (81.3%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1203123
Fresh4812
Picked101
Done000
Total12511136

Merged error: 0.0b

Counts
136 → 11

localize29.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
102×times-frac
70×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
30×pow-unpow
18×add-exp-log
16×associate-/r*
13×distribute-lft-neg-in distribute-rgt-neg-in
11×add-cbrt-cube
div-exp div-inv
pow1 associate-/l*
cbrt-undiv expm1-log1p-u log1p-expm1-u add-log-exp
unpow-prod-down
rec-exp frac-2neg 1-exp clear-num
neg-sub0 pow-to-exp pow-neg neg-mul-1 pow-flip pow-pow pow-exp associate-/r/ fma-udef inv-pow pow-sub sqr-pow
Counts
4 → 165
Calls
4 calls:
4.0ms
(/ (sin B) F)
6.0ms
(/ 1 (/ (sin B) F))
1.0ms
(fma (/ 1 (/ (sin B) F)) (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)))

series545.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
07591427
132451281
250011206

prune543.0ms

Filtered
177 candidates to 118 candidates (66.7%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1743177
Fresh1910
Picked101
Done000
Total17612188

Merged error: 0.0b

Counts
188 → 12

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.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-*l*
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-*r* pow-exp cbrt-unprod
neg-sub0 pow-neg frac-2neg clear-num associate-/l/ pow-sub
tan-quot neg-mul-1 pow-pow pow-prod-down associate-*l/ associate-/r/ *-commutative
Counts
4 → 171
Calls
4 calls:
5.0ms
(/ (* x 1.0) (tan B))
13.0ms
(* (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B)) F)
10.0ms
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B))
10.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series924.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(/ (* x 1.0) (tan B))
353.0ms
(* (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B)) F)
318.0ms
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B))
145.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify86.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
08132075
132781938
250011923

prune615.0ms

Filtered
183 candidates to 150 candidates (82.0%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1785183
Fresh3811
Picked011
Done000
Total18114195

Merged error: 0.0b

Counts
195 → 14

regimes246.0ms

Accuracy

98.4% (0.2b remaining)

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

bsearch295.0ms

Steps
ItersRangePoint
9
0.4751518629468822
110617.75152427118
15208.598667716566
10
-439308251786536.7
-2576.837359782024
-38775297.75075261

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05341
15841
25841

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.3s1557×body1280valid
757.0ms1394×body640valid
590.0ms4941×body80valid
269.0ms716×body320valid
149.0ms1674×body80nan
83.0ms318×body160valid