Details

Time bar (total: 9.9s)

sample60.0ms

Algorithm
intervals
Results
25.0ms60×body1280valid
10.0ms42×body640valid
10.0ms170×body80valid
3.0ms19×body320valid
1.0ms10×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

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 2

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
105×*-un-lft-identity
104×add-sqr-sqrt
99×frac-add distribute-neg-frac
90×associate-*r/
89×add-cube-cbrt
79×associate-/l*
69×associate-/r*
52×fma-def
48×times-frac
42×associate-*r*
33×clear-num
26×distribute-rgt-neg-in
24×distribute-lft-neg-in
23×frac-2neg
20×un-div-inv
13×add-exp-log add-cbrt-cube
10×associate-*l*
add-log-exp
pow1 unswap-sqr
div-inv
tan-quot expm1-log1p-u associate-/r/ log1p-expm1-u
cbrt-undiv div-exp *-commutative distribute-lft-out
prod-exp sum-log cbrt-unprod
+-commutative neg-sub0 associate-+l- neg-mul-1 flip3-+ pow-prod-down neg-log flip-+
Counts
4 → 273
Calls
4 calls:
42.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
3.0ms
(/ 1.0 (sin B))
4.0ms
(/ 1.0 (tan B))
9.0ms
(* x (/ 1.0 (tan B)))

series299.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
285 → 285
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
013002252
150012148

prune534.0ms

Filtered
285 candidates to 198 candidates (69.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2769285
Fresh101
Picked101
Done000
Total2789287

Merged error: 0b

Counts
287 → 9

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite122.0ms

Algorithm
rewrite-expression-head
Rules
299×times-frac
248×*-un-lft-identity
240×add-sqr-sqrt add-cube-cbrt
199×associate-/r*
171×frac-add distribute-neg-frac
110×fma-def
99×associate-/l*
55×distribute-rgt-neg-in
53×distribute-lft-neg-in
33×frac-2neg clear-num
30×associate-/r/
23×div-inv
10×add-exp-log add-cbrt-cube
add-log-exp
cbrt-undiv div-exp
tan-quot pow1 expm1-log1p-u log1p-expm1-u associate-/l/ distribute-lft-out
sum-log
+-commutative neg-sub0 associate-+l- neg-mul-1 flip3-+ neg-log flip-+
Counts
3 → 409
Calls
3 calls:
85.0ms
(+ (- (/ x (/ (tan B) 1.0))) (/ 1.0 (sin B)))
7.0ms
(/ x (/ (tan B) 1.0))
3.0ms
(/ 1.0 (sin B))

series262.0ms

Counts
3 → 9
Calls
3 calls:
121.0ms
(+ (- (/ x (/ (tan B) 1.0))) (/ 1.0 (sin B)))
115.0ms
(/ x (/ (tan B) 1.0))
27.0ms
(/ 1.0 (sin B))

simplify91.0ms

Algorithm
egg-herbie
Counts
418 → 418
Iterations

Useful iterations: 1 (46.0ms)

IterNodesCost
024774247
150024094

prune1.1s

Filtered
418 candidates to 326 candidates (78.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New4135418
Fresh628
Picked101
Done000
Total4207427

Merged error: 0b

Counts
427 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite358.0ms

Algorithm
rewrite-expression-head
Rules
1758×times-frac
1012×*-un-lft-identity
991×add-sqr-sqrt add-cube-cbrt
604×associate-/r*
441×frac-add distribute-neg-frac
328×fma-def
248×associate-/l*
169×distribute-rgt-neg-in
162×distribute-lft-neg-in
91×associate-/r/
89×div-inv
72×clear-num
68×frac-2neg
48×associate-/l/
32×add-exp-log
20×add-cbrt-cube
19×div-exp
10×cbrt-undiv
distribute-lft-out add-log-exp
pow1
tan-quot expm1-log1p-u log1p-expm1-u remove-double-div
rec-exp 1-exp
sum-log
+-commutative neg-sub0 associate-+l- neg-mul-1 pow-flip flip3-+ neg-log flip-+ inv-pow
Counts
4 → 1136
Calls
4 calls:
220.0ms
(+ (- (/ 1 (/ (/ (tan B) 1.0) x))) (/ 1.0 (sin B)))
11.0ms
(/ (/ (tan B) 1.0) x)
4.0ms
(/ 1.0 (sin B))
17.0ms
(/ 1 (/ (/ (tan B) 1.0) x))

series305.0ms

Counts
4 → 12
Calls
4 calls:
133.0ms
(+ (- (/ 1 (/ (/ (tan B) 1.0) x))) (/ 1.0 (sin B)))
52.0ms
(/ (/ (tan B) 1.0) x)
23.0ms
(/ 1.0 (sin B))
97.0ms
(/ 1 (/ (/ (tan B) 1.0) x))

simplify154.0ms

Algorithm
egg-herbie
Counts
1148 → 1148
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
0500114252

prune3.1s

Filtered
1148 candidates to 928 candidates (80.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New114531148
Fresh336
Picked011
Done000
Total114871155

Merged error: 0b

Counts
1155 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite135.0ms

Algorithm
rewrite-expression-head
Rules
224×add-sqr-sqrt
204×associate-/l*
190×*-un-lft-identity
189×frac-add distribute-neg-frac
166×add-cube-cbrt
162×associate-*r/
141×associate-*r*
121×times-frac
106×fma-def
96×associate-/r*
76×associate-*l*
54×distribute-rgt-neg-in
52×distribute-lft-neg-in
41×clear-num
32×frac-2neg
28×unswap-sqr
27×un-div-inv
22×*-commutative
13×add-exp-log add-cbrt-cube
add-log-exp
div-inv
pow1
expm1-log1p-u log1p-expm1-u distribute-lft-out
cbrt-undiv div-exp
prod-exp sum-log cbrt-unprod
+-commutative neg-sub0 associate-+l- neg-mul-1 distribute-rgt-out flip3-+ pow-prod-down neg-log flip-+
Counts
4 → 431
Calls
4 calls:
85.0ms
(+ (- (* 1.0 (/ (* x (cos B)) (sin B)))) (/ 1.0 (sin B)))
4.0ms
(* x (cos B))
7.0ms
(/ 1.0 (sin B))
8.0ms
(/ (* x (cos B)) (sin B))

series274.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
443 → 443
Iterations

Useful iterations: 1 (45.0ms)

IterNodesCost
022294743
150014617

prune1.0s

Filtered
443 candidates to 308 candidates (69.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New4421443
Fresh145
Picked101
Done011
Total4446450

Merged error: 0b

Counts
450 → 6

regimes56.0ms

Accuracy

0% (0.2b 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
0178
1178

end0.0ms

sample1.7s

Algorithm
intervals
Results
704.0ms1667×body1280valid
373.0ms1452×body640valid
292.0ms4947×body80valid
130.0ms713×body320valid
44.0ms348×body160valid