Details

Time bar (total: 6.5s)

sample294.0ms

Algorithm
intervals
Results
230.0ms63×body1280valid
23.0ms51×body640valid
16.0ms142×body80valid
7.0ms23×body320valid
2.0ms10×body160valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0187
1316
2396
3506
4536
5536

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

rewrite32.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))
11.0ms
(* x (/ 1.0 (tan B)))

series91.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B))))
13.0ms
(/ 1.0 (tan B))
6.0ms
(/ 1.0 (sin B))
41.0ms
(* x (/ 1.0 (tan B)))

simplify44.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0386627
11479584
25001584

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

rewrite24.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:
17.0ms
(- (/ 1.0 (sin B)) (/ (* x 1.0) (tan B)))
4.0ms
(/ (* x 1.0) (tan B))
2.0ms
(/ 1.0 (sin B))

series62.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(- (/ 1.0 (sin B)) (/ (* x 1.0) (tan B)))
25.0ms
(/ (* x 1.0) (tan B))
5.0ms
(/ 1.0 (sin B))

simplify33.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0316461
11175428
25001428

prune466.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ 1.0 (sin B)) (* (/ (* x 1.0) (sin B)) (cos B)))
0.2b
(/ (* x 1.0) (sin B))
0.2b
(/ 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:
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))
11.0ms
(* (/ (* x 1.0) (sin B)) (cos B))

series64.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(- (/ 1.0 (sin B)) (* (/ (* x 1.0) (sin B)) (cos B)))
11.0ms
(/ (* x 1.0) (sin B))
5.0ms
(/ 1.0 (sin B))
19.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

prune634.0ms

Pruning

8 alts after pruning (7 fresh and 1 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.2b
(/ 1.0 (sin B))
0.2b
(/ (cos B) (sin B))
0.2b
(* x (* 1.0 (/ (cos B) (sin B))))

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

series58.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(- (/ 1.0 (sin B)) (* x (* 1.0 (/ (cos B) (sin B)))))
7.0ms
(/ 1.0 (sin B))
6.0ms
(/ (cos B) (sin B))
18.0ms
(* x (* 1.0 (/ (cos B) (sin B))))

simplify42.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0380694
11418623
25001623

prune620.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

regimes168.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

sample3.0s

Algorithm
intervals
Results
1.3s1775×body1280valid
668.0ms1444×body640valid
523.0ms4766×body80valid
242.0ms748×body320valid
82.0ms367×body160valid