Details

Time bar (total: 11.6s)

sample389.0ms

Algorithm
intervals
Results
49.0ms49×body1280valid
37.0ms52×body640valid
22.0ms154×body80valid
10.0ms22×body320valid
5.0ms51×body80nan
2.0msbody160valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04215
18314
215114
335614
4106314
5500214

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 16.5b

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite249.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:
5.0ms
(/ 1.0 (tan B))
17.0ms
(* x (/ 1.0 (tan B)))
164.0ms
(* (/ F (sin B)) (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)))

series550.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
07671428
131831338
250011337

prune644.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 0.0b

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

rewrite268.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:
47.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
154.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
19.0ms
(* x (/ 1.0 (tan B)))
45.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

series722.0ms

Counts
4 → 12
Calls
4 calls:
273.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
228.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
98.0ms
(* x (/ 1.0 (tan B)))
123.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

prune435.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite258.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 associate-/r* 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 → 97
Calls
4 calls:
10.0ms
(/ (* x 1.0) (tan B))
46.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
153.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
46.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

series736.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(/ (* x 1.0) (tan B))
281.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
230.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
121.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify63.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
06081033
12584922
25001922

prune382.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

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

rewrite302.0ms

Algorithm
rewrite-expression-head
Rules
85×add-sqr-sqrt
80×times-frac
59×add-exp-log
55×*-un-lft-identity
51×add-cube-cbrt
27×unpow-prod-down
25×div-exp associate-*r*
23×add-cbrt-cube
17×prod-exp
13×pow-unpow associate-*l*
12×unswap-sqr
11×sqr-pow
10×associate-/r*
pow1 cbrt-undiv
pow-to-exp pow-exp
cbrt-unprod div-inv
rec-exp 1-exp associate-/l* add-log-exp
frac-2neg clear-num
tan-quot frac-times pow-pow associate-*r/ pow-prod-down associate-*l/ associate-/r/ *-commutative
Counts
4 → 176
Calls
4 calls:
10.0ms
(/ (* x 1.0) (tan B))
72.0ms
(/ F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
170.0ms
(* (/ 1 (sin B)) (/ F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
44.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

series794.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(/ (* x 1.0) (tan B))
222.0ms
(/ F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
350.0ms
(* (/ 1 (sin B)) (/ F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
122.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify93.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
09152192
141832016
250022010

prune611.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

regimes185.0ms

Accuracy

97.8% (0.2b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 10.6b

bsearch276.0ms

Steps
ItersRangePoint
10
2.2789517230446428e-07
611368.3395468491
63011.26590223786
6
-2.5863249694456514e+39
-1.6843916471943403e+38
-8.273604558426921e+38

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07159
17759
27759

end0.0ms

sample4.3s

Algorithm
intervals
Results
1.7s1667×body1280valid
906.0ms1411×body640valid
696.0ms4765×body80valid
308.0ms681×body320valid
179.0ms1655×body80nan
109.0ms351×body160valid