Details

Time bar (total: 5.5s)

sample80.0ms

Algorithm
intervals
Results
36.0ms55×body1280valid
15.0ms45×body640valid
13.0ms169×body80valid
3.0ms15×body320valid
2.0ms10×body160valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
0187
1316
2396
3506
4536
5536

prune5.0ms

Pruning

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

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

series301.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
20.0ms
(/ 1.0 (sin B))
42.0ms
(/ 1.0 (tan B))
117.0ms
(* x (/ 1.0 (tan B)))

simplify51.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0419664
11645609
25001604

prune308.0ms

Pruning

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
13×add-sqr-sqrt add-cube-cbrt
12×times-frac
10×add-exp-log add-cbrt-cube
add-log-exp
associate-/r*
associate-/l*
pow1 cbrt-undiv div-exp
frac-2neg clear-num sum-log div-inv distribute-lft-out
tan-quot +-commutative neg-sub0 associate-+l- distribute-rgt-neg-in flip3-+ neg-log frac-add prod-exp associate-/r/ cbrt-unprod flip-+ distribute-neg-frac
Counts
3 → 65
Calls
3 calls:
28.0ms
(+ (- (/ (* x 1.0) (tan B))) (/ 1.0 (sin B)))
2.0ms
(/ 1.0 (sin B))
3.0ms
(/ (* x 1.0) (tan B))

series261.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0336465
11303419
25001414

prune196.0ms

Pruning

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

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

series210.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(/ 1.0 (sin B))
20.0ms
(/ 1.0 (sin B))
114.0ms
(* (* x (/ 1.0 (sin B))) (cos B))
56.0ms
(* x (/ 1.0 (sin B)))

simplify46.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0315645
11562560
25001560

prune296.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt x) (cbrt x))
0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(cbrt x)

rewrite9.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:
5.0ms
(* (cbrt x) (cbrt x))
0.0ms
(cbrt x)
0.0ms
(cbrt x)
1.0ms
(cbrt x)

series766.0ms

Counts
4 → 12
Calls
4 calls:
203.0ms
(* (cbrt x) (cbrt x))
194.0ms
(cbrt x)
184.0ms
(cbrt x)
184.0ms
(cbrt x)

simplify89.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (84.0ms)

IterNodesCost
0115288
1472261
22959238
35003235

prune260.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

regimes59.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0179
1259
2279
3279

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.0s1744×body1280valid
502.0ms1436×body640valid
382.0ms4907×body80valid
171.0ms717×body320valid
58.0ms350×body160valid