Details

Time bar (total: 4.5s)

sample308.0ms

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

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0187
1316
2396
3506
4536
5536

prune8.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
30×*-un-lft-identity
28×add-cube-cbrt times-frac
14×associate-*r*
13×add-exp-log add-cbrt-cube
add-log-exp
pow1 associate-/r* associate-/l*
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 associate-+l- flip3-+ pow-prod-down neg-log frac-add *-commutative flip-+ distribute-neg-frac distribute-lft-out
Counts
4 → 103
Calls
4 calls:
9.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
16.0ms
(/ 1.0 (sin B))
4.0ms
(/ 1.0 (tan B))
10.0ms
(* x (/ 1.0 (tan B)))

series291.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
21.0ms
(/ 1.0 (sin B))
35.0ms
(/ 1.0 (tan B))
122.0ms
(* x (/ 1.0 (tan B)))

simplify50.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0419664
11645609
25001604

prune308.0ms

Filtered
115 candidates to 90 candidates (78.3%)
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))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
13×add-sqr-sqrt add-cube-cbrt
12×times-frac
10×add-exp-log add-cbrt-cube
add-log-exp
associate-/r*
associate-/l*
pow1 cbrt-undiv div-exp
frac-2neg clear-num sum-log div-inv distribute-lft-out
tan-quot +-commutative neg-sub0 associate-+l- distribute-rgt-neg-in flip3-+ neg-log frac-add prod-exp associate-/r/ cbrt-unprod flip-+ distribute-neg-frac
Counts
3 → 65
Calls
3 calls:
16.0ms
(+ (- (/ (* x 1.0) (tan B))) (/ 1.0 (sin B)))
3.0ms
(/ 1.0 (sin B))
5.0ms
(/ (* x 1.0) (tan B))

series239.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0336465
11303419
25001414

prune186.0ms

Filtered
74 candidates to 54 candidates (73.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

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

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
47×times-frac
39×*-un-lft-identity
32×add-exp-log
30×add-sqr-sqrt add-cube-cbrt
20×add-cbrt-cube
15×div-exp
11×associate-/r*
associate-/l*
cbrt-undiv div-inv add-log-exp
pow1
prod-exp distribute-lft-out
rec-exp distribute-rgt-neg-in frac-2neg 1-exp clear-num
sum-log cbrt-unprod
tan-quot +-commutative neg-sub0 associate-+l- pow-flip flip3-+ neg-log frac-add associate-/r/ flip-+ associate-/l/ distribute-neg-frac inv-pow
Counts
4 → 123
Calls
4 calls:
37.0ms
(+ (- (/ 1 (/ (tan B) (* x 1.0)))) (/ 1.0 (sin B)))
3.0ms
(/ 1.0 (sin B))
5.0ms
(/ (tan B) (* x 1.0))
7.0ms
(/ 1 (/ (tan B) (* x 1.0)))

series274.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0531922
12284808
25002756

prune286.0ms

Filtered
135 candidates to 85 candidates (63.0%)
Pruning

6 alts after pruning (6 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))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
15×*-un-lft-identity
13×add-cube-cbrt times-frac
10×add-exp-log add-cbrt-cube
associate-/r*
add-log-exp
associate-/l*
pow1 cbrt-undiv div-exp
frac-2neg clear-num div-inv difference-of-squares
tan-quot sub-neg flip3-- diff-log prod-exp associate-/r/ frac-sub flip-- cbrt-unprod distribute-lft-out--
Counts
3 → 65
Calls
3 calls:
12.0ms
(- (/ (* x 1.0) (tan B)) (/ 1.0 (sin B)))
3.0ms
(/ 1.0 (sin B))
5.0ms
(/ (* x 1.0) (tan B))

series245.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0317460
11164428
25001426

prune188.0ms

Filtered
74 candidates to 57 candidates (77.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

regimes55.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
0137
1137

end0.0ms

sample1.8s

Algorithm
intervals
Results
733.0ms1741×body1280valid
362.0ms1397×body640valid
286.0ms4868×body80valid
136.0ms744×body320valid
46.0ms365×body160valid