Details

Time bar (total: 7.8s)

sample331.0ms

Algorithm
intervals
Results
206.0ms152×body80valid
49.0ms52×body1280valid
34.0ms57×body640valid
10.0ms23×body320valid
5.0ms49×body80nan
2.0msbody160valid

simplify43.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04215
18314
215114
335614
4106314
5500214

prune14.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.8b

Counts
2 → 1

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite51.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
tan-quot frac-times associate-/r/ *-commutative
neg-mul-1 pow-pow frac-2neg pow-prod-down associate-*l/ clear-num un-div-inv
Counts
4 → 155
Calls
4 calls:
4.0ms
(/ 1.0 (tan 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))))
20.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

series136.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
08171480
133361390
250011389

prune385.0ms

Filtered
128 candidates to 167 candidates (-30.5%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New15413167
Fresh000
Picked101
Done000
Total15513168

Merged error: 1.0b

Counts
168 → 13

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))) (sin B)))
0.2b
(* x (/ 1.0 (tan B)))
0.3b
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))) (sin B))
17.1b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

rewrite50.0ms

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

series160.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))) (sin B)))
24.0ms
(* x (/ 1.0 (tan B)))
54.0ms
(/ (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)))

simplify97.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
08922150
138302033
250012033

prune442.0ms

Filtered
142 candidates to 186 candidates (-31.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1824186
Fresh4812
Picked101
Done000
Total18712199

Merged error: 1.0b

Counts
199 → 12

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
66×times-frac
63×add-sqr-sqrt
53×add-cube-cbrt *-un-lft-identity
30×pow-unpow
25×add-exp-log unpow-prod-down associate-*r*
16×add-cbrt-cube
13×distribute-lft-neg-in distribute-rgt-neg-in
sqr-pow
div-exp associate-/l*
pow1
associate-/r*
prod-exp div-inv
cbrt-undiv add-log-exp unswap-sqr
pow-to-exp associate-*l* pow-exp cbrt-unprod
neg-sub0 pow-neg frac-2neg clear-num associate-/l/ pow-sub
tan-quot neg-mul-1 pow-pow associate-*r/ pow-prod-down associate-/r/ *-commutative
Counts
4 → 163
Calls
4 calls:
5.0ms
(/ (* x 1.0) (tan B))
16.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))) (sin B))
10.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

series155.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ (* x 1.0) (tan B))
59.0ms
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))) (sin B)))
50.0ms
(/ (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)))

simplify91.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
08452095
135891978
250021978

prune413.0ms

Filtered
136 candidates to 175 candidates (-28.7%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1732175
Fresh2911
Picked101
Done000
Total17611187

Merged error: 1.0b

Counts
187 → 11

localize26.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))) (sin B)))
0.3b
(/ 1 (/ (tan B) (* x 1.0)))
0.3b
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))) (sin B))
17.1b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
96×times-frac
77×add-sqr-sqrt
67×add-cube-cbrt *-un-lft-identity
41×add-exp-log
30×pow-unpow
25×unpow-prod-down associate-*r*
20×add-cbrt-cube
18×div-exp
13×distribute-lft-neg-in distribute-rgt-neg-in
10×associate-/r* associate-/l*
div-inv sqr-pow
pow1
cbrt-undiv prod-exp
add-log-exp unswap-sqr
pow-to-exp rec-exp 1-exp associate-*l* pow-exp cbrt-unprod
neg-sub0 pow-neg frac-2neg clear-num associate-/l/ pow-sub
neg-mul-1 pow-flip pow-pow associate-*r/ pow-prod-down associate-/r/ *-commutative inv-pow
Counts
4 → 197
Calls
4 calls:
14.0ms
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))) (sin B)))
6.0ms
(/ 1 (/ (tan B) (* x 1.0)))
10.0ms
(/ (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)))

series154.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))) (sin B)))
19.0ms
(/ 1 (/ (tan B) (* x 1.0)))
53.0ms
(/ (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)))

simplify105.0ms

Algorithm
egg-herbie
Counts
209 → 209
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
09872376
144892222
250012183

prune396.0ms

Filtered
143 candidates to 209 candidates (-46.2%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2090209
Fresh01010
Picked011
Done000
Total20911220

Merged error: 1.0b

Counts
220 → 11

regimes298.0ms

Accuracy

95.6% (0.4b remaining)

Error of 1.5b against oracle of 1.1b and baseline of 10.6b

bsearch157.0ms

Steps
ItersRangePoint
8
8.814840369262004e+132
3.631543391359148e+136
3.5769895011461384e+136
8
-8.223900071640638e+161
-7.327808308686989e+158
-7.414991998393748e+158

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07866
17866

end0.0ms

sample4.0s

Algorithm
intervals
Results
1.5s1677×body1280valid
891.0ms1475×body640valid
635.0ms4691×body80valid
282.0ms676×body320valid
162.0ms1660×body80nan
98.0ms341×body160valid

Profiling

Loading profile data...