Details

Time bar (total: 6.3s)

sample348.0ms

Algorithm
intervals
Results
43.0ms70×body1280valid
18.0ms40×body640valid
14.0ms135×body80valid
5.0ms18×body320valid
3.0ms15×body160valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0187
1316
2396
3506
4536
5536

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.1b
(/ 1.0 (sin B))
0.2b
(/ 1.0 (tan B))
0.2b
(* x (/ 1.0 (tan B)))

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

series289.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0419664
11645609
25001604

prune314.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

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

rewrite34.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:
27.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:
111.0ms
(+ (- (/ (* x 1.0) (tan B))) (/ 1.0 (sin B)))
20.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

prune195.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
(+ (- (* (/ (* x 1.0) (sin B)) (cos B))) (/ 1.0 (sin B)))
0.1b
(/ 1.0 (sin B))
0.1b
(/ (* x 1.0) (sin B))
0.2b
(* (/ (* x 1.0) (sin B)) (cos B))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-cbrt-cube
19×add-sqr-sqrt *-un-lft-identity
17×add-cube-cbrt
15×times-frac
add-log-exp
associate-*l*
pow1 associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod
associate-/l*
associate-*r* div-inv
frac-2neg associate-*l/ clear-num sum-log
+-commutative neg-sub0 associate-+l- flip3-+ pow-prod-down neg-log frac-add *-commutative flip-+ distribute-neg-frac distribute-lft-out unswap-sqr
Counts
4 → 90
Calls
4 calls:
9.0ms
(+ (- (* (/ (* x 1.0) (sin B)) (cos B))) (/ 1.0 (sin B)))
2.0ms
(/ 1.0 (sin B))
3.0ms
(/ (* x 1.0) (sin B))
10.0ms
(* (/ (* x 1.0) (sin B)) (cos B))

series275.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0422714
11971620
25001614

prune256.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (/ (* x 1.0) (tan B)))
0.5b
(cbrt (/ (* x 1.0) (tan B)))
0.5b
(cbrt (/ (* x 1.0) (tan B)))
0.5b
(* (cbrt (/ (* x 1.0) (tan B))) (cbrt (/ (* x 1.0) (tan B))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
60×cbrt-prod
30×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
21×times-frac
11×pow1 swap-sqr associate-*r* associate-*l*
pow1/3
tan-quot cbrt-div associate-/r/ div-inv
add-exp-log
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 frac-times pow-plus associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 109
Calls
4 calls:
2.0ms
(cbrt (/ (* x 1.0) (tan B)))
2.0ms
(cbrt (/ (* x 1.0) (tan B)))
2.0ms
(cbrt (/ (* x 1.0) (tan B)))
13.0ms
(* (cbrt (/ (* x 1.0) (tan B))) (cbrt (/ (* x 1.0) (tan B))))

series854.0ms

Counts
4 → 12
Calls
4 calls:
202.0ms
(cbrt (/ (* x 1.0) (tan B)))
208.0ms
(cbrt (/ (* x 1.0) (tan B)))
201.0ms
(cbrt (/ (* x 1.0) (tan B)))
242.0ms
(* (cbrt (/ (* x 1.0) (tan B))) (cbrt (/ (* x 1.0) (tan B))))

simplify40.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
02751145
110041080
25001994

prune430.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

regimes60.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0189
1229
2289
3289

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.1s1711×body1280valid
556.0ms1384×body640valid
526.0ms4980×body80valid
203.0ms719×body320valid
79.0ms388×body160valid