Details

Time bar (total: 6.6s)

sample325.0ms

Algorithm
intervals
Results
35.0ms56×body1280valid
14.0ms41×body640valid
12.0ms156×body80valid
5.0ms23×body320valid
1.0msbody160valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0187
1316
2396
3506
4536
5536

prune9.0ms

Pruning

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

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
30×*-un-lft-identity
28×add-cube-cbrt times-frac
14×associate-*r*
13×add-exp-log add-cbrt-cube
add-log-exp
pow1 associate-/r* associate-/l*
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 associate-+l- flip3-+ pow-prod-down neg-log frac-add *-commutative flip-+ distribute-neg-frac distribute-lft-out
Counts
4 → 103
Calls
4 calls:
15.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
5.0ms
(/ 1.0 (sin B))
6.0ms
(/ 1.0 (tan B))
29.0ms
(* x (/ 1.0 (tan B)))

series279.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0419664
11645609
25001604

prune426.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt *-un-lft-identity
16×add-cube-cbrt
13×add-exp-log add-cbrt-cube
12×times-frac
add-log-exp
pow1 associate-/r*
associate-/l*
cbrt-undiv div-exp associate-*r* associate-*l* div-inv
frac-2neg prod-exp clear-num sum-log cbrt-unprod distribute-lft-out
+-commutative neg-sub0 associate-+l- distribute-rgt-neg-in flip3-+ associate-*r/ pow-prod-down neg-log frac-add *-commutative flip-+ distribute-neg-frac unswap-sqr
Counts
4 → 82
Calls
4 calls:
15.0ms
(+ (- (* 1.0 (/ (* x (cos B)) (sin B)))) (/ 1.0 (sin B)))
6.0ms
(/ 1.0 (sin B))
9.0ms
(* x (cos B))
12.0ms
(/ (* x (cos B)) (sin B))

series239.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(+ (- (* 1.0 (/ (* x (cos B)) (sin B)))) (/ 1.0 (sin B)))
18.0ms
(/ 1.0 (sin B))
36.0ms
(* x (cos B))
89.0ms
(/ (* x (cos B)) (sin B))

simplify45.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0359603
11463536
25002530

prune381.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
93×times-frac
64×*-un-lft-identity
62×add-sqr-sqrt add-cube-cbrt
19×associate-/r*
13×add-exp-log add-cbrt-cube
associate-/l*
div-inv add-log-exp
cbrt-undiv div-exp
pow1
frac-2neg clear-num
sum-log distribute-lft-out
+-commutative neg-sub0 associate-+l- quot-tan distribute-rgt-neg-in flip3-+ associate-*r/ neg-log frac-add associate-/r/ flip-+ distribute-neg-frac
Counts
4 → 141
Calls
4 calls:
15.0ms
(+ (- (* 1.0 (/ x (/ (sin B) (cos B))))) (/ 1.0 (sin B)))
5.0ms
(/ 1.0 (sin B))
10.0ms
(/ x (/ (sin B) (cos B)))
9.0ms
(/ (sin B) (cos B))

series224.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(+ (- (* 1.0 (/ x (/ (sin B) (cos B))))) (/ 1.0 (sin B)))
18.0ms
(/ 1.0 (sin B))
89.0ms
(/ x (/ (sin B) (cos B)))
19.0ms
(/ (sin B) (cos B))

simplify63.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05751252
123441177
250011170

prune752.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (cbrt (cos B)) (cbrt (cos B)))
0.4b
(cbrt (cos B))
0.4b
(cbrt (cos B))
0.4b
(cbrt (cos B))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 73
Calls
4 calls:
13.0ms
(* (cbrt (cos B)) (cbrt (cos B)))
1.0ms
(cbrt (cos B))
1.0ms
(cbrt (cos B))
1.0ms
(cbrt (cos B))

series448.0ms

Counts
4 → 12
Calls
4 calls:
153.0ms
(* (cbrt (cos B)) (cbrt (cos B)))
102.0ms
(cbrt (cos B))
96.0ms
(cbrt (cos B))
97.0ms
(cbrt (cos B))

simplify110.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0122441
1481389
23180357
35001351

prune450.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

regimes105.0ms

Accuracy

0% (0.1b 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
0189
1229
2289
3289

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.0s1744×body1280valid
535.0ms1463×body640valid
411.0ms4886×body80valid
179.0ms690×body320valid
57.0ms334×body160valid