Details

Time bar (total: 5.2s)

sample335.0ms

Algorithm
intervals
Results
32.0ms55×body1280valid
14.0ms152×body80valid
13.0ms38×body640valid
6.0ms27×body320valid
2.0ms12×body160valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0187
1316
2396
3506
4536
5536

prune8.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

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

rewrite49.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:
27.0ms
(- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B))))
2.0ms
(/ 1.0 (tan B))
2.0ms
(/ 1.0 (sin B))
11.0ms
(* x (/ 1.0 (tan B)))

series297.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B))))
36.0ms
(/ 1.0 (tan B))
20.0ms
(/ 1.0 (sin B))
121.0ms
(* x (/ 1.0 (tan B)))

simplify44.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0386627
11479584
25001584

prune307.0ms

Filtered
113 candidates to 88 candidates (77.9%)
Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.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)))

rewrite29.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:
2.0ms
(/ 1.0 (sin B))
2.0ms
(/ 1.0 (sin B))
13.0ms
(* (* x (/ 1.0 (sin B))) (cos B))
8.0ms
(* x (/ 1.0 (sin B)))

series193.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0315645
11562560
25001560

prune300.0ms

Filtered
119 candidates to 84 candidates (70.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

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

rewrite31.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:
12.0ms
(- (/ 1.0 (sin B)) (* (/ (* x 1.0) (sin B)) (cos B)))
3.0ms
(/ (* x 1.0) (sin B))
2.0ms
(/ 1.0 (sin B))
10.0ms
(* (/ (* x 1.0) (sin B)) (cos B))

series295.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(- (/ 1.0 (sin B)) (* (/ (* x 1.0) (sin B)) (cos B)))
54.0ms
(/ (* x 1.0) (sin B))
22.0ms
(/ 1.0 (sin B))
103.0ms
(* (/ (* x 1.0) (sin B)) (cos B))

simplify52.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0393673
11825595
25002595

prune254.0ms

Filtered
101 candidates to 73 candidates (72.3%)
Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.0ms

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

series166.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0290533
11233481
25001479

prune156.0ms

Filtered
69 candidates to 51 candidates (73.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes77.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
0116
1116

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.0s1686×body1280valid
537.0ms1496×body640valid
390.0ms4890×body80valid
181.0ms727×body320valid
67.0ms379×body160valid