Closed michelle-chiang closed 6 years ago
Thanks so much!
Fixed all except I didn't get to do a quotes/punctuation pass, but will try to do this at some point (I guess I'm adopting British conventions when it suits me ... https://www.quickanddirtytips.com/education/grammar/how-to-use-quotation-marks ) also need to make sure that any such change is not confusing.
You're right on almost all counts, though I think "to a first approximation" is standard usage ( https://www.webster-dictionary.org/definition/to%20a%20first%20approximation ) Tried to use unicode em dash - hopefully the markdown to pdf+html loop will handle this..
Feel free to do a pull request as well for fixes, though I'd be happy to get your input any way that's convenient for you!
Boaz
The definition of computing a function via a NAND program appears to be incomplete. Here's the relevant portion of the text:
Let F:{0,1}^n -> {0,1}^m be some function, and let P be a NAND program. We say that P computes the function F if:
However, you never actually define the values y0, ..., y{m-1} relative to F, the function being computed.
Fix: Either write F(x)0, ..., F(x)_{m-1} instead of y0, ..., y{m-1}, or add an extra clause letting y = F(x).
Also, in the algorithm for computing increments, the number of steps is messed up; it appears as 1 2 1 2 1, whereas it should probably be 1 2 a b 3.
Hi, in the informal definition of the algorithm, there are two differing statements. The book first states that "An Algorithm is a set of instructions of how to compute an input from an output by following a sequence of 'elementary steps,'" and then goes on to say how we compute an output from an input with the elementary steps given in the algorithm. The issue here is that one way states that the algorithm goes from output to input, whereas the next says it goes from input to output. I think both should be input to output, but correct me if I am wrong/misunderstanding this.
@ctduffy you are correct - an algorithm computes an output from an input and not the other way around @singerng will comment in the issue you opened
Chapter name: Chapter 3, Defining computation
List of bugs/typos 1 From the text:
Suggested fix:
2 From the text:
Suggested fix:
3 From the text:
Suggested fix:
4 From the text:
Suggested fix:
5 From the text:
Suggested fix:
6 From the text:
Suggested fix:
7 From the text:
Suggested fix (for consistency with rest of text):
8 From the text:
Suggested fix:
9 From the text:
Suggested fix:
10 From the text:
Suggested fix:
11 From the text:
Suggested fix:
12 From the text:
Suggested fix:
13 From the text:
Suggested fix:
14 From the text: Multiple occurrences of punctuation following a quotation mark; should be reversed.
Suggested fix: Example: Instead of "text", should be "text," .
15 From the text:
Suggested fix:
16 From the text:
Suggested fix:
17 From the text:
Suggested fix (use em dash):