Details

Time bar (total: 4.4s)

sample84.0ms

Algorithm
intervals
Results
37.0ms59×body1280valid
18.0ms53×body640valid
11.0ms138×body80valid
6.0ms25×body320valid
2.0ms10×body160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0187
1336
2436
3546
4606
5626
6626

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(fma (- x) (/ 1.0 (tan B)) (/ 1.0 (sin B)))
0.2b
(/ 1.0 (sin B))
0.2b
(/ 1.0 (tan B))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×times-frac
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg div-exp clear-num div-inv
tan-quot associate-/r/ fma-udef
Counts
3 → 69
Calls
3 calls:
0.0ms
(fma (- x) (/ 1.0 (tan B)) (/ 1.0 (sin B)))
2.0ms
(/ 1.0 (sin B))
3.0ms
(/ 1.0 (tan B))

series154.0ms

Counts
3 → 9
Calls
3 calls:
96.0ms
(fma (- x) (/ 1.0 (tan B)) (/ 1.0 (sin B)))
24.0ms
(/ 1.0 (sin B))
34.0ms
(/ 1.0 (tan B))

simplify58.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0246416
1694382
22127382
35002377

prune242.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(* x (cos B))
0.2b
(* (/ 1.0 (sin B)) (- 1 (* x (cos B))))
0.2b
(/ 1.0 (sin B))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
23×add-cube-cbrt *-un-lft-identity
19×times-frac
16×associate-*l*
12×add-exp-log add-cbrt-cube
pow1
associate-*r* prod-diff
distribute-rgt-in distribute-lft-in
expm1-log1p-u prod-exp associate-/r* cbrt-unprod log1p-expm1-u associate-/l* add-log-exp unswap-sqr
cbrt-undiv frac-times sub-neg flip3-- associate-*r/ div-exp pow-prod-down *-commutative flip-- div-inv
frac-2neg associate-*l/ clear-num
Counts
3 → 97
Calls
3 calls:
3.0ms
(* x (cos B))
17.0ms
(* (/ 1.0 (sin B)) (- 1 (* x (cos B))))
2.0ms
(/ 1.0 (sin B))

series132.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(* x (cos B))
77.0ms
(* (/ 1.0 (sin B)) (- 1 (* x (cos B))))
18.0ms
(/ 1.0 (sin B))

simplify56.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0415714
12101633
25001629

prune254.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.1b
(* x (cos B))
0.2b
(/ (* 1.0 (- 1 (* x (cos B)))) (sin B))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
times-frac associate-*r* associate-*l* associate-/r*
cbrt-undiv expm1-log1p-u associate-*r/ div-exp prod-exp cbrt-unprod log1p-expm1-u associate-/l/ add-log-exp
flip3-- frac-2neg pow-prod-down clear-num *-commutative flip-- div-inv associate-/l* unswap-sqr
Counts
2 → 45
Calls
2 calls:
3.0ms
(* x (cos B))
8.0ms
(/ (* 1.0 (- 1 (* x (cos B)))) (sin B))

series112.0ms

Counts
2 → 6
Calls
2 calls:
35.0ms
(* x (cos B))
77.0ms
(/ (* 1.0 (- 1 (* x (cos B)))) (sin B))

simplify34.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0248316
11125266
25001263

prune134.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (sin B) (- 1 (* x (cos B))))
0.1b
(* x (cos B))
0.2b
(/ 1.0 (/ (sin B) (- 1 (* x (cos B)))))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
59×add-sqr-sqrt
57×add-cube-cbrt *-un-lft-identity
18×associate-/r*
12×add-exp-log add-cbrt-cube
11×associate-/r/
div-inv associate-/l*
pow1 flip3-- flip--
cbrt-undiv div-exp
expm1-log1p-u associate-*r* associate-*l* log1p-expm1-u add-log-exp
frac-2neg clear-num
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
3 → 131
Calls
3 calls:
5.0ms
(/ (sin B) (- 1 (* x (cos B))))
3.0ms
(* x (cos B))
7.0ms
(/ 1.0 (/ (sin B) (- 1 (* x (cos B)))))

series161.0ms

Counts
3 → 9
Calls
3 calls:
51.0ms
(/ (sin B) (- 1 (* x (cos B))))
35.0ms
(* x (cos B))
75.0ms
(/ 1.0 (/ (sin B) (- 1 (* x (cos B)))))

simplify72.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
05581439
127561360
250011353

prune367.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes68.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0136
1136

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.0s1737×body1280valid
505.0ms1420×body640valid
382.0ms4887×body80valid
164.0ms704×body320valid
59.0ms361×body160valid