Details

Time bar (total: 4.5s)

sample315.0ms

Algorithm
intervals
Results
25.0ms43×body1280valid
15.0ms167×body80valid
11.0ms32×body640valid
5.0ms19×body320valid
3.0ms19×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.1b
(fma (- x) (/ 1.0 (tan B)) (/ 1.0 (sin B)))
0.2b
(/ 1.0 (tan B))

rewrite10.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)))
5.0ms
(/ 1.0 (tan B))

series177.0ms

Counts
3 → 9
Calls
3 calls:
19.0ms
(/ 1.0 (sin B))
102.0ms
(fma (- x) (/ 1.0 (tan B)) (/ 1.0 (sin B)))
57.0ms
(/ 1.0 (tan B))

simplify59.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (53.0ms)

IterNodesCost
0246416
1694382
22127382
35002377

prune236.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.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:
3.0ms
(* x (cos B))
2.0ms
(/ 1.0 (sin B))
14.0ms
(* (/ 1.0 (sin B)) (- 1 (* x (cos B))))

series129.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0415714
12101633
25001629

prune249.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.0ms

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

series117.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0248316
11125266
25001263

prune134.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
42×times-frac
31×add-exp-log
27×add-sqr-sqrt
25×add-cube-cbrt *-un-lft-identity
19×add-cbrt-cube
14×div-exp
11×associate-/r/
10×associate-*r/ associate-/r*
cbrt-undiv
pow1 div-inv associate-/l*
flip3-- prod-exp flip--
expm1-log1p-u rec-exp 1-exp associate-*r* associate-*l* cbrt-unprod log1p-expm1-u add-log-exp
frac-2neg clear-num
pow-flip pow-prod-down *-commutative inv-pow unswap-sqr
Counts
3 → 111
Calls
3 calls:
6.0ms
(/ (sin B) (* 1.0 (- 1 (* x (cos B)))))
3.0ms
(* x (cos B))
9.0ms
(/ 1 (/ (sin B) (* 1.0 (- 1 (* x (cos B))))))

series166.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(/ (sin B) (* 1.0 (- 1 (* x (cos B)))))
41.0ms
(* x (cos B))
72.0ms
(/ 1 (/ (sin B) (* 1.0 (- 1 (* x (cos B))))))

simplify72.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05101105
12855924
25002911

prune217.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

regimes78.0ms

Accuracy

0% (0.1b 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
0146
1146

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.0s1759×body1280valid
522.0ms1400×body640valid
376.0ms4891×body80valid
166.0ms691×body320valid
62.0ms367×body160valid