Details

Time bar (total: 5.7s)

sample79.0ms

Algorithm
intervals
Results
29.0ms51×body1280valid
18.0ms54×body640valid
12.0ms163×body80valid
4.0ms18×body320valid
2.0ms15×body160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.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

localize16.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)))

rewrite47.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:
15.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
5.0ms
(/ 1.0 (sin B))
6.0ms
(/ 1.0 (tan B))
18.0ms
(* x (/ 1.0 (tan B)))

series287.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
19.0ms
(/ 1.0 (sin B))
35.0ms
(/ 1.0 (tan B))
116.0ms
(* x (/ 1.0 (tan B)))

simplify50.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0438696
11724639
25002635

prune342.0ms

Pruning

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

rewrite73.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:
55.0ms
(+ (- (/ (* x 1.0) (tan B))) (/ 1.0 (sin B)))
5.0ms
(/ 1.0 (sin B))
10.0ms
(/ (* x 1.0) (tan B))

series251.0ms

Counts
3 → 9
Calls
3 calls:
118.0ms
(+ (- (/ (* x 1.0) (tan B))) (/ 1.0 (sin B)))
23.0ms
(/ 1.0 (sin B))
110.0ms
(/ (* x 1.0) (tan B))

simplify37.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0350492
11353445
25002440

prune270.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize12.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)))

rewrite137.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:
102.0ms
(+ (- (/ 1 (/ (tan B) (* x 1.0)))) (/ 1.0 (sin B)))
5.0ms
(/ 1.0 (sin B))
9.0ms
(/ (tan B) (* x 1.0))
14.0ms
(/ 1 (/ (tan B) (* x 1.0)))

series293.0ms

Counts
4 → 12
Calls
4 calls:
130.0ms
(+ (- (/ 1 (/ (tan B) (* x 1.0)))) (/ 1.0 (sin B)))
20.0ms
(/ 1.0 (sin B))
57.0ms
(/ (tan B) (* x 1.0))
87.0ms
(/ 1 (/ (tan B) (* x 1.0)))

simplify61.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0549959
12347844
25001789

prune498.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize11.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.2b
(/ (* x 1.0) (tan B))

rewrite66.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:
41.0ms
(- (/ 1.0 (sin B)) (/ (* x 1.0) (tan B)))
5.0ms
(/ 1.0 (sin B))
10.0ms
(/ (* x 1.0) (tan B))

series267.0ms

Counts
3 → 9
Calls
3 calls:
132.0ms
(- (/ 1.0 (sin B)) (/ (* x 1.0) (tan B)))
19.0ms
(/ 1.0 (sin B))
115.0ms
(/ (* x 1.0) (tan B))

simplify75.0ms

Algorithm
egg-herbie
Counts
197 → 197
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06423607
122042619
250012594

prune390.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

regimes66.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
0188
1188

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.0s1734×body1280valid
477.0ms1381×body640valid
376.0ms5007×body80valid
162.0ms703×body320valid
70.0ms361×body160valid