Details

Time bar (total: 10.8s)

sample371.0ms

Algorithm
intervals
Results
45.0ms56×body1280valid
33.0ms60×body640valid
19.0ms144×body80valid
6.0ms17×body320valid
4.0ms41×body80nan
3.0ms11×body160valid

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04215
18314
215114
335614
4106314
5500214

prune26.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: 17.9b

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

series610.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ 1.0 (tan B))
113.0ms
(* x (/ 1.0 (tan B)))
295.0ms
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))
161.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify84.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
07671428
131831338
250011337

prune626.0ms

Filtered
167 candidates to 129 candidates (77.2%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New15314167
Fresh000
Picked101
Done000
Total15414168

Merged error: 0.0b

Counts
168 → 14

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B)))
0.3b
(* x (/ 1.0 (tan B)))
0.4b
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B))
18.3b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 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:
17.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)))

series944.0ms

Counts
4 → 12
Calls
4 calls:
360.0ms
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B)))
111.0ms
(* x (/ 1.0 (tan B)))
328.0ms
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B))
145.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify97.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
08482078
137401960
250021960

prune618.0ms

Filtered
186 candidates to 143 candidates (76.9%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1815186
Fresh4913
Picked101
Done000
Total18614200

Merged error: 0.0b

Counts
200 → 14

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

rewrite46.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))
13.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))
9.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series930.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(/ (* x 1.0) (tan B))
355.0ms
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B)))
322.0ms
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B))
143.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 (18.0ms)

IterNodesCost
08012023
134981905
250011905

prune586.0ms

Filtered
175 candidates to 137 candidates (78.3%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1714175
Fresh4913
Picked011
Done000
Total17514189

Merged error: 0.0b

Counts
189 → 14

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite51.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:
6.0ms
(/ 1 (/ (tan B) (* x 1.0)))
13.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))
14.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series915.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(/ 1 (/ (tan B) (* x 1.0)))
357.0ms
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B)))
320.0ms
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B))
151.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify108.0ms

Algorithm
egg-herbie
Counts
209 → 209
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
09442306
144112151
250022112

prune582.0ms

Filtered
209 candidates to 145 candidates (69.4%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New2090209
Fresh01212
Picked011
Done011
Total20914223

Merged error: 0.0b

Counts
223 → 14

regimes226.0ms

Accuracy

98.4% (0.2b remaining)

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

bsearch287.0ms

Steps
ItersRangePoint
9
0.4751518629468822
110617.75152427118
15208.598667716566
10
-439308251786536.7
-2576.837359782024
-38775297.75075261

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04738
14738

end0.0ms

sample3.3s

Algorithm
intervals
Results
1.3s1557×body1280valid
743.0ms1394×body640valid
578.0ms4941×body80valid
262.0ms716×body320valid
139.0ms1674×body80nan
76.0ms318×body160valid