Details

Time bar (total: 11.1s)

sample401.0ms

Algorithm
intervals
Results
55.0ms54×body1280valid
27.0ms43×body640valid
19.0ms145×body80valid
8.0ms18×body320valid
6.0ms60×body80nan
6.0ms20×body160valid

simplify46.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
04315
19114
216914
337814
4110014
5500114

prune25.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 15.6b

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.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:
2.0ms
(/ 1.0 (tan B))
8.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)))))
26.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series558.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ 1.0 (tan B))
113.0ms
(* x (/ 1.0 (tan B)))
239.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* x (/ 1.0 (tan B)))))
170.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 (55.0ms)

IterNodesCost
06281028
12518940
25001937

prune627.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize27.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ F (sin B))
0.2b
(/ (* x 1.0) (tan B))
7.5b
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (/ (* x 1.0) (tan B))))
19.5b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

rewrite33.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:
2.0ms
(/ F (sin B))
3.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))))
24.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series561.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(/ F (sin B))
114.0ms
(/ (* x 1.0) (tan B))
234.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (/ (* x 1.0) (tan B))))
158.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

prune554.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.2b
(/ (* x 1.0) (tan B))
0.2b
(/ 1 (/ (sin B) F))
7.5b
(fma (/ 1 (/ (sin B) F)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (/ (* x 1.0) (tan B))))
19.5b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

rewrite40.0ms

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

series647.0ms

Counts
4 → 12
Calls
4 calls:
118.0ms
(/ (* x 1.0) (tan B))
44.0ms
(/ 1 (/ (sin B) F))
338.0ms
(fma (/ 1 (/ (sin B) F)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (/ (* x 1.0) (tan B))))
147.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify80.0ms

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
08341412
136671255
250011180

prune626.0ms

Pruning

17 alts after pruning (16 fresh and 1 done)

Merged error: 0.0b

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

rewrite174.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:
3.0ms
(/ (* x 1.0) (tan B))
81.0ms
(* (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B)) F)
57.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)))

series974.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(/ (* x 1.0) (tan B))
375.0ms
(* (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B)) F)
333.0ms
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B))
152.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify85.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
08132075
132781938
250011923

prune759.0ms

Pruning

17 alts after pruning (16 fresh and 1 done)

Merged error: 0.0b

regimes283.0ms

Accuracy

98% (0.2b remaining)

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

bsearch303.0ms

Steps
ItersRangePoint
8
1.1869091461394837e+17
3.2776641214484966e+21
1.207655227523249e+17
10
-5.859488541571494e+25
-1134389816868286.8
-2.8291822881982238e+20

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05141
15641
25641

end0.0ms

sample4.1s

Algorithm
intervals
Results
1.6s1638×body1280valid
938.0ms1487×body640valid
633.0ms4687×body80valid
313.0ms703×body320valid
169.0ms1630×body80nan
106.0ms365×body160valid