Details

Time bar (total: 10.1s)

sample357.0ms

Algorithm
intervals
Results
40.0ms48×body1280valid
27.0ms52×body640valid
18.0ms151×body80valid
7.0ms20×body320valid
5.0ms47×body80nan
2.0ms10×body160valid

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04315
19114
216914
337814
4110014
5500114

prune23.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.0b

localize26.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ F (sin B))
0.3b
(* x (/ 1.0 (tan B)))
6.5b
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* x (/ 1.0 (tan B)))))
17.6b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
37×times-frac
36×add-cube-cbrt *-un-lft-identity
30×pow-unpow
14×associate-*r*
13×distribute-lft-neg-in distribute-rgt-neg-in
12×add-exp-log
11×add-cbrt-cube
pow1
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
unpow-prod-down associate-*l* associate-/r* associate-/l*
cbrt-undiv div-exp prod-exp cbrt-unprod unswap-sqr
tan-quot neg-sub0 pow-to-exp pow-neg neg-mul-1 pow-pow frac-2neg associate-*r/ pow-prod-down pow-exp clear-num associate-/r/ *-commutative fma-udef pow-sub sqr-pow
Counts
4 → 122
Calls
4 calls:
3.0ms
(/ F (sin B))
7.0ms
(* x (/ 1.0 (tan B)))
1.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* x (/ 1.0 (tan B)))))
12.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series536.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(/ F (sin B))
107.0ms
(* x (/ 1.0 (tan B)))
221.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* x (/ 1.0 (tan B)))))
158.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify67.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06661019
12629931
25001928

prune567.0ms

Filtered
134 candidates to 110 candidates (82.1%)
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
(/ F (sin B))
0.2b
(/ (* x 1.0) (tan B))
6.5b
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (/ (* x 1.0) (tan B))))
17.6b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt add-cube-cbrt pow-unpow *-un-lft-identity times-frac
13×distribute-lft-neg-in distribute-rgt-neg-in
12×add-exp-log
11×add-cbrt-cube
associate-/r*
pow1
expm1-log1p-u log1p-expm1-u div-inv associate-/l* add-log-exp
cbrt-undiv unpow-prod-down div-exp
frac-2neg clear-num
tan-quot neg-sub0 pow-to-exp pow-neg neg-mul-1 pow-pow pow-exp prod-exp associate-/r/ cbrt-unprod fma-udef pow-sub sqr-pow
Counts
4 → 111
Calls
4 calls:
4.0ms
(/ F (sin B))
5.0ms
(/ (* x 1.0) (tan B))
1.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (/ (* x 1.0) (tan B))))
10.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series511.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(/ F (sin B))
105.0ms
(/ (* x 1.0) (tan B))
218.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (/ (* x 1.0) (tan B))))
141.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify61.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0616964
12352876
25001873

prune492.0ms

Filtered
123 candidates to 100 candidates (81.3%)
Pruning

10 alts after pruning (10 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.4b
(/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
6.5b
(fma (/ F (sin B)) (/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))) (- (/ (* x 1.0) (tan B))))
17.6b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
33×times-frac
30×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
19×add-exp-log
15×unpow-prod-down
13×pow-unpow
11×add-cbrt-cube
10×associate-/r*
div-exp
pow1 sqr-pow
expm1-log1p-u pow-to-exp pow-exp log1p-expm1-u associate-/l* add-log-exp
cbrt-undiv rec-exp 1-exp div-inv
frac-2neg clear-num
tan-quot pow-flip pow-pow prod-exp associate-/r/ cbrt-unprod fma-udef inv-pow
Counts
4 → 118
Calls
4 calls:
5.0ms
(/ (* x 1.0) (tan B))
10.0ms
(/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
1.0ms
(fma (/ F (sin B)) (/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))) (- (/ (* x 1.0) (tan B))))
9.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

series1.2s

Counts
4 → 12
Calls
4 calls:
110.0ms
(/ (* x 1.0) (tan B))
685.0ms
(/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
231.0ms
(fma (/ F (sin B)) (/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))) (- (/ (* x 1.0) (tan B))))
127.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify61.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
06761344
125981208
250031160

prune429.0ms

Filtered
130 candidates to 86 candidates (66.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize27.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ (* x 1.0) (sin B)) (cos B))
0.4b
(/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
6.5b
(fma (/ F (sin B)) (/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))) (- (* (/ (* x 1.0) (sin B)) (cos B))))
17.6b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt times-frac
31×add-cube-cbrt *-un-lft-identity
23×add-exp-log
15×unpow-prod-down add-cbrt-cube
13×pow-unpow
div-exp
pow1 associate-*l* associate-/r*
sqr-pow
expm1-log1p-u pow-to-exp pow-exp prod-exp cbrt-unprod log1p-expm1-u add-log-exp
cbrt-undiv rec-exp 1-exp associate-*r* div-inv associate-/l*
pow-flip pow-pow frac-2neg pow-prod-down associate-*l/ clear-num *-commutative fma-udef inv-pow unswap-sqr
Counts
4 → 123
Calls
4 calls:
7.0ms
(* (/ (* x 1.0) (sin B)) (cos B))
10.0ms
(/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
1.0ms
(fma (/ F (sin B)) (/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))) (- (* (/ (* x 1.0) (sin B)) (cos B))))
9.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

series1.1s

Counts
4 → 12
Calls
4 calls:
101.0ms
(* (/ (* x 1.0) (sin B)) (cos B))
688.0ms
(/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
220.0ms
(fma (/ F (sin B)) (/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))) (- (* (/ (* x 1.0) (sin B)) (cos B))))
134.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify70.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
07371463
128361300
250011251

prune423.0ms

Filtered
135 candidates to 86 candidates (63.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes195.0ms

Accuracy

98.2% (0.2b remaining)

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

bsearch270.0ms

Steps
ItersRangePoint
9
498514027.71492976
1134421401047092.0
504058493.67471987
9
-2.0168541015731498e+34
-1.0296308640320476e+26
-2.731983010624295e+27

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05442
15842
26342
36342

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.4s1726×body1280valid
750.0ms1421×body640valid
553.0ms4727×body80valid
250.0ms671×body320valid
133.0ms1626×body80nan
83.0ms334×body160valid