Details

Time bar (total: 10.1s)

sample438.0ms

Algorithm
intervals
Results
66.0ms52×body1280valid
30.0ms50×body640valid
21.0ms153×body80valid
12.0ms29×body320valid
6.0ms57×body80nan
5.0msbody160valid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04215
18314
215114
335614
4106314
5500214

prune11.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: 14.3b

Counts
2 → 1

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ F (sin B))
0.3b
(* x (/ 1.0 (tan B)))
5.7b
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
17.4b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
63×add-sqr-sqrt
49×times-frac
45×add-cube-cbrt *-un-lft-identity
30×pow-unpow
25×add-exp-log
21×associate-*r*
16×associate-*l* add-cbrt-cube
13×distribute-lft-neg-in distribute-rgt-neg-in
unpow-prod-down prod-exp unswap-sqr
pow1
div-exp div-inv
pow-neg cbrt-unprod add-log-exp sqr-pow
cbrt-undiv neg-sub0 pow-to-exp associate-*r/ pow-exp associate-/r* associate-/l* pow-sub
frac-times *-commutative
tan-quot neg-mul-1 pow-pow frac-2neg pow-prod-down associate-*l/ clear-num associate-/r/ un-div-inv
Counts
4 → 154
Calls
4 calls:
3.0ms
(/ F (sin B))
7.0ms
(* x (/ 1.0 (tan B)))
21.0ms
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
12.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

series610.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(/ F (sin B))
111.0ms
(* x (/ 1.0 (tan B)))
295.0ms
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
156.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

simplify91.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
07651416
132061325
250021324

prune582.0ms

Filtered
166 candidates to 126 candidates (75.9%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New15115166
Fresh000
Picked101
Done000
Total15215167

Merged error: 0.0b

Counts
167 → 15

localize23.0ms

Local error

Found 4 expressions with local error:

0.3b
(* x (/ 1.0 (tan B)))
0.3b
(* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
0.6b
(/ (* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))) (sin B))
17.4b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt
33×add-cube-cbrt *-un-lft-identity
31×times-frac
30×pow-unpow
25×add-exp-log
21×associate-*r*
16×add-cbrt-cube
13×distribute-lft-neg-in distribute-rgt-neg-in
prod-exp
pow1 unpow-prod-down
associate-*l*
pow-neg associate-*r/ div-exp unswap-sqr
cbrt-unprod div-inv add-log-exp
cbrt-undiv neg-sub0 pow-to-exp pow-exp associate-/r* associate-/l/ pow-sub sqr-pow
un-div-inv *-commutative
tan-quot neg-mul-1 pow-pow frac-2neg pow-prod-down clear-num associate-/r/ associate-/l*
Counts
4 → 133
Calls
4 calls:
7.0ms
(* x (/ 1.0 (tan B)))
13.0ms
(* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
11.0ms
(/ (* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))) (sin B))
10.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

series809.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(* x (/ 1.0 (tan B)))
208.0ms
(* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
347.0ms
(/ (* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))) (sin B))
144.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

simplify84.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
07211298
131361178
250011178

prune454.0ms

Filtered
145 candidates to 108 candidates (74.5%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1387145
Fresh7714
Picked101
Done000
Total14614160

Merged error: 0.0b

Counts
160 → 14

localize26.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* x 1.0) (tan B))
0.3b
(* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
0.6b
(/ (* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))) (sin B))
17.4b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
30×pow-unpow
27×add-cube-cbrt *-un-lft-identity
25×add-exp-log
24×times-frac
16×add-cbrt-cube
13×distribute-lft-neg-in distribute-rgt-neg-in
unpow-prod-down associate-*r* prod-exp
div-exp associate-/r*
pow1 pow-neg
cbrt-undiv associate-*r/ div-inv add-log-exp
neg-sub0 pow-to-exp associate-*l* pow-exp cbrt-unprod associate-/l/ pow-sub unswap-sqr sqr-pow
frac-2neg clear-num un-div-inv associate-/l*
tan-quot neg-mul-1 pow-pow associate-/r/ *-commutative
Counts
4 → 122
Calls
4 calls:
4.0ms
(/ (* x 1.0) (tan B))
10.0ms
(* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
11.0ms
(/ (* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))) (sin B))
9.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

series806.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(/ (* x 1.0) (tan B))
206.0ms
(* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
346.0ms
(/ (* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))) (sin B))
146.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

simplify73.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
06741243
128911123
250021123

prune420.0ms

Filtered
134 candidates to 101 candidates (75.4%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1304134
Fresh5813
Picked101
Done000
Total13612148

Merged error: 0.0b

Counts
148 → 12

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* x 1.0) (tan B))
0.3b
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
0.3b
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
17.4b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log
24×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity
16×add-cbrt-cube
15×times-frac
13×pow-unpow
unpow-prod-down associate-*r* prod-exp
div-exp
pow1
cbrt-undiv associate-/r* associate-/l* add-log-exp
pow-to-exp associate-*l* pow-exp cbrt-unprod div-inv unswap-sqr sqr-pow
frac-2neg clear-num
tan-quot pow-pow associate-/r/ *-commutative
Counts
4 → 97
Calls
4 calls:
5.0ms
(/ (* x 1.0) (tan B))
10.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
10.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
9.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

series783.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(/ (* x 1.0) (tan B))
297.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
248.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
131.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify71.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
06081033
12584921
25001921

prune309.0ms

Filtered
109 candidates to 83 candidates (76.1%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1081109
Fresh11011
Picked101
Done000
Total11011121

Merged error: 0.0b

Counts
121 → 11

regimes177.0ms

Accuracy

98.1% (0.2b remaining)

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

bsearch323.0ms

Steps
ItersRangePoint
10
4.41326808055529
1.1947926814984866e+17
23539.691591104813
10
-4.045893515159076e+21
-63661563329.20501
-66669777482.95108

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05536
15536

end0.0ms

sample3.8s

Algorithm
intervals
Results
1.5s1698×body1280valid
801.0ms1390×body640valid
631.0ms4802×body80valid
280.0ms693×body320valid
160.0ms1633×body80nan
96.0ms357×body160valid

Profiling

Loading profile data...