Details

Time bar (total: 12.7s)

sample435.0ms

Algorithm
intervals
Results
50.0ms53×body1280valid
43.0ms43×body640valid
20.0ms147×body80valid
8.0ms22×body320valid
6.0ms57×body80nan
2.0msbody160valid

simplify44.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04215
18314
215114
335614
4106314
5500214

prune16.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 16.1b

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)))
10.0b
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
18.0b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

rewrite52.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))
15.0ms
(* x (/ 1.0 (tan B)))
14.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)))

series707.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(/ F (sin B))
127.0ms
(* x (/ 1.0 (tan B)))
335.0ms
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
187.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

simplify83.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
07651416
132061325
250021324

prune1.4s

Filtered
166 candidates to 126 candidates (24.1%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New15511166
Fresh000
Picked101
Done000
Total15611167

Merged error: 0.0b

Counts
167 → 11

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.0ms

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

series902.0ms

Counts
4 → 12
Calls
4 calls:
339.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
279.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
127.0ms
(* x (/ 1.0 (tan B)))
157.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify70.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
06541088
12850976
25002976

prune875.0ms

Filtered
120 candidates to 89 candidates (25.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1173120
Fresh3710
Picked101
Done000
Total12110131

Merged error: 0.0b

Counts
131 → 10

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* x 1.0) (tan B))
0.2b
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
0.2b
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
17.9b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

rewrite37.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))

series895.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(/ (* x 1.0) (tan B))
335.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
274.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
159.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify63.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
06081033
12584921
25001921

prune779.0ms

Filtered
109 candidates to 83 candidates (23.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1063109
Fresh369
Picked011
Done000
Total10910119

Merged error: 0.0b

Counts
119 → 10

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
0.2b
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
0.2b
(/ 1 (/ (tan B) (* x 1.0)))
17.9b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
45×times-frac
41×add-exp-log
38×add-sqr-sqrt
33×add-cube-cbrt *-un-lft-identity
20×add-cbrt-cube
16×div-exp
13×pow-unpow
prod-exp
associate-/r*
cbrt-undiv unpow-prod-down associate-*r* div-inv
pow1 associate-/l*
add-log-exp
pow-to-exp rec-exp 1-exp associate-*l* pow-exp cbrt-unprod unswap-sqr sqr-pow
frac-2neg clear-num
pow-flip pow-pow associate-/r/ *-commutative inv-pow
Counts
4 → 131
Calls
4 calls:
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)))
6.0ms
(/ 1 (/ (tan B) (* x 1.0)))
9.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

series888.0ms

Counts
4 → 12
Calls
4 calls:
341.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
291.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
99.0ms
(/ 1 (/ (tan B) (* x 1.0)))
157.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify84.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
07511314
135401165
250011123

prune819.0ms

Filtered
143 candidates to 90 candidates (37.1%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1430143
Fresh088
Picked011
Done011
Total14310153

Merged error: 0.0b

Counts
153 → 10

regimes292.0ms

Accuracy

98.1% (0.2b remaining)

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

bsearch331.0ms

Steps
ItersRangePoint
10
0.9384348231062936
33170394800044652.0
2319067.797285432
10
-1.2645669692701147e+43
-3.8540856134832136e+24
-4.072046758789957e+24

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05839
15839

end0.0ms

sample3.8s

Algorithm
intervals
Results
1.4s1645×body1280valid
800.0ms1404×body640valid
606.0ms4745×body80valid
291.0ms733×body320valid
151.0ms1588×body80nan
91.0ms338×body160valid

Profiling

Loading profile data...