Details

Time bar (total: 10.5s)

sample376.0ms

Algorithm
intervals
Results
47.0ms57×body1280valid
21.0ms39×body640valid
19.0ms155×body80valid
11.0ms25×body320valid
3.0ms32×body80nan
3.0ms12×body160valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.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.2b

Counts
2 → 2

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.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
expm1-log1p-u pow-neg cbrt-unprod log1p-expm1-u 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 → 162
Calls
4 calls:
4.0ms
(/ F (sin B))
8.0ms
(* x (/ 1.0 (tan B)))
14.0ms
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))
13.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series605.0ms

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

simplify91.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
07801466
132621352
250011349

prune753.0ms

Filtered
174 candidates to 136 candidates (78.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New16311174
Fresh101
Picked101
Done000
Total16511176

Merged error: 0.0b

Counts
176 → 11

localize23.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.3b
(* x (/ 1.0 (tan B)))
0.3b
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
15.8b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

rewrite44.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
expm1-log1p-u cbrt-unprod log1p-expm1-u 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 → 116
Calls
4 calls:
11.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
8.0ms
(* x (/ 1.0 (tan B)))
12.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
10.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

series813.0ms

Counts
4 → 12
Calls
4 calls:
308.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
111.0ms
(* x (/ 1.0 (tan B)))
256.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
138.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify82.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
06711143
129191016
250011009

prune519.0ms

Filtered
128 candidates to 97 candidates (75.8%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1217128
Fresh5510
Picked101
Done000
Total12712139

Merged error: 0.0b

Counts
139 → 12

localize22.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.3b
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
15.8b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

rewrite40.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 expm1-log1p-u associate-/r* log1p-expm1-u 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 → 105
Calls
4 calls:
5.0ms
(/ (* x 1.0) (tan B))
11.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
12.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))

series794.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(/ (* x 1.0) (tan B))
303.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
245.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
138.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify70.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06251088
12653961
25001954

prune499.0ms

Filtered
117 candidates to 92 candidates (78.6%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1116117
Fresh6511
Picked101
Done000
Total11811129

Merged error: 0.0b

Counts
129 → 11

localize24.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (sin B))
0.2b
(/ F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
0.2b
(* (/ 1 (sin B)) (/ F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
15.8b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
91×add-sqr-sqrt
86×times-frac
61×*-un-lft-identity
58×add-exp-log
57×add-cube-cbrt
27×unpow-prod-down
25×div-exp associate-*r*
20×add-cbrt-cube
16×prod-exp
13×pow-unpow associate-*l*
12×unswap-sqr
11×sqr-pow
10×associate-/r*
pow1
cbrt-undiv pow-to-exp pow-exp associate-/l*
rec-exp 1-exp div-inv
expm1-log1p-u cbrt-unprod log1p-expm1-u add-log-exp
frac-2neg clear-num
frac-times pow-flip pow-pow associate-*r/ pow-prod-down associate-*l/ *-commutative inv-pow
Counts
4 → 193
Calls
4 calls:
4.0ms
(/ 1 (sin B))
10.0ms
(/ F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
26.0ms
(* (/ 1 (sin B)) (/ F (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))

series756.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(/ 1 (sin B))
242.0ms
(/ F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
363.0ms
(* (/ 1 (sin B)) (/ F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
138.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify113.0ms

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
08402264
140112071
250032040

prune732.0ms

Filtered
205 candidates to 142 candidates (69.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2041205
Fresh2810
Picked011
Done000
Total20610216

Merged error: 0.0b

Counts
216 → 10

regimes186.0ms

Accuracy

97.9% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 11.1b

bsearch231.0ms

Steps
ItersRangePoint
7
7152780495357.076
555429331548894.9
4.6470856544956e+14
8
-4.1199642023057757e+158
-1.3231775687772873e+155
-1.3475670115121101e+155

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05841
16641
26641

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.4s1652×body1280valid
747.0ms1367×body640valid
573.0ms4790×body80valid
264.0ms711×body320valid
142.0ms1586×body80nan
97.0ms372×body160valid