Details

Time bar (total: 10.7s)

sample370.0ms

Algorithm
intervals
Results
50.0ms57×body1280valid
24.0ms41×body640valid
20.0ms149×body80valid
10.0ms26×body320valid
5.0ms55×body80nan
3.0ms11×body160valid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04215
18314
215114
335614
4106314
5500214

prune28.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: 13.7b

Counts
2 → 1

localize26.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (+ (* F F) 2.0) (* 2.0 x))
0.2b
(* x (/ 1.0 (tan B)))
6.0b
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))
20.9b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt
40×times-frac
37×add-cube-cbrt *-un-lft-identity
30×pow-unpow
23×add-exp-log
21×associate-*r*
16×associate-*l*
14×add-cbrt-cube
13×distribute-lft-neg-in distribute-rgt-neg-in
add-log-exp
unpow-prod-down prod-exp unswap-sqr
pow1
pow-neg div-exp cbrt-unprod div-inv sqr-pow
neg-sub0 pow-to-exp associate-*r/ pow-exp sum-log pow-sub
cbrt-undiv frac-times *-commutative
tan-quot +-commutative neg-mul-1 associate-+l+ pow-pow flip3-+ pow-prod-down associate-*l/ associate-/r/ un-div-inv flip-+
Counts
4 → 140
Calls
4 calls:
6.0ms
(+ (+ (* F F) 2.0) (* 2.0 x))
7.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)))

series643.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ (+ (* F F) 2.0) (* 2.0 x))
121.0ms
(* x (/ 1.0 (tan B)))
317.0ms
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))
176.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify91.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
08131382
134951293
250011292

prune598.0ms

Filtered
152 candidates to 115 candidates (75.7%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New13913152
Fresh000
Picked101
Done000
Total14013153

Merged error: 0.0b

Counts
153 → 13

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

rewrite48.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:
7.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)))

series1.0s

Counts
4 → 12
Calls
4 calls:
117.0ms
(* x (/ 1.0 (tan B)))
384.0ms
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B)))
345.0ms
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B))
161.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify96.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
08482078
137401960
250021960

prune675.0ms

Filtered
186 candidates to 143 candidates (76.9%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1824186
Fresh3912
Picked101
Done000
Total18613199

Merged error: 0.0b

Counts
199 → 13

localize26.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (+ (* F F) 2.0) (* 2.0 x))
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))
20.9b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
63×times-frac
61×add-sqr-sqrt
51×add-cube-cbrt *-un-lft-identity
30×pow-unpow
25×unpow-prod-down associate-*r*
20×add-exp-log
13×distribute-lft-neg-in distribute-rgt-neg-in
11×add-cbrt-cube
add-log-exp sqr-pow
pow1 associate-/l*
div-exp
prod-exp div-inv unswap-sqr
pow-to-exp associate-*l* pow-exp associate-/r* sum-log
cbrt-undiv neg-sub0 pow-neg cbrt-unprod associate-/l/ pow-sub
+-commutative neg-mul-1 associate-+l+ pow-pow frac-2neg flip3-+ associate-*r/ pow-prod-down clear-num *-commutative flip-+
Counts
4 → 154
Calls
4 calls:
6.0ms
(+ (+ (* F F) 2.0) (* 2.0 x))
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))
10.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series928.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(+ (+ (* F F) 2.0) (* 2.0 x))
392.0ms
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B)))
344.0ms
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (sin B))
163.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify88.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
07572000
133131894
250011894

prune614.0ms

Filtered
166 candidates to 129 candidates (77.7%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1642166
Fresh21012
Picked011
Done000
Total16613179

Merged error: 0.0b

Counts
179 → 13

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.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
cbrt-unprod 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 → 108
Calls
4 calls:
7.0ms
(* x (/ 1.0 (tan B)))
10.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
10.0ms
(/ F (* (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))

series858.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
06541088
12850977
25002977

prune378.0ms

Filtered
120 candidates to 89 candidates (74.2%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1164120
Fresh5611
Picked101
Done011
Total12211133

Merged error: 0.0b

Counts
133 → 11

regimes185.0ms

Accuracy

98.1% (0.2b remaining)

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

bsearch304.0ms

Steps
ItersRangePoint
10
0.000608309806168642
2529654550.545884
170093912.0872669
9
-4.9334811240918525e+148
-5.335099083904646e+143
-2.310238641427746e+145

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05038
15038

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.4s1624×body1280valid
783.0ms1435×body640valid
564.0ms4792×body80valid
260.0ms694×body320valid
136.0ms1609×body80nan
94.0ms368×body160valid