Details

Time bar (total: 9.0s)

sample240.0ms

Algorithm
intervals
Results
190.0ms114×body2560valid
27.0ms73×body1280valid
7.0ms42×body640valid
4.0ms256×pre80true
2.0ms21×body320valid
0.0msbody160valid
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: 60.2b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ 1.0 (tan x))
2.4b
(- (/ 1.0 x) (/ 1.0 (tan x)))

rewrite8.0ms

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

series150.0ms

Counts
2 → 6
Calls
2 calls:
40.0ms
(/ 1.0 (tan x))
110.0ms
(- (/ 1.0 x) (/ 1.0 (tan x)))

simplify80.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0215166
1698150
22607135
35003135

prune43.0ms

Filtered
24 candidates to 17 candidates (70.8%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New23124
Fresh000
Picked101
Done000
Total24125

Merged error: 0.3b

Counts
25 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite10.0ms

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

series232.0ms

Counts
3 → 9
Calls
3 calls:
139.0ms
(+ (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x))
54.0ms
(* 0.0021164021164021165 (pow x 5))
38.0ms
(* 0.022222222222222223 (pow x 3))

simplify45.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
08661
126960
2101159
3500159

prune30.0ms

Filtered
17 candidates to 8 candidates (47.1%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New15217
Fresh000
Picked011
Done000
Total15318

Merged error: 0.3b

Counts
18 → 3

localize22.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 0.0021164021164021165 (pow x 5))
0.1b
(* 0.022222222222222223 (pow x 3))
0.2b
(* (* 0.3333333333333333 x) (* 0.3333333333333333 x))
29.6b
(/ (+ (- (* (* 0.3333333333333333 x) (* 0.3333333333333333 x))) (* 0.0021164021164021165 (* 0.0021164021164021165 (pow x 10)))) (- (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
associate-*r*
swap-sqr associate-*l* associate-/r/ associate-/l/ sqr-pow
pow2 neg-sub0 associate-+l- flip3-- frac-2neg flip3-+ unpow3 div-sub clear-num flip-- flip-+ div-inv
Counts
4 → 21
Calls
4 calls:
3.0ms
(* 0.0021164021164021165 (pow x 5))
3.0ms
(* 0.022222222222222223 (pow x 3))
5.0ms
(* (* 0.3333333333333333 x) (* 0.3333333333333333 x))
16.0ms
(/ (+ (- (* (* 0.3333333333333333 x) (* 0.3333333333333333 x))) (* 0.0021164021164021165 (* 0.0021164021164021165 (pow x 10)))) (- (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x)))

series382.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(* 0.0021164021164021165 (pow x 5))
42.0ms
(* 0.022222222222222223 (pow x 3))
25.0ms
(* (* 0.3333333333333333 x) (* 0.3333333333333333 x))
260.0ms
(/ (+ (- (* (* 0.3333333333333333 x) (* 0.3333333333333333 x))) (* 0.0021164021164021165 (* 0.0021164021164021165 (pow x 10)))) (- (* 0.0021164021164021165 (pow x 5)) (* 0.3333333333333333 x)))

simplify38.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0185174
1787154
25001146

prune136.0ms

Filtered
33 candidates to 23 candidates (69.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New27633
Fresh011
Picked101
Done011
Total28836

Merged error: 0.2b

Counts
36 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
clear-num
frac-2neg associate-*r* associate-/r* div-inv inv-pow
flip3-+ *-commutative flip-+ remove-double-div sqr-pow
pow-flip unpow3
Counts
4 → 24
Calls
4 calls:
3.0ms
(* 0.0021164021164021165 (pow x 5))
3.0ms
(* 0.022222222222222223 (pow x 3))
5.0ms
(/ 1 (+ (* 0.3333333333333333 x) (* 0.0021164021164021165 (pow x 5))))
6.0ms
(/ 1 (/ 1 (+ (* 0.3333333333333333 x) (* 0.0021164021164021165 (pow x 5)))))

series375.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(* 0.0021164021164021165 (pow x 5))
41.0ms
(* 0.022222222222222223 (pow x 3))
138.0ms
(/ 1 (+ (* 0.3333333333333333 x) (* 0.0021164021164021165 (pow x 5))))
147.0ms
(/ 1 (/ 1 (+ (* 0.3333333333333333 x) (* 0.0021164021164021165 (pow x 5)))))

simplify63.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (55.0ms)

IterNodesCost
0154126
1467125
21727122
35002118

prune73.0ms

Filtered
36 candidates to 22 candidates (61.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New35136
Fresh246
Picked101
Done011
Total38644

Merged error: 0.1b

Counts
44 → 6

regimes33.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02511
12511

end0.0ms

sample7.0s

Algorithm
intervals
Results
5.2s3318×body2560valid
1.3s2454×body1280valid
201.0ms1195×body640valid
105.0ms8000×pre80true
68.0ms653×body320valid
28.0ms337×body160valid
2.0ms43×body80valid