Repository navigation
[propositional logic; first-order syntax, semantics, theories, completeness] corrections of the mathematics (87 places) - #473
Open
KokunoYumeto wants to merge 6 commits into
Conversation
higher-order-logic.tex: - l. 87: Its following explanation must therefore quantify x of type tau; sigma would be the codomain instead. The branch corrects this one type letter. - l. 100: Church's formulation of the simple theory of types is of 1940 (The Journal of Symbolic Logic 5(2), pp. 56–68). intuitionistic-logic.tex: - l. 143: Add the usual negation and two-direction conditional clauses; truth/falsity remain covered by the existing atomic clause. These preserve classical equivalence and negative stability. - l. 207: The recursion lists atoms, falsity, conjunction, disjunction and implication only, while the configured primitive signature also includes negation, biconditional and truth. many-sorted-logic.tex: - l. 24: With the usual first-order quantifier rules, each sort domain must be nonempty. Disjointness and predicate typing alone permit an empty sort in the encoding. State both requirements and their first-order encoding axioms. - l. 58: Without axioms saying that every sort is nonempty and that constants and function values lie in their sorts, the translation into one-sorted logic is not faithful. second-order-logic.tex: - l. 142: The arithmetic vocabulary immediately preceding the axioms denotes successor by prime and never introduces a function s. Replacing s(x),s(y) by x-prime,y-prime puts injectivity in the declared language. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
compactness-direct.tex:
- l. 138, 140: The raw term model cannot satisfy c=d for distinct constant
strings, although {c=d} is satisfiable. Its cited truth lemma explicitly
excludes identity.
- l. 140: The old iftag has only two arguments, and puts both replacement
targets inside its FOL arm. State the propositional/connective replacement
unconditionally and supply the explicit empty false arm for the additional
quantifier replacement.
compactness.tex:
- l. 35: Γ is a set of sentences, as shown by its finite subsets in both
numbered clauses. A is a single sentence. Correct the two different types
in the introductory line.
- l. 92: Only closed old-language terms have assignment-independent
denotations and yield sentences c≠t. Since Trm includes variables,
explicitly restrict the displayed set.
- l. 95, 100, 103, 120: Only closed terms have a value that does not depend
on an assignment.
- l. 118: The witness c is outside the original language L. In an expansion,
it can name the sole formerly unnamed object, making the expansion
covered. The inequalities prove that the L-reduct is uncovered; c’s value
is still evaluated in the expansion M.
- l. 145: The later interpretation c=1/K needs K>0, including when the
finite set contains no indexed inequalities. Any positive integer
exceeding the finitely many k works. Remove for as well, since the subject
all the sentences already supplies the following verb have.
- l. 190: A finite subset Δ′ may be empty and have no largest index. A
one-element size bound handles that case; the existing maximum works
otherwise.
complete-consistent-sets.tex:
- l. 41: Atomic membership yields a model of the whole completed set only
with witnesses for existentials.
construction-of-model.tex:
- l. 134: The preceding equivalence existentially quantifies an assignment
s. The next equivalence must retain that existential witness while naming
its x-value t; otherwise s occurs without a witness.
- l. 146: An equation s(x)=t is a condition on an assignment, not itself a
total variable assignment. A total assignment taking x to t exists because
the term domain is nonempty; all remaining variables can be assigned any
fixed closed term.
- l. 237: The default enables primitive Iff, but the announced induction has
no Iff branch and no reduction convention in this chapter.
- l. 243, 245: The quantifier proposition and saturation proposition both
explicitly quantify over closed terms, which are domain elements and
produce sentences.
- l. 247: The induction case is A identical to forall x B(x); every
preceding instance is B(t). The last membership formula must retain matrix
B.
- l. 253, 255: The domain of the term model consists of the closed terms.
downward-ls.tex:
- l. 44: The identity-free term model is explicitly defined on closed terms.
The second proof incorrectly identifies its domain with all terms,
including variables; insert closed in that literal domain equality only.
identity.tex:
- l. 89, 91, 93, 102, 116: The relation approx is defined only on closed
terms at 27–31, while global Trm[L] includes variables. The quotient
carrier must be the domain of that equivalence relation. Define local T0
and use it in all five carrier occurrences; no global notation changes.
introduction.tex:
- l. 63: The shared paragraph’s PL construction returns a valuation. Select
the matching semantic object in each branch.
lindenbaums-lemma.tex:
- l. 78: The finite subset can be empty, so there may be no witness indices.
Γ0 is consistent by the construction’s base hypothesis and contains the
empty set; choose index 0 in that case.
maximally-consistent-sets.tex:
- l. 126: The proposition on disjunctions is applied with ¬A and ¬B, which
maximality supplies; the label cited belongs to the section on properties
of derivability.
outline.tex:
- l. 68: The next sentence defines completeness by condition (b). Deciding
only atoms is weaker: a set containing all propositional variables
contains neither p∧q nor its negation. Require every sentence while
leaving the earlier atomic model construction intact.
- l. 72: The following proof uses Γ⊆Γ*. The set of only newly added formulas
need not include any original member. Include Γ explicitly in the
resulting extension.
- l. 107: The actual construction later in this outline and
construction-of-model.tex takes closed terms as its domain. Open variable
terms depend on assignments and are not the named domain elements used by
the truth lemma.
- l. 110: The function is defined on closed terms.
- l. 117: The value of a closed term is meant.
- l. 124: The intended clause describes what each equivalence class
contains. Removing is so that it repairs the malformed construction
without changing the membership condition or the separate Gamma-star
correction.
- l. 124: The quotient equivalence is membership of identities in the
completed set Γ*, as identity.tex:27–31 defines. The original Γ may leave
many identities undecided. Name the completed extension that determines
the classes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
models-theories.tex:
- l. 24: The pronouns make the sentences, rather than the intended
structures, the exclusive items. That would deny other true sentences in
those structures. The next description of the axiomatic method specifies a
class of models, so state that direction explicitly.
- l. 34: The empty relation on the empty set is reflexive and transitive,
hence a preorder, but the book’s first-order structures must have nonempty
domains.
satisfaction.tex:
- l. 24: Constants denote domain elements and have no argument places.
Predicates have the variable arities under discussion. The branch replaces
the second constants with predicates, agreeing with the surrounding
generalization from the unary-predicate example.
- l. 63: The worked structure earlier in this section has domain {0,1,2}.
Assignments range over that domain, so 3 is not an allowed value and 0 is.
The branch lists exactly 0,1,2.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
expressing-props-of-structures.tex: - l. 29: A contradiction satisfies the stated only-if condition vacuously because it has no models. For satisfiable sentences the intended claim follows by transporting a model to an isomorphic structure with a relabelled domain different from the literal set Nat. expressing-relations.tex: - l. 85: The printed divisor condition holds for 1, but 1 is not prime. Adding n>1 yields the usual prime predicate on Nat; 0 is excluded as well. The branch makes that exact addition. set-theory.tex: - l. 87: Defining the relation supplies no total-existence guarantee; the power-set axiom is introduced precisely to supply it. Correct the quantifier mismatch. - l. 151: The explicit convention in syntax-and-semantics/substitution.tex:117–124 permits A(x) to contain other free variables; semantic-notions.tex:125 separately says one free variable when that restriction is intended. - l. 167: A(x) may contain other free variables; the instances are universally closed. theories.tex: - l. 23: After announcing vice versa, the source repeats the order-to-model implication. Separate reviews handle strictness and nonempty domains, rather than bundling those independently reported defects. - l. 23: The displayed axiom is irreflexivity. The book defines weak linear orders separately, and a weak linear order is reflexive on a nonempty carrier, so the later if-clause must specify strict linear order. - l. 23: The empty carrier with empty strict order satisfies the relation definition but is not a first-order structure under the adopted nonempty-domain definition. This omission is independent of the strict-versus-weak relation and the converse direction. - l. 59: The last displayed line is the induction schema, which does not define <. The preceding arithmetic axiom is the explicit order definition. - l. 81: The global A(y) notation explicitly allows extra free parameters. Here the new existential witness x can capture such a parameter, and extra parameters outside x,y are not closed even though the instances are called sentences. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
assignments.tex:
- l. 91: The transported k-tuple must retain the same ordered coordinates 1
through k as the preceding tuple for s1. The generic index i was used only
in the componentwise equalities, and cannot replace the first coordinate.
- l. 107: The quantifier cases modify the assignments at the bound variable
before invoking induction. The hypothesis must therefore range over every
pair of assignments agreeing on the smaller formula’s free variables,
rather than only the initially fixed pair.
- l. 181: The preceding goal compares the x-variants of s1 and s2 at
178–180. The later proof explicitly calls the new assignments their
respective variants at 184–186. Both unindexed s terms are undefined and
must retain the original indices.
- l. 280: The quantifier clauses at 320–329 require constants absent from a
finite matrix, but first-order-languages.tex:67–71 permits finite
signatures. A language with no constants has no available c.
- l. 283: If c is new, M[a/c] is a structure for the expanded language.
- l. 332: The constants must be pairwise distinct.
- l. 349: The exercise eliminates the displayed existential quantifier, but
A(x,y) may contain further quantifiers; nothing restricts it to a
quantifier-free matrix. Calling the result a full Skolem normal form is
consequently too strong.
covered-structures.tex:
- l. 48: Assign(+,M) is the binary map; applying it to (2,3) already gives
the number 5. The application does not itself map onward. The following
calculation uses this correctly.
- l. 54: The next aligned line begins with =, so the outer trailing =
creates two consecutive equality signs with no intervening term. Remove
only the first.
extensionality.tex:
- l. 17: Equal cardinality does not fix quantified truth with
interpretations fixed. Take domains N and N∪{star}, and interpret P as N
in both; forall x P(x) changes truth. The formal proposition at 29–36
requires equal domains themselves.
- l. 40: The hypotheses equate interpretations only for symbols occurring in
A (33–35). An unused constant may have different interpretations,
falsifying the unrestricted auxiliary claim.
- l. 88: The first aligned continuation at 90 already begins with equality.
Remove the redundant sign from the outer line, preserving the entire
substitution-value computation.
formation-sequences.tex:
- l. 46: A k-ary function takes exactly k arguments. The inclusive list
m_0,...,m_k supplies k+1; the branch uses m_1,...,m_k in both the index
list and constructed term. The earlier grammar uses that k-argument
convention.
- l. 185: The induction parameter is the last index n of A_0,...,A_n, whose
length is n+1. A proper initial sequence ending at j<n need not have
length<n. The branch states the hypothesis and its application in terms of
the smaller final index.
- l. 199: The proposition fixes language L and defines its formulas Frm[L].
No L_0 is introduced. Both the atomic and inductive cases must refer to
that same language; the branch replaces each stray L_0 by L.
- l. 205: The induction is on the last index, not the length; and the
language is L, not L_0.
intro-semantics.tex:
- l. 19: A function symbol of arity n is interpreted as D^n→D, as
structures.tex:38–40 explicitly states. The introduction incorrectly types
all function interpretations as unary D→D; binary addition is a direct
counterexample.
introduction.tex:
- l. 39: As in intro-semantics.tex, an n-place function is interpreted by
D^n→D (structures.tex:38–40), not always D→D. Binary arithmetic symbols
furnish explicit examples.
main-operator.tex:
- l. 59: The displayed cases at 24–48 simply return the outermost operator;
none calls the function recursively. subformulas.tex:71–87 expressly
distinguishes this casewise form from a recursive definition that invokes
values on earlier arguments.
satisfaction.tex:
- l. 33: Vacuous quantification is explicitly allowed in
terms-formulas.tex:110–119. The matrix of forall x R(c,c) is closed, so
having a free variable is possible rather than necessary.
- l. 216: The instruction covers all non-atomic formulas, including
quantified formulas. The earlier explanation at 27–30 explicitly names
both main connectives and quantifiers. Use operator and singular clause to
match applies.
semantic-notions.tex:
- l. 56: The section defines entailment and satisfaction without assignments
for sentences (25–39), but the defined-symbol branches in
terms-formulas.tex:129–137 allow truth/falsity abbreviations with an open
atomic matrix. The proof works uniformly with Γ empty.
- l. 82: If falsity is a defined symbol, the exercise needs a sentence that
abbreviates it.
terms-formulas.tex:
- l. 167: The sentence calls these official object-language expressions; the
immediately preceding binary function application uses Obj.
open-logic-config.sty:1120–1123 distinguishes object-language symbols by
mathsfit.
unique-readability.tex:
- l. 52: main-operator.tex:26–27 explicitly gives atomic formulas no main
operator. Its explanatory function domain at 59–64 is the non-atomic
formulas. Restrict both domain and unique-occurrence claim here to match
it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
formation-sequences.tex: - l. 35: The two displayed formation sequences require primitive negation and conjunction, and the second also requires primitive implication. - l. 61: The end of the condition of l. 35. - l. 129, 146: The induction parameter is the last index n of A0,…,An (126–127), not its length n+1. Proper initial sequences ending at j,k<n therefore have smaller final indices, but need not have length<n. Align both induction-hypothesis statements with the chosen measure. formulas.tex: - l. 37: The three outer guards include first-order quantifier definition flags even though their guarded propositional lists contain no quantifier entries. With only defEx or defAll enabled they print an empty defined-symbol introduction/definition. introduction.tex: - l. 17: A formula may contain several propositional variables. Fixing p alone does not fix p and q when p is true and q varies. The plural them in the following line and the later truth-functional definition show that all occurring variables are meant. soundness.tex: - l. 20: The statement is Γ⊢A⇒Γ⊨A and the proof includes arbitrary assumptions from Γ at 21–22. Those assumptions need not be theorems. Derivation length gives the correct induction object while preserving the displayed base and modus-ponens cases. - l. 24: The source identity is pl/prp/snd, so the short section reference resolves into the wrong chapter. semantic-notions.tex:9 declares pl/syn/sem; its proposition at 46–60 has modus ponens as the second item, whereas the third is finite satisfiability. 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; 87 places in 35 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; 385 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):
first-order-logic/beyond/higher-order-logic.texfirst-order-logic/beyond/intuitionistic-logic.texfirst-order-logic/beyond/many-sorted-logic.texfirst-order-logic/beyond/second-order-logic.texfirst-order-logic/completeness/compactness-direct.texfirst-order-logic/completeness/compactness.texfirst-order-logic/completeness/complete-consistent-sets.texfirst-order-logic/completeness/construction-of-model.texfirst-order-logic/completeness/downward-ls.texfirst-order-logic/completeness/identity.texfirst-order-logic/completeness/introduction.texfirst-order-logic/completeness/lindenbaums-lemma.texfirst-order-logic/completeness/maximally-consistent-sets.texfirst-order-logic/completeness/outline.texfirst-order-logic/introduction/models-theories.texfirst-order-logic/introduction/satisfaction.texfirst-order-logic/models-theories/expressing-props-of-structures.texfirst-order-logic/models-theories/expressing-relations.texfirst-order-logic/models-theories/set-theory.texfirst-order-logic/models-theories/theories.texfirst-order-logic/syntax-and-semantics/assignments.texfirst-order-logic/syntax-and-semantics/covered-structures.texfirst-order-logic/syntax-and-semantics/extensionality.texfirst-order-logic/syntax-and-semantics/formation-sequences.texfirst-order-logic/syntax-and-semantics/intro-semantics.texfirst-order-logic/syntax-and-semantics/introduction.texfirst-order-logic/syntax-and-semantics/main-operator.texfirst-order-logic/syntax-and-semantics/satisfaction.texfirst-order-logic/syntax-and-semantics/semantic-notions.texfirst-order-logic/syntax-and-semantics/terms-formulas.texfirst-order-logic/syntax-and-semantics/unique-readability.texpropositional-logic/syntax-and-semantics/formation-sequences.texpropositional-logic/syntax-and-semantics/formulas.texpropositional-logic/syntax-and-semantics/introduction.texpropositional-logic/syntax-and-semantics/soundness.tex🤖 Generated with Claude Code