Details

Time bar (total: 12.0s)

sample462.0ms

Algorithm
intervals
Results
80.0ms54×body1280valid
30.0ms46×body640valid
20.0ms148×body80valid
9.0ms21×body320valid
4.0ms44×body80nan
3.0ms11×body160valid

simplify44.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04215
18314
215114
335614
4106314
5500214

prune11.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.8b

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite282.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:
6.0ms
(/ 1.0 (tan B))
18.0ms
(* x (/ 1.0 (tan B)))
186.0ms
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))
61.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series630.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(/ 1.0 (tan B))
119.0ms
(* x (/ 1.0 (tan B)))
308.0ms
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))
160.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 (70.0ms)

IterNodesCost
07671428
131831338
250011337

prune689.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite253.0ms

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt
39×add-cube-cbrt *-un-lft-identity
37×times-frac
30×pow-unpow
21×associate-*r*
17×add-exp-log
13×distribute-lft-neg-in distribute-rgt-neg-in add-cbrt-cube
pow1 unpow-prod-down
associate-*l*
prod-exp unswap-sqr
div-inv add-log-exp
pow-neg associate-*r/ associate-/r* cbrt-unprod associate-/l* sqr-pow
tan-quot cbrt-undiv neg-sub0 pow-to-exp div-exp pow-exp associate-/r/ *-commutative pow-sub
neg-mul-1 pow-pow frac-2neg pow-prod-down clear-num un-div-inv
Counts
4 → 135
Calls
4 calls:
6.0ms
(/ 1.0 (tan B))
18.0ms
(* x (/ 1.0 (tan B)))
168.0ms
(* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))
55.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series528.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(/ 1.0 (tan B))
118.0ms
(* x (/ 1.0 (tan B)))
214.0ms
(* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))
153.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify68.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
06361077
126301007
250021007

prune581.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 0.0b

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.3b
(* F (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)))

rewrite307.0ms

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

series828.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(/ (* x 1.0) (tan B))
359.0ms
(/ (* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))) (sin B))
206.0ms
(* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))
147.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify72.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
06741245
128981127
250011127

prune526.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite445.0ms

Algorithm
rewrite-expression-head
Rules
59×add-exp-log
37×add-sqr-sqrt
32×add-cube-cbrt *-un-lft-identity prod-exp
30×pow-unpow times-frac
23×add-cbrt-cube
20×associate-*r*
13×distribute-lft-neg-in distribute-rgt-neg-in
10×div-exp
cbrt-unprod
pow1 pow-neg unpow-prod-down associate-*r/
pow-to-exp pow-exp
cbrt-undiv neg-sub0 rec-exp 1-exp associate-*l* un-div-inv div-inv pow-sub add-log-exp
frac-times associate-*l/ associate-/r* unswap-sqr sqr-pow
*-commutative
tan-quot neg-mul-1 pow-pow frac-2neg pow-prod-down clear-num associate-/r/ associate-/l*
Counts
4 → 147
Calls
4 calls:
205.0ms
(* (* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))) (/ 1 (sin B)))
11.0ms
(/ (* x 1.0) (tan B))
167.0ms
(* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))
55.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series838.0ms

Counts
4 → 12
Calls
4 calls:
361.0ms
(* (* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))) (/ 1 (sin B)))
116.0ms
(/ (* x 1.0) (tan B))
214.0ms
(* F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))
147.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify89.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
08361559
138331390
250011377

prune513.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

regimes214.0ms

Accuracy

98% (0.2b remaining)

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

bsearch282.0ms

Steps
ItersRangePoint
8
1.350953981158519e+19
8.171756335825397e+21
1.634712104582305e+19
9
-2.1635908418835426e+55
-6.652785550494656e+49
-2.3932939828235706e+51

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06138
17038
27538
37538

end0.0ms

sample4.2s

Algorithm
intervals
Results
1.7s1659×body1280valid
890.0ms1421×body640valid
659.0ms4772×body80valid
313.0ms697×body320valid
163.0ms1628×body80nan
97.0ms339×body160valid