{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

cot5310F07SampleMidterm1

# cot5310F07SampleMidterm1 - COT 5310 Fall 2006 Midterm#1...

This preview shows pages 1–2. Sign up to view the full content.

COT 5310 Fall 2006 Midterm#1 Sample Name:_____________________ Generally useful information. The notation z = <x,y> denotes the pairing function with inverses x = <z> 1 and y = <z> 2 . The minimization notation μ y [P(…,y)] means the least y (starting at 0 ) such that P(…,y) is true. The bounded minimization (acceptable in primitive recursive functions) notation μ y (u y v) [P(…,y)] means the least y (starting at u and ending at v ) such that P(…,y) is true. Unlike the text, I find it convenient to define μ y (u y v) [P(…,y)] to be v+1 , when no y satisfies this bounded minimization. The tilde symbol, ~, means the complement. Thus, set ~S is the set complement of set S , and predicate ~P(x) is the logical complement of predicate P(x). A function P is a predicate if it is a logical function that returns either 1 ( true ) or 0 ( false ). Thus, P(x) means P evaluates to true on x , but we can also take advantage of the fact that true is 1 and false is 0 in formulas like y × P(x) , which would evaluate to either y (if P(x) ) or 0 (if ~P(x) ). A set S is recursive if S has a total recursive characteristic function χ S , such that x S χ S (x) . Note χ S is a predicate. Thus, it evaluates to 0 ( false ), if x S . When I say a set S is re, unless I explicitly say otherwise, you may assume any of the following equivalent characterizations: 1. S is either empty or the range of a total recursive function f S . 2. S is the domain of a partial recursive function g S . If I say a function g is partially computable, then there is an index g (I know that’s overloading, but that’s okay as long as we understand each other), such that Φ g (x) = Φ (x, g) = g(x) . Here Φ is a universal partially recursive function.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern