Details

Time bar (total: 4.4s)

sample72.0ms

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

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0187
1316
2396
3506
4536
5536

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
30×*-un-lft-identity
28×add-cube-cbrt times-frac
14×associate-*r*
13×add-exp-log add-cbrt-cube
add-log-exp
pow1 associate-/r* associate-/l*
cbrt-undiv div-exp associate-*l* div-inv
tan-quot frac-2neg associate-*r/ prod-exp clear-num sum-log associate-/r/ cbrt-unprod unswap-sqr
+-commutative neg-sub0 associate-+l- flip3-+ pow-prod-down neg-log frac-add *-commutative flip-+ distribute-neg-frac distribute-lft-out
Counts
4 → 103
Calls
4 calls:
8.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
4.0ms
(/ 1.0 (tan B))
4.0ms
(/ 1.0 (sin B))
7.0ms
(* x (/ 1.0 (tan B)))

series275.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0419664
11645609
25001604

prune297.0ms

Pruning

10 alts after pruning (10 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
(* (* x (/ 1.0 (sin B))) (cos B))
0.3b
(* x (/ 1.0 (sin B)))

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

series191.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0315645
11562560
25001560

prune288.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-cbrt-cube
19×add-sqr-sqrt *-un-lft-identity
17×add-cube-cbrt
15×times-frac
add-log-exp
associate-*l*
pow1 associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod
associate-/l*
associate-*r* div-inv
frac-2neg associate-*l/ clear-num sum-log
+-commutative neg-sub0 associate-+l- flip3-+ pow-prod-down neg-log frac-add *-commutative flip-+ distribute-neg-frac distribute-lft-out unswap-sqr
Counts
4 → 90
Calls
4 calls:
8.0ms
(+ (- (* (/ (* x 1.0) (sin B)) (cos B))) (/ 1.0 (sin B)))
5.0ms
(/ (* x 1.0) (sin B))
4.0ms
(/ 1.0 (sin B))
7.0ms
(* (/ (* x 1.0) (sin B)) (cos B))

series277.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(+ (- (* (/ (* x 1.0) (sin B)) (cos B))) (/ 1.0 (sin B)))
56.0ms
(/ (* x 1.0) (sin B))
18.0ms
(/ 1.0 (sin B))
101.0ms
(* (/ (* x 1.0) (sin B)) (cos B))

simplify55.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0422714
11971620
25001614

prune255.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
77×times-frac
64×add-exp-log
52×add-sqr-sqrt
46×*-un-lft-identity
45×add-cube-cbrt
34×add-cbrt-cube
27×div-exp
26×associate-*l*
17×prod-exp
13×cbrt-undiv
11×associate-/r* div-inv
associate-/l*
pow1 cbrt-unprod
rec-exp 1-exp
add-log-exp
frac-2neg associate-*r* clear-num unswap-sqr
associate-/r/
pow-flip pow-prod-down associate-*l/ *-commutative inv-pow
Counts
4 → 160
Calls
4 calls:
3.0ms
(/ 1.0 (sin B))
5.0ms
(/ (sin B) (* x 1.0))
15.0ms
(* (/ 1 (/ (sin B) (* x 1.0))) (cos B))
7.0ms
(/ 1 (/ (sin B) (* x 1.0)))

series187.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(/ 1.0 (sin B))
37.0ms
(/ (sin B) (* x 1.0))
83.0ms
(* (/ 1 (/ (sin B) (* x 1.0))) (cos B))
48.0ms
(/ 1 (/ (sin B) (* x 1.0)))

simplify63.0ms

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05861140
12698963
25001905

prune359.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes74.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
02210
12610
22610

end0.0ms

sample1.8s

Algorithm
intervals
Results
688.0ms1682×body1280valid
390.0ms1499×body640valid
303.0ms4891×body80valid
132.0ms725×body320valid
52.0ms381×body160valid