Details

Time bar (total: 4.2s)

sample312.0ms

Algorithm
intervals
Results
25.0ms63×body1280valid
11.0ms43×body640valid
10.0ms154×body80valid
3.0ms16×body320valid
2.0ms14×body160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0187
1336
2436
3546
4606
5626
6626

prune8.0ms

Pruning

1 alts after pruning (1 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.2b
(/ 1.0 (tan B))
0.2b
(* x (/ 1.0 (tan B)))

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

series189.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0324496
11233455
24523455
35001455

prune289.0ms

Pruning

8 alts after pruning (8 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))

series128.0ms

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

simplify90.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0243285
1942254
23837254
35002254

prune163.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

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

series150.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0249386
1991339
24755339
35001339

prune213.0ms

Pruning

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

rewrite28.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 expm1-log1p-u div-exp associate-*l* pow-prod-down log1p-expm1-u add-log-exp
div-inv
frac-2neg associate-*r/ clear-num *-commutative unswap-sqr
associate-*l/
Counts
4 → 115
Calls
4 calls:
4.0ms
(/ 1.0 (sin B))
3.0ms
(/ 1.0 (sin B))
7.0ms
(* (* x (/ 1.0 (sin B))) (cos B))
10.0ms
(* x (/ 1.0 (sin B)))

series199.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0325672
11587587
25001587

prune307.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

regimes61.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.1b 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.7s

Algorithm
intervals
Results
725.0ms1763×body1280valid
353.0ms1392×body640valid
286.0ms4931×body80valid
115.0ms667×body320valid
48.0ms356×body160valid