Details

Time bar (total: 5.2s)

sample341.0ms

Algorithm
intervals
Results
32.0ms55×body1280valid
16.0ms45×body640valid
14.0ms169×body80valid
4.0ms15×body320valid
2.0ms10×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

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

rewrite44.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:
13.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)))

series303.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B))))
22.0ms
(/ 1.0 (sin B))
37.0ms
(/ 1.0 (tan B))
121.0ms
(* x (/ 1.0 (tan B)))

simplify46.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0386627
11479584
25001584

prune308.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize15.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.1b
(/ (* 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))
4.0ms
(/ (* x 1.0) (tan B))

series258.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0316461
11175428
25001428

prune204.0ms

Pruning

8 alts after pruning (8 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.2b
(* 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))
14.0ms
(* (* x (/ 1.0 (sin B))) (cos B))
11.0ms
(* x (/ 1.0 (sin B)))

series203.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(/ 1.0 (sin B))
19.0ms
(/ 1.0 (sin B))
110.0ms
(* (* x (/ 1.0 (sin B))) (cos B))
56.0ms
(* x (/ 1.0 (sin B)))

simplify48.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0315645
11562560
25001560

prune297.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1.0 (sin B))
0.1b
(/ 1.0 (sin B))
0.2b
(* (/ 1.0 (sin B)) (cos B))
0.3b
(* x (* (/ 1.0 (sin B)) (cos 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-*l*
11×pow1
prod-exp cbrt-unprod
associate-/r* associate-/l*
cbrt-undiv div-exp associate-*r* pow-prod-down add-log-exp
div-inv
frac-2neg associate-*l/ clear-num *-commutative unswap-sqr
associate-*r/
Counts
4 → 107
Calls
4 calls:
2.0ms
(/ 1.0 (sin B))
2.0ms
(/ 1.0 (sin B))
9.0ms
(* (/ 1.0 (sin B)) (cos B))
12.0ms
(* x (* (/ 1.0 (sin B)) (cos B)))

series187.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(/ 1.0 (sin B))
19.0ms
(/ 1.0 (sin B))
41.0ms
(* (/ 1.0 (sin B)) (cos B))
108.0ms
(* x (* (/ 1.0 (sin B)) (cos B)))

simplify41.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0317683
11315591
25001591

prune289.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

regimes68.0ms

Accuracy

0% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0118
1118

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.0s1744×body1280valid
511.0ms1436×body640valid
384.0ms4907×body80valid
176.0ms717×body320valid
63.0ms350×body160valid