Details

Time bar (total: 3.9s)

sample60.0ms

Algorithm
intervals
Results
24.0ms51×body1280valid
11.0ms173×body80valid
9.0ms36×body640valid
3.0ms18×body320valid
2.0ms16×body160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0187
1336
2436
3546
4606
5626
6626

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
28×times-frac
27×add-cube-cbrt *-un-lft-identity
14×associate-*r*
12×add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow1
cbrt-undiv expm1-log1p-u div-exp associate-*l* log1p-expm1-u div-inv add-log-exp
tan-quot frac-2neg prod-exp clear-num associate-/r/ cbrt-unprod unswap-sqr
associate-*r/ pow-prod-down *-commutative
Counts
3 → 94
Calls
3 calls:
3.0ms
(/ 1.0 (sin B))
4.0ms
(/ 1.0 (tan B))
8.0ms
(* x (/ 1.0 (tan B)))

series162.0ms

Counts
3 → 9
Calls
3 calls:
18.0ms
(/ 1.0 (sin B))
36.0ms
(/ 1.0 (tan B))
107.0ms
(* x (/ 1.0 (tan B)))

simplify92.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0324496
11233455
24523455
35001455

prune294.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ 1.0 (sin B))
0.1b
(/ (* x 1.0) (tan B))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
add-exp-log add-cbrt-cube
associate-/r*
associate-/l*
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u div-inv add-log-exp
tan-quot prod-exp associate-/r/ cbrt-unprod
Counts
2 → 53
Calls
2 calls:
3.0ms
(/ 1.0 (sin B))
5.0ms
(/ (* x 1.0) (tan B))

series124.0ms

Counts
2 → 6
Calls
2 calls:
18.0ms
(/ 1.0 (sin B))
106.0ms
(/ (* x 1.0) (tan B))

simplify87.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0243285
1942254
23837254
35002254

prune174.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log add-cbrt-cube
18×add-sqr-sqrt
16×add-cube-cbrt *-un-lft-identity
15×times-frac
associate-*l*
associate-/r*
pow1 cbrt-undiv div-exp prod-exp cbrt-unprod
associate-/l*
expm1-log1p-u associate-*r* log1p-expm1-u div-inv add-log-exp
frac-2neg clear-num
pow-prod-down associate-*l/ *-commutative unswap-sqr
Counts
3 → 81
Calls
3 calls:
4.0ms
(/ 1.0 (sin B))
5.0ms
(/ (* x 1.0) (sin B))
7.0ms
(* (/ (* x 1.0) (sin B)) (cos B))

series176.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(/ 1.0 (sin B))
52.0ms
(/ (* x 1.0) (sin B))
100.0ms
(* (/ (* x 1.0) (sin B)) (cos B))

simplify42.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0328508
11536433
25002433

prune251.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
12×add-exp-log times-frac add-cbrt-cube
associate-/r*
pow1
associate-/l*
cbrt-undiv expm1-log1p-u div-exp associate-*r* associate-*l* log1p-expm1-u add-log-exp
frac-2neg prod-exp clear-num cbrt-unprod div-inv
pow-prod-down *-commutative unswap-sqr
Counts
3 → 72
Calls
3 calls:
4.0ms
(/ 1.0 (sin B))
4.0ms
(* x (cos B))
6.0ms
(/ (* x (cos B)) (sin B))

series152.0ms

Counts
3 → 9
Calls
3 calls:
18.0ms
(/ 1.0 (sin B))
40.0ms
(* x (cos B))
95.0ms
(/ (* x (cos B)) (sin B))

simplify101.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0249386
1991339
24755339
35001339

prune216.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes73.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
0189
1229
2289
3289

end0.0ms

sample1.8s

Algorithm
intervals
Results
700.0ms1689×body1280valid
386.0ms1479×body640valid
317.0ms4953×body80valid
121.0ms674×body320valid
53.0ms369×body160valid