Details

Time bar (total: 6.0s)

sample88.0ms

Algorithm
intervals
Results
32.0ms53×body1280valid
20.0ms49×body640valid
18.0ms155×body80valid
5.0ms18×body320valid
3.0ms14×body160valid

simplify11.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 (sin B))
0.2b
(/ 1.0 (tan B))
0.2b
(* x (/ 1.0 (tan B)))

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

series276.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
19.0ms
(/ 1.0 (sin B))
35.0ms
(/ 1.0 (tan B))
109.0ms
(* x (/ 1.0 (tan B)))

simplify51.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0438696
11724639
25002635

prune331.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
20×fma-def
18×add-sqr-sqrt add-cube-cbrt times-frac
10×add-exp-log add-cbrt-cube
distribute-rgt-neg-in
distribute-lft-neg-in
add-log-exp
associate-/r*
div-inv associate-/l*
tan-quot pow1 cbrt-undiv expm1-log1p-u div-exp associate-/r/ log1p-expm1-u
frac-2neg clear-num sum-log distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 flip3-+ neg-log frac-add prod-exp cbrt-unprod flip-+ distribute-neg-frac
Counts
3 → 91
Calls
3 calls:
31.0ms
(+ (- (/ (* x 1.0) (tan B))) (/ 1.0 (sin B)))
2.0ms
(/ 1.0 (sin B))
4.0ms
(/ (* x 1.0) (tan B))

series240.0ms

Counts
3 → 9
Calls
3 calls:
114.0ms
(+ (- (/ (* x 1.0) (tan B))) (/ 1.0 (sin B)))
19.0ms
(/ 1.0 (sin B))
107.0ms
(/ (* x 1.0) (tan B))

simplify39.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0350492
11353445
25002440

prune259.0ms

Pruning

5 alts after pruning (5 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
(* (/ 1.0 (sin B)) (cos B))
0.2b
(* x (* (/ 1.0 (sin B)) (cos B)))

rewrite27.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-*l*
11×pow1
prod-exp cbrt-unprod
associate-/r* associate-/l*
cbrt-undiv expm1-log1p-u div-exp associate-*r* pow-prod-down log1p-expm1-u add-log-exp
div-inv
frac-2neg associate-*l/ clear-num *-commutative unswap-sqr
associate-*r/
Counts
4 → 115
Calls
4 calls:
2.0ms
(/ 1.0 (sin B))
2.0ms
(/ 1.0 (sin B))
8.0ms
(* (/ 1.0 (sin B)) (cos B))
12.0ms
(* x (* (/ 1.0 (sin B)) (cos B)))

series175.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(/ 1.0 (sin B))
18.0ms
(/ 1.0 (sin B))
38.0ms
(* (/ 1.0 (sin B)) (cos B))
101.0ms
(* x (* (/ 1.0 (sin B)) (cos B)))

simplify45.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0328712
11345620
25001620

prune304.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (/ 1.0 (tan B))) (cbrt (/ 1.0 (tan B))))
0.5b
(cbrt (/ 1.0 (tan B)))
0.5b
(cbrt (/ 1.0 (tan B)))
0.5b
(cbrt (/ 1.0 (tan B)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
110×cbrt-prod
81×add-sqr-sqrt
69×times-frac
57×add-cube-cbrt *-un-lft-identity
17×swap-sqr associate-*r* associate-*l*
11×pow1
pow1/3 unswap-sqr
tan-quot cbrt-div associate-/r/ div-inv
add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 frac-times pow-plus associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 158
Calls
4 calls:
20.0ms
(* (cbrt (/ 1.0 (tan B))) (cbrt (/ 1.0 (tan B))))
2.0ms
(cbrt (/ 1.0 (tan B)))
2.0ms
(cbrt (/ 1.0 (tan B)))
2.0ms
(cbrt (/ 1.0 (tan B)))

series670.0ms

Counts
4 → 12
Calls
4 calls:
205.0ms
(* (cbrt (/ 1.0 (tan B))) (cbrt (/ 1.0 (tan B))))
153.0ms
(cbrt (/ 1.0 (tan B)))
154.0ms
(cbrt (/ 1.0 (tan B)))
158.0ms
(cbrt (/ 1.0 (tan B)))

simplify49.0ms

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03281516
111901464
250011390

prune561.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

regimes44.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
0179
1259
2279
3279

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.1s1741×body1280valid
581.0ms1449×body640valid
506.0ms4906×body80valid
195.0ms682×body320valid
77.0ms362×body160valid