Details

Time bar (total: 5.3s)

sample340.0ms

Algorithm
intervals
Results
31.0ms55×body1280valid
13.0ms38×body640valid
13.0ms152×body80valid
6.0ms27×body320valid
2.0ms12×body160valid

simplify17.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 4 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
31×*-un-lft-identity
29×add-cube-cbrt
28×times-frac
14×associate-*r*
13×add-exp-log add-cbrt-cube
add-log-exp
pow1 fma-def associate-/r* associate-/l*
expm1-log1p-u log1p-expm1-u
cbrt-undiv div-exp associate-*l* div-inv
tan-quot frac-2neg associate-*r/ prod-exp clear-num sum-log associate-/r/ cbrt-unprod unswap-sqr
+-commutative neg-sub0 distribute-lft-neg-in associate-+l- neg-mul-1 distribute-rgt-neg-in flip3-+ pow-prod-down neg-log frac-add *-commutative flip-+ distribute-neg-frac distribute-lft-out
Counts
4 → 117
Calls
4 calls:
20.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
2.0ms
(/ 1.0 (tan B))
2.0ms
(/ 1.0 (sin B))
11.0ms
(* x (/ 1.0 (tan B)))

series294.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
38.0ms
(/ 1.0 (tan B))
19.0ms
(/ 1.0 (sin B))
121.0ms
(* x (/ 1.0 (tan B)))

simplify54.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0438696
11724639
25002635

prune370.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ 1.0 (tan B))
0.1b
(fma (- x) (/ 1.0 (tan B)) (/ 1.0 (sin B)))
0.1b
(/ 1.0 (sin 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 (tan B))
0.0ms
(fma (- x) (/ 1.0 (tan B)) (/ 1.0 (sin B)))
2.0ms
(/ 1.0 (sin B))

series151.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0246416
1694382
22127382
35002377

prune253.0ms

Pruning

12 alts after pruning (12 fresh and 0 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)))

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

series196.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0325672
11587587
25001587

prune333.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-sqr-sqrt *-un-lft-identity add-cbrt-cube
18×add-cube-cbrt
15×times-frac
add-log-exp
associate-*l*
pow1 fma-def associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u associate-/l*
associate-*r* div-inv
frac-2neg associate-*l/ clear-num sum-log
+-commutative neg-sub0 distribute-lft-neg-in associate-+l- neg-mul-1 distribute-rgt-neg-in flip3-+ pow-prod-down neg-log frac-add *-commutative flip-+ distribute-neg-frac distribute-lft-out unswap-sqr
Counts
4 → 104
Calls
4 calls:
10.0ms
(+ (- (* (/ (* x 1.0) (sin B)) (cos B))) (/ 1.0 (sin B)))
3.0ms
(/ (* x 1.0) (sin B))
2.0ms
(/ 1.0 (sin B))
10.0ms
(* (/ (* x 1.0) (sin B)) (cos B))

series282.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(+ (- (* (/ (* x 1.0) (sin B)) (cos B))) (/ 1.0 (sin B)))
53.0ms
(/ (* x 1.0) (sin B))
18.0ms
(/ 1.0 (sin B))
105.0ms
(* (/ (* x 1.0) (sin B)) (cos B))

simplify60.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0440756
12045660
25001655

prune287.0ms

Pruning

9 alts after pruning (9 fresh and 0 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
02210
12610
22610

end0.0ms

sample2.3s

Algorithm
intervals
Results
985.0ms1686×body1280valid
532.0ms1496×body640valid
389.0ms4890×body80valid
183.0ms727×body320valid
64.0ms379×body160valid