Details

Time bar (total: 5.4s)

sample88.0ms

Algorithm
intervals
Results
35.0ms59×body1280valid
20.0ms53×body640valid
15.0ms138×body80valid
7.0ms25×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
(- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B))))
0.2b
(/ 1.0 (sin B))
0.2b
(/ 1.0 (tan B))
0.3b
(* x (/ 1.0 (tan B)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
28×add-cube-cbrt *-un-lft-identity times-frac
14×associate-*r*
13×add-exp-log add-cbrt-cube
pow1 associate-/r* associate-/l* add-log-exp
cbrt-undiv div-exp associate-*l* div-inv
tan-quot frac-2neg associate-*r/ prod-exp clear-num associate-/r/ cbrt-unprod unswap-sqr
sub-neg flip3-- diff-log pow-prod-down *-commutative frac-sub flip--
Counts
4 → 101
Calls
4 calls:
12.0ms
(- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B))))
2.0ms
(/ 1.0 (sin B))
2.0ms
(/ 1.0 (tan B))
10.0ms
(* x (/ 1.0 (tan B)))

series287.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B))))
19.0ms
(/ 1.0 (sin B))
39.0ms
(/ 1.0 (tan B))
109.0ms
(* x (/ 1.0 (tan B)))

simplify48.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0386627
11479584
25001584

prune285.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.0ms

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

series265.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(- (/ 1.0 (sin B)) (* 1.0 (/ (* x (cos B)) (sin B))))
34.0ms
(* x (cos B))
18.0ms
(/ 1.0 (sin B))
100.0ms
(/ (* x (cos B)) (sin B))

simplify44.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0333572
11375511
25001511

prune219.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

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

series266.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(- (/ 1.0 (sin B)) (* 1.0 (/ (* x (cos B)) (sin B))))
35.0ms
(* x (cos B))
24.0ms
(/ 1.0 (sin B))
94.0ms
(/ (* x (cos B)) (sin B))

simplify41.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0333572
11375511
25001511

prune230.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 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))

rewrite10.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:
6.0ms
(* (cbrt (cos B)) (cbrt (cos B)))
1.0ms
(cbrt (cos B))
1.0ms
(cbrt (cos B))
1.0ms
(cbrt (cos B))

series462.0ms

Counts
4 → 12
Calls
4 calls:
164.0ms
(* (cbrt (cos B)) (cbrt (cos B)))
99.0ms
(cbrt (cos B))
100.0ms
(cbrt (cos B))
99.0ms
(cbrt (cos B))

simplify110.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (98.0ms)

IterNodesCost
0122441
1481389
23180357
35001351

prune240.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes62.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
1198
2198

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.1s1737×body1280valid
696.0ms1420×body640valid
415.0ms4887×body80valid
184.0ms704×body320valid
66.0ms361×body160valid