Details

Time bar (total: 6.1s)

sample342.0ms

Algorithm
intervals
Results
32.0ms53×body1280valid
22.0ms49×body640valid
16.0ms155×body80valid
5.0ms18×body320valid
3.0ms14×body160valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0187
1316
2396
3506
4536
5536

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.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:
22.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)))

series296.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(- (/ 1.0 (sin B)) (* x (/ 1.0 (tan B))))
22.0ms
(/ 1.0 (sin B))
35.0ms
(/ 1.0 (tan B))
119.0ms
(* x (/ 1.0 (tan B)))

simplify45.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0386627
11479584
25001584

prune287.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
15×*-un-lft-identity
13×add-cube-cbrt times-frac
10×add-exp-log add-cbrt-cube
associate-/r*
add-log-exp
associate-/l*
pow1 cbrt-undiv div-exp
frac-2neg clear-num div-inv difference-of-squares
tan-quot sub-neg flip3-- diff-log prod-exp associate-/r/ frac-sub flip-- cbrt-unprod distribute-lft-out--
Counts
3 → 65
Calls
3 calls:
15.0ms
(- (/ 1.0 (sin B)) (/ (* x 1.0) (tan B)))
2.0ms
(/ 1.0 (sin B))
4.0ms
(/ (* x 1.0) (tan B))

series252.0ms

Counts
3 → 9
Calls
3 calls:
125.0ms
(- (/ 1.0 (sin B)) (/ (* x 1.0) (tan B)))
18.0ms
(/ 1.0 (sin B))
108.0ms
(/ (* x 1.0) (tan B))

simplify35.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0316461
11175428
25001428

prune181.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

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

series181.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(/ 1.0 (sin B))
24.0ms
(/ 1.0 (sin B))
34.0ms
(* (/ 1.0 (sin B)) (cos B))
105.0ms
(* x (* (/ 1.0 (sin B)) (cos B)))

simplify40.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0317683
11315591
25001591

prune275.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (/ 1.0 (tan B))) (cbrt (/ 1.0 (tan B))))
0.5b
(cbrt (/ 1.0 (tan B)))
0.5b
(cbrt (/ 1.0 (tan B)))
0.5b
(cbrt (/ 1.0 (tan B)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
110×cbrt-prod
81×add-sqr-sqrt
69×times-frac
57×add-cube-cbrt *-un-lft-identity
17×swap-sqr associate-*r* associate-*l*
11×pow1
pow1/3 unswap-sqr
tan-quot cbrt-div associate-/r/ 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 → 150
Calls
4 calls:
23.0ms
(* (cbrt (/ 1.0 (tan B))) (cbrt (/ 1.0 (tan B))))
2.0ms
(cbrt (/ 1.0 (tan B)))
2.0ms
(cbrt (/ 1.0 (tan B)))
2.0ms
(cbrt (/ 1.0 (tan B)))

series697.0ms

Counts
4 → 12
Calls
4 calls:
216.0ms
(* (cbrt (/ 1.0 (tan B))) (cbrt (/ 1.0 (tan B))))
156.0ms
(cbrt (/ 1.0 (tan B)))
160.0ms
(cbrt (/ 1.0 (tan B)))
164.0ms
(cbrt (/ 1.0 (tan B)))

simplify49.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03201480
111651424
250011354

prune526.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

regimes49.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
0118
1118

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.1s1741×body1280valid
572.0ms1449×body640valid
514.0ms4906×body80valid
198.0ms682×body320valid
72.0ms362×body160valid