Repository navigation
[first-order logic: proof systems] corrections of the mathematics (126 places) - #474
Open
KokunoYumeto wants to merge 5 commits into
Open
KokunoYumeto wants to merge 5 commits into
KokunoYumeto wants to merge 5 commits into
Conversation
axioms-rules-quantifiers.tex:
- l. 25, 28: Both rules need absence from the matrix as well as the
antecedent and premises. With A(x)=P(x)→P(a), its a-instance is a
tautology but forall x A(x) can be false when P(a) is false and another
object satisfies P.
- l. 33: Says which finite set of premises the condition of the rule refers
to.
deduction-theorem-quantifiers.tex:
- l. 18: The induction needs a finite set of other premises and
eigenconstants that do not occur in A; both are arranged first.
- l. 31: The proof reapplies QR with matrix D(x), so it uses the same matrix
freshness needed by the rule definition.
deduction-theorem.tex:
- l. 71: rules-and-proofs.tex permits open formulas throughout. The identity
conditional A→A need not be a closed sentence; formula is the correct
common category.
- l. 77: In FOL, QR is another possible final inference. The next imported
section supplies precisely those cases. Exclude QR from the premise/axiom
parenthesis and explicitly point to that existing proof; the propositional
case is unchanged.
identity.tex:
- l. 39, 43: The identity axioms explicitly range over closed terms at
identity.tex:23, whereas derivability permits open formulas. The
unrestricted propositions therefore exceed the axioms.
proof-theoretic-notions.tex:
- l. 29: Defines Γ ⊢ A for arbitrary Γ through a finite subset, so that
fresh constants exist and the conditions on the quantifier rules refer to
finitely many premises.
- l. 59: Whole-context eigenconstant freshness can fail under enlarging Γ.
- l. 69: Raw concatenation adds premises that can contain an eigenconstant
used in the other proof.
- l. 82: Every preceding occurrence denotes the same formula metavariable
!B_i.
- l. 82: The last line Ak can be an axiom or a premise, as well as an
inference. Its justification, rather than necessarily a rule application,
can be reused for each Bi=A.
- l. 127: The FOL axiomatic calculus includes both modus ponens and QR. A
general finite derivation can therefore have a QR step.
provability-quantifiers.tex:
- l. 30: The deduction theorem alone removes the antecedent only by adding
True to the premises. The axiom True is explicitly ax:ltrue in
axioms-rules-propositional.tex:29; using it with meta-modus-ponens prop:mp
yields the stated conclusion with the original premises.
- l. 35: The current axiomatic calculus admits open formulas
(rules-and-proofs.tex), but ax:q1 and ax:q2 permit only closed
instantiating terms.
provability.tex:
- l. 17: This unimported legacy file uses undefined Ax0–Ax3, closure under
universal quantification of axioms, and MP-only induction. The actual
imported chapter uses the distinct closed-term/QR presentation (not
sentence-only, contrary to part of the record).
- l. 76, 79, 85: The proposition requires Gamma plus A proving falsity to
imply Gamma proving not-A. The printed proof instead assumes not-A and
concludes A.
- l. 76, 85: The following derivation begins from Γ0∪{A} and concludes using
Γ0∪Γ1⊆Γ. Match the first hypothesis to that finite-support name.
- l. 124: Line 1 proves A and B and line 2 proves (A and B)->A. Modus ponens
therefore yields A, not A or B. The following prose already concludes A.
The branch corrects precisely line 3.
- l. 135: The two derivations are taken from one common finite Γ_0 ⊆ Γ.
- l. 143: Both displayed MP premises already use the same Γ0. Their finite
supports can be united beforehand; Γ1 is not introduced in this argument
and has no role in the conclusion. Explicitly choose the common finite
support at the beginning.
- l. 197: The case split is indexed by i and concerns line Ai; A names the
final line and need not be an axiom. The conclusion substitutes into Ai,
confirming the missing index.
- l. 226: The lemma and the next proof line both concern A[y/c]. The first
proof line instead writes A[y/x], which changes the substitution being
tested. The branch replaces only that mistaken denominator x by c.
proving-things-quant.tex:
- l. 16: A(x) notation permits other free variables under substitution.tex.
An extra free x in B(y) would be captured by the final forall x and
prevent the displayed B(a) from being the required instance.
- l. 29: The available lines are P->A(a) and P->B(a), not A(a) and B(a), so
the two claimed direct applications of modus ponens to conjunction
introduction do not match its premises. Chain P->A(a) with
A(a)->(B(a)->(A(a) and B(a))) to obtain P->(B(a)->(A(a) and B(a))).
proving-things.tex:
- l. 19: In the FOL chapter the quantifier rules have already been imported
before this section, so modus ponens is not its only inference rule. This
particular propositional example uses only modus ponens, which is the
intended local restriction.
rules-and-proofs.tex:
- l. 86: Defines Γ ⊢ A for arbitrary Γ through a finite subset, so that
fresh constants exist and the conditions on the quantifier rules refer to
finitely many premises.
soundness.tex:
- l. 55: Entailment is defined for sentences in
syntax-and-semantics/semantic-notions.tex:30–34, whereas the calculus
admits open intermediate formulas. For sentence endpoints, simultaneously
replace all free variables in a finite proof by globally fresh constants.
- l. 59: Entailment is defined for sentences, but a derivation may contain
formulas with free variables: these are first replaced by new constants.
- l. 67: The induction’s base paragraph assumes no inference steps anywhere,
while a longer derivation can end with a premise or axiom. State that its
validity/membership argument applies to those final-line cases at every
length. The theorem remains unchanged.
- l. 121: Validity is defined for sentences.
- l. 126: Satisfiability is defined for sets of sentences.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
derivations.tex: - l. 19: The later identity section explicitly adds reflexivity as an inference from no assumptions. The original global definition treats every topmost sentence as an assumption, so it would incorrectly count t=t as an open hypothesis. - l. 28: A topmost sentence may also be the conclusion of an inference without premises (identity introduction), and an assumption is discharged by an inference on its own branch. - l. 31: The old condition tests each upper node separately. A tree with children P-and-Q and R-and-Q and parent Q passes those separate tests via two different conjunction eliminations, but the entire two-premise node is not an instance of any displayed ND rule. - l. 37: The definition only requires each undischarged top sentence to belong to Γ. A finite tree may use a proper subset, including when Γ is infinite. Match the conclusion to that explicit inclusion. identity.tex: - l. 66: The two universal introductions require a and b absent from the undischarged existential premise and their respective conclusions; the existential elimination requires c absent from that premise, the temporary A(a)-and-A(b) assumption and conclusion a=b. propositional-rules.tex: - l. 113: A is an arbitrary sentence and can itself begin with negation. The displayed FalseCl rule concludes A without adding another outer negation; it imposes no positivity restriction. The summary should express that contrast. proving-things-quant.tex: - l. 39: The actual existential premise is ∃x¬A(x), and A(x) may contain preexisting constants. Choose a fresh constant for that matrix and the exact rule-specific scope, excluding the temporary assumption to be discharged. The conclusion ¬∀xA(x) then also excludes it. - l. 92: The constant must not occur in the existential premise, the conclusion, or an assumption left undischarged by the inference. - l. 115: The second existential-elimination example uses a shared witness a while the other premise and conclusion contain the parameter b and arbitrary matrices may contain further constants. Distinct letter names do not establish all freshness conditions. proving-things.tex: - l. 67: This section defines and displays sentence trees, not sequent trees. The sentence whose main operator is examined is the bottom conclusion of the natural-deduction derivation. - l. 118: The three displayed branches are the disjunction premise, ¬A/A in the middle, and A/B on the right. The next paragraph explicitly calls the latter rightmost. Correct the directional description. quantifier-rules.tex: - l. 58: The universal-introduction premise is A(a), which normally contains a. Existential elimination explicitly permits the temporary A(a) assumptions it discharges. - l. 100: The deliberately invalid universal-introduction example marks its A(a) assumption with discharge label 1, but the following existential elimination omits that matching label. rules-and-proofs.tex: - l. 14: Unlike the AX driver, this ND chapter states no restriction excluding primitive truth or biconditional, while the default language configuration admits both and the ND rule inventory has neither. - l. 20: The immediately following propositional rule inventory explicitly permits FalseCl to discharge not-A assumptions. The purported list of discharge rules omits this classical rule; it is distinct from negation introduction and must be included. - l. 27: A topmost sentence that is the conclusion of an inference without premises (identity introduction) is not an assumption. - l. 32: The definition explicitly makes every node a sentence, and the surrounding premise/conclusion description uses sentences. Sequents is a copied category name from the other proof system. soundness-identity.tex: - l. 44: The second identity-elimination rule, from A(t_2) to A(t_1), was not treated. soundness.tex: - l. 98: The PL branch supplies a valuation v; the unconditional structure token incorrectly labels it. Put each noun and symbol in its corresponding branch. - l. 191: The step passes from satisfaction of the set Gamma to satisfaction of each member under every assignment. - l. 212: Negation elimination has two premises ¬A and A (propositional-rules.tex:91–95), and its soundness case is explicitly included below. Include it in this claimed list of multi-premise rules. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
axiomatic-deduction.tex: - l. 15: A derivation is an individual sequence, while a system specifies the permitted derivations. Correct the category of the opening subject and the plural possessive referring back to it. - l. 48: Clause (2) permits a premise from the given set Γ; it does not require every member of Γ to be used. For infinite Γ containing A, the one-line proof of A is valid, but equality with its finite used-premise set would be impossible. State inclusion. natural-deduction.tex: - l. 25: The universal exactly-two-rules assertion includes nullary falsity and optional truth. The replacement describes the actual organizational pattern without a false uniform inventory. Its quantifier phrase follows the live FOL tag. sequent-calculus.tex: - l. 19: The next sentence permits each sequence to be empty independently; the examples have different left and right lengths. Independent indices m,n express the defined pair of sequences. tableaux.tex: - l. 24: Cut needs no premise; identity also includes premise-free reflexivity and two-premise substitution. Require complete applications on the branch and state the exact exceptional arities, guarding identity by FOL. - l. 31: Expanding T(forall x P(x)) gives T P(t), whereas its immediate syntactic subformula is P(x). Signed pairs are also not themselves syntactic subformulas. - l. 38: The neighboring true-conjunction rule and the TRule convention name a rule by sign and connective. The full formula is its principal premise, not its rule name. - l. 57: Node 2 is true(A∧B), whose two children are true A and true B. Both justifications must name true conjunction; the conditional rule is not applied. - l. 80: This is an operative claim about the witness recovered from the described tableau, unlike a named FOL example in a general historical survey. The PL witness is a valuation; the FOL witness is a structure. - l. 83: In propositional logic the open branch yields a valuation, not a structure. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
derivations.tex: - l. 29: The old clause tests each premise separately and exempts a formula value S rather than the bottom occurrence. Two children P=>P with parent Q,P=>P each individually fit left weakening, but their two-premise combination is not a single displayed rule. proof-theoretic-notions.tex: - l. 11: The file identifies fol/seq/ptn and defines LK provability and consistency, not natural deduction. Correct its copied editorial system name. provability-consistency.tex: - l. 51: LK antecedents are finite sequences; proof-theoretic-notions defines Γ⊢A via a finite subset when Γ is arbitrary. Select that finite witness in each direction. - l. 56, 65, 67: Γ ⊢ A is defined through a finite subset of Γ, and sequents are finite: a finite Γ_0 is chosen. provability-propositional.tex: - l. 50, 51: The actual conjunction-right rule in propositional-rules.tex:46–49 shares Γ in both premises. Add left weakening and exchange to the first identity, and left weakening to the second, obtaining the common antecedent A,B. proving-things-quant.tex: - l. 26: The final eigenconstant assertion requires a absent from the actual matrix. A(x) is schematic and can include constants, so select a fresh one when introducing it; all displayed instances are then legal. - l. 107: The first of these sequents has a derivation without right contraction. proving-things.tex: - l. 86: Each of these four identical transitions swaps antecedent formulas and keeps succedent B unchanged. Use left exchange; preserve the file’s actual right-exchange steps. - l. 104, 125, 147: The exchange is on the left; the succedent is unchanged. - l. 178: Conjunction-left changes only A∧B; both prose candidate premises must retain ¬B. - l. 340: The fourth propositional exercise has a derivation with no contraction at all: A=>A, then right negation =>A,not-A, right exchange =>not-A,A, left negation not-not-A=>A, and right implication =>not-not-A implies A. rules-and-proofs.tex: - l. 14: The default repository language admits primitive biconditional, but this LK chapter has no biconditional rules and states no local restriction. sequent-calculus.tex: - l. 14: The chapter driver already selects a propositional presentation when FOL is false, so the unconditional first-order description misstates that supported branch. Guard only the scope adjective by the existing FOL tag. soundness-identity.tex: - l. 23: identity.tex displays two equality rules. The argument treats the first; the equality of term values and substitution equivalence also yields the reverse rule. Identify the first case and explicitly state the symmetric case. - l. 41: The second rule for = was not treated. soundness.tex: - l. 98: The paragraph covers both weakening rules. Right weakening changes only the succedent, so the antecedent equality with A,Γ is false for it. State both antecedents; the membership argument then works in both cases. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
derivations.tex: - l. 26: The preceding informal construction requires complete rule applications, but the stated local per-formula conditions alone do not enforce that construction. - l. 32: The declared Cut rule is premise-free. For the FOL version, identity.tex 16–39 additionally declares premise-free reflexivity and two-premise signed substitution. The universal one-principal-formula ancestry clause excludes these actual rules. - l. 35: The default configuration enables primitive truth and falsity, but the chapter has no rules decomposing them and the old closure definition recognizes only complementary pairs. - l. 43: The opening explicitly generates a starting branch from one or more assumptions (17–20), and the formal definition requires a finite tree with that assumption trunk (24–26). - l. 51: The rule is applied to an occurrence of the signed formula. - l. 80: The schematic A may itself be B∧C, so T A can admit a conjunction rule too. The example needs only the chosen negation expansion, not uniqueness of applicable rules. identity.tex: - l. 69: With A(x) defined as x=s_1, the reflexive premise at line 3 is A(s_1), while A(s_2) is the intended conclusion s_2=s_1. The branch assigns the premise its correct substitution instance. - l. 89: The paragraph defines A(x) as s_1=x and identifies its second premise as line 2. Substitution gives A(s_2) as s_1=s_2, not the rule-schematic t_1=t_2. The branch uses the actual example’s terms. proof-theoretic-notions.tex: - l. 105: D_1,...,D_m denote individual formulas, not sets of premises. Each is a member of Gamma; their braced set is a subset. The branch replaces the subset relation with membership in the displayed finite-support assertion. - l. 124: An eigenconstant introduced by T∃/F∀ must be absent from the branch above. Grafting a proof using a under a new assumption Q(a) violates that requirement. propositional-rules.tex: - l. 14: The only displayed connective rules are for negation, conjunction, disjunction and implication. There is no local fragment restriction, and the default configuration makes biconditional primitive. provability-consistency.tex: - l. 26: The first premise list has n B-formulas, while the independent second list has m C-formulas in the ensuing tableau. Its finite set therefore ends in C_m, not C_n. The branch makes that independent index consistent. - l. 33: Both the short Cut combination and the later detailed graft add assumptions above copied quantifier steps. - l. 59: The two deletion-based proof transformations can remove a premise of a later identity-substitution inference. Retain the entire old proof below a new Cut on the negated formula. - l. 92: The rule for a true negation uses T ¬A and yields F A. - l. 95: The construction replaces the first assumption by true not-A and retains n supporting assumptions, so the initial lines are 1 through n+1. It then inserts the derived false A after all assumptions, on line n+2. - l. 121: Eigenconstants of one tableau may occur in the assumptions of the other or in the cut formula; they are renamed first. - l. 128: The second tableau has several assumptions in its trunk, so the singular is wrong. This issue shares that replacement, rather than applying a conflicting standalone edit to a paragraph that must also be repaired mathematically. - l. 128: The modal auxiliary can requires the bare infinitive apply. provability-propositional.tex: - l. 43, 53: The signed-formula notation takes separate sign and formula arguments. The source encloses A/B inside the True/False argument, which puts formula text into the sign box and leaves the formula argument missing. proving-things-quant.tex: - l. 40: Schematic A(x) may contain constants. Inspect the actual branch, including matrices, before choosing the eigenconstant; absence from the schematic display alone does not prove freshness. - l. 115: Freshness is absence from the actual branch, including constants hidden inside schematic matrices. - l. 260: The constants must be chosen not to occur in the assumptions. - l. 281: The tree numbers T∀A as 1, the true negated existential as 3, and F∃B as 4. The reusable false-existential rule applies to 4, as its displayed justifications already show. rules-and-proofs.tex: - l. 16, 31, 57: The file is imported under both fol/tab/rul and pl/tab/rul. Its three unconditional structure nouns should be valuations in the PL branch, matching the semantics used in soundness.tex. - l. 34: The declared Cut rule is premise-free. For the FOL version, identity.tex 16–39 additionally declares premise-free reflexivity and two-premise signed substitution. The universal one-principal-formula ancestry clause excludes these actual rules. - l. 45: When ⊤ or ⊥ is primitive, a branch also closes on F ⊤ or T ⊥. - l. 55: Having F A as the root alone permits another assumption T A and a trivially closed tableau even for invalid A. The following validity conclusion requires F A to be the only assumption, exactly as the theoremhood definition later states. soundness-identity.tex: - l. 14: The stated paraphrase of soundness concerns whole closed branches and is automatic from closure; it fails to state unsatisfiability of the initial assumptions, which the proof establishes. - l. 31: The equality-substitution rule here has T equality and T A(t_1) as premises, so its conclusion is T A(t_2). The sign S is neither introduced nor arbitrary in that rule. The branch supplies True. soundness.tex: - l. 36: Unlike the generic introductory comparison, these sentences promise the precise interpretation definition and use its object in the soundness contradiction. The immediately following definition explicitly selects FOL structures versus PL valuations. - l. 69: It is no structure, not every branch, that has the property: none satisfies both T A and F A (nor F ⊤ or T ⊥, where these are primitive). - l. 83: The proof later handles Cut correctly by choosing a truth value for A; Cut has no principal formula already in Γ. Except that rule from the preliminary premise selection and retain every subsequent case. - l. 128, 136, 140, 144: A quantifier-rule instance must use the same matrix in its premise, instantiated conclusion and semantic argument. The source switches B(x) to A(t)/A(a). tableaux.tex: - l. 15: The chapter declares a signed analytic tableaux system and uses the prfTab selector. The editorial calls that selector natural deduction, which is a different available proof system. The branch names tableaux. 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; 126 places in 45 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; 372 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/axiomatic-deduction/axioms-rules-quantifiers.texfirst-order-logic/axiomatic-deduction/deduction-theorem-quantifiers.texfirst-order-logic/axiomatic-deduction/deduction-theorem.texfirst-order-logic/axiomatic-deduction/identity.texfirst-order-logic/axiomatic-deduction/proof-theoretic-notions.texfirst-order-logic/axiomatic-deduction/provability-quantifiers.texfirst-order-logic/axiomatic-deduction/provability.texfirst-order-logic/axiomatic-deduction/proving-things-quant.texfirst-order-logic/axiomatic-deduction/proving-things.texfirst-order-logic/axiomatic-deduction/rules-and-proofs.texfirst-order-logic/axiomatic-deduction/soundness.texfirst-order-logic/natural-deduction/derivations.texfirst-order-logic/natural-deduction/identity.texfirst-order-logic/natural-deduction/propositional-rules.texfirst-order-logic/natural-deduction/proving-things-quant.texfirst-order-logic/natural-deduction/proving-things.texfirst-order-logic/natural-deduction/quantifier-rules.texfirst-order-logic/natural-deduction/rules-and-proofs.texfirst-order-logic/natural-deduction/soundness-identity.texfirst-order-logic/natural-deduction/soundness.texfirst-order-logic/proof-systems/axiomatic-deduction.texfirst-order-logic/proof-systems/natural-deduction.texfirst-order-logic/proof-systems/sequent-calculus.texfirst-order-logic/proof-systems/tableaux.texfirst-order-logic/sequent-calculus/derivations.texfirst-order-logic/sequent-calculus/proof-theoretic-notions.texfirst-order-logic/sequent-calculus/provability-consistency.texfirst-order-logic/sequent-calculus/provability-propositional.texfirst-order-logic/sequent-calculus/proving-things-quant.texfirst-order-logic/sequent-calculus/proving-things.texfirst-order-logic/sequent-calculus/rules-and-proofs.texfirst-order-logic/sequent-calculus/sequent-calculus.texfirst-order-logic/sequent-calculus/soundness-identity.texfirst-order-logic/sequent-calculus/soundness.texfirst-order-logic/tableaux/derivations.texfirst-order-logic/tableaux/identity.texfirst-order-logic/tableaux/proof-theoretic-notions.texfirst-order-logic/tableaux/propositional-rules.texfirst-order-logic/tableaux/provability-consistency.texfirst-order-logic/tableaux/provability-propositional.texfirst-order-logic/tableaux/proving-things-quant.texfirst-order-logic/tableaux/rules-and-proofs.texfirst-order-logic/tableaux/soundness-identity.texfirst-order-logic/tableaux/soundness.texfirst-order-logic/tableaux/tableaux.tex🤖 Generated with Claude Code