Details

Time bar (total: 4.9s)

sample78.0ms

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

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
0187
1316
2396
3506
4536
5536

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

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

rewrite29.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 (tan B))
2.0ms
(/ 1.0 (sin B))
9.0ms
(* x (/ 1.0 (tan B)))

series290.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0386627
11479584
25001584

prune297.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

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

rewrite33.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))
16.0ms
(* (* x (/ 1.0 (sin B))) (cos B))
9.0ms
(* x (/ 1.0 (sin B)))

series197.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0315645
11562560
25001560

prune292.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

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

rewrite32.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:
13.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))
11.0ms
(* (/ (* x 1.0) (sin B)) (cos B))

series296.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(- (/ 1.0 (sin B)) (* (/ (* x 1.0) (sin B)) (cos B)))
58.0ms
(/ (* x 1.0) (sin B))
18.0ms
(/ 1.0 (sin B))
104.0ms
(* (/ (* x 1.0) (sin B)) (cos B))

simplify50.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0393673
11825595
25002595

prune257.0ms

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

rewrite17.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)))
7.0ms
(* (* x 1.0) (cos B))
6.0ms
(/ (- 1.0 (* (* x 1.0) (cos B))) (sin B))

series171.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(- 1.0 (* (* x 1.0) (cos B)))
45.0ms
(* (* x 1.0) (cos B))
80.0ms
(/ (- 1.0 (* (* x 1.0) (cos B))) (sin B))

simplify41.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0290533
11233481
25001479

prune161.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes71.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
554.0ms1496×body640valid
393.0ms4890×body80valid
177.0ms727×body320valid
69.0ms379×body160valid