Details

Time bar (total: 4.4s)

sample320.0ms

Algorithm
intervals
Results
27.0ms62×body1280valid
14.0ms51×body640valid
12.0ms163×body80valid
4.0ms20×body320valid
1.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0187
1316
2396
3506
4536
5536

prune9.0ms

Filtered
1 candidates to 1 candidates (100.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)))

rewrite41.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))
17.0ms
(/ 1.0 (tan B))
9.0ms
(* x (/ 1.0 (tan B)))

series303.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0386627
11479584
25001584

prune268.0ms

Filtered
113 candidates to 88 candidates (77.9%)
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
(/ (* x 1.0) (tan B))
0.1b
(/ 1.0 (sin B))

rewrite24.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:
14.0ms
(- (/ 1.0 (sin B)) (/ (* x 1.0) (tan B)))
5.0ms
(/ (* x 1.0) (tan B))
4.0ms
(/ 1.0 (sin B))

series248.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0316461
11175428
25001428

prune152.0ms

Filtered
74 candidates to 55 candidates (74.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New74074
Fresh088
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)) (* 1.0 (/ (* x (cos B)) (sin B))))
0.1b
(/ 1.0 (sin B))
0.1b
(* x (cos B))
0.2b
(/ (* x (cos B)) (sin B))

rewrite21.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))))
3.0ms
(/ 1.0 (sin B))
4.0ms
(* x (cos B))
5.0ms
(/ (* x (cos B)) (sin B))

series268.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(- (/ 1.0 (sin B)) (* 1.0 (/ (* x (cos B)) (sin B))))
18.0ms
(/ 1.0 (sin B))
40.0ms
(* x (cos B))
95.0ms
(/ (* x (cos B)) (sin B))

simplify43.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0333572
11375511
25001511

prune187.0ms

Filtered
93 candidates to 68 candidates (73.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New92193
Fresh257
Picked101
Done011
Total957102

Merged error: 0.0b

Counts
102 → 7

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite14.0ms

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

series166.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(- 1.0 (* 1.0 (* x (cos B))))
40.0ms
(* x (cos B))
78.0ms
(/ (- 1.0 (* 1.0 (* x (cos B)))) (sin B))

simplify150.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0263516
1933466
24873464
35002464

prune128.0ms

Filtered
69 candidates to 50 candidates (72.5%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New69069
Fresh055
Picked011
Done011
Total69776

Merged error: 0.0b

Counts
76 → 7

regimes57.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
0106
1106

end0.0ms

sample1.9s

Algorithm
intervals
Results
739.0ms1688×body1280valid
396.0ms1435×body640valid
326.0ms4929×body80valid
148.0ms743×body320valid
57.0ms365×body160valid

Profiling

Loading profile data...