Details

Time bar (total: 4.8s)

sample58.0ms

Algorithm
intervals
Results
22.0ms55×body1280valid
12.0ms49×body640valid
9.0ms162×body80valid
3.0ms18×body320valid
1.0ms12×body160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
0187
1336
2436
3546
4606
5626
6626

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
0.1b
(/ 1.0 (sin B))
0.1b
(/ 1.0 (tan B))
0.2b
(* x (/ 1.0 (tan B)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
31×*-un-lft-identity
29×add-cube-cbrt
28×times-frac
14×associate-*r*
13×add-exp-log add-cbrt-cube
add-log-exp
pow1 fma-def associate-/r* associate-/l*
expm1-log1p-u log1p-expm1-u
cbrt-undiv div-exp associate-*l* div-inv
tan-quot frac-2neg associate-*r/ prod-exp clear-num sum-log associate-/r/ cbrt-unprod unswap-sqr
+-commutative neg-sub0 distribute-lft-neg-in associate-+l- neg-mul-1 distribute-rgt-neg-in flip3-+ pow-prod-down neg-log frac-add *-commutative flip-+ distribute-neg-frac distribute-lft-out
Counts
4 → 117
Calls
4 calls:
8.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
3.0ms
(/ 1.0 (sin B))
4.0ms
(/ 1.0 (tan B))
7.0ms
(* x (/ 1.0 (tan B)))

series270.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
18.0ms
(/ 1.0 (sin B))
36.0ms
(/ 1.0 (tan B))
106.0ms
(* x (/ 1.0 (tan B)))

simplify49.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0438696
11724639
25002635

prune339.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (- (/ (* x 1.0) (tan B))) (/ 1.0 (sin B)))
0.1b
(/ 1.0 (sin B))
0.1b
(/ (* x 1.0) (tan B))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
20×fma-def
18×add-sqr-sqrt add-cube-cbrt times-frac
10×add-exp-log add-cbrt-cube
distribute-rgt-neg-in
distribute-lft-neg-in
add-log-exp
associate-/r*
div-inv associate-/l*
tan-quot pow1 cbrt-undiv expm1-log1p-u div-exp associate-/r/ log1p-expm1-u
frac-2neg clear-num sum-log distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 flip3-+ neg-log frac-add prod-exp cbrt-unprod flip-+ distribute-neg-frac
Counts
3 → 91
Calls
3 calls:
17.0ms
(+ (- (/ (* x 1.0) (tan B))) (/ 1.0 (sin B)))
3.0ms
(/ 1.0 (sin B))
5.0ms
(/ (* x 1.0) (tan B))

series235.0ms

Counts
3 → 9
Calls
3 calls:
109.0ms
(+ (- (/ (* x 1.0) (tan B))) (/ 1.0 (sin B)))
21.0ms
(/ 1.0 (sin B))
105.0ms
(/ (* x 1.0) (tan B))

simplify38.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0350492
11353445
25002440

prune258.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (- (/ 1 (/ (tan B) (* x 1.0)))) (/ 1.0 (sin B)))
0.1b
(/ 1.0 (sin B))
0.1b
(/ (tan B) (* x 1.0))
0.3b
(/ 1 (/ (tan B) (* x 1.0)))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
107×times-frac
68×*-un-lft-identity
59×add-sqr-sqrt add-cube-cbrt
56×fma-def
32×add-exp-log
29×distribute-rgt-neg-in
26×distribute-lft-neg-in
20×add-cbrt-cube
16×div-inv
15×div-exp
11×associate-/r*
associate-/l*
cbrt-undiv add-log-exp
pow1
expm1-log1p-u prod-exp log1p-expm1-u distribute-lft-out
rec-exp frac-2neg 1-exp clear-num associate-/r/
sum-log cbrt-unprod
tan-quot +-commutative neg-sub0 associate-+l- neg-mul-1 pow-flip flip3-+ neg-log frac-add flip-+ associate-/l/ distribute-neg-frac inv-pow
Counts
4 → 187
Calls
4 calls:
41.0ms
(+ (- (/ 1 (/ (tan B) (* x 1.0)))) (/ 1.0 (sin B)))
3.0ms
(/ 1.0 (sin B))
5.0ms
(/ (tan B) (* x 1.0))
6.0ms
(/ 1 (/ (tan B) (* x 1.0)))

series270.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(+ (- (/ 1 (/ (tan B) (* x 1.0)))) (/ 1.0 (sin B)))
18.0ms
(/ 1.0 (sin B))
52.0ms
(/ (tan B) (* x 1.0))
83.0ms
(/ 1 (/ (tan B) (* x 1.0)))

simplify59.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0549959
12347844
25001789

prune487.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (/ 1.0 (sin B)) (/ (* x 1.0) (tan B)))
0.1b
(/ 1.0 (sin B))
0.1b
(/ (* x 1.0) (tan B))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
133×times-frac
107×add-sqr-sqrt
104×*-un-lft-identity prod-diff
102×add-cube-cbrt
24×div-inv
14×tan-quot associate-/r/
13×fma-neg
10×add-exp-log add-cbrt-cube
associate-/r*
add-log-exp
associate-/l*
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
frac-2neg clear-num difference-of-squares
sub-neg flip3-- diff-log prod-exp frac-sub flip-- cbrt-unprod distribute-lft-out--
Counts
3 → 188
Calls
3 calls:
14.0ms
(- (/ 1.0 (sin B)) (/ (* x 1.0) (tan B)))
4.0ms
(/ 1.0 (sin B))
5.0ms
(/ (* x 1.0) (tan B))

series248.0ms

Counts
3 → 9
Calls
3 calls:
119.0ms
(- (/ 1.0 (sin B)) (/ (* x 1.0) (tan B)))
18.0ms
(/ 1.0 (sin B))
111.0ms
(/ (* x 1.0) (tan B))

simplify81.0ms

Algorithm
egg-herbie
Counts
197 → 197
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06423607
122042619
250012594

prune395.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

regimes56.0ms

Accuracy

0% (0.1b 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
0166
1186
2186

end0.0ms

sample1.7s

Algorithm
intervals
Results
713.0ms1741×body1280valid
353.0ms1397×body640valid
285.0ms4868×body80valid
137.0ms744×body320valid
49.0ms365×body160valid