Skip to content

Commit 04ec2b1

Browse files
committed
Typos
1 parent 5ba9e85 commit 04ec2b1

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

ch02/2.2/2.2.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,16 @@ the following languages. In each case show that your grammar is correct.
9595

9696
#### Answer
9797

98-
1. proof
98+
1. Proof
9999

100-
any string derived from the grammar can be considered to be a sequence consisting of 11 and 1001, where each sequence element is possibly suffixed with a 0.
100+
Any string derived from the grammar can be considered to be a sequence consisting of 11 and 1001, where each sequence element is possibly suffixed with a 0.
101101

102-
let `n` be the set of positions where `11` is placed. `11` is said to be at position `i` if the first `1` in `11` is at position `i`, where `i` starts at 0 and
102+
Let `n` be the set of positions where `11` is placed. `11` is said to be at position `i` if the first `1` in `11` is at position `i`, where `i` starts at 0 and
103103
grows from least significant to most significant bit.
104104

105-
let `m` be the equivalent set for `1001`.
105+
Let `m` be the equivalent set for `1001`.
106106

107-
the sum of any string produced by the grammar is:
107+
The sum of any string produced by the grammar is:
108108

109109
sum
110110

@@ -115,7 +115,8 @@ the following languages. In each case show that your grammar is correct.
115115
This is clearly divisible by 3.
116116

117117

118-
2. No. Consider string "10101", it is divisible by 3, but cannot derived from the grammar.
118+
2. No. Consider the string "10101", which is divisible by 3, but cannot be
119+
derived from the grammar.
119120

120121
Readers seeking a more formal proof can read about it below:
121122

0 commit comments

Comments
 (0)