Details

Time bar (total: 39.3s)

sample405.0ms

Algorithm
intervals
Results
100.0ms44×body1280valid
75.0ms51×body640valid
59.0ms14×body160valid
47.0ms140×body80valid
34.0ms35×body320valid
15.0ms59×body80nan

simplify3.8s

Counts
1 → 1
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
02027
14326
29124
316924
436624
591524
6321924
done500124

prune17.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 11.7b

localize53.0ms

Local error

Found 4 expressions with local error:

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

rewrite340.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
expm1-log1p-u pow-neg cbrt-unprod log1p-expm1-u add-log-exp sqr-pow
cbrt-undiv neg-sub0 pow-to-exp associate-*r/ pow-exp associate-/r* associate-/l* pow-sub
frac-times *-commutative
tan-quot neg-mul-1 pow-pow frac-2neg pow-prod-down associate-*l/ clear-num associate-/r/ un-div-inv
Counts
4 → 162
Calls
4 calls:
6.0ms
(/ F (sin B))
25.0ms
(* x (/ 1.0 (tan B)))
242.0ms
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))
59.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series981.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(/ F (sin B))
146.0ms
(* x (/ 1.0 (tan B)))
461.0ms
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))
279.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify1.8s

Counts
174 → 174
Iterations

Useful iterations: 2 (632.0ms)

IterNodesCost
03112820
17602540
221072283
done50002283

prune1.1s

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize52.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ F (/ (sin B) (pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0)))))
0.3b
(* x (/ 1.0 (tan B)))
0.4b
(/ (sin B) (pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0))))
14.3b
(pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0)))

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
214×times-frac
133×add-sqr-sqrt
128×add-cube-cbrt *-un-lft-identity
51×unpow-prod-down
34×associate-/r*
30×pow-unpow
25×add-exp-log
17×sqr-pow
16×add-cbrt-cube
14×associate-*r*
13×distribute-lft-neg-in distribute-rgt-neg-in
12×associate-/r/
11×div-exp
div-inv
pow1
neg-sub0 pow-neg associate-/l* pow-sub
cbrt-undiv
expm1-log1p-u log1p-expm1-u add-log-exp
pow-to-exp associate-*l* pow-exp
frac-2neg prod-exp clear-num cbrt-unprod unswap-sqr
tan-quot neg-mul-1 pow-pow associate-*r/ pow-prod-down *-commutative
Counts
4 → 262
Calls
4 calls:
22.0ms
(/ F (/ (sin B) (pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0)))))
38.0ms
(* x (/ 1.0 (tan B)))
20.0ms
(/ (sin B) (pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0))))
7.0ms
(pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0)))

series2.2s

Counts
4 → 12
Calls
4 calls:
522.0ms
(/ F (/ (sin B) (pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0)))))
209.0ms
(* x (/ 1.0 (tan B)))
969.0ms
(/ (sin B) (pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0))))
496.0ms
(pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0)))

simplify2.6s

Counts
274 → 274
Iterations

Useful iterations: done (2.6s)

IterNodesCost
05256848
111986454
236866220
done50016216

prune2.3s

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize29.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* x 1.0) (tan B))
0.2b
(/ F (/ (sin B) (pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0)))))
0.4b
(/ (sin B) (pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0))))
14.3b
(pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0)))

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
207×times-frac
122×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
51×unpow-prod-down
37×associate-/r*
30×pow-unpow
25×add-exp-log
17×sqr-pow
16×add-cbrt-cube
13×distribute-lft-neg-in distribute-rgt-neg-in
12×div-exp associate-/r/
div-inv
associate-/l*
cbrt-undiv neg-sub0 pow-neg pow-sub
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
pow-to-exp frac-2neg pow-exp clear-num
tan-quot neg-mul-1 pow-pow prod-exp cbrt-unprod
Counts
4 → 251
Calls
4 calls:
23.0ms
(/ (* x 1.0) (tan B))
15.0ms
(/ F (/ (sin B) (pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0)))))
13.0ms
(/ (sin B) (pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0))))
13.0ms
(pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0)))

series2.1s

Counts
4 → 12
Calls
4 calls:
173.0ms
(/ (* x 1.0) (tan B))
469.0ms
(/ F (/ (sin B) (pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0)))))
1.1s
(/ (sin B) (pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0))))
425.0ms
(pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0)))

simplify2.4s

Counts
263 → 263
Iterations

Useful iterations: done (2.4s)

IterNodesCost
05106750
111546366
236476132
done50006128

prune1.9s

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize40.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ F (/ (sin B) (pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0)))))
0.2b
(* (/ (* x 1.0) (sin B)) (cos B))
0.4b
(/ (sin B) (pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0))))
14.3b
(pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0)))

rewrite133.0ms

Algorithm
rewrite-expression-head
Rules
207×times-frac
125×add-sqr-sqrt
123×add-cube-cbrt *-un-lft-identity
51×unpow-prod-down
34×associate-/r*
30×pow-unpow
29×add-exp-log
20×add-cbrt-cube
17×sqr-pow
13×distribute-lft-neg-in distribute-rgt-neg-in
12×div-exp
11×associate-/r/
div-inv
pow1 associate-*l*
cbrt-undiv neg-sub0 pow-neg associate-/l* pow-sub
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp
pow-to-exp associate-*r* pow-exp
frac-2neg clear-num
neg-mul-1 pow-pow pow-prod-down associate-*l/ *-commutative unswap-sqr
Counts
4 → 256
Calls
4 calls:
14.0ms
(/ F (/ (sin B) (pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0)))))
46.0ms
(* (/ (* x 1.0) (sin B)) (cos B))
34.0ms
(/ (sin B) (pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0))))
13.0ms
(pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0)))

series2.2s

Counts
4 → 12
Calls
4 calls:
469.0ms
(/ F (/ (sin B) (pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0)))))
148.0ms
(* (/ (* x 1.0) (sin B)) (cos B))
1.1s
(/ (sin B) (pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0))))
483.0ms
(pow (fma 2.0 x (fma F F 2.0)) (- (/ 1.0 2.0)))

simplify2.7s

Counts
268 → 268
Iterations

Useful iterations: done (2.6s)

IterNodesCost
05206899
112036514
238796242
done50006238

prune1.8s

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

regimes312.0ms

Accuracy

98% (0.2b remaining)

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

bsearch494.0ms

Steps
ItersRangePoint
6
1791.5919577634695
9556.682540875734
9401.995455885359
9
-5.063582918003288e+31
-5.452804783141298e+22
-1.4125977831190179e+23

simplify35.0ms

Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
04384
16378
27178
done7178

end0.0ms

sample9.5s

Algorithm
intervals
Results
3.6s1688×body1280valid
2.1s1354×body640valid
1.8s4868×body80valid
929.0ms670×body320valid
294.0ms1632×body80nan
165.0ms346×body160valid