Details

Time bar (total: 4.9s)

sample91.0ms

Algorithm
intervals
Results
43.0ms70×body1280valid
16.0ms40×body640valid
14.0ms135×body80valid
5.0ms18×body320valid
3.0ms15×body160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0187
1336
2436
3546
4606
5626
6626

prune6.0ms

Pruning

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

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×times-frac
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg div-exp clear-num div-inv
tan-quot associate-/r/ fma-udef
Counts
3 → 69
Calls
3 calls:
2.0ms
(/ 1.0 (sin B))
0.0ms
(fma (- x) (/ 1.0 (tan B)) (/ 1.0 (sin B)))
2.0ms
(/ 1.0 (tan B))

series154.0ms

Counts
3 → 9
Calls
3 calls:
18.0ms
(/ 1.0 (sin B))
95.0ms
(fma (- x) (/ 1.0 (tan B)) (/ 1.0 (sin B)))
40.0ms
(/ 1.0 (tan B))

simplify58.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0246416
1694382
22127382
35002377

prune229.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
23×add-cube-cbrt *-un-lft-identity
19×times-frac
16×associate-*l*
12×add-exp-log add-cbrt-cube
pow1
associate-*r* prod-diff
distribute-rgt-in distribute-lft-in
expm1-log1p-u prod-exp associate-/r* cbrt-unprod log1p-expm1-u associate-/l* add-log-exp unswap-sqr
cbrt-undiv frac-times sub-neg flip3-- associate-*r/ div-exp pow-prod-down *-commutative flip-- div-inv
frac-2neg associate-*l/ clear-num
Counts
3 → 97
Calls
3 calls:
2.0ms
(/ 1.0 (sin B))
3.0ms
(* x (cos B))
14.0ms
(* (/ 1.0 (sin B)) (- 1 (* x (cos B))))

series130.0ms

Counts
3 → 9
Calls
3 calls:
18.0ms
(/ 1.0 (sin B))
35.0ms
(* x (cos B))
76.0ms
(* (/ 1.0 (sin B)) (- 1 (* x (cos B))))

simplify55.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0415714
12101633
25001629

prune247.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.2b
(/ (- 1 (* x (cos B))) (sin B))
0.2b
(* x (cos B))

rewrite12.0ms

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

series103.0ms

Counts
2 → 6
Calls
2 calls:
64.0ms
(/ (- 1 (* x (cos B))) (sin B))
40.0ms
(* x (cos B))

simplify75.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0201379
1822347
23341343
35002342

prune147.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (cbrt (cos B)) (cbrt (cos B)))
0.4b
(cbrt (cos B))
0.4b
(cbrt (cos B))
0.4b
(cbrt (cos B))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
6.0ms
(* (cbrt (cos B)) (cbrt (cos B)))
1.0ms
(cbrt (cos B))
1.0ms
(cbrt (cos B))
1.0ms
(cbrt (cos B))

series456.0ms

Counts
4 → 12
Calls
4 calls:
160.0ms
(* (cbrt (cos B)) (cbrt (cos B)))
97.0ms
(cbrt (cos B))
98.0ms
(cbrt (cos B))
101.0ms
(cbrt (cos B))

simplify102.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (97.0ms)

IterNodesCost
0128471
1498419
23230387
35002381

prune261.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

regimes56.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0146
1146

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.1s1711×body1280valid
551.0ms1384×body640valid
516.0ms4980×body80valid
207.0ms719×body320valid
93.0ms388×body160valid