Details

Time bar (total: 4.8s)

sample330.0ms

Algorithm
intervals
Results
30.0ms54×body1280valid
15.0ms44×body640valid
13.0ms151×body80valid
7.0ms29×body320valid
2.0ms15×body160valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0187
1316
2396
3506
4536
5536

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

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

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

series302.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0386627
11479584
25001584

prune299.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite25.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:
16.0ms
(- (/ 1.0 (sin B)) (/ (* x 1.0) (tan B)))
2.0ms
(/ 1.0 (sin B))
6.0ms
(/ (* x 1.0) (tan B))

series249.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0316461
11175428
25001428

prune185.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

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

rewrite25.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:
11.0ms
(- (/ 1.0 (sin B)) (* 1.0 (/ (* x (cos B)) (sin B))))
2.0ms
(/ 1.0 (sin B))
3.0ms
(* x (cos B))
4.0ms
(/ (* x (cos B)) (sin B))

series263.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))
35.0ms
(* x (cos B))
96.0ms
(/ (* x (cos B)) (sin B))

simplify42.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0333572
11375511
25001511

prune227.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

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

series113.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(* x (cos B))
77.0ms
(/ (- 1.0 (* 1.0 (* x (cos B)))) (sin B))

simplify93.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0228414
1798374
23430373
35001373

prune125.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

regimes53.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.3s

Algorithm
intervals
Results
999.0ms1749×body1280valid
495.0ms1427×body640valid
367.0ms4866×body80valid
168.0ms718×body320valid
62.0ms364×body160valid