Details

Time bar (total: 5.2s)

sample303.0ms

Algorithm
intervals
Results
21.0ms51×body1280valid
13.0ms51×body640valid
11.0ms162×body80valid
3.0ms16×body320valid
1.0msbody160valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0187
1316
2396
3506
4536
5536

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

rewrite28.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:
8.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)))

series297.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
18.0ms
(/ 1.0 (sin B))
35.0ms
(/ 1.0 (tan B))
129.0ms
(* x (/ 1.0 (tan B)))

simplify50.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0419664
11645609
25001604

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

rewrite23.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:
8.0ms
(+ (- (* 1.0 (/ (* x (cos B)) (sin B)))) (/ 1.0 (sin B)))
4.0ms
(/ 1.0 (sin B))
4.0ms
(* x (cos B))
5.0ms
(/ (* x (cos B)) (sin B))

series253.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(+ (- (* 1.0 (/ (* x (cos B)) (sin B)))) (/ 1.0 (sin B)))
22.0ms
(/ 1.0 (sin B))
34.0ms
(* x (cos B))
94.0ms
(/ (* x (cos B)) (sin B))

simplify44.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0359603
11463536
25002530

prune233.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

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

rewrite29.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:
7.0ms
(+ (- (* 1.0 (/ x (/ (sin B) (cos B))))) (/ 1.0 (sin B)))
3.0ms
(/ 1.0 (sin B))
9.0ms
(/ x (/ (sin B) (cos B)))
4.0ms
(/ (sin B) (cos B))

series233.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05751252
123441177
250011170

prune419.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (cbrt (/ (sin B) (cos B))) (cbrt (/ (sin B) (cos B))))
0.6b
(cbrt (/ (sin B) (cos B)))
0.6b
(cbrt (/ (sin B) (cos B)))
0.6b
(cbrt (/ (sin B) (cos B)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
103×cbrt-prod
81×add-sqr-sqrt
69×times-frac
57×add-cube-cbrt *-un-lft-identity
16×swap-sqr associate-*r* associate-*l*
11×pow1
pow1/3 unswap-sqr
cbrt-div div-inv
add-exp-log
add-cbrt-cube 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 → 144
Calls
4 calls:
13.0ms
(* (cbrt (/ (sin B) (cos B))) (cbrt (/ (sin B) (cos B))))
3.0ms
(cbrt (/ (sin B) (cos B)))
3.0ms
(cbrt (/ (sin B) (cos B)))
3.0ms
(cbrt (/ (sin B) (cos B)))

series500.0ms

Counts
4 → 12
Calls
4 calls:
154.0ms
(* (cbrt (/ (sin B) (cos B))) (cbrt (/ (sin B) (cos B))))
112.0ms
(cbrt (/ (sin B) (cos B)))
118.0ms
(cbrt (/ (sin B) (cos B)))
115.0ms
(cbrt (/ (sin B) (cos B)))

simplify45.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
02731687
110291583
250011532

prune522.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes54.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
0179
1219
2219

end0.0ms

sample1.7s

Algorithm
intervals
Results
691.0ms1707×body1280valid
361.0ms1431×body640valid
289.0ms4924×body80valid
125.0ms680×body320valid
46.0ms373×body160valid