Details

Time bar (total: 9.3s)

sample375.0ms

Algorithm
intervals
Results
49.0ms55×body1280valid
22.0ms38×body640valid
21.0ms139×body80valid
9.0ms22×body320valid
5.0ms18×body160valid
4.0ms43×body80nan

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04315
19114
216914
337814
4110014
5500114

prune29.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.5b

Counts
2 → 2

localize26.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1.0 (tan B))
0.2b
(* x (/ 1.0 (tan B)))
5.7b
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* x (/ 1.0 (tan B)))))
17.6b
(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)))

series540.0ms

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

prune576.0ms

Filtered
135 candidates to 112 candidates (83.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New12312135
Fresh101
Picked101
Done000
Total12512137

Merged error: 0.0b

Counts
137 → 12

localize23.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ F (sin B))
0.2b
(/ (* x 1.0) (tan B))
5.7b
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (/ (* x 1.0) (tan B))))
17.6b
(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)))

series528.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0616964
12352876
25001873

prune477.0ms

Filtered
123 candidates to 100 candidates (81.3%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1194123
Fresh4711
Picked101
Done000
Total12411135

Merged error: 0.0b

Counts
135 → 11

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.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:
5.0ms
(/ (* x 1.0) (tan B))
8.0ms
(* F (/ 1 (sin B)))
1.0ms
(fma (* F (/ 1 (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)))

series514.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(/ (* x 1.0) (tan B))
46.0ms
(* F (/ 1 (sin B)))
220.0ms
(fma (* F (/ 1 (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)))

simplify70.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
07101020
12989910
25003890

prune467.0ms

Filtered
132 candidates to 103 candidates (78.0%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1320132
Fresh01010
Picked011
Done000
Total13211143

Merged error: 0.0b

Counts
143 → 11

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.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:
5.0ms
(/ (* x 1.0) (tan B))
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)))

series604.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(/ (* x 1.0) (tan B))
41.0ms
(/ 1 (/ (sin B) F))
314.0ms
(fma (/ 1 (/ (sin B) F)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (/ (* x 1.0) (tan B))))
138.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

prune487.0ms

Filtered
172 candidates to 113 candidates (65.7%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1693172
Fresh279
Picked101
Done011
Total17211183

Merged error: 0.0b

Counts
183 → 11

regimes185.0ms

Accuracy

97.2% (0.3b remaining)

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

bsearch276.0ms

Steps
ItersRangePoint
10
255.34126550931038
3002406562115.273
510104655.9351056
7
-3.5424501143714747e+70
-3.8889969902603776e+68
-4.052779556219714e+68

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05341
15841
25841

end0.0ms

sample3.7s

Algorithm
intervals
Results
1.5s1713×body1280valid
787.0ms1368×body640valid
623.0ms4676×body80valid
280.0ms697×body320valid
164.0ms1652×body80nan
101.0ms354×body160valid