Details

Time bar (total: 6.0s)

sample327.0ms

Algorithm
intervals
Results
41.0ms68×body1280valid
12.0ms163×body80valid
12.0ms36×body640valid
4.0ms18×body320valid
2.0ms12×body160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0187
1336
2436
3546
4606
5626
6626

prune9.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

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

rewrite45.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:
24.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)))

series288.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
22.0ms
(/ 1.0 (sin B))
34.0ms
(/ 1.0 (tan B))
119.0ms
(* x (/ 1.0 (tan B)))

simplify51.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0438696
11724639
25002635

prune341.0ms

Filtered
129 candidates to 103 candidates (79.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

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

rewrite38.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:
20.0ms
(- (/ 1 (sin B)) (/ (* x (cos B)) (sin B)))
2.0ms
(/ 1 (sin B))
3.0ms
(* x (cos B))
4.0ms
(/ (* x (cos B)) (sin B))

series231.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(- (/ 1 (sin B)) (/ (* x (cos B)) (sin B)))
13.0ms
(/ 1 (sin B))
37.0ms
(* x (cos B))
93.0ms
(/ (* x (cos B)) (sin B))

simplify75.0ms

Algorithm
egg-herbie
Counts
216 → 216
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05793808
121732513
250012510

prune318.0ms

Filtered
216 candidates to 96 candidates (44.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

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

rewrite30.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 expm1-log1p-u div-exp associate-*l* pow-prod-down log1p-expm1-u add-log-exp
div-inv
frac-2neg associate-*r/ clear-num *-commutative unswap-sqr
associate-*l/
Counts
4 → 115
Calls
4 calls:
2.0ms
(/ 1.0 (sin B))
2.0ms
(/ 1.0 (sin B))
13.0ms
(* (* x (/ 1.0 (sin B))) (cos B))
10.0ms
(* x (/ 1.0 (sin B)))

series190.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(/ 1.0 (sin B))
17.0ms
(/ 1.0 (sin B))
102.0ms
(* (* x (/ 1.0 (sin B))) (cos B))
53.0ms
(* x (/ 1.0 (sin B)))

simplify47.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0325672
11587587
25001587

prune302.0ms

Filtered
127 candidates to 92 candidates (72.4%)
Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
110×cbrt-prod
81×add-sqr-sqrt
69×times-frac
57×add-cube-cbrt *-un-lft-identity
17×swap-sqr associate-*r* associate-*l*
11×pow1
pow1/3 unswap-sqr
tan-quot cbrt-div associate-/r/ div-inv
add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 frac-times pow-plus associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 158
Calls
4 calls:
23.0ms
(* (cbrt (/ 1.0 (tan B))) (cbrt (/ 1.0 (tan B))))
2.0ms
(cbrt (/ 1.0 (tan B)))
2.0ms
(cbrt (/ 1.0 (tan B)))
2.0ms
(cbrt (/ 1.0 (tan B)))

series658.0ms

Counts
4 → 12
Calls
4 calls:
203.0ms
(* (cbrt (/ 1.0 (tan B))) (cbrt (/ 1.0 (tan B))))
151.0ms
(cbrt (/ 1.0 (tan B)))
148.0ms
(cbrt (/ 1.0 (tan B)))
156.0ms
(cbrt (/ 1.0 (tan B)))

simplify48.0ms

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03281516
111901464
250011390

prune554.0ms

Filtered
170 candidates to 136 candidates (80.0%)
Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes59.0ms

Accuracy

0% (0.2b 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
0158
1158

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.1s1806×body1280valid
477.0ms1375×body640valid
382.0ms4947×body80valid
170.0ms713×body320valid
49.0ms294×body160valid