Details

Time bar (total: 10.4s)

sample367.0ms

Algorithm
intervals
Results
40.0ms47×body1280valid
22.0ms42×body640valid
19.0ms161×body80valid
8.0ms22×body320valid
7.0ms61×body80nan
3.0ms10×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: 12.5b

localize36.0ms

Local error

Found 4 expressions with local error:

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

series605.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ 1.0 (tan B))
111.0ms
(* x (/ 1.0 (tan B)))
291.0ms
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))
164.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

prune646.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

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

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

series793.0ms

Counts
4 → 12
Calls
4 calls:
249.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
111.0ms
(* x (/ 1.0 (tan B)))
300.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
134.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify77.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
06541088
12850977
25002977

prune432.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.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:
5.0ms
(/ (* x 1.0) (tan B))
11.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))

series769.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(/ (* x 1.0) (tan B))
243.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
288.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
130.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify65.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
06081033
12584922
25001922

prune392.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize28.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
0.2b
(* F (/ 1 (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))))
0.3b
(/ 1 (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
16.8b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
68×add-exp-log
34×prod-exp
27×add-sqr-sqrt
20×add-cube-cbrt *-un-lft-identity add-cbrt-cube
16×div-exp
15×times-frac
14×associate-*r*
13×pow-unpow
pow1 pow-to-exp rec-exp 1-exp pow-exp
unpow-prod-down
associate-*l* cbrt-unprod
cbrt-undiv add-log-exp unswap-sqr
div-inv associate-/l* sqr-pow
*-commutative
pow-flip pow-pow frac-2neg associate-*r/ pow-prod-down clear-num associate-/r* un-div-inv inv-pow
Counts
4 → 123
Calls
4 calls:
11.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
14.0ms
(* F (/ 1 (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))))
10.0ms
(/ 1 (* (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))

series1.4s

Counts
4 → 12
Calls
4 calls:
254.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
305.0ms
(* F (/ 1 (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))))
752.0ms
(/ 1 (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
137.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify75.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06361469
129121293
250021283

prune377.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

regimes170.0ms

Accuracy

96.3% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 10.5b

bsearch228.0ms

Steps
ItersRangePoint
7
2.2355582591819058e-05
0.0006518293038960093
0.0006425408003375803
8
-5182.563706118175
-1.0806682141483241
-5085.08685709285

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06343
17243
27743
37743

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.4s1677×body1280valid
761.0ms1394×body640valid
564.0ms4809×body80valid
259.0ms694×body320valid
140.0ms1653×body80nan
74.0ms295×body160valid