Details

Time bar (total: 7.6s)

sample2.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 49.609375%

Results
30.0ms68×body1280valid
12.0ms46×body640valid
7.0ms106×body80valid
4.0ms23×body320valid
2.0ms30×body80invalid
2.0ms13×body160valid

simplify371.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
0187
1316
2396
3506
4536
5536

prune11.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 0.2b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
28×add-cube-cbrt *-un-lft-identity times-frac
14×associate-*r*
13×add-exp-log add-cbrt-cube
pow1 associate-/r* associate-/l* add-log-exp
cbrt-undiv div-exp associate-*l* div-inv
tan-quot frac-2neg associate-*r/ prod-exp clear-num associate-/r/ cbrt-unprod unswap-sqr
sub-neg flip3-- diff-log pow-prod-down *-commutative frac-sub flip--
Counts
4 → 101
Calls
4 calls:
6.0ms
(- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B))))
3.0ms
(/ 1.0 (tan B))
3.0ms
(/ 1.0 (sin B))
9.0ms
(* x (/ 1.0 (tan B)))

series93.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B))))
11.0ms
(/ 1.0 (tan B))
6.0ms
(/ 1.0 (sin B))
48.0ms
(* x (/ 1.0 (tan B)))

simplify44.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0386627
11479584
25001584

prune166.0ms

Filtered
88 candidates to 113 candidates (-28.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1049113
Fresh000
Picked101
Done000
Total1059114

Merged error: 0.0b

Counts
114 → 9

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

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

series58.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(- (/ 1.0 (sin B)) (/ (* x 1.0) (tan B)))
5.0ms
(/ 1.0 (sin B))
23.0ms
(/ (* x 1.0) (tan B))

simplify34.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0316461
11175428
25002428

prune100.0ms

Filtered
56 candidates to 74 candidates (-32.1%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New73174
Fresh178
Picked011
Done000
Total74983

Merged error: 0.0b

Counts
83 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-cbrt-cube
19×add-sqr-sqrt
17×add-cube-cbrt *-un-lft-identity
15×times-frac
associate-*l*
pow1 associate-/r* add-log-exp
cbrt-undiv div-exp prod-exp cbrt-unprod
associate-/l*
associate-*r* associate-*l/ div-inv
frac-2neg clear-num
sub-neg flip3-- diff-log pow-prod-down *-commutative frac-sub flip-- sub-div unswap-sqr
Counts
4 → 89
Calls
4 calls:
6.0ms
(- (/ 1.0 (sin B)) (* (/ (* x 1.0) (sin B)) (cos B)))
4.0ms
(/ (* x 1.0) (sin B))
3.0ms
(/ 1.0 (sin B))
7.0ms
(* (/ (* x 1.0) (sin B)) (cos B))

series62.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(- (/ 1.0 (sin B)) (* (/ (* x 1.0) (sin B)) (cos B)))
12.0ms
(/ (* x 1.0) (sin B))
5.0ms
(/ 1.0 (sin B))
19.0ms
(* (/ (* x 1.0) (sin B)) (cos B))

simplify49.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0393673
11825595
25001595

prune119.0ms

Filtered
73 candidates to 101 candidates (-38.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New983101
Fresh347
Picked101
Done011
Total1028110

Merged error: 0.0b

Counts
110 → 8

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-exp-log times-frac add-cbrt-cube
pow1
associate-*r* pow-prod-down prod-exp associate-/r* cbrt-unprod associate-/l*
associate-/l/ add-log-exp
cbrt-undiv flip3-- frac-2neg div-sub div-exp associate-*l* clear-num *-commutative flip-- div-inv
Counts
2 → 48
Calls
2 calls:
5.0ms
(* (* x 1.0) (cos B))
5.0ms
(/ (- 1.0 (* (* x 1.0) (cos B))) (sin B))

series26.0ms

Counts
2 → 6
Calls
2 calls:
9.0ms
(* (* x 1.0) (cos B))
17.0ms
(/ (- 1.0 (* (* x 1.0) (cos B))) (sin B))

simplify34.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0258439
11094388
25001388

prune57.0ms

Filtered
40 candidates to 54 candidates (-35.0%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New54054
Fresh066
Picked011
Done011
Total54862

Merged error: 0.0b

Counts
62 → 8

regimes111.0ms

Accuracy

0% (0.1b 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
0106
1106

end0.0ms

sample3.9s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 49.609375%

Results
745.0ms1685×body1280valid
415.0ms1461×body640valid
272.0ms3765×body80valid
139.0ms725×body320valid
77.0ms1162×body80invalid
50.0ms364×body160valid
0.0msbody1280invalid

Profiling

Loading profile data...