Details

Time bar (total: 4.1s)

sample314.0ms

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

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0187
1336
2436
3546
4606
5626
6626

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

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

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

series184.0ms

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

simplify104.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0324496
11233455
24523455
35001455

prune297.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

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

series126.0ms

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

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

rewrite19.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))
8.0ms
(* (/ (* x 1.0) (sin B)) (cos B))

series176.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0328508
11536433
25002433

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

rewrite22.0ms

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

series161.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0311467
11664392
25001392

prune196.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes75.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
710.0ms1689×body1280valid
388.0ms1479×body640valid
292.0ms4953×body80valid
120.0ms674×body320valid
47.0ms369×body160valid