Details

Time bar (total: 6.0s)

sample409.0ms

Algorithm
intervals
Results
40.0ms54×body640valid
31.0ms51×body1280valid
12.0ms163×body80valid
4.0ms18×body320valid
2.0ms15×body160valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.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

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

rewrite58.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:
22.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
5.0ms
(/ 1.0 (sin B))
6.0ms
(/ 1.0 (tan B))
20.0ms
(* x (/ 1.0 (tan B)))

series320.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
23.0ms
(/ 1.0 (sin B))
39.0ms
(/ 1.0 (tan B))
130.0ms
(* x (/ 1.0 (tan B)))

simplify50.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0438696
11724639
25002635

prune362.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize11.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.2b
(/ (* x 1.0) (tan B))

rewrite77.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:
56.0ms
(+ (- (/ (* x 1.0) (tan B))) (/ 1.0 (sin B)))
6.0ms
(/ 1.0 (sin B))
14.0ms
(/ (* x 1.0) (tan B))

series265.0ms

Counts
3 → 9
Calls
3 calls:
125.0ms
(+ (- (/ (* x 1.0) (tan B))) (/ 1.0 (sin B)))
20.0ms
(/ 1.0 (sin B))
119.0ms
(/ (* x 1.0) (tan B))

simplify37.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0350492
11353445
25002440

prune284.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite143.0ms

Algorithm
rewrite-expression-head
Rules
107×times-frac
68×*-un-lft-identity
59×add-sqr-sqrt add-cube-cbrt
56×fma-def
32×add-exp-log
29×distribute-rgt-neg-in
26×distribute-lft-neg-in
20×add-cbrt-cube
16×div-inv
15×div-exp
11×associate-/r*
associate-/l*
cbrt-undiv add-log-exp
pow1
expm1-log1p-u prod-exp log1p-expm1-u distribute-lft-out
rec-exp frac-2neg 1-exp clear-num associate-/r/
sum-log cbrt-unprod
tan-quot +-commutative neg-sub0 associate-+l- neg-mul-1 pow-flip flip3-+ neg-log frac-add flip-+ associate-/l/ distribute-neg-frac inv-pow
Counts
4 → 187
Calls
4 calls:
102.0ms
(+ (- (/ 1 (/ (tan B) (* x 1.0)))) (/ 1.0 (sin B)))
6.0ms
(/ 1.0 (sin B))
10.0ms
(/ (tan B) (* x 1.0))
18.0ms
(/ 1 (/ (tan B) (* x 1.0)))

series308.0ms

Counts
4 → 12
Calls
4 calls:
137.0ms
(+ (- (/ 1 (/ (tan B) (* x 1.0)))) (/ 1.0 (sin B)))
20.0ms
(/ 1.0 (sin B))
55.0ms
(/ (tan B) (* x 1.0))
96.0ms
(/ 1 (/ (tan B) (* x 1.0)))

simplify58.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0549959
12347844
25001789

prune529.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma (/ x (tan B)) 1.0 (- (/ 1.0 (sin B))))
0.1b
(/ 1.0 (sin B))
0.2b
(/ x (tan B))

rewrite14.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:
0.0ms
(fma (/ x (tan B)) 1.0 (- (/ 1.0 (sin B))))
6.0ms
(/ 1.0 (sin B))
6.0ms
(/ x (tan B))

series264.0ms

Counts
3 → 9
Calls
3 calls:
129.0ms
(fma (/ x (tan B)) 1.0 (- (/ 1.0 (sin B))))
25.0ms
(/ 1.0 (sin B))
110.0ms
(/ x (tan B))

simplify56.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0250412
1720379
22083379
35001375

prune234.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.0b

regimes75.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0147
1147

end0.0ms

sample2.4s

Algorithm
intervals
Results
988.0ms1734×body1280valid
493.0ms1381×body640valid
394.0ms5007×body80valid
174.0ms703×body320valid
65.0ms361×body160valid