Details

Time bar (total: 10.8s)

sample417.0ms

Algorithm
intervals
Results
51.0ms52×body1280valid
34.0ms57×body640valid
18.0ms136×body80valid
7.0ms17×body320valid
6.0ms60×body80nan
4.0ms14×body160valid

simplify46.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04215
18314
215114
335614
4106314
5500214

prune25.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: 12.2b

Counts
2 → 1

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1.0 (tan B))
0.3b
(* x (/ 1.0 (tan B)))
5.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)))

rewrite43.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)))
13.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)))

series588.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ 1.0 (tan B))
108.0ms
(* x (/ 1.0 (tan B)))
283.0ms
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))
157.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify85.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
07671428
131831338
250011337

prune614.0ms

Filtered
167 candidates to 129 candidates (77.2%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New15512167
Fresh000
Picked101
Done000
Total15612168

Merged error: 0.0b

Counts
168 → 12

localize22.0ms

Local error

Found 4 expressions with local error:

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

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

series918.0ms

Counts
4 → 12
Calls
4 calls:
345.0ms
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B)))
107.0ms
(* x (/ 1.0 (tan B)))
319.0ms
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B))
146.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify98.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
08482078
137401960
250021960

prune619.0ms

Filtered
186 candidates to 143 candidates (76.9%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1824186
Fresh2911
Picked101
Done000
Total18513198

Merged error: 0.0b

Counts
198 → 13

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

rewrite44.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))
14.0ms
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B)))
10.0ms
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B))
10.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series908.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(/ (* x 1.0) (tan B))
349.0ms
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B)))
308.0ms
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B))
144.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify89.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
08012023
134981905
250011905

prune573.0ms

Filtered
175 candidates to 137 candidates (78.3%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1741175
Fresh11112
Picked011
Done000
Total17513188

Merged error: 0.0b

Counts
188 → 13

localize27.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (sin B))
0.6b
(cbrt (sin B))
2.0b
(* (/ F (cbrt (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)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt
42×times-frac
37×add-cube-cbrt *-un-lft-identity
30×pow-unpow
22×associate-*l*
18×add-exp-log cbrt-prod
13×distribute-lft-neg-in distribute-rgt-neg-in
unpow-prod-down unswap-sqr
add-cbrt-cube
associate-*r*
prod-exp
pow1 sqr-pow
pow-neg add-log-exp
neg-sub0 pow-to-exp div-exp pow-exp div-inv pow-sub
frac-times pow1/3 associate-*r/ cbrt-unprod
cbrt-undiv neg-mul-1 pow-pow associate-*l/ un-div-inv *-commutative
Counts
4 → 128
Calls
4 calls:
1.0ms
(cbrt (sin B))
1.0ms
(cbrt (sin B))
15.0ms
(* (/ F (cbrt (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)))

series669.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(cbrt (sin B))
96.0ms
(cbrt (sin B))
332.0ms
(* (/ F (cbrt (sin B))) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))
145.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify68.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
06241474
124131403
250021397

prune524.0ms

Filtered
140 candidates to 111 candidates (79.3%)
Pruning

15 alts after pruning (13 fresh and 2 done)

PrunedKeptTotal
New1382140
Fresh01111
Picked011
Done011
Total13815153

Merged error: 0.0b

Counts
153 → 15

regimes232.0ms

Accuracy

98.2% (0.2b remaining)

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

bsearch220.0ms

Steps
ItersRangePoint
10
6.491467194793197
7.078709865940676e+17
32400.864413953364
4
-1.929681383165994e+62
-1.154396333790115e+62
-1.2270793071691038e+62

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05038
15038

end0.0ms

sample3.8s

Algorithm
intervals
Results
1.5s1729×body1280valid
796.0ms1362×body640valid
632.0ms4748×body80valid
278.0ms665×body320valid
156.0ms1655×body80nan
98.0ms360×body160valid