Repository navigation
[sets, functions, relations] corrections of the mathematics (67 places) - #472
Open
KokunoYumeto wants to merge 7 commits into
Open
KokunoYumeto wants to merge 7 commits into
KokunoYumeto wants to merge 7 commits into
Conversation
cauchy.tex: - l. 184: The explicit comparison q_Real<r applies real order directly to the chosen sequence r, unlike every subsequent comparison [h]. Insert the missing class brackets. - l. 212: Both non-strict tests at 201 and 206 hold, so both endpoints become 1: the gap becomes 0, not exactly 1. Otherwise exactly one endpoint moves, so the gap is at most halved. This still proves convergence to 0. checking-details.tex: - l. 85: Expanding the previous line at 83 gives four positive summands, not five. The commented alternate line duplicates b1b2. For all six variables equal to 1, it changes [4,4]=0 into [5,4]=1. Remove only the duplicate term and retain the comment. - l. 108: Trichotomy divides a pair into the three exclusive cases a<b, a=b, a>b. The printed weak inequalities overlap on equality and duplicate the middle case. The branch uses the strict inequalities corresponding to the claimed three-way comparison. - l. 132: The one-element ring satisfies every equation at 24–35, the order clauses at 112–117, and the inverse clause at 134 vacuously. Thus nontriviality is missing, not implied. cuts.tex: - l. 105: The nonnegative clause (91–92) and the three strict-sign clauses (104–106) omit negative×zero and zero×negative. reals.tex: - l. 24: The commented footnote asserts that sqrt(2) denotes both roots. The chapter’s square-root function convention selects the nonnegative root, and the active proof subsequently uses that root. - l. 63: The immediately preceding active equation binds m=2r; q is unbound in this commented alternate derivation. Use r in all three equations, preserving their inactive status. - l. 72: Tennenbaum died on 4 May 2005 (memorial record). - l. 80: The less-than sign is outside mathematics, has no operands, and interrupts the prose before are all smaller than 3. Delete only that character. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
function-basics.tex:
- l. 70: Nat includes 0 (important-sets.tex); 0 has no positive square root.
Its unique nonnegative square root is 0, while every positive n has
exactly one positive root. The branch correction therefore makes the
displayed map total on its stated domain.
- l. 105: Replacing that isolated n by x restores the binding in the worked
example.
functions-relations.tex:
- l. 61: The earlier definition distinguishes a relation between A and B (a
subset of A x B) from a relation on a carrier C (a subset of C squared).
- l. 95, 97: The prior relation restriction is R intersect C squared;
function restriction retains every pair whose first coordinate lies in C.
For f(n)=n+1 and C={0}, the function restriction contains (0,1), while R_f
intersect C squared is empty.
inverses.tex:
- l. 149: prop:bijection-inverse states existence of a two-sided inverse.
The earlier prop:inverse-unique proves its uniqueness. Both labels exist;
the branch separates the two assertions and cites the corresponding
propositions.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
introduction.tex: - l. 54: The paragraph identifies generation by finitely many applications. That characterizes the finite-construction induction discussed here, but not transfinite induction, which the book later proves for ordinals including limit ordinals. - l. 63, 65: Nat starts with 0, so its first n members sum to n(n-1)/2. The displayed induction instead sums 0 through n and proves n(n+1)/2. The branch aligns the verbal claim and base case with the summation actually proved. - l. 81: Expanding k(k+1)+2(k+1) gives k^2+k+2k+2, not 2k+k+2k+2. For k=1 the printed numerator is 7 instead of 6. The branch restores the missing square and matches the following factorization. - l. 92: The induction recipe at 118–130 explicitly includes unary negation and fixed-variable quantifiers as well as binary connectives. The universal claim that each constructor joins two formulas is therefore false. - l. 92: The formula macro contract in open-logic-config.sty:30 and sty/open-logic-formulas.sty assigns !A to a formula metavariable. The distinct !!^a prefix in open-logic-config.sty:1338–1349 is a capitalized indefinite-article term prefix requiring a token argument. - l. 92: Closed requires under before the functions under which the set is closed; the preceding formal definition uses exactly that construction. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
card-sb.tex:
- l. 28, 31, 36: As in dedekind-algebra.tex, closure requires f to be
defined throughout an ambient invariant set and B to lie in it. f:{0}→{1},
B={0} otherwise has no such closed domain subset.
- l. 52: The proposition assumes A⊆B⊆C and A≈C. Its proof at 66–68
explicitly constructs C→B bijective and says B≈C, while the second cardeq
in the statement has an empty left argument.
dedekind-algebra.tex:
- l. 34: The empty set is successor-closed vacuously. Condition 3 at 26–27
requires every number be generated from 0, and the following closure
definition explicitly contains its base element. Add the missing seed
requirement to 3-prime.
- l. 42, 54: For f:{0}→{1}, the proposed witness ran(f)∪{0} contains 1
outside dom(f), so f(1) is undefined. The definition and lemma require a
self-map with seed in its carrier. Restrict the closure family to subsets
of A; ran(f)∪{o} is then a valid closed subset.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
equivalence-relations.tex: - l. 65: The displayed quotient is Nat/equiv_n and explicitly includes the class of 0. Defining the relation only for positive a,b leaves that class undefined. Taking a,b in Nat and positive n yields exactly the residue classes 0 through n-1. orders.tex: - l. 78: For a singleton alphabet there is one word of each length and any two words are comparable by extension; the empty alphabet gives only the empty word. The printed incomparable example assumes two distinct letters. relations-as-sets.tex: - l. 98, 100: The identity relation is defined earlier as Id(ℕ); I is not defined. special-properties.tex: - l. 81: On a singleton the two binary relations are empty and identity, respectively irreflexive and reflexive; none is neither. On the empty carrier its sole relation is both. trees.tex: - l. 114: The definition of a tree requires a least/root element. Empty A is downward closed vacuously but has no root. A nonempty downward-closed subset of Nat* contains the empty sequence and inherits the tree order. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pairs-and-products.tex: - l. 121, 125: The preceding definitions set A^1=A and define higher powers by actual Kuratowski pairs. unions-and-intersections.tex: - l. 121: For A empty, the displayed universal membership condition is vacuous for every object and would define a universal set. With A nonempty, choose B in A and obtain the intersection by separation inside B. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
comparing-size.tex:
- l. 44: That every nonenumerable set has at least the size of ℕ uses a
choice principle.
- l. 86, 88: For each x in A, the diagonal set definition gives x in Abar
iff x notin g(x). The printed second case repeats the contrapositive of
the first and then quantifies only over Abar.
enumerability.tex:
- l. 39: An order of type omega+Z has a first element and a unique immediate
predecessor for each nonfirst element, but its Z-part has infinite
predecessors. Finite positions are required independently by the
definition at 27–31.
- l. 46: The displayed list is 1,4,9,16,25; the natural-number convention
includes 0 (120–121), whereas the exercise at 137 correctly calls this
sequence positive squares. The qualifier prevents a mismatch in the named
first five squares.
- l. 151: The header and formula row at 148–150 include f(7). Substitution
in f(n)=(-1)^n ceil((n-1)/2) gives f(7)=-ceil(3)=-3. The last row is
missing exactly that seventh entry.
equinumerous-sets.tex:
- l. 75, 91: The assumed bijection A->B is f. In the empty-A case an
enumeration g has not been chosen, and even in the other case g maps
PosInt to A, not A to B. Both conditional proof versions must use f(x)=y
to contradict surjectivity of f; the branch fixes both.
non-enumerability-alt.tex:
- l. 26, 33, 99: enumerability-alt.tex:39–42 and 58–61 includes finite sets.
Absence of a Nat-bijection characterizes nonenumerability only for
infinite A: a singleton has no such bijection but is enumerable.
- l. 62: Under the bijection convention finite subsets have finite
enumerations, so s_n need not exist for every n. The strings with one 1
show the ambient set is infinite.
- l. 64: The list is s_0,s_1,... of strings, and the displayed matrix puts
s_n(m) in row n and column m. Its argument therefore specifies digit m of
string n. The source prose interchanges those roles; the branch matches
the matrix and diagonal construction.
- l. 81: The defining cases immediately below map 0 to 1 and 1 to 0,
ensuring d(n) differs from s_n(n).
- l. 141, 144: The declared N_0 contains every natural number, so columns
3,4,5 must be filled. N_3={2,3,4,...} also contains 5. The governing iff
membership condition makes the blank cells incorrect; the branch supplies
exactly those missing entries.
non-enumerability.tex:
- l. 17: The alternative non-enumerability section declares file ID nen-alt;
enm-alt is the alternative definition of enumerability. The editorial
compares two non-enumerability proofs, so the branch selects the matching
section and closes the sentence.
- l. 26: The governing enumerable definition explicitly includes the empty
set as a separate case. No function from nonempty PosInt onto the empty
set exists. Restricting this sentence to nonempty enumerable A makes the
stated surjection characterization correct.
pairing.tex:
- l. 30: The array is indexed by natural numbers beginning at 0. Moving from
column m to m-1 is defined only for m>0; for m=0 the asserted position
does not exist. The diagonal formula at 38 agrees with the guarded step.
- l. 34: The displayed expression k(k+1)/2 is the sum from 0 through k, not
the sum of naturals strictly below k. At k=1 the latter is 0 while the
displayed expression is 1. Replacing < by <= matches both the displayed
formula and the row 0,1,3,6.
- l. 93: The immediately following condition is Nat\A finite. Therefore the
complement is relative to Nat and the finite object is a subset of Nat;
the printed phrase wrongly identifies Nat itself as the finite set.
- l. 108: A pairing function is only required to be injective. Its inverse
is defined on its image, which need not be all Nat, so it need not itself
be an enumeration with the declared domain.
reduction-alt.tex:
- l. 38: The chapter uses bijective enumerations
(enumerability-alt.tex:39–42). A surjection can identify x_i and x_j;
remove later repetitions to obtain the required bijective finite or
infinite enumeration.
- l. 53: This version maps an arbitrary N to one characteristic string; k is
never bound in that definition. The branch names that resulting string s
consistently, preserving its value 1 exactly at members of N.
- l. 93: The displayed function is g(s)=s(1) while this chapter indexes
strings from 0 (non-enumerability-alt.tex:63–74). Thus index 1 is the
second element. The surjectivity explanation must refer to the same entry.
- l. 98: The commented explanatory block continues the reduction f:A→B from
34–40; Y is never bound. Correct the named codomain while retaining the
comment.
- l. 101: The declared codomain is Bin^omega, the infinite binary strings; n
zeroes alone is finite. Appending an infinite tail of ones gives a
well-defined injection that is not surjective, as this commented example
requires.
reduction.tex:
- l. 52: The map takes an arbitrary set Z to its characteristic sequence. No
k is fixed or introduced in this definition. Naming that single resulting
sequence s consistently removes the stray free index; the values remain 1
exactly at n in Z.
- l. 97: A finite block of n zeros is not an element of Bin^omega. Appending
an infinite tail of ones makes a total infinite binary sequence for each
n. The image still omits many sequences (for example all zeros), giving
the intended non-surjective counterexample.
size-of-sets-complete.tex:
- l. 14: The alternative definition in enumerability-alt.tex:39–42
explicitly allows finite initial segments; the overview omits them and
incorrectly excludes nonempty finite sets. The later overview at 44–46
confirms the intended scope.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is Claude (Claude Opus 5.5 at effort max), an AI model made by Anthropic, writing on behalf of KokunoYumeto.
This is part of the regrouping of #451 to #460 that you asked for: corrections of the mathematics; 67 places in 26 files, one commit per chapter. Spelling, grammar, markup and references are in separate pull requests.
Build: the complete text (open-logic-complete.tex, pdfLaTeX) with this branch alone: 0 errors, 0 undefined references; 386 overfull boxes over 2 pt (385 on master). All 22 branches merge with one another in any order (tried in four), and together give exactly the text of the ten pull requests they replace.
The corrections come from the Open Logic translations, as before: from the review of the French translation (each checked against the English and written up by Claude Opus 5.5, Anthropic, effort max) and from the errata harvest over the other translations (found by the translating models; classified and corrected by GPT-6 Astra, OpenAI, ChatGPT Pro mode; list with sources). Prepared by AI; no human has reviewed them.
What was wrong, by file (line numbers of master; the same list is in the commit messages; every changed place is in it):
sets-functions-relations/arithmetization/cauchy.texsets-functions-relations/arithmetization/checking-details.texsets-functions-relations/arithmetization/cuts.texsets-functions-relations/arithmetization/reals.texsets-functions-relations/functions/function-basics.texsets-functions-relations/functions/functions-relations.texsets-functions-relations/functions/inverses.texsets-functions-relations/inductive-defs-proofs/introduction.texsets-functions-relations/infinite/card-sb.texsets-functions-relations/infinite/dedekind-algebra.texsets-functions-relations/relations/equivalence-relations.texsets-functions-relations/relations/orders.texsets-functions-relations/relations/relations-as-sets.texsets-functions-relations/relations/special-properties.texsets-functions-relations/relations/trees.texsets-functions-relations/sets/pairs-and-products.texsets-functions-relations/sets/unions-and-intersections.texsets-functions-relations/size-of-sets/comparing-size.texsets-functions-relations/size-of-sets/enumerability.texsets-functions-relations/size-of-sets/equinumerous-sets.texsets-functions-relations/size-of-sets/non-enumerability-alt.texsets-functions-relations/size-of-sets/non-enumerability.texsets-functions-relations/size-of-sets/pairing.texsets-functions-relations/size-of-sets/reduction-alt.texsets-functions-relations/size-of-sets/reduction.texsets-functions-relations/size-of-sets/size-of-sets-complete.tex🤖 Generated with Claude Code