Details

Time bar (total: 12.7s)

analyze2.0s

Algorithm
search

sample136.0ms

Algorithm
intervals
Results
58.0ms61×body1280valid
28.0ms44×body640valid
18.0ms120×body80valid
10.0ms22×body320valid
4.0ms24×body80invalid
3.0msbody160valid
1.0msbody80nan

simplify371.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04215
18314
215114
335614
4106314
5500214

prune24.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: 12.5b

Counts
2 → 1

localize25.0ms

Local error

Found 4 expressions with local error:

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

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

series137.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(/ F (sin B))
25.0ms
(* x (/ 1.0 (tan B)))
60.0ms
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
38.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
08131472
133591381
250011380

prune378.0ms

Filtered
126 candidates to 166 candidates (-31.7%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New15115166
Fresh000
Picked101
Done000
Total15215167

Merged error: 1.0b

Counts
167 → 15

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite43.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:
10.0ms
(* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
7.0ms
(* x (/ 1.0 (tan B)))
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)))

series138.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
25.0ms
(* x (/ 1.0 (tan B)))
57.0ms
(/ (* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))) (sin B))
25.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

simplify81.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
07731382
132951264
250011264

prune298.0ms

Filtered
106 candidates to 145 candidates (-36.8%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1396145
Fresh7714
Picked101
Done000
Total14713160

Merged error: 1.0b

Counts
160 → 13

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.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:
5.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))
10.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

series139.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ (* x 1.0) (tan B))
31.0ms
(* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
61.0ms
(/ (* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))) (sin B))
23.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
07261325
130451209
250011209

prune276.0ms

Filtered
100 candidates to 134 candidates (-34.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1331134
Fresh11112
Picked101
Done000
Total13512147

Merged error: 1.0b

Counts
147 → 12

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* 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)))
14.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))))
11.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))

series207.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ (* x 1.0) (tan B))
98.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
59.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
24.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify66.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
06571115
12821993
25001993

prune181.0ms

Filtered
83 candidates to 109 candidates (-31.3%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1054109
Fresh2911
Picked101
Done000
Total10813121

Merged error: 1.0b

Counts
121 → 13

regimes324.0ms

Accuracy

97.5% (0.2b remaining)

Error of 1.3b against oracle of 1.1b and baseline of 10.7b

bsearch2.2s

Steps
ItersRangePoint
10
2.117186704174396e+144
1.6934252975112813e+157
1.337891957245222e+154
8
-7.935821232659346e+152
-1.9310925330049915e+150
-7.864509232321411e+152

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07363
17363

end0.0ms

analyze1.7s

Algorithm
search

sample3.7s

Algorithm
intervals
Results
1.5s1665×body1280valid
871.0ms1443×body640valid
552.0ms3909×body80valid
276.0ms647×body320valid
104.0ms699×body80invalid
95.0ms336×body160valid
14.0ms135×body80nan

Profiling

Loading profile data...