Details

Time bar (total: 5.5s)

sample332.0ms

Algorithm
intervals
Results
35.0ms63×body1280valid
21.0ms56×body640valid
11.0ms141×body80valid
5.0ms21×body320valid
2.0ms12×body160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0187
1336
2436
3546
4606
5626
6626

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.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:
22.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
2.0ms
(/ 1.0 (tan B))
2.0ms
(/ 1.0 (sin B))
11.0ms
(* x (/ 1.0 (tan B)))

series288.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
37.0ms
(/ 1.0 (tan B))
18.0ms
(/ 1.0 (sin B))
119.0ms
(* x (/ 1.0 (tan B)))

simplify51.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0438696
11724639
25002635

prune361.0ms

Pruning

12 alts after pruning (12 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.2b
(/ 1.0 (sin B))
0.2b
(/ (* x 1.0) (tan B))

rewrite40.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:
32.0ms
(+ (- (/ (* x 1.0) (tan B))) (/ 1.0 (sin B)))
2.0ms
(/ 1.0 (sin B))
4.0ms
(/ (* x 1.0) (tan B))

series238.0ms

Counts
3 → 9
Calls
3 calls:
112.0ms
(+ (- (/ (* x 1.0) (tan B))) (/ 1.0 (sin B)))
18.0ms
(/ 1.0 (sin B))
108.0ms
(/ (* x 1.0) (tan B))

simplify38.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0350492
11353445
25002440

prune280.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-sqr-sqrt *-un-lft-identity add-cbrt-cube
18×add-cube-cbrt
15×times-frac
add-log-exp
associate-*l*
pow1 fma-def associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u associate-/l*
associate-*r* div-inv
frac-2neg associate-*l/ clear-num sum-log
+-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 unswap-sqr
Counts
4 → 104
Calls
4 calls:
10.0ms
(+ (- (* (/ (* x 1.0) (sin B)) (cos B))) (/ 1.0 (sin B)))
4.0ms
(/ (* x 1.0) (sin B))
14.0ms
(* (/ (* x 1.0) (sin B)) (cos B))
2.0ms
(/ 1.0 (sin B))

series277.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(+ (- (* (/ (* x 1.0) (sin B)) (cos B))) (/ 1.0 (sin B)))
57.0ms
(/ (* x 1.0) (sin B))
101.0ms
(* (/ (* x 1.0) (sin B)) (cos B))
18.0ms
(/ 1.0 (sin B))

simplify57.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0440756
12045660
25001655

prune309.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
126×times-frac
107×add-sqr-sqrt
105×*-un-lft-identity
98×add-cube-cbrt
91×prod-diff
28×div-inv
15×add-exp-log
13×fma-neg add-cbrt-cube
pow1
associate-/r* add-log-exp
expm1-log1p-u div-exp log1p-expm1-u associate-/l*
cbrt-undiv distribute-rgt-out-- associate-*r* associate-*l* difference-of-squares
frac-2neg prod-exp clear-num cbrt-unprod distribute-lft-out--
sub-neg rec-exp flip3-- pow-flip diff-log 1-exp pow-prod-down *-commutative frac-sub flip-- inv-pow sub-div unswap-sqr
Counts
4 → 204
Calls
4 calls:
21.0ms
(- (/ 1 (sin B)) (/ (* x (cos B)) (sin B)))
3.0ms
(* x (cos B))
2.0ms
(/ 1 (sin B))
4.0ms
(/ (* x (cos B)) (sin B))

series238.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(- (/ 1 (sin B)) (/ (* x (cos B)) (sin B)))
35.0ms
(* x (cos B))
13.0ms
(/ 1 (sin B))
99.0ms
(/ (* x (cos B)) (sin B))

simplify81.0ms

Algorithm
egg-herbie
Counts
216 → 216
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05793808
121732513
250012510

prune311.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes78.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
0158
1158

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.0s1731×body1280valid
519.0ms1488×body640valid
380.0ms4824×body80valid
166.0ms709×body320valid
63.0ms361×body160valid