Details

Time bar (total: 4.7s)

sample62.0ms

Algorithm
intervals
Results
26.0ms62×body1280valid
11.0ms42×body640valid
9.0ms146×body80valid
4.0ms20×body320valid
2.0ms14×body160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0187
1336
2436
3546
4606
5626
6626

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.2b

Counts
2 → 1

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
31×*-un-lft-identity
29×add-cube-cbrt
28×times-frac
14×associate-*r*
13×add-exp-log add-cbrt-cube
add-log-exp
pow1 fma-def associate-/r* associate-/l*
expm1-log1p-u log1p-expm1-u
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 distribute-lft-neg-in associate-+l- neg-mul-1 distribute-rgt-neg-in flip3-+ pow-prod-down neg-log frac-add *-commutative flip-+ distribute-neg-frac distribute-lft-out
Counts
4 → 117
Calls
4 calls:
8.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
4.0ms
(/ 1.0 (sin B))
7.0ms
(/ 1.0 (tan B))
7.0ms
(* x (/ 1.0 (tan B)))

series272.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
21.0ms
(/ 1.0 (sin B))
33.0ms
(/ 1.0 (tan B))
107.0ms
(* x (/ 1.0 (tan B)))

simplify51.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0438696
11724639
25002635

prune308.0ms

Filtered
129 candidates to 104 candidates (80.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1209129
Fresh000
Picked101
Done000
Total1219130

Merged error: 0.0b

Counts
130 → 9

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
20×fma-def
18×add-sqr-sqrt add-cube-cbrt times-frac
10×add-exp-log add-cbrt-cube
distribute-rgt-neg-in
distribute-lft-neg-in
add-log-exp
associate-/r*
div-inv associate-/l*
tan-quot pow1 cbrt-undiv expm1-log1p-u div-exp associate-/r/ log1p-expm1-u
frac-2neg clear-num sum-log distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 flip3-+ neg-log frac-add prod-exp cbrt-unprod flip-+ distribute-neg-frac
Counts
3 → 91
Calls
3 calls:
19.0ms
(+ (- (/ (* x 1.0) (tan B))) (/ 1.0 (sin B)))
3.0ms
(/ 1.0 (sin B))
5.0ms
(/ (* x 1.0) (tan B))

series242.0ms

Counts
3 → 9
Calls
3 calls:
114.0ms
(+ (- (/ (* x 1.0) (tan B))) (/ 1.0 (sin B)))
18.0ms
(/ 1.0 (sin B))
109.0ms
(/ (* x 1.0) (tan B))

simplify45.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0350492
11353445
25002440

prune217.0ms

Filtered
100 candidates to 79 candidates (79.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1000100
Fresh088
Picked011
Done000
Total1009109

Merged error: 0.0b

Counts
109 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
126×times-frac
107×add-sqr-sqrt
105×*-un-lft-identity
98×add-cube-cbrt
91×prod-diff
28×div-inv
15×add-exp-log
13×fma-neg add-cbrt-cube
pow1
associate-/r* add-log-exp
expm1-log1p-u div-exp log1p-expm1-u associate-/l*
cbrt-undiv distribute-rgt-out-- associate-*r* associate-*l* difference-of-squares
frac-2neg prod-exp clear-num cbrt-unprod distribute-lft-out--
sub-neg rec-exp flip3-- pow-flip diff-log 1-exp pow-prod-down *-commutative frac-sub flip-- inv-pow sub-div unswap-sqr
Counts
4 → 204
Calls
4 calls:
13.0ms
(- (/ 1 (sin B)) (/ (* x (cos B)) (sin B)))
4.0ms
(/ 1 (sin B))
4.0ms
(* x (cos B))
5.0ms
(/ (* x (cos B)) (sin B))

series242.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(- (/ 1 (sin B)) (/ (* x (cos B)) (sin B)))
13.0ms
(/ 1 (sin B))
35.0ms
(* x (cos B))
99.0ms
(/ (* x (cos B)) (sin B))

simplify88.0ms

Algorithm
egg-herbie
Counts
216 → 216
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05793808
121732513
250012510

prune279.0ms

Filtered
216 candidates to 96 candidates (44.4%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New2151216
Fresh077
Picked011
Done011
Total21510225

Merged error: 0.0b

Counts
225 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (tan B)) (cbrt (tan B)))
0.7b
(cbrt (tan B))
0.7b
(cbrt (tan B))
0.7b
(cbrt (tan B))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
tan-quot cbrt-div
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u 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 → 87
Calls
4 calls:
7.0ms
(* (cbrt (tan B)) (cbrt (tan B)))
2.0ms
(cbrt (tan B))
2.0ms
(cbrt (tan B))
2.0ms
(cbrt (tan B))

series487.0ms

Counts
4 → 12
Calls
4 calls:
142.0ms
(* (cbrt (tan B)) (cbrt (tan B)))
113.0ms
(cbrt (tan B))
118.0ms
(cbrt (tan B))
113.0ms
(cbrt (tan B))

simplify74.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0174531
1545493
22172461
35001457

prune243.0ms

Filtered
99 candidates to 73 candidates (73.7%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New99099
Fresh077
Picked011
Done022
Total9910109

Merged error: 0.0b

Counts
109 → 10

regimes78.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
0147
1207
2207

end0.0ms

sample1.9s

Algorithm
intervals
Results
776.0ms1741×body1280valid
375.0ms1369×body640valid
318.0ms4873×body80valid
147.0ms756×body320valid
49.0ms363×body160valid