Details

Time bar (total: 8.7s)

sample2.6s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 5.770874%

Guaranteed chance to sample good point: 45.694206%

Results
24.0ms54×body1280valid
9.0ms128×body80valid
9.0ms34×body640valid
5.0ms26×body320valid
2.0ms14×body160valid
1.0ms15×body80invalid

simplify371.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
0187
1316
2396
3506
4536
5536

prune12.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 (sin B))
0.1b
(/ 1.0 (tan B))
0.3b
(* 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 (sin B))
4.0ms
(/ 1.0 (tan B))
9.0ms
(* x (/ 1.0 (tan B)))

series90.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B))))
4.0ms
(/ 1.0 (sin B))
11.0ms
(/ 1.0 (tan B))
49.0ms
(* x (/ 1.0 (tan B)))

simplify44.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0386627
11479584
25001584

prune159.0ms

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

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1076113
Fresh000
Picked101
Done000
Total1086114

Merged error: 0.0b

Counts
114 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.0ms

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

series51.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(- (/ 1.0 (sin B)) (* 1.0 (/ (* x (cos B)) (sin B))))
6.0ms
(* x (cos B))
4.0ms
(/ 1.0 (sin B))
17.0ms
(/ (* x (cos B)) (sin B))

simplify43.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0333572
11375511
25001511

prune106.0ms

Filtered
68 candidates to 93 candidates (-36.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New92193
Fresh055
Picked011
Done000
Total92799

Merged error: 0.0b

Counts
99 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
29×add-cube-cbrt *-un-lft-identity
28×times-frac
22×add-exp-log add-cbrt-cube
16×associate-*r*
11×pow1
prod-exp cbrt-unprod
associate-/r* associate-/l*
cbrt-undiv div-exp associate-*l* pow-prod-down add-log-exp
div-inv
frac-2neg associate-*r/ clear-num *-commutative unswap-sqr
associate-*l/
Counts
4 → 107
Calls
4 calls:
3.0ms
(/ 1.0 (sin B))
3.0ms
(/ 1.0 (sin B))
7.0ms
(* (* x (/ 1.0 (sin B))) (cos B))
7.0ms
(* x (/ 1.0 (sin B)))

series38.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(/ 1.0 (sin B))
4.0ms
(/ 1.0 (sin B))
18.0ms
(* (* x (/ 1.0 (sin B))) (cos B))
11.0ms
(* x (/ 1.0 (sin B)))

simplify48.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0315645
11562560
25001560

prune134.0ms

Filtered
84 candidates to 119 candidates (-41.7%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1181119
Fresh055
Picked011
Done011
Total1188126

Merged error: 0.0b

Counts
126 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
33×cbrt-div
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
14×associate-*r/
11×pow1 flip3-- frac-sub flip--
frac-times pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
associate-*l/
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 97
Calls
4 calls:
15.0ms
(* (cbrt (- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B))))) (cbrt (- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B))))))
5.0ms
(cbrt (- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B)))))
5.0ms
(cbrt (- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B)))))
5.0ms
(cbrt (- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B)))))

series161.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(* (cbrt (- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B))))) (cbrt (- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B))))))
38.0ms
(cbrt (- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B)))))
36.0ms
(cbrt (- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B)))))
38.0ms
(cbrt (- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B)))))

simplify57.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04622301
116722177
250021972

prune280.0ms

Filtered
82 candidates to 109 candidates (-32.9%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1081109
Fresh055
Picked011
Done022
Total1089117

Merged error: 0.0b

Counts
117 → 9

regimes129.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
0128
1128

end0.0ms

sample4.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 5.770874%

Guaranteed chance to sample good point: 45.694206%

Results
730.0ms1621×body1280valid
413.0ms1474×body640valid
284.0ms3792×body80valid
145.0ms705×body320valid
58.0ms408×body160valid
42.0ms614×body80invalid
0.0msbody1280invalid

Profiling

Loading profile data...