Details

Time bar (total: 10.0s)

sample430.0ms

Algorithm
intervals
Results
57.0ms58×body1280valid
25.0ms40×body640valid
24.0ms159×body80valid
9.0ms20×body320valid
6.0ms55×body80nan
3.0ms11×body160valid

simplify44.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04315
19114
216914
337814
4110014
5500114

prune19.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.9b

localize28.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)))))
17.0b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

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

series531.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06281028
12518940
25001937

prune608.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.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
(/ (* x 1.0) (tan B))
2.0ms
(/ F (sin B))
0.0ms
(fma (/ F (sin B)) (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)))

series522.0ms

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

prune530.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

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

series533.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(/ (* x 1.0) (tan B))
53.0ms
(* F (/ 1 (sin B)))
221.0ms
(fma (* F (/ 1 (sin B))) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (/ (* x 1.0) (tan B))))
148.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify69.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
07101020
12989910
25003890

prune548.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

localize29.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt
32×*-un-lft-identity times-frac
31×add-cube-cbrt
30×pow-unpow
23×add-exp-log
18×add-cbrt-cube
16×associate-*r*
13×distribute-lft-neg-in distribute-rgt-neg-in
10×associate-*l*
pow1
prod-exp
cbrt-unprod
expm1-log1p-u div-exp log1p-expm1-u div-inv add-log-exp unswap-sqr
cbrt-undiv unpow-prod-down
pow-prod-down *-commutative
neg-sub0 pow-to-exp pow-neg neg-mul-1 rec-exp pow-pow 1-exp associate-*r/ associate-*l/ pow-exp un-div-inv fma-udef pow-sub sqr-pow
Counts
4 → 125
Calls
4 calls:
10.0ms
(* (/ (* x 1.0) (sin B)) (cos B))
8.0ms
(* F (/ 1 (sin B)))
0.0ms
(fma (* F (/ 1 (sin B))) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* (/ (* x 1.0) (sin B)) (cos B))))
23.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series520.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(* (/ (* x 1.0) (sin B)) (cos B))
53.0ms
(* F (/ 1 (sin B)))
215.0ms
(fma (* F (/ 1 (sin B))) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* (/ (* x 1.0) (sin B)) (cos B))))
148.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify77.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
07641139
132361002
25002982

prune530.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 0.0b

regimes244.0ms

Accuracy

98.4% (0.2b remaining)

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

bsearch284.0ms

Steps
ItersRangePoint
9
873466466.9378852
81094817210814.34
261935352784.4859
8
-7.40032466583203e+30
-7.814960403485421e+27
-7.910525873650278e+27

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05240
15740
25740

end0.0ms

sample4.2s

Algorithm
intervals
Results
1.7s1706×body1280valid
901.0ms1395×body640valid
655.0ms4758×body80valid
291.0ms643×body320valid
175.0ms1641×body80nan
101.0ms346×body160valid