Details

Time bar (total: 5.2s)

sample80.0ms

Algorithm
intervals
Results
32.0ms55×body1280valid
13.0ms38×body640valid
12.0ms152×body80valid
10.0ms27×body320valid
2.0ms12×body160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0187
1336
2436
3546
4606
5626
6626

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

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

rewrite26.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:
9.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
2.0ms
(/ 1.0 (tan B))
2.0ms
(/ 1.0 (sin B))
9.0ms
(* x (/ 1.0 (tan B)))

series284.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
36.0ms
(/ 1.0 (tan B))
18.0ms
(/ 1.0 (sin B))
111.0ms
(* x (/ 1.0 (tan B)))

simplify53.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0438696
11724639
25002635

prune371.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

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

series164.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(/ 1.0 (tan B))
106.0ms
(fma x (- (/ 1.0 (tan B))) (/ 1.0 (sin B)))
23.0ms
(/ 1.0 (sin B))

simplify58.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0245416
1692382
22107382
35001377

prune264.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

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

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

series205.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))
61.0ms
(* x (/ 1.0 (sin B)))

simplify56.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0325672
11587587
25001587

prune351.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

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

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

series288.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0440756
12045660
25001655

prune306.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

regimes73.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.4s

Algorithm
intervals
Results
1.0s1686×body1280valid
538.0ms1496×body640valid
391.0ms4890×body80valid
192.0ms727×body320valid
70.0ms379×body160valid