Details

Time bar (total: 10.8s)

sample428.0ms

Algorithm
intervals
Results
59.0ms48×body1280valid
44.0ms47×body640valid
30.0ms141×body80valid
13.0ms23×body320valid
8.0ms19×body160valid
7.0ms48×body80nan

simplify46.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
04315
19114
216914
337814
4110014
5500114

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.6b

localize26.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ F (sin B))
0.3b
(* x (/ 1.0 (tan B)))
6.2b
(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)))

rewrite50.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))
9.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)))))
27.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series527.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(/ F (sin B))
105.0ms
(* x (/ 1.0 (tan B)))
223.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* x (/ 1.0 (tan B)))))
152.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify72.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06661019
12629931
25001928

prune580.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ F (sin B))
0.2b
(/ (* x 1.0) (tan B))
6.2b
(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)))

rewrite34.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))
4.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)))

series510.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(/ F (sin B))
107.0ms
(/ (* x 1.0) (tan B))
215.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)))

simplify56.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0616964
12352876
25001873

prune500.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.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:
3.0ms
(/ (tan B) (* x 1.0))
6.0ms
(/ 1 (/ (tan B) (* x 1.0)))
0.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (/ 1 (/ (tan B) (* x 1.0)))))
25.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series488.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(/ (tan B) (* x 1.0))
83.0ms
(/ 1 (/ (tan B) (* x 1.0)))
215.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (/ 1 (/ (tan B) (* x 1.0)))))
141.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify75.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
07341253
131951115
250021068

prune520.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

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

series497.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06341064
12689938
25002935

prune434.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.0b

regimes223.0ms

Accuracy

98.1% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 13.7b

bsearch322.0ms

Steps
ItersRangePoint
9
181026.7805503304
1564200866895.669
91215186.09641933
8
-3.361850782781731e+33
-6.5768074190538535e+28
-1.1279187237830132e+29

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05542
15942
26442
36442

end0.0ms

sample5.2s

Algorithm
intervals
Results
2.0s1682×body1280valid
1.1s1402×body640valid
957.0ms4773×body80valid
383.0ms684×body320valid
225.0ms1574×body80nan
135.0ms341×body160valid