Details

Time bar (total: 8.6s)

sample198.0ms

Algorithm
intervals
Results
134.0ms101×body2560valid
43.0ms85×body1280valid
6.0ms37×body640valid
3.0ms256×pre80true
2.0ms19×body320valid
1.0ms13×body160valid
0.0msbody80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
084
1114
2114

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 59.9b

Counts
2 → 1

localize9.0ms

Local error

Found 1 expressions with local error:

3.5b
(- (/ 1.0 x) (/ 1.0 (tan x)))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
frac-sub
frac-2neg clear-num
div-inv
sub-neg flip3-- flip-- distribute-lft-out--
Counts
1 → 14
Calls
1 calls:
5.0ms
(- (/ 1.0 x) (/ 1.0 (tan x)))

series106.0ms

Counts
1 → 3
Calls
1 calls:
106.0ms
(- (/ 1.0 x) (/ 1.0 (tan x)))

simplify73.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0204142
1670126
22489111
35003111

prune27.0ms

Filtered
17 candidates to 11 candidates (64.7%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New16117
Fresh000
Picked101
Done000
Total17118

Merged error: 0.4b

Counts
18 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x)))
0.1b
(* 0.0021164021164021165 (pow x 5))
0.1b
(* 0.022222222222222223 (pow x 3))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r*
+-commutative associate-+r+ *-commutative sqr-pow
flip3-+ unpow3 flip-+
Counts
3 → 10
Calls
3 calls:
8.0ms
(+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x)))
2.0ms
(* 0.0021164021164021165 (pow x 5))
3.0ms
(* 0.022222222222222223 (pow x 3))

series150.0ms

Counts
3 → 9
Calls
3 calls:
59.0ms
(+ (* 0.022222222222222223 (pow x 3)) (+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x)))
53.0ms
(* 0.0021164021164021165 (pow x 5))
37.0ms
(* 0.022222222222222223 (pow x 3))

simplify92.0ms

Algorithm
egg-herbie
Counts
19 → 19
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
010197
135896
2189296
3500196

prune36.0ms

Filtered
19 candidates to 10 candidates (52.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New16319
Fresh000
Picked101
Done000
Total17320

Merged error: 0.4b

Counts
20 → 3

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ (* 0.022222222222222223 (pow x 3)) (* 0.0021164021164021165 (pow x 5))) (* 0.3333333333333333 x))
0.0b
(+ (* 0.022222222222222223 (pow x 3)) (* 0.0021164021164021165 (pow x 5)))
0.1b
(* 0.0021164021164021165 (pow x 5))
0.1b
(* 0.022222222222222223 (pow x 3))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
+-commutative associate-*r*
associate-+l+ flip3-+ *-commutative flip-+ sqr-pow
unpow3
Counts
4 → 13
Calls
4 calls:
12.0ms
(+ (+ (* 0.022222222222222223 (pow x 3)) (* 0.0021164021164021165 (pow x 5))) (* 0.3333333333333333 x))
5.0ms
(+ (* 0.022222222222222223 (pow x 3)) (* 0.0021164021164021165 (pow x 5)))
3.0ms
(* 0.0021164021164021165 (pow x 5))
3.0ms
(* 0.022222222222222223 (pow x 3))

series301.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(+ (+ (* 0.022222222222222223 (pow x 3)) (* 0.0021164021164021165 (pow x 5))) (* 0.3333333333333333 x))
140.0ms
(+ (* 0.022222222222222223 (pow x 3)) (* 0.0021164021164021165 (pow x 5)))
56.0ms
(* 0.0021164021164021165 (pow x 5))
38.0ms
(* 0.022222222222222223 (pow x 3))

simplify124.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0142151
1511148
22515142
35001142

prune49.0ms

Filtered
25 candidates to 13 candidates (52.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New24125
Fresh112
Picked011
Done000
Total25328

Merged error: 0.4b

Counts
28 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 0.022222222222222223 (pow x 3))
0.1b
(* 0.022222222222222223 (pow x 3))
0.3b
(* (* 0.3333333333333333 x) (* 0.3333333333333333 x))
29.8b
(/ (- (* (+ (* 0.022222222222222223 (pow x 3)) (* 0.0021164021164021165 (pow x 5))) (+ (* 0.022222222222222223 (pow x 3)) (* 0.0021164021164021165 (pow x 5)))) (* (* 0.3333333333333333 x) (* 0.3333333333333333 x))) (- (+ (* 0.022222222222222223 (pow x 3)) (* 0.0021164021164021165 (pow x 5))) (* 0.3333333333333333 x)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
11×*-commutative
associate-*r*
associate-/l* difference-of-squares
flip3-- unpow3 swap-sqr associate-*l* associate-/r/ flip-- associate-/l/ sqr-pow
pow2 frac-2neg div-sub clear-num div-inv
Counts
4 → 26
Calls
4 calls:
3.0ms
(* 0.022222222222222223 (pow x 3))
3.0ms
(* 0.022222222222222223 (pow x 3))
8.0ms
(* (* 0.3333333333333333 x) (* 0.3333333333333333 x))
24.0ms
(/ (- (* (+ (* 0.022222222222222223 (pow x 3)) (* 0.0021164021164021165 (pow x 5))) (+ (* 0.022222222222222223 (pow x 3)) (* 0.0021164021164021165 (pow x 5)))) (* (* 0.3333333333333333 x) (* 0.3333333333333333 x))) (- (+ (* 0.022222222222222223 (pow x 3)) (* 0.0021164021164021165 (pow x 5))) (* 0.3333333333333333 x)))

series289.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(* 0.022222222222222223 (pow x 3))
43.0ms
(* 0.022222222222222223 (pow x 3))
25.0ms
(* (* 0.3333333333333333 x) (* 0.3333333333333333 x))
183.0ms
(/ (- (* (+ (* 0.022222222222222223 (pow x 3)) (* 0.0021164021164021165 (pow x 5))) (+ (* 0.022222222222222223 (pow x 3)) (* 0.0021164021164021165 (pow x 5)))) (* (* 0.3333333333333333 x) (* 0.3333333333333333 x))) (- (+ (* 0.022222222222222223 (pow x 3)) (* 0.0021164021164021165 (pow x 5))) (* 0.3333333333333333 x)))

simplify31.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0170234
1774234
25001219

prune91.0ms

Filtered
38 candidates to 25 candidates (65.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New34438
Fresh101
Picked101
Done011
Total36541

Merged error: 0.2b

Counts
41 → 5

regimes23.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0187
1187

end0.0ms

sample6.9s

Algorithm
intervals
Results
5.0s3167×body2560valid
1.3s2572×body1280valid
210.0ms1255×body640valid
105.0ms8000×pre80true
63.0ms642×body320valid
23.0ms322×body160valid
2.0ms42×body80valid