OpenLogicProject / OpenLogic

An open-source, customizable intermediate logic textbook
http://openlogicproject.org/
Creative Commons Attribution 4.0 International
1.04k stars 237 forks source link

Typo in example 6 in sets-functions-relations/size-of-sets/enumerability.tex #316

Closed furcyd closed 2 years ago

furcyd commented 2 years ago

Typo location:

https://github.com/OpenLogicProject/OpenLogic/blob/87ad058e9cbc7e07b855d911cfca1013534a5335/content/sets-functions-relations/size-of-sets/enumerability.tex#L129

What is the typo:

g(n) as defined excludes 1 from the range

Proposed correction:

g(n) = 2n - 1

rzach commented 2 years ago

Good catch, yes. There is an alternate version of this (and two other) sections in this chapter that define enumerability differently, and use \Nat instead of \PosInt. (The definition of g is correct if you are looking for functions Nat -> Nat.) You might like that better for your purposes.

rzach commented 2 years ago

PS see https://github.com/OpenLogicProject/set-theory/blob/master/settheory.tex for how they are imported in the Set Theory book.

furcyd commented 2 years ago

PS see https://github.com/OpenLogicProject/set-theory/blob/master/settheory.tex for how they are imported in the Set Theory book.

Thanks!

rzach commented 2 years ago

Fixed in 514bad7913cbf6d1e3bad0372a6c1f5f427f9064