Details

Time bar (total: 5.8s)

sample329.0ms

Algorithm
intervals
Results
31.0ms56×body1280valid
16.0ms48×body640valid
14.0ms171×body80valid
4.0ms18×body320valid
2.0msbody160valid

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

rewrite41.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:
21.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))
125.0ms
(* x (/ 1.0 (tan B)))

simplify50.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0386627
11479584
25001584

prune292.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

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

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

series266.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(- (/ 1.0 (sin B)) (* 1.0 (/ (* x (cos B)) (sin B))))
21.0ms
(/ 1.0 (sin B))
35.0ms
(* x (cos B))
96.0ms
(/ (* x (cos B)) (sin B))

simplify46.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0333572
11375511
25001511

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×times-frac
17×add-exp-log add-cbrt-cube
pow1
associate-*r/ associate-/r* associate-/l* add-log-exp
prod-exp cbrt-unprod
cbrt-undiv div-exp associate-*l* pow-prod-down
frac-2neg clear-num div-inv
sub-neg flip3-- diff-log associate-*r* *-commutative frac-sub flip-- sub-div
Counts
4 → 89
Calls
4 calls:
12.0ms
(- (/ 1.0 (sin B)) (* x (* 1.0 (/ (cos B) (sin B)))))
4.0ms
(/ 1.0 (sin B))
3.0ms
(/ (cos B) (sin B))
10.0ms
(* x (* 1.0 (/ (cos B) (sin B))))

series261.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(- (/ 1.0 (sin B)) (* x (* 1.0 (/ (cos B) (sin B)))))
19.0ms
(/ 1.0 (sin B))
19.0ms
(/ (cos B) (sin B))
104.0ms
(* x (* 1.0 (/ (cos B) (sin B))))

simplify48.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0380694
11418623
25001623

prune249.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (/ 1.0 (sin B)))
0.4b
(cbrt (/ 1.0 (sin B)))
0.4b
(cbrt (/ 1.0 (sin B)))
0.6b
(* (cbrt (/ 1.0 (sin B))) (cbrt (/ 1.0 (sin B))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
103×cbrt-prod
81×add-sqr-sqrt
69×times-frac
57×add-cube-cbrt *-un-lft-identity
16×swap-sqr associate-*r* associate-*l*
11×pow1
pow1/3 unswap-sqr
cbrt-div div-inv
add-exp-log
add-cbrt-cube 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 → 144
Calls
4 calls:
2.0ms
(cbrt (/ 1.0 (sin B)))
2.0ms
(cbrt (/ 1.0 (sin B)))
2.0ms
(cbrt (/ 1.0 (sin B)))
19.0ms
(* (cbrt (/ 1.0 (sin B))) (cbrt (/ 1.0 (sin B))))

series600.0ms

Counts
4 → 12
Calls
4 calls:
138.0ms
(cbrt (/ 1.0 (sin B)))
136.0ms
(cbrt (/ 1.0 (sin B)))
140.0ms
(cbrt (/ 1.0 (sin B)))
185.0ms
(* (cbrt (/ 1.0 (sin B))) (cbrt (/ 1.0 (sin B))))

simplify50.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03011430
111301366
250021300

prune520.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

regimes65.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
0128
1128

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.0s1750×body1280valid
485.0ms1415×body640valid
399.0ms4932×body80valid
169.0ms701×body320valid
59.0ms363×body160valid